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

Attributes

  • activity (type: integer(), default: nil) - Available for Bucket.Type.ACTIVITY_TYPE, Bucket.Type.ACTIVITY_SEGMENT
  • dataset (type: list(GoogleApi.Fitness.V1.Model.Dataset.t), default: nil) - There will be one dataset per AggregateBy in the request.
  • endTimeMillis (type: String.t, default: nil) - The end time for the aggregated data, in milliseconds since epoch, inclusive.
  • session (type: GoogleApi.Fitness.V1.Model.Session.t, default: nil) - Available for Bucket.Type.SESSION
  • startTimeMillis (type: String.t, default: nil) - The start time for the aggregated data, in milliseconds since epoch, inclusive.
  • type (type: String.t, default: nil) - The type of a bucket signifies how the data aggregation is performed in the bucket.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Fitness.V1.Model.AggregateBucket{
  activity: integer(),
  dataset: [GoogleApi.Fitness.V1.Model.Dataset.t()],
  endTimeMillis: String.t(),
  session: GoogleApi.Fitness.V1.Model.Session.t(),
  startTimeMillis: String.t(),
  type: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.