Documentation ¶
Index ¶
Constants ¶
View Source
const ( DurationMaximum = 604800000 DurationMinimum = 0 RateMaximum = 100.0 RateMinimum = 0.0 )
Variables ¶
This section is empty.
Functions ¶
func DeliveryType ¶
func DeliveryType() string
Types ¶
type Scheduled ¶
type Scheduled struct { basal.Basal `bson:",inline"` Duration *int `json:"duration,omitempty" bson:"duration,omitempty"` DurationExpected *int `json:"expectedDuration,omitempty" bson:"expectedDuration,omitempty"` Rate *float64 `json:"rate,omitempty" bson:"rate,omitempty"` ScheduleName *string `json:"scheduleName,omitempty" bson:"scheduleName,omitempty"` }
func (*Scheduled) Normalize ¶
func (s *Scheduled) Normalize(normalizer data.Normalizer)
type SuppressedScheduled ¶
type SuppressedScheduled struct { Type *string `json:"type,omitempty" bson:"type,omitempty"` DeliveryType *string `json:"deliveryType,omitempty" bson:"deliveryType,omitempty"` Annotations *data.BlobArray `json:"annotations,omitempty" bson:"annotations,omitempty"` Rate *float64 `json:"rate,omitempty" bson:"rate,omitempty"` ScheduleName *string `json:"scheduleName,omitempty" bson:"scheduleName,omitempty"` }
func NewSuppressedScheduled ¶
func NewSuppressedScheduled() *SuppressedScheduled
func ParseSuppressedScheduled ¶
func ParseSuppressedScheduled(parser data.ObjectParser) *SuppressedScheduled
func (*SuppressedScheduled) Normalize ¶
func (s *SuppressedScheduled) Normalize(normalizer data.Normalizer)
func (*SuppressedScheduled) Parse ¶
func (s *SuppressedScheduled) Parse(parser data.ObjectParser) error
func (*SuppressedScheduled) Validate ¶
func (s *SuppressedScheduled) Validate(validator structure.Validator)
Click to show internal directories.
Click to hide internal directories.