View Source GoogleApi.Fitness.V1.Model.Value (google_api_fitness v0.26.0)
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.
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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Fitness.V1.Model.Value{ fpVal: float() | nil, intVal: integer() | nil, mapVal: [GoogleApi.Fitness.V1.Model.ValueMapValEntry.t()] | nil, stringVal: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.