View Source GoogleApi.ContentWarehouse.V1.Model.AssistantApiClockCapabilities (google_api_content_warehouse v0.4.0)

Used to describe clock capabilities of the device (for example, capabilities related to maximum number of supported alarms and timers that can be created on the device). Fields may be populated by clients or be backfilled by SAL (in case of Timon, for example).

Attributes

  • maxSupportedAlarms (type: integer(), default: nil) - Maximum number of alarms that can be created on the client.
  • maxSupportedExtendedTimerDuration (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiDuration.t, default: nil) - Maximum extended timer duration supported by the client. The extended timer duration is the total start-to-finish duration after an AddTimeToTimer operation. E.g. if a user sets a timer for 30 minutes, and later adds 10 minutes, the extended duration is 40 minutes.
  • maxSupportedTimerDuration (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiDuration.t, default: nil) - Maximum duration of timers that can be created on the client.
  • maxSupportedTimers (type: integer(), default: nil) - Maximum number of timers that can be created on the client.
  • preferredStopwatchProvider (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesProvider.t, default: nil) - The preferred provider to use for stopwatch related functionality.
  • restrictAlarmsToNext24h (type: boolean(), default: nil) - Whether the client restricts alarms to ring within the next 24 hours.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiClockCapabilities{
  maxSupportedAlarms: integer() | nil,
  maxSupportedExtendedTimerDuration:
    GoogleApi.ContentWarehouse.V1.Model.AssistantApiDuration.t() | nil,
  maxSupportedTimerDuration:
    GoogleApi.ContentWarehouse.V1.Model.AssistantApiDuration.t() | nil,
  maxSupportedTimers: integer() | nil,
  preferredStopwatchProvider:
    GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesProvider.t() | nil,
  restrictAlarmsToNext24h: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.