google_api_fitness v0.5.1 GoogleApi.Fitness.V1.Model.Value View Source
Holder object for the value of a single field in a data point.
A field value has a particular format and is only ever set to one of an integer or a floating point value. LINT.IfChange
Attributes
fpVal
(type:float()
, default:nil
) - Floating point value. When this is set, other values must not be set.intVal
(type:integer()
, default:nil
) - Integer value. When this is set, other values must not be set.mapVal
(type:list(GoogleApi.Fitness.V1.Model.ValueMapValEntry.t)
, default:nil
) - Map value. The valid key space and units for the corresponding value of each entry should be documented as part of the data type definition. Keys should be kept small whenever possible. Data streams with large keys and high data frequency may be down sampled.stringVal
(type:String.t
, default:nil
) - String value. When this is set, other values must not be set. Strings should be kept small whenever possible. Data streams with large string values and high data frequency may be down sampled.
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()
View Source
t() :: %GoogleApi.Fitness.V1.Model.Value{
fpVal: float(),
intVal: integer(),
mapVal: [GoogleApi.Fitness.V1.Model.ValueMapValEntry.t()],
stringVal: String.t()
}
t() :: %GoogleApi.Fitness.V1.Model.Value{ fpVal: float(), intVal: integer(), mapVal: [GoogleApi.Fitness.V1.Model.ValueMapValEntry.t()], stringVal: String.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.