GoogleApi.MyBusinessBusinessInformation.V1.Model.TimePeriod (google_api_my_business_business_information v0.5.2)

View Source

Represents a span of time that the business is open, starting on the specified open day/time and closing on the specified close day/time. The closing time must occur after the opening time, for example later in the same day, or on a subsequent day.

Attributes

  • closeDay (type: String.t, default: nil) - Required. Indicates the day of the week this period ends on.
  • closeTime (type: GoogleApi.MyBusinessBusinessInformation.V1.Model.TimeOfDay.t, default: nil) - Required. Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field.
  • openDay (type: String.t, default: nil) - Required. Indicates the day of the week this period starts on.
  • openTime (type: GoogleApi.MyBusinessBusinessInformation.V1.Model.TimeOfDay.t, default: nil) - Required. Valid values are 00:00-24:00, where 24:00 represents midnight at the end of the specified day field.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.MyBusinessBusinessInformation.V1.Model.TimePeriod{
  closeDay: String.t() | nil,
  closeTime:
    GoogleApi.MyBusinessBusinessInformation.V1.Model.TimeOfDay.t() | nil,
  openDay: String.t() | nil,
  openTime: GoogleApi.MyBusinessBusinessInformation.V1.Model.TimeOfDay.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.