View Source GoogleApi.StorageTransfer.V1.Model.TimeOfDay (google_api_storage_transfer v0.36.0)

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.

Attributes

  • hours (type: integer(), default: nil) - Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
  • minutes (type: integer(), default: nil) - Minutes of hour of day. Must be from 0 to 59.
  • nanos (type: integer(), default: nil) - Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
  • seconds (type: integer(), default: nil) - Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.StorageTransfer.V1.Model.TimeOfDay{
  hours: integer() | nil,
  minutes: integer() | nil,
  nanos: integer() | nil,
  seconds: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.