models

package
v0.0.0-...-e56e09a Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// FirmwareImageImageTypeKickstart captures enum value "kickstart"
	FirmwareImageImageTypeKickstart string = "kickstart"
	// FirmwareImageImageTypeSystem captures enum value "system"
	FirmwareImageImageTypeSystem string = "system"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type About

type About struct {

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

func (*About) MarshalBinary

func (m *About) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*About) UnmarshalBinary

func (m *About) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*About) Validate

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

Validate validates this about

type CheckVlan

type CheckVlan struct {

	// endpoint
	// Required: true
	Endpoint *SwitchEndpoint `json:"endpoint"`

	// vlan ID
	// Required: true
	VlanID *int64 `json:"vlanID"`
}

func (*CheckVlan) MarshalBinary

func (m *CheckVlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CheckVlan) UnmarshalBinary

func (m *CheckVlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CheckVlan) Validate

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

Validate validates this check vlan

type Error

type Error struct {

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

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

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

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type ErrorResponse

type ErrorResponse struct {

	// errors
	Errors []string `json:"errors"`

	// message
	// Required: true
	Message *string `json:"message"`
}

func (*ErrorResponse) MarshalBinary

func (m *ErrorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ErrorResponse) UnmarshalBinary

func (m *ErrorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ErrorResponse) Validate

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

Validate validates this error response

type FirmwareImage

type FirmwareImage struct {

	// image type
	// Required: true
	ImageType *string `json:"imageType"`

	// image URL
	// Required: true
	ImageURL *string `json:"imageURL"`
}

func (*FirmwareImage) MarshalBinary

func (m *FirmwareImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FirmwareImage) UnmarshalBinary

func (m *FirmwareImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FirmwareImage) Validate

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

Validate validates this firmware image

type Login

type Login struct {

	// password
	Password string `json:"password,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

func (*Login) MarshalBinary

func (m *Login) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Login) UnmarshalBinary

func (m *Login) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Login) Validate

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

Validate validates this login

type LoginError

type LoginError struct {

	// error
	Error string `json:"error,omitempty"`

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

func (*LoginError) MarshalBinary

func (m *LoginError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LoginError) UnmarshalBinary

func (m *LoginError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LoginError) Validate

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

Validate validates this login error

type Status

type Status struct {

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

func (*Status) MarshalBinary

func (m *Status) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Status) UnmarshalBinary

func (m *Status) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Status) Validate

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

Validate validates this status

type Switch

type Switch struct {

	// endpoint
	// Required: true
	Endpoint *SwitchEndpoint `json:"endpoint"`
}

func (*Switch) MarshalBinary

func (m *Switch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Switch) UnmarshalBinary

func (m *Switch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Switch) Validate

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

Validate validates this switch

type SwitchConfig

type SwitchConfig struct {

	// config
	Config string `json:"config,omitempty"`
}

func (*SwitchConfig) MarshalBinary

func (m *SwitchConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SwitchConfig) UnmarshalBinary

func (m *SwitchConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SwitchConfig) Validate

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

Validate validates this switch config

type SwitchConfigResponse

type SwitchConfigResponse struct {

	// config
	Config string `json:"config,omitempty"`
}

func (*SwitchConfigResponse) MarshalBinary

func (m *SwitchConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SwitchConfigResponse) UnmarshalBinary

func (m *SwitchConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SwitchConfigResponse) Validate

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

Validate validates this switch config response

type SwitchEndpoint

type SwitchEndpoint struct {

	// ipaddress
	// Required: true
	Ipaddress *string `json:"ipaddress"`

	// password
	// Required: true
	Password *string `json:"password"`

	// switch type
	// Required: true
	SwitchType *string `json:"switchType"`

	// username
	// Required: true
	Username *string `json:"username"`
}

func (*SwitchEndpoint) MarshalBinary

func (m *SwitchEndpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SwitchEndpoint) UnmarshalBinary

func (m *SwitchEndpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SwitchEndpoint) Validate

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

Validate validates this switch endpoint

type SwitchVersionResponse

type SwitchVersionResponse struct {

	// version
	Version string `json:"version,omitempty"`
}

func (*SwitchVersionResponse) MarshalBinary

func (m *SwitchVersionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SwitchVersionResponse) UnmarshalBinary

func (m *SwitchVersionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SwitchVersionResponse) Validate

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

Validate validates this switch version response

type Token

type Token struct {

	// token
	Token string `json:"token,omitempty"`
}

func (*Token) MarshalBinary

func (m *Token) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Token) UnmarshalBinary

func (m *Token) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Token) Validate

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

Validate validates this token

type UpdateSwitch

type UpdateSwitch struct {

	// endpoint
	// Required: true
	Endpoint *SwitchEndpoint `json:"endpoint"`

	// firmware images
	// Required: true
	// Min Items: 1
	FirmwareImages []*FirmwareImage `json:"firmwareImages"`

	// switch model
	// Required: true
	SwitchModel *string `json:"switchModel"`
}

func (*UpdateSwitch) MarshalBinary

func (m *UpdateSwitch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSwitch) UnmarshalBinary

func (m *UpdateSwitch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSwitch) Validate

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

Validate validates this update switch

Jump to

Keyboard shortcuts

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