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

Represents the information about user's working hours during one day. Note that a period on Monday from 18:00 - 00:00 is represented as a triplet (1, 1080, 1440).

Attributes

  • dayOfWeek (type: integer(), default: nil) - Day of week, 0 for Sunday, 1 for Monday, ...
  • periodEndMinutes (type: integer(), default: nil) - Period end, in minutes from the start of the day, exclusive.
  • periodStartMinutes (type: integer(), default: nil) - Period start, in minutes from the start of the day, inclusive.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleInternalAppsWaldoV1alphaAvailabilityPeriod{
    dayOfWeek: integer() | nil,
    periodEndMinutes: integer() | nil,
    periodStartMinutes: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.