View Source GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoYearlyRecurrence (google_api_content_warehouse v0.4.0)

Pattern for a YEARLY recurrence. A YEARLY recurrence is specified using a monthly pattern and a set of months the pattern applies to. Some examples: "Every January 16" : monthly_pattern { monthly_day_recurrence { month_day: 16 } } months: JANUARY "Fourth Thursday of November and December" : monthly_pattern { monthly_weekday_recurrence { week_day: THURSDAY week_day_number: 4 } } months: NOVEMBER months: DECEMBER Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)

Attributes

  • monthlyPattern (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoMonthlyRecurrence.t, default: nil) - The monthly pattern to recur.
  • months (type: list(String.t), default: nil) - The months of the year to apply the pattern.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoYearlyRecurrence{
  monthlyPattern:
    GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoMonthlyRecurrence.t()
    | nil,
  months: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.