extended

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2020 License: BSD-2-Clause Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const (
	SubType = "square" // TODO: Rename Type to "bolus/extended"; remove SubType

	DurationMaximum = 86400000
	DurationMinimum = 0
	ExtendedMaximum = 100.0
	ExtendedMinimum = 0.0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Extended

type Extended struct {
	bolus.Bolus `bson:",inline"`

	Duration         *int     `json:"duration,omitempty" bson:"duration,omitempty"`
	DurationExpected *int     `json:"expectedDuration,omitempty" bson:"expectedDuration,omitempty"`
	Extended         *float64 `json:"extended,omitempty" bson:"extended,omitempty"`
	ExtendedExpected *float64 `json:"expectedExtended,omitempty" bson:"expectedExtended,omitempty"`
}

func New

func New() *Extended

func (*Extended) Normalize added in v1.24.0

func (e *Extended) Normalize(normalizer data.Normalizer)

func (*Extended) Parse

func (e *Extended) Parse(parser structure.ObjectParser)

func (*Extended) Validate

func (e *Extended) Validate(validator structure.Validator)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL