View Source GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantEmbeddedV1FitnessActivity (google_api_content_warehouse v0.4.0)
Describes a particular fitness activity, its current state, and other data fields associated with that activity (e.g. elapsed time). LINT.IfChange
Attributes
-
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. -
mostRecentStartTime
(type:DateTime.t
, default:nil
) - DEPRECATED: The most recent time this activity was switched to the ACTIVE state. -
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. -
state
(type:String.t
, default:nil
) - The current state of this activity. -
type
(type:String.t
, default:nil
) - The type of activity being done.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@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 }
Functions
Unwrap a decoded JSON object into its complex fields.