View Source GoogleApi.AuthorizedBuyersMarketplace.V1.Model.DayPart (google_api_authorized_buyers_marketplace v0.6.1)

Defines targeting for a period of time on a specific week day.

Attributes

  • dayOfWeek (type: String.t, default: nil) - Day of week for the period.
  • endTime (type: GoogleApi.AuthorizedBuyersMarketplace.V1.Model.TimeOfDay.t, default: nil) - Hours in 24 hour time between 0 and 24, inclusive. Note: 24 is logically equivalent to 0, but is supported since in some cases there may need to be differentiation made between midnight on one day and midnight on the next day. Accepted values for minutes are [0, 15, 30, 45]. 0 is the only acceptable minute value for hour 24. Seconds and nanos are ignored.
  • startTime (type: GoogleApi.AuthorizedBuyersMarketplace.V1.Model.TimeOfDay.t, default: nil) - Hours in 24 hour time between 0 and 24, inclusive. Note: 24 is logically equivalent to 0, but is supported since in some cases there may need to be differentiation made between midnight on one day and midnight on the next day. Accepted values for minutes are [0, 15, 30, 45]. 0 is the only acceptable minute value for hour 24. Seconds and nanos are ignored.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AuthorizedBuyersMarketplace.V1.Model.DayPart{
  dayOfWeek: String.t() | nil,
  endTime: GoogleApi.AuthorizedBuyersMarketplace.V1.Model.TimeOfDay.t() | nil,
  startTime: GoogleApi.AuthorizedBuyersMarketplace.V1.Model.TimeOfDay.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.