models

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2016 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog struct {

	/* arbitrary json object
	 */
	Data interface{} `json:"data,omitempty"`

	/* id

	Required: true
	*/
	ID *string `json:"id"`

	/* node

	Required: true
	*/
	Node *Node `json:"node"`

	/* source

	Required: true
	*/
	Source *string `json:"source"`
}

Catalog catalog

swagger:model catalog

func (*Catalog) Validate

func (m *Catalog) Validate(formats strfmt.Registry) error

Validate validates this catalog

type Error

type Error struct {

	/* code
	 */
	Code int32 `json:"code,omitempty"`

	/* fields
	 */
	Fields string `json:"fields,omitempty"`

	/* message
	 */
	Message string `json:"message,omitempty"`
}

Error error

swagger:model Error

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type Graphobject

type Graphobject struct {

	/* context
	 */
	Context interface{} `json:"context,omitempty"`

	/* definition
	 */
	Definition interface{} `json:"definition,omitempty"`

	/* id
	 */
	ID string `json:"id,omitempty"`

	/* instanceid
	 */
	Instanceid string `json:"instanceid,omitempty"`

	/* node
	 */
	Node *Node `json:"node,omitempty"`

	/* tasks
	 */
	Tasks interface{} `json:"tasks,omitempty"`
}

Graphobject graphobject

swagger:model graphobject

func (*Graphobject) Validate

func (m *Graphobject) Validate(formats strfmt.Registry) error

Validate validates this graphobject

type Lease

type Lease struct {

	/* bound flag
	 */
	BoundFlag bool `json:"boundFlag,omitempty"`

	/* expiration timer
	 */
	ExpirationTimer int32 `json:"expirationTimer,omitempty"`

	/* ip address

	Required: true
	*/
	IPAddress *string `json:"ipAddress"`

	/* lease expires at
	 */
	LeaseExpiresAt int64 `json:"leaseExpiresAt,omitempty"`

	/* mac

	Required: true
	*/
	Mac *string `json:"mac"`

	/* rebind expires at
	 */
	RebindExpiresAt int64 `json:"rebindExpiresAt,omitempty"`

	/* rebinding timer
	 */
	RebindingTimer int32 `json:"rebindingTimer,omitempty"`

	/* renewal expires at
	 */
	RenewalExpiresAt int64 `json:"renewalExpiresAt,omitempty"`

	/* renewal timer
	 */
	RenewalTimer int32 `json:"renewalTimer,omitempty"`

	/* reservation expires at
	 */
	ReservationExpiresAt int64 `json:"reservationExpiresAt,omitempty"`

	/* reservation timer
	 */
	ReservationTimer int32 `json:"reservationTimer,omitempty"`

	/* reserve timer
	 */
	ReserveTimer int64 `json:"reserveTimer,omitempty"`

	/* reserved flag
	 */
	ReservedFlag bool `json:"reservedFlag,omitempty"`
}

Lease lease

swagger:model lease

func (*Lease) Validate

func (m *Lease) Validate(formats strfmt.Registry) error

Validate validates this lease

type Node

type Node struct {

	/* auto discover
	 */
	AutoDiscover bool `json:"autoDiscover,omitempty"`

	/* boot settings
	 */
	BootSettings interface{} `json:"bootSettings,omitempty"`

	/* catalogs
	 */
	Catalogs []*Catalog `json:"catalogs,omitempty"`

	/* id
	 */
	ID string `json:"id,omitempty"`

	/* name

	Required: true
	*/
	Name *string `json:"name"`

	/* obm settings
	 */
	ObmSettings []interface{} `json:"obmSettings,omitempty"`

	/* relations
	 */
	Relations []interface{} `json:"relations,omitempty"`

	/* sku
	 */
	Sku string `json:"sku,omitempty"`

	/* snmp settings
	 */
	SnmpSettings interface{} `json:"snmpSettings,omitempty"`

	/* ssh settings
	 */
	SSHSettings interface{} `json:"sshSettings,omitempty"`

	/* tags
	 */
	Tags []interface{} `json:"tags,omitempty"`

	/* type
	 */
	Type string `json:"type,omitempty"`

	/* workflows
	 */
	Workflows []*Graphobject `json:"workflows,omitempty"`
}

Node node

swagger:model node

func (*Node) Validate

func (m *Node) Validate(formats strfmt.Registry) error

Validate validates this node

type Sku

type Sku struct {

	/* discovery graph name
	 */
	DiscoveryGraphName string `json:"discoveryGraphName,omitempty"`

	/* discovery graph options
	 */
	DiscoveryGraphOptions interface{} `json:"discoveryGraphOptions,omitempty"`

	/* id
	 */
	ID string `json:"id,omitempty"`

	/* name
	 */
	Name string `json:"name,omitempty"`

	/* nodes
	 */
	Nodes []*Node `json:"nodes,omitempty"`

	/* rules
	 */
	Rules interface{} `json:"rules,omitempty"`
}

Sku sku

swagger:model sku

func (*Sku) Validate

func (m *Sku) Validate(formats strfmt.Registry) error

Validate validates this sku

type Tag

type Tag struct {

	/* name

	Required: true
	*/
	Name *string `json:"name"`
}

Tag tag

swagger:model tag

func (*Tag) Validate

func (m *Tag) Validate(formats strfmt.Registry) error

Validate validates this tag

Jump to

Keyboard shortcuts

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