Documentation ¶
Index ¶
Constants ¶
View Source
const ( ComputerTimeFormat = "2006-01-02T15:04:05" DataSetTypeNormal = "normal" DataSetTypeContinuous = "continuous" DeviceTagInsulinPump = "insulin-pump" DeviceTagCGM = "cgm" DeviceTagBGM = "bgm" TimeProcessingAcrossTheBoardTimezone = "across-the-board-timezone" TimeProcessingUTCBootstrapping = "utc-bootstrapping" TimeProcessingNone = "none" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶ added in v1.20.0
type Client struct { Name *string `json:"name,omitempty" bson:"name,omitempty"` Version *string `json:"version,omitempty" bson:"version,omitempty"` }
func ParseClient ¶ added in v1.20.0
func ParseClient(parser data.ObjectParser) *Client
func (*Client) Normalize ¶ added in v1.20.0
func (c *Client) Normalize(normalizer data.Normalizer)
func (*Client) Parse ¶ added in v1.20.0
func (c *Client) Parse(parser data.ObjectParser)
type Upload ¶
type Upload struct { types.Base `bson:",inline"` State string `json:"-" bson:"_state,omitempty"` DataState string `json:"-" bson:"_dataState,omitempty"` // TODO: Deprecated DataState (after data migration) ByUser string `json:"byUser,omitempty" bson:"byUser,omitempty"` Client *Client `json:"client,omitempty" bson:"client,omitempty"` ComputerTime *string `json:"computerTime,omitempty" bson:"computerTime,omitempty"` DataSetType *string `json:"dataSetType,omitempty" bson:"dataSetType,omitempty"` DeviceManufacturers *[]string `json:"deviceManufacturers,omitempty" bson:"deviceManufacturers,omitempty"` DeviceModel *string `json:"deviceModel,omitempty" bson:"deviceModel,omitempty"` DeviceSerialNumber *string `json:"deviceSerialNumber,omitempty" bson:"deviceSerialNumber,omitempty"` DeviceTags *[]string `json:"deviceTags,omitempty" bson:"deviceTags,omitempty"` TimeProcessing *string `json:"timeProcessing,omitempty" bson:"timeProcessing,omitempty"` Timezone *string `json:"timezone,omitempty" bson:"timezone,omitempty"` Version *string `json:"version,omitempty" bson:"version,omitempty"` }
func (*Upload) HasDeviceManufacturerOneOf ¶ added in v1.20.0
Click to show internal directories.
Click to hide internal directories.