View Source GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoMonthlyDayRecurrence (google_api_content_warehouse v0.3.0)

Pattern for a MONTHLY recurrence. This Monthly reccurence supports: 1. Absolute days of the month (i.e. the 1st and 15th) 2. Relative day from the end of the month (i.e. -1 for last day, -2 for second-to-last day). Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)

Attributes

  • monthDay (type: list(integer()), default: nil) - Absolute day of the month (if positive) or relative day from the end of the month (if negative). Example: 2nd and 20th of the month [2, 20]. Example: Last day of the month [-1]. Positive values should correspond to actual calendar day number (indexing starts at 1).
  • useLastDayIfMonthDayPastEnd (type: boolean(), default: nil) - If true, month_day beyond the end of month (i.e. month_day=31 in February) will default to the last day of the month.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoMonthlyDayRecurrence{
    monthDay: [integer()] | nil,
    useLastDayIfMonthDayPastEnd: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.