GoogleAssistantEmbeddedV1FitnessActivity

GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantEmbeddedV1FitnessActivity


Table of Contents ▼

Jump to a specific part of the page:

Description

Describes a particular fitness activity, its current state, and other data fields associated with that activity (e.g. elapsed time). LINT.IfChange

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. activityId (type: String.t, default: nil)
    - Required A string key used as an identifier for this activity. This key needs to be unique amongst all activities on the device. The client can choose a mechanism of its choice to ensure this. If the server suggests an activity_id, the client can either use the suggestion or create a new unique activity_id of its choosing.
  2. mostRecentStartTime (type: DateTime.t, default: nil)
    - DEPRECATED: The most recent time this activity was switched to the ACTIVE state.
  3. previouslyAccumulatedDuration (type: String.t, default: nil)
    - DEPRECATED: The total amount of time this activity has spent in the ACTIVE state until the most recent start time. The total time spent active may be computed by summing (now - most_recent_start_time) with previously_accumulated_duration.
  4. state (type: String.t, default: nil)
    - The current state of this activity.
  5. type (type: String.t, default: nil)
    - The type of activity being done.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantEmbeddedV1FitnessActivity{
activityId: String.t() | nil,
mostRecentStartTime: DateTime.t() | nil,
previouslyAccumulatedDuration: String.t() | nil,
state: String.t() | nil,
type: String.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantEmbeddedV1FitnessActivity