google_api_fitness v0.4.0 GoogleApi.Fitness.V1.Model.AggregateBucket View Source

Attributes

  • activity (integer()): Available for Bucket.Type.ACTIVITY_TYPE, Bucket.Type.ACTIVITY_SEGMENT Defaults to: null.
  • dataset ([Dataset]): There will be one dataset per AggregateBy in the request. Defaults to: null.
  • endTimeMillis (String.t): The end time for the aggregated data, in milliseconds since epoch, inclusive. Defaults to: null.
  • session (Session): Available for Bucket.Type.SESSION Defaults to: null.
  • startTimeMillis (String.t): The start time for the aggregated data, in milliseconds since epoch, inclusive. Defaults to: null.
  • type (String.t): The type of a bucket signifies how the data aggregation is performed in the bucket. Defaults to: null.

    • Enum - one of [activitySegment, activityType, session, time, unknown]

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.AggregateBucket{
  activity: any(),
  dataset: [GoogleApi.Fitness.V1.Model.Dataset.t()],
  endTimeMillis: any(),
  session: GoogleApi.Fitness.V1.Model.Session.t(),
  startTimeMillis: any(),
  type: 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.