suspend

package
v1.23.0-verio.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeliveryType

func DeliveryType() string

func NewDatum

func NewDatum() data.Datum

Types

type Suspend

type Suspend struct {
	basal.Basal `bson:",inline"`

	Duration         *int `json:"duration,omitempty" bson:"duration,omitempty"`
	ExpectedDuration *int `json:"expectedDuration,omitempty" bson:"expectedDuration,omitempty"`

	Suppressed *basal.Suppressed `json:"suppressed,omitempty" bson:"suppressed,omitempty"`
}

func Init

func Init() *Suspend

func New

func New() *Suspend

func (*Suspend) Init

func (s *Suspend) Init()

func (*Suspend) Parse

func (s *Suspend) Parse(parser data.ObjectParser) error

func (*Suspend) Validate

func (s *Suspend) Validate(validator data.Validator) error

Jump to

Keyboard shortcuts

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