google_api_fitness v0.1.0 GoogleApi.Fitness.V1.Model.Session View Source

Sessions contain metadata, such as a user-friendly name and time interval information.

Attributes

  • activeTimeMillis (String.t): Session active time. While start_time_millis and end_time_millis define the full session time, the active time can be shorter and specified by active_time_millis. If the inactive time during the session is known, it should also be inserted via a com.google.activity.segment data point with a STILL activity value Defaults to: null.
  • activityType (integer()): The type of activity this session represents. Defaults to: null.
  • application (Application): The application that created the session. Defaults to: null.
  • description (String.t): A description for this session. Defaults to: null.
  • endTimeMillis (String.t): An end time, in milliseconds since epoch, inclusive. Defaults to: null.
  • id (String.t): A client-generated identifier that is unique across all sessions owned by this particular user. Defaults to: null.
  • modifiedTimeMillis (String.t): A timestamp that indicates when the session was last modified. Defaults to: null.
  • name (String.t): A human readable name of the session. Defaults to: null.
  • startTimeMillis (String.t): A start time, in milliseconds since epoch, inclusive. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Fitness.V1.Model.Session{
  activeTimeMillis: any(),
  activityType: any(),
  application: GoogleApi.Fitness.V1.Model.Application.t(),
  description: any(),
  endTimeMillis: any(),
  id: any(),
  modifiedTimeMillis: any(),
  name: any(),
  startTimeMillis: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.