GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PlaceOpeningHoursPeriod (google_api_places v0.11.0)

View Source

A period the place remains in open_now status.

Attributes

  • close (type: GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint.t, default: nil) - The time that the place starts to be closed.
  • open (type: GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint.t, default: nil) - The time that the place starts to be open.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PlaceOpeningHoursPeriod{
  close:
    GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint.t()
    | nil,
  open:
    GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint.t()
    | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.