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

View Source

The time periods during which a location is open for certain types of business.

Attributes

  • hoursTypeId (type: String.t, default: nil) - Required. Type of hours. Clients should call {#link businessCategories:BatchGet} to get supported hours types for categories of their locations.
  • periods (type: list(GoogleApi.MyBusinessBusinessInformation.V1.Model.TimePeriod.t), default: nil) - Required. A collection of times that this location is open. Each period represents a range of hours when the location is open during the week.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.MyBusinessBusinessInformation.V1.Model.MoreHours{
  hoursTypeId: String.t() | nil,
  periods:
    [GoogleApi.MyBusinessBusinessInformation.V1.Model.TimePeriod.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.