models

package
v0.0.0-...-d6813a9 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {

	// api key
	APIKey string `json:"apiKey,omitempty"`

	// device Id
	DeviceID string `json:"deviceId,omitempty"`

	// model
	Model string `json:"model,omitempty"`

	// rom version
	RomVersion string `json:"romVersion,omitempty"`

	// state
	State string `json:"state,omitempty"`

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

Device device

swagger:model Device

func (*Device) MarshalBinary

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

MarshalBinary interface implementation

func (*Device) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Device) Validate

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

Validate validates this device

type Devices

type Devices []*Device

Devices devices

swagger:model Devices

func (Devices) Validate

func (m Devices) Validate(formats strfmt.Registry) error

Validate validates this devices

type Error

type Error struct {

	// A description of the error condition
	// Read Only: true
	FaultMessage string `json:"fault_message,omitempty"`
}

Error error

swagger:model Error

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

Jump to

Keyboard shortcuts

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