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

In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension. Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.). This message is only instantiated in code and not used for wire comms or stored in any way.

Attributes

  • format (String.t): The different supported formats for each field in a data type. Defaults to: null.

    • Enum - one of [blob, floatList, floatPoint, integer, integerList, map, string]
  • name (String.t): Defines the name and format of data. Unlike data type names, field names are not namespaced, and only need to be unique within the data type. Defaults to: null.
  • optional (boolean()): 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.DataTypeField{
  format: any(),
  name: any(),
  optional: 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.