devices

package
v0.0.0-...-6c9a280 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const (

	// UpdateDeviceCellularSimsParamsBodySimsItems0SlotSim1 captures enum value "sim1"
	UpdateDeviceCellularSimsParamsBodySimsItems0SlotSim1 string = "sim1"

	// UpdateDeviceCellularSimsParamsBodySimsItems0SlotSim2 captures enum value "sim2"
	UpdateDeviceCellularSimsParamsBodySimsItems0SlotSim2 string = "sim2"
)
View Source
const (

	// UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0AuthenticationTypeChap captures enum value "chap"
	UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0AuthenticationTypeChap string = "chap"

	// UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0AuthenticationTypeNone captures enum value "none"
	UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0AuthenticationTypeNone string = "none"

	// UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0AuthenticationTypePap captures enum value "pap"
	UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0AuthenticationTypePap string = "pap"
)
View Source
const (

	// UpdateDeviceManagementInterfaceParamsBodyWan1WanEnabledDisabled captures enum value "disabled"
	UpdateDeviceManagementInterfaceParamsBodyWan1WanEnabledDisabled string = "disabled"

	// UpdateDeviceManagementInterfaceParamsBodyWan1WanEnabledEnabled captures enum value "enabled"
	UpdateDeviceManagementInterfaceParamsBodyWan1WanEnabledEnabled string = "enabled"

	// UpdateDeviceManagementInterfaceParamsBodyWan1WanEnabledNotConfigured captures enum value "not configured"
	UpdateDeviceManagementInterfaceParamsBodyWan1WanEnabledNotConfigured string = "not configured"
)
View Source
const (

	// UpdateDeviceManagementInterfaceParamsBodyWan2WanEnabledDisabled captures enum value "disabled"
	UpdateDeviceManagementInterfaceParamsBodyWan2WanEnabledDisabled string = "disabled"

	// UpdateDeviceManagementInterfaceParamsBodyWan2WanEnabledEnabled captures enum value "enabled"
	UpdateDeviceManagementInterfaceParamsBodyWan2WanEnabledEnabled string = "enabled"

	// UpdateDeviceManagementInterfaceParamsBodyWan2WanEnabledNotConfigured captures enum value "not configured"
	UpdateDeviceManagementInterfaceParamsBodyWan2WanEnabledNotConfigured string = "not configured"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BlinkDeviceLedsAccepted

type BlinkDeviceLedsAccepted struct {
	Payload *BlinkDeviceLedsAcceptedBody
}

BlinkDeviceLedsAccepted describes a response with status code 202, with default header values.

Successful operation

func NewBlinkDeviceLedsAccepted

func NewBlinkDeviceLedsAccepted() *BlinkDeviceLedsAccepted

NewBlinkDeviceLedsAccepted creates a BlinkDeviceLedsAccepted with default headers values

func (*BlinkDeviceLedsAccepted) Code

func (o *BlinkDeviceLedsAccepted) Code() int

Code gets the status code for the blink device leds accepted response

func (*BlinkDeviceLedsAccepted) Error

func (o *BlinkDeviceLedsAccepted) Error() string

func (*BlinkDeviceLedsAccepted) GetPayload

func (*BlinkDeviceLedsAccepted) IsClientError

func (o *BlinkDeviceLedsAccepted) IsClientError() bool

IsClientError returns true when this blink device leds accepted response has a 4xx status code

func (*BlinkDeviceLedsAccepted) IsCode

func (o *BlinkDeviceLedsAccepted) IsCode(code int) bool

IsCode returns true when this blink device leds accepted response a status code equal to that given

func (*BlinkDeviceLedsAccepted) IsRedirect

func (o *BlinkDeviceLedsAccepted) IsRedirect() bool

IsRedirect returns true when this blink device leds accepted response has a 3xx status code

func (*BlinkDeviceLedsAccepted) IsServerError

func (o *BlinkDeviceLedsAccepted) IsServerError() bool

IsServerError returns true when this blink device leds accepted response has a 5xx status code

func (*BlinkDeviceLedsAccepted) IsSuccess

func (o *BlinkDeviceLedsAccepted) IsSuccess() bool

IsSuccess returns true when this blink device leds accepted response has a 2xx status code

func (*BlinkDeviceLedsAccepted) String

func (o *BlinkDeviceLedsAccepted) String() string

type BlinkDeviceLedsAcceptedBody

type BlinkDeviceLedsAcceptedBody struct {

	// The duration in seconds. Will be between 5 and 120. Default is 20 seconds
	Duration int64 `json:"duration,omitempty"`

	// The duty cycle as the percent active. Will be between 10 and 90. Default is 50
	Duty int64 `json:"duty,omitempty"`

	// The period in milliseconds. Will be between 100 and 1000. Default is 160 milliseconds
	Period int64 `json:"period,omitempty"`
}

BlinkDeviceLedsAcceptedBody blink device leds accepted body swagger:model BlinkDeviceLedsAcceptedBody

func (*BlinkDeviceLedsAcceptedBody) ContextValidate

func (o *BlinkDeviceLedsAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this blink device leds accepted body based on context it is used

func (*BlinkDeviceLedsAcceptedBody) MarshalBinary

func (o *BlinkDeviceLedsAcceptedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlinkDeviceLedsAcceptedBody) UnmarshalBinary

func (o *BlinkDeviceLedsAcceptedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlinkDeviceLedsAcceptedBody) Validate

func (o *BlinkDeviceLedsAcceptedBody) Validate(formats strfmt.Registry) error

Validate validates this blink device leds accepted body

type BlinkDeviceLedsBody

type BlinkDeviceLedsBody struct {

	// The duration in seconds. Must be between 5 and 120. Default is 20 seconds
	Duration int64 `json:"duration,omitempty"`

	// The duty cycle as the percent active. Must be between 10 and 90. Default is 50.
	Duty int64 `json:"duty,omitempty"`

	// The period in milliseconds. Must be between 100 and 1000. Default is 160 milliseconds
	Period int64 `json:"period,omitempty"`
}

BlinkDeviceLedsBody blink device leds body // Example: {"duration":20,"duty":50,"period":160} swagger:model BlinkDeviceLedsBody

func (*BlinkDeviceLedsBody) ContextValidate

func (o *BlinkDeviceLedsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this blink device leds body based on context it is used

func (*BlinkDeviceLedsBody) MarshalBinary

func (o *BlinkDeviceLedsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlinkDeviceLedsBody) UnmarshalBinary

func (o *BlinkDeviceLedsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlinkDeviceLedsBody) Validate

func (o *BlinkDeviceLedsBody) Validate(formats strfmt.Registry) error

Validate validates this blink device leds body

type BlinkDeviceLedsParams

type BlinkDeviceLedsParams struct {

	// BlinkDeviceLeds.
	BlinkDeviceLeds BlinkDeviceLedsBody

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

BlinkDeviceLedsParams contains all the parameters to send to the API endpoint

for the blink device leds operation.

Typically these are written to a http.Request.

func NewBlinkDeviceLedsParams

func NewBlinkDeviceLedsParams() *BlinkDeviceLedsParams

NewBlinkDeviceLedsParams creates a new BlinkDeviceLedsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewBlinkDeviceLedsParamsWithContext

func NewBlinkDeviceLedsParamsWithContext(ctx context.Context) *BlinkDeviceLedsParams

NewBlinkDeviceLedsParamsWithContext creates a new BlinkDeviceLedsParams object with the ability to set a context for a request.

func NewBlinkDeviceLedsParamsWithHTTPClient

func NewBlinkDeviceLedsParamsWithHTTPClient(client *http.Client) *BlinkDeviceLedsParams

NewBlinkDeviceLedsParamsWithHTTPClient creates a new BlinkDeviceLedsParams object with the ability to set a custom HTTPClient for a request.

func NewBlinkDeviceLedsParamsWithTimeout

func NewBlinkDeviceLedsParamsWithTimeout(timeout time.Duration) *BlinkDeviceLedsParams

NewBlinkDeviceLedsParamsWithTimeout creates a new BlinkDeviceLedsParams object with the ability to set a timeout on a request.

func (*BlinkDeviceLedsParams) SetBlinkDeviceLeds

func (o *BlinkDeviceLedsParams) SetBlinkDeviceLeds(blinkDeviceLeds BlinkDeviceLedsBody)

SetBlinkDeviceLeds adds the blinkDeviceLeds to the blink device leds params

func (*BlinkDeviceLedsParams) SetContext

func (o *BlinkDeviceLedsParams) SetContext(ctx context.Context)

SetContext adds the context to the blink device leds params

func (*BlinkDeviceLedsParams) SetDefaults

func (o *BlinkDeviceLedsParams) SetDefaults()

SetDefaults hydrates default values in the blink device leds params (not the query body).

All values with no default are reset to their zero value.

func (*BlinkDeviceLedsParams) SetHTTPClient

func (o *BlinkDeviceLedsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the blink device leds params

func (*BlinkDeviceLedsParams) SetSerial

func (o *BlinkDeviceLedsParams) SetSerial(serial string)

SetSerial adds the serial to the blink device leds params

func (*BlinkDeviceLedsParams) SetTimeout

func (o *BlinkDeviceLedsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the blink device leds params

func (*BlinkDeviceLedsParams) WithBlinkDeviceLeds

func (o *BlinkDeviceLedsParams) WithBlinkDeviceLeds(blinkDeviceLeds BlinkDeviceLedsBody) *BlinkDeviceLedsParams

WithBlinkDeviceLeds adds the blinkDeviceLeds to the blink device leds params

func (*BlinkDeviceLedsParams) WithContext

WithContext adds the context to the blink device leds params

func (*BlinkDeviceLedsParams) WithDefaults

func (o *BlinkDeviceLedsParams) WithDefaults() *BlinkDeviceLedsParams

WithDefaults hydrates default values in the blink device leds params (not the query body).

All values with no default are reset to their zero value.

func (*BlinkDeviceLedsParams) WithHTTPClient

func (o *BlinkDeviceLedsParams) WithHTTPClient(client *http.Client) *BlinkDeviceLedsParams

WithHTTPClient adds the HTTPClient to the blink device leds params

func (*BlinkDeviceLedsParams) WithSerial

func (o *BlinkDeviceLedsParams) WithSerial(serial string) *BlinkDeviceLedsParams

WithSerial adds the serial to the blink device leds params

func (*BlinkDeviceLedsParams) WithTimeout

func (o *BlinkDeviceLedsParams) WithTimeout(timeout time.Duration) *BlinkDeviceLedsParams

WithTimeout adds the timeout to the blink device leds params

func (*BlinkDeviceLedsParams) WriteToRequest

func (o *BlinkDeviceLedsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type BlinkDeviceLedsReader

type BlinkDeviceLedsReader struct {
	// contains filtered or unexported fields
}

BlinkDeviceLedsReader is a Reader for the BlinkDeviceLeds structure.

func (*BlinkDeviceLedsReader) ReadResponse

func (o *BlinkDeviceLedsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for devices API

func (*Client) BlinkDeviceLeds

func (a *Client) BlinkDeviceLeds(params *BlinkDeviceLedsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BlinkDeviceLedsAccepted, error)

BlinkDeviceLeds blinks the l e ds on a device

Blink the LEDs on a device

func (*Client) CreateDeviceLiveToolsPing

func (a *Client) CreateDeviceLiveToolsPing(params *CreateDeviceLiveToolsPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeviceLiveToolsPingCreated, error)

CreateDeviceLiveToolsPing enqueues a job to ping a target host from the device

Enqueue a job to ping a target host from the device

func (*Client) CreateDeviceLiveToolsPingDevice

CreateDeviceLiveToolsPingDevice enqueues a job to check connectivity status to the device

Enqueue a job to check connectivity status to the device

func (*Client) GetDevice

func (a *Client) GetDevice(params *GetDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceOK, error)

GetDevice returns a single device

Return a single device

func (*Client) GetDeviceCellularSims

func (a *Client) GetDeviceCellularSims(params *GetDeviceCellularSimsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceCellularSimsOK, error)

GetDeviceCellularSims returns the s i m and a p n configurations for a cellular device

Return the SIM and APN configurations for a cellular device.

func (*Client) GetDeviceClients

func (a *Client) GetDeviceClients(params *GetDeviceClientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceClientsOK, error)

GetDeviceClients lists the clients of a device up to a maximum of a month ago

List the clients of a device, up to a maximum of a month ago. The usage of each client is returned in kilobytes. If the device is a switch, the switchport is returned; otherwise the switchport field is null.

func (*Client) GetDeviceLiveToolsPing

func (a *Client) GetDeviceLiveToolsPing(params *GetDeviceLiveToolsPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLiveToolsPingOK, error)

GetDeviceLiveToolsPing returns a ping job

Return a ping job. Latency unit in response is in milliseconds. Size is in bytes.

func (*Client) GetDeviceLiveToolsPingDevice

func (a *Client) GetDeviceLiveToolsPingDevice(params *GetDeviceLiveToolsPingDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLiveToolsPingDeviceOK, error)

GetDeviceLiveToolsPingDevice returns a ping device job

Return a ping device job. Latency unit in response is in milliseconds. Size is in bytes.

func (*Client) GetDeviceLldpCdp

func (a *Client) GetDeviceLldpCdp(params *GetDeviceLldpCdpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLldpCdpOK, error)

GetDeviceLldpCdp lists l l d p and c d p information for a device

List LLDP and CDP information for a device

func (*Client) GetDeviceLossAndLatencyHistory

func (a *Client) GetDeviceLossAndLatencyHistory(params *GetDeviceLossAndLatencyHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLossAndLatencyHistoryOK, error)

GetDeviceLossAndLatencyHistory gets the uplink loss percentage and latency in milliseconds and goodput in kilobits per second for m x m g and z devices

Get the uplink loss percentage and latency in milliseconds, and goodput in kilobits per second for MX, MG and Z devices.

func (*Client) GetDeviceManagementInterface

func (a *Client) GetDeviceManagementInterface(params *GetDeviceManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceManagementInterfaceOK, error)

GetDeviceManagementInterface returns the management interface settings for a device

Return the management interface settings for a device

func (*Client) RebootDevice

func (a *Client) RebootDevice(params *RebootDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RebootDeviceAccepted, error)

RebootDevice reboots a device

Reboot a device

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateDevice

func (a *Client) UpdateDevice(params *UpdateDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceOK, error)

UpdateDevice updates the attributes of a device

Update the attributes of a device

func (*Client) UpdateDeviceCellularSims

func (a *Client) UpdateDeviceCellularSims(params *UpdateDeviceCellularSimsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceCellularSimsOK, error)

UpdateDeviceCellularSims updates the s i m and a p n configurations for a cellular device

Updates the SIM and APN configurations for a cellular device.

func (*Client) UpdateDeviceManagementInterface

func (a *Client) UpdateDeviceManagementInterface(params *UpdateDeviceManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceManagementInterfaceOK, error)

UpdateDeviceManagementInterface updates the management interface settings for a device

Update the management interface settings for a device

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	BlinkDeviceLeds(params *BlinkDeviceLedsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BlinkDeviceLedsAccepted, error)

	CreateDeviceLiveToolsPing(params *CreateDeviceLiveToolsPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeviceLiveToolsPingCreated, error)

	CreateDeviceLiveToolsPingDevice(params *CreateDeviceLiveToolsPingDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeviceLiveToolsPingDeviceCreated, error)

	GetDevice(params *GetDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceOK, error)

	GetDeviceCellularSims(params *GetDeviceCellularSimsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceCellularSimsOK, error)

	GetDeviceClients(params *GetDeviceClientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceClientsOK, error)

	GetDeviceLiveToolsPing(params *GetDeviceLiveToolsPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLiveToolsPingOK, error)

	GetDeviceLiveToolsPingDevice(params *GetDeviceLiveToolsPingDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLiveToolsPingDeviceOK, error)

	GetDeviceLldpCdp(params *GetDeviceLldpCdpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLldpCdpOK, error)

	GetDeviceLossAndLatencyHistory(params *GetDeviceLossAndLatencyHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLossAndLatencyHistoryOK, error)

	GetDeviceManagementInterface(params *GetDeviceManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceManagementInterfaceOK, error)

	RebootDevice(params *RebootDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RebootDeviceAccepted, error)

	UpdateDevice(params *UpdateDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceOK, error)

	UpdateDeviceCellularSims(params *UpdateDeviceCellularSimsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceCellularSimsOK, error)

	UpdateDeviceManagementInterface(params *UpdateDeviceManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceManagementInterfaceOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new devices API client.

type CreateDeviceLiveToolsPingBody

type CreateDeviceLiveToolsPingBody struct {

	// Count parameter to pass to ping. [1..5], default 5
	Count int64 `json:"count,omitempty"`

	// FQDN, IPv4 or IPv6 address
	// Required: true
	Target *string `json:"target"`
}

CreateDeviceLiveToolsPingBody create device live tools ping body // Example: {"count":2,"target":"75.75.75.75"} swagger:model CreateDeviceLiveToolsPingBody

func (*CreateDeviceLiveToolsPingBody) ContextValidate

func (o *CreateDeviceLiveToolsPingBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create device live tools ping body based on context it is used

func (*CreateDeviceLiveToolsPingBody) MarshalBinary

func (o *CreateDeviceLiveToolsPingBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDeviceLiveToolsPingBody) UnmarshalBinary

func (o *CreateDeviceLiveToolsPingBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDeviceLiveToolsPingBody) Validate

func (o *CreateDeviceLiveToolsPingBody) Validate(formats strfmt.Registry) error

Validate validates this create device live tools ping body

type CreateDeviceLiveToolsPingCreated

type CreateDeviceLiveToolsPingCreated struct {
	Payload *CreateDeviceLiveToolsPingCreatedBody
}

CreateDeviceLiveToolsPingCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateDeviceLiveToolsPingCreated

func NewCreateDeviceLiveToolsPingCreated() *CreateDeviceLiveToolsPingCreated

NewCreateDeviceLiveToolsPingCreated creates a CreateDeviceLiveToolsPingCreated with default headers values

func (*CreateDeviceLiveToolsPingCreated) Code

Code gets the status code for the create device live tools ping created response

func (*CreateDeviceLiveToolsPingCreated) Error

func (*CreateDeviceLiveToolsPingCreated) GetPayload

func (*CreateDeviceLiveToolsPingCreated) IsClientError

func (o *CreateDeviceLiveToolsPingCreated) IsClientError() bool

IsClientError returns true when this create device live tools ping created response has a 4xx status code

func (*CreateDeviceLiveToolsPingCreated) IsCode

func (o *CreateDeviceLiveToolsPingCreated) IsCode(code int) bool

IsCode returns true when this create device live tools ping created response a status code equal to that given

func (*CreateDeviceLiveToolsPingCreated) IsRedirect

func (o *CreateDeviceLiveToolsPingCreated) IsRedirect() bool

IsRedirect returns true when this create device live tools ping created response has a 3xx status code

func (*CreateDeviceLiveToolsPingCreated) IsServerError

func (o *CreateDeviceLiveToolsPingCreated) IsServerError() bool

IsServerError returns true when this create device live tools ping created response has a 5xx status code

func (*CreateDeviceLiveToolsPingCreated) IsSuccess

func (o *CreateDeviceLiveToolsPingCreated) IsSuccess() bool

IsSuccess returns true when this create device live tools ping created response has a 2xx status code

func (*CreateDeviceLiveToolsPingCreated) String

type CreateDeviceLiveToolsPingCreatedBody

type CreateDeviceLiveToolsPingCreatedBody struct {

	// Id to check the status of your ping request.
	PingID string `json:"pingId,omitempty"`

	// request
	Request *CreateDeviceLiveToolsPingCreatedBodyRequest `json:"request,omitempty"`

	// Status of the ping request.
	Status string `json:"status,omitempty"`

	// GET this url to check the status of your ping request.
	URL string `json:"url,omitempty"`
}

CreateDeviceLiveToolsPingCreatedBody create device live tools ping created body swagger:model CreateDeviceLiveToolsPingCreatedBody

func (*CreateDeviceLiveToolsPingCreatedBody) ContextValidate

func (o *CreateDeviceLiveToolsPingCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create device live tools ping created body based on the context it is used

func (*CreateDeviceLiveToolsPingCreatedBody) MarshalBinary

func (o *CreateDeviceLiveToolsPingCreatedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDeviceLiveToolsPingCreatedBody) UnmarshalBinary

func (o *CreateDeviceLiveToolsPingCreatedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDeviceLiveToolsPingCreatedBody) Validate

Validate validates this create device live tools ping created body

type CreateDeviceLiveToolsPingCreatedBodyRequest

type CreateDeviceLiveToolsPingCreatedBodyRequest struct {

	// Number of pings to send
	Count int64 `json:"count,omitempty"`

	// Device serial number
	Serial string `json:"serial,omitempty"`

	// IP address or FQDN to ping
	Target string `json:"target,omitempty"`
}

CreateDeviceLiveToolsPingCreatedBodyRequest Ping request parameters swagger:model CreateDeviceLiveToolsPingCreatedBodyRequest

func (*CreateDeviceLiveToolsPingCreatedBodyRequest) ContextValidate

ContextValidate validates this create device live tools ping created body request based on context it is used

func (*CreateDeviceLiveToolsPingCreatedBodyRequest) MarshalBinary

func (o *CreateDeviceLiveToolsPingCreatedBodyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDeviceLiveToolsPingCreatedBodyRequest) UnmarshalBinary

func (o *CreateDeviceLiveToolsPingCreatedBodyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDeviceLiveToolsPingCreatedBodyRequest) Validate

Validate validates this create device live tools ping created body request

type CreateDeviceLiveToolsPingDeviceBody

type CreateDeviceLiveToolsPingDeviceBody struct {

	// Count parameter to pass to ping. [1..5], default 5
	Count int64 `json:"count,omitempty"`
}

CreateDeviceLiveToolsPingDeviceBody create device live tools ping device body // Example: {"count":3} swagger:model CreateDeviceLiveToolsPingDeviceBody

func (*CreateDeviceLiveToolsPingDeviceBody) ContextValidate

func (o *CreateDeviceLiveToolsPingDeviceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create device live tools ping device body based on context it is used

func (*CreateDeviceLiveToolsPingDeviceBody) MarshalBinary

func (o *CreateDeviceLiveToolsPingDeviceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDeviceLiveToolsPingDeviceBody) UnmarshalBinary

func (o *CreateDeviceLiveToolsPingDeviceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDeviceLiveToolsPingDeviceBody) Validate

Validate validates this create device live tools ping device body

type CreateDeviceLiveToolsPingDeviceCreated

type CreateDeviceLiveToolsPingDeviceCreated struct {
	Payload *CreateDeviceLiveToolsPingDeviceCreatedBody
}

CreateDeviceLiveToolsPingDeviceCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateDeviceLiveToolsPingDeviceCreated

func NewCreateDeviceLiveToolsPingDeviceCreated() *CreateDeviceLiveToolsPingDeviceCreated

NewCreateDeviceLiveToolsPingDeviceCreated creates a CreateDeviceLiveToolsPingDeviceCreated with default headers values

func (*CreateDeviceLiveToolsPingDeviceCreated) Code

Code gets the status code for the create device live tools ping device created response

func (*CreateDeviceLiveToolsPingDeviceCreated) Error

func (*CreateDeviceLiveToolsPingDeviceCreated) GetPayload

func (*CreateDeviceLiveToolsPingDeviceCreated) IsClientError

func (o *CreateDeviceLiveToolsPingDeviceCreated) IsClientError() bool

IsClientError returns true when this create device live tools ping device created response has a 4xx status code

func (*CreateDeviceLiveToolsPingDeviceCreated) IsCode

IsCode returns true when this create device live tools ping device created response a status code equal to that given

func (*CreateDeviceLiveToolsPingDeviceCreated) IsRedirect

IsRedirect returns true when this create device live tools ping device created response has a 3xx status code

func (*CreateDeviceLiveToolsPingDeviceCreated) IsServerError

func (o *CreateDeviceLiveToolsPingDeviceCreated) IsServerError() bool

IsServerError returns true when this create device live tools ping device created response has a 5xx status code

func (*CreateDeviceLiveToolsPingDeviceCreated) IsSuccess

IsSuccess returns true when this create device live tools ping device created response has a 2xx status code

func (*CreateDeviceLiveToolsPingDeviceCreated) String

type CreateDeviceLiveToolsPingDeviceCreatedBody

type CreateDeviceLiveToolsPingDeviceCreatedBody struct {

	// Id to check the status of your ping request.
	PingID string `json:"pingId,omitempty"`

	// request
	Request *CreateDeviceLiveToolsPingDeviceCreatedBodyRequest `json:"request,omitempty"`

	// Status of the ping request.
	Status string `json:"status,omitempty"`

	// GET this url to check the status of your ping request.
	URL string `json:"url,omitempty"`
}

CreateDeviceLiveToolsPingDeviceCreatedBody create device live tools ping device created body swagger:model CreateDeviceLiveToolsPingDeviceCreatedBody

func (*CreateDeviceLiveToolsPingDeviceCreatedBody) ContextValidate

ContextValidate validate this create device live tools ping device created body based on the context it is used

func (*CreateDeviceLiveToolsPingDeviceCreatedBody) MarshalBinary

func (o *CreateDeviceLiveToolsPingDeviceCreatedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDeviceLiveToolsPingDeviceCreatedBody) UnmarshalBinary

func (o *CreateDeviceLiveToolsPingDeviceCreatedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDeviceLiveToolsPingDeviceCreatedBody) Validate

Validate validates this create device live tools ping device created body

type CreateDeviceLiveToolsPingDeviceCreatedBodyRequest

type CreateDeviceLiveToolsPingDeviceCreatedBodyRequest struct {

	// Number of pings to send
	Count int64 `json:"count,omitempty"`

	// Device serial number
	Serial string `json:"serial,omitempty"`

	// IP address or FQDN to ping
	Target string `json:"target,omitempty"`
}

CreateDeviceLiveToolsPingDeviceCreatedBodyRequest Ping request parameters swagger:model CreateDeviceLiveToolsPingDeviceCreatedBodyRequest

func (*CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) ContextValidate

ContextValidate validates this create device live tools ping device created body request based on context it is used

func (*CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) MarshalBinary

MarshalBinary interface implementation

func (*CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) Validate

Validate validates this create device live tools ping device created body request

type CreateDeviceLiveToolsPingDeviceParams

type CreateDeviceLiveToolsPingDeviceParams struct {

	// CreateDeviceLiveToolsPingDevice.
	CreateDeviceLiveToolsPingDevice CreateDeviceLiveToolsPingDeviceBody

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateDeviceLiveToolsPingDeviceParams contains all the parameters to send to the API endpoint

for the create device live tools ping device operation.

Typically these are written to a http.Request.

func NewCreateDeviceLiveToolsPingDeviceParams

func NewCreateDeviceLiveToolsPingDeviceParams() *CreateDeviceLiveToolsPingDeviceParams

NewCreateDeviceLiveToolsPingDeviceParams creates a new CreateDeviceLiveToolsPingDeviceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateDeviceLiveToolsPingDeviceParamsWithContext

func NewCreateDeviceLiveToolsPingDeviceParamsWithContext(ctx context.Context) *CreateDeviceLiveToolsPingDeviceParams

NewCreateDeviceLiveToolsPingDeviceParamsWithContext creates a new CreateDeviceLiveToolsPingDeviceParams object with the ability to set a context for a request.

func NewCreateDeviceLiveToolsPingDeviceParamsWithHTTPClient

func NewCreateDeviceLiveToolsPingDeviceParamsWithHTTPClient(client *http.Client) *CreateDeviceLiveToolsPingDeviceParams

NewCreateDeviceLiveToolsPingDeviceParamsWithHTTPClient creates a new CreateDeviceLiveToolsPingDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDeviceLiveToolsPingDeviceParamsWithTimeout

func NewCreateDeviceLiveToolsPingDeviceParamsWithTimeout(timeout time.Duration) *CreateDeviceLiveToolsPingDeviceParams

NewCreateDeviceLiveToolsPingDeviceParamsWithTimeout creates a new CreateDeviceLiveToolsPingDeviceParams object with the ability to set a timeout on a request.

func (*CreateDeviceLiveToolsPingDeviceParams) SetContext

SetContext adds the context to the create device live tools ping device params

func (*CreateDeviceLiveToolsPingDeviceParams) SetCreateDeviceLiveToolsPingDevice

func (o *CreateDeviceLiveToolsPingDeviceParams) SetCreateDeviceLiveToolsPingDevice(createDeviceLiveToolsPingDevice CreateDeviceLiveToolsPingDeviceBody)

SetCreateDeviceLiveToolsPingDevice adds the createDeviceLiveToolsPingDevice to the create device live tools ping device params

func (*CreateDeviceLiveToolsPingDeviceParams) SetDefaults

func (o *CreateDeviceLiveToolsPingDeviceParams) SetDefaults()

SetDefaults hydrates default values in the create device live tools ping device params (not the query body).

All values with no default are reset to their zero value.

func (*CreateDeviceLiveToolsPingDeviceParams) SetHTTPClient

func (o *CreateDeviceLiveToolsPingDeviceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create device live tools ping device params

func (*CreateDeviceLiveToolsPingDeviceParams) SetSerial

func (o *CreateDeviceLiveToolsPingDeviceParams) SetSerial(serial string)

SetSerial adds the serial to the create device live tools ping device params

func (*CreateDeviceLiveToolsPingDeviceParams) SetTimeout

func (o *CreateDeviceLiveToolsPingDeviceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create device live tools ping device params

func (*CreateDeviceLiveToolsPingDeviceParams) WithContext

WithContext adds the context to the create device live tools ping device params

func (*CreateDeviceLiveToolsPingDeviceParams) WithCreateDeviceLiveToolsPingDevice

func (o *CreateDeviceLiveToolsPingDeviceParams) WithCreateDeviceLiveToolsPingDevice(createDeviceLiveToolsPingDevice CreateDeviceLiveToolsPingDeviceBody) *CreateDeviceLiveToolsPingDeviceParams

WithCreateDeviceLiveToolsPingDevice adds the createDeviceLiveToolsPingDevice to the create device live tools ping device params

func (*CreateDeviceLiveToolsPingDeviceParams) WithDefaults

WithDefaults hydrates default values in the create device live tools ping device params (not the query body).

All values with no default are reset to their zero value.

func (*CreateDeviceLiveToolsPingDeviceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create device live tools ping device params

func (*CreateDeviceLiveToolsPingDeviceParams) WithSerial

WithSerial adds the serial to the create device live tools ping device params

func (*CreateDeviceLiveToolsPingDeviceParams) WithTimeout

WithTimeout adds the timeout to the create device live tools ping device params

func (*CreateDeviceLiveToolsPingDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDeviceLiveToolsPingDeviceReader

type CreateDeviceLiveToolsPingDeviceReader struct {
	// contains filtered or unexported fields
}

CreateDeviceLiveToolsPingDeviceReader is a Reader for the CreateDeviceLiveToolsPingDevice structure.

func (*CreateDeviceLiveToolsPingDeviceReader) ReadResponse

func (o *CreateDeviceLiveToolsPingDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateDeviceLiveToolsPingParams

type CreateDeviceLiveToolsPingParams struct {

	// CreateDeviceLiveToolsPing.
	CreateDeviceLiveToolsPing CreateDeviceLiveToolsPingBody

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateDeviceLiveToolsPingParams contains all the parameters to send to the API endpoint

for the create device live tools ping operation.

Typically these are written to a http.Request.

func NewCreateDeviceLiveToolsPingParams

func NewCreateDeviceLiveToolsPingParams() *CreateDeviceLiveToolsPingParams

NewCreateDeviceLiveToolsPingParams creates a new CreateDeviceLiveToolsPingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateDeviceLiveToolsPingParamsWithContext

func NewCreateDeviceLiveToolsPingParamsWithContext(ctx context.Context) *CreateDeviceLiveToolsPingParams

NewCreateDeviceLiveToolsPingParamsWithContext creates a new CreateDeviceLiveToolsPingParams object with the ability to set a context for a request.

func NewCreateDeviceLiveToolsPingParamsWithHTTPClient

func NewCreateDeviceLiveToolsPingParamsWithHTTPClient(client *http.Client) *CreateDeviceLiveToolsPingParams

NewCreateDeviceLiveToolsPingParamsWithHTTPClient creates a new CreateDeviceLiveToolsPingParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDeviceLiveToolsPingParamsWithTimeout

func NewCreateDeviceLiveToolsPingParamsWithTimeout(timeout time.Duration) *CreateDeviceLiveToolsPingParams

NewCreateDeviceLiveToolsPingParamsWithTimeout creates a new CreateDeviceLiveToolsPingParams object with the ability to set a timeout on a request.

func (*CreateDeviceLiveToolsPingParams) SetContext

func (o *CreateDeviceLiveToolsPingParams) SetContext(ctx context.Context)

SetContext adds the context to the create device live tools ping params

func (*CreateDeviceLiveToolsPingParams) SetCreateDeviceLiveToolsPing

func (o *CreateDeviceLiveToolsPingParams) SetCreateDeviceLiveToolsPing(createDeviceLiveToolsPing CreateDeviceLiveToolsPingBody)

SetCreateDeviceLiveToolsPing adds the createDeviceLiveToolsPing to the create device live tools ping params

func (*CreateDeviceLiveToolsPingParams) SetDefaults

func (o *CreateDeviceLiveToolsPingParams) SetDefaults()

SetDefaults hydrates default values in the create device live tools ping params (not the query body).

All values with no default are reset to their zero value.

func (*CreateDeviceLiveToolsPingParams) SetHTTPClient

func (o *CreateDeviceLiveToolsPingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create device live tools ping params

func (*CreateDeviceLiveToolsPingParams) SetSerial

func (o *CreateDeviceLiveToolsPingParams) SetSerial(serial string)

SetSerial adds the serial to the create device live tools ping params

func (*CreateDeviceLiveToolsPingParams) SetTimeout

func (o *CreateDeviceLiveToolsPingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create device live tools ping params

func (*CreateDeviceLiveToolsPingParams) WithContext

WithContext adds the context to the create device live tools ping params

func (*CreateDeviceLiveToolsPingParams) WithCreateDeviceLiveToolsPing

func (o *CreateDeviceLiveToolsPingParams) WithCreateDeviceLiveToolsPing(createDeviceLiveToolsPing CreateDeviceLiveToolsPingBody) *CreateDeviceLiveToolsPingParams

WithCreateDeviceLiveToolsPing adds the createDeviceLiveToolsPing to the create device live tools ping params

func (*CreateDeviceLiveToolsPingParams) WithDefaults

WithDefaults hydrates default values in the create device live tools ping params (not the query body).

All values with no default are reset to their zero value.

func (*CreateDeviceLiveToolsPingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create device live tools ping params

func (*CreateDeviceLiveToolsPingParams) WithSerial

WithSerial adds the serial to the create device live tools ping params

func (*CreateDeviceLiveToolsPingParams) WithTimeout

WithTimeout adds the timeout to the create device live tools ping params

func (*CreateDeviceLiveToolsPingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDeviceLiveToolsPingReader

type CreateDeviceLiveToolsPingReader struct {
	// contains filtered or unexported fields
}

CreateDeviceLiveToolsPingReader is a Reader for the CreateDeviceLiveToolsPing structure.

func (*CreateDeviceLiveToolsPingReader) ReadResponse

func (o *CreateDeviceLiveToolsPingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceCellularSimsOK

type GetDeviceCellularSimsOK struct {
	Payload interface{}
}

GetDeviceCellularSimsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceCellularSimsOK

func NewGetDeviceCellularSimsOK() *GetDeviceCellularSimsOK

NewGetDeviceCellularSimsOK creates a GetDeviceCellularSimsOK with default headers values

func (*GetDeviceCellularSimsOK) Code

func (o *GetDeviceCellularSimsOK) Code() int

Code gets the status code for the get device cellular sims o k response

func (*GetDeviceCellularSimsOK) Error

func (o *GetDeviceCellularSimsOK) Error() string

func (*GetDeviceCellularSimsOK) GetPayload

func (o *GetDeviceCellularSimsOK) GetPayload() interface{}

func (*GetDeviceCellularSimsOK) IsClientError

func (o *GetDeviceCellularSimsOK) IsClientError() bool

IsClientError returns true when this get device cellular sims o k response has a 4xx status code

func (*GetDeviceCellularSimsOK) IsCode

func (o *GetDeviceCellularSimsOK) IsCode(code int) bool

IsCode returns true when this get device cellular sims o k response a status code equal to that given

func (*GetDeviceCellularSimsOK) IsRedirect

func (o *GetDeviceCellularSimsOK) IsRedirect() bool

IsRedirect returns true when this get device cellular sims o k response has a 3xx status code

func (*GetDeviceCellularSimsOK) IsServerError

func (o *GetDeviceCellularSimsOK) IsServerError() bool

IsServerError returns true when this get device cellular sims o k response has a 5xx status code

func (*GetDeviceCellularSimsOK) IsSuccess

func (o *GetDeviceCellularSimsOK) IsSuccess() bool

IsSuccess returns true when this get device cellular sims o k response has a 2xx status code

func (*GetDeviceCellularSimsOK) String

func (o *GetDeviceCellularSimsOK) String() string

type GetDeviceCellularSimsParams

type GetDeviceCellularSimsParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceCellularSimsParams contains all the parameters to send to the API endpoint

for the get device cellular sims operation.

Typically these are written to a http.Request.

func NewGetDeviceCellularSimsParams

func NewGetDeviceCellularSimsParams() *GetDeviceCellularSimsParams

NewGetDeviceCellularSimsParams creates a new GetDeviceCellularSimsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceCellularSimsParamsWithContext

func NewGetDeviceCellularSimsParamsWithContext(ctx context.Context) *GetDeviceCellularSimsParams

NewGetDeviceCellularSimsParamsWithContext creates a new GetDeviceCellularSimsParams object with the ability to set a context for a request.

func NewGetDeviceCellularSimsParamsWithHTTPClient

func NewGetDeviceCellularSimsParamsWithHTTPClient(client *http.Client) *GetDeviceCellularSimsParams

NewGetDeviceCellularSimsParamsWithHTTPClient creates a new GetDeviceCellularSimsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceCellularSimsParamsWithTimeout

func NewGetDeviceCellularSimsParamsWithTimeout(timeout time.Duration) *GetDeviceCellularSimsParams

NewGetDeviceCellularSimsParamsWithTimeout creates a new GetDeviceCellularSimsParams object with the ability to set a timeout on a request.

func (*GetDeviceCellularSimsParams) SetContext

func (o *GetDeviceCellularSimsParams) SetContext(ctx context.Context)

SetContext adds the context to the get device cellular sims params

func (*GetDeviceCellularSimsParams) SetDefaults

func (o *GetDeviceCellularSimsParams) SetDefaults()

SetDefaults hydrates default values in the get device cellular sims params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceCellularSimsParams) SetHTTPClient

func (o *GetDeviceCellularSimsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device cellular sims params

func (*GetDeviceCellularSimsParams) SetSerial

func (o *GetDeviceCellularSimsParams) SetSerial(serial string)

SetSerial adds the serial to the get device cellular sims params

func (*GetDeviceCellularSimsParams) SetTimeout

func (o *GetDeviceCellularSimsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device cellular sims params

func (*GetDeviceCellularSimsParams) WithContext

WithContext adds the context to the get device cellular sims params

func (*GetDeviceCellularSimsParams) WithDefaults

WithDefaults hydrates default values in the get device cellular sims params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceCellularSimsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device cellular sims params

func (*GetDeviceCellularSimsParams) WithSerial

WithSerial adds the serial to the get device cellular sims params

func (*GetDeviceCellularSimsParams) WithTimeout

WithTimeout adds the timeout to the get device cellular sims params

func (*GetDeviceCellularSimsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceCellularSimsReader

type GetDeviceCellularSimsReader struct {
	// contains filtered or unexported fields
}

GetDeviceCellularSimsReader is a Reader for the GetDeviceCellularSims structure.

func (*GetDeviceCellularSimsReader) ReadResponse

func (o *GetDeviceCellularSimsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceClientsOK

type GetDeviceClientsOK struct {
	Payload []interface{}
}

GetDeviceClientsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceClientsOK

func NewGetDeviceClientsOK() *GetDeviceClientsOK

NewGetDeviceClientsOK creates a GetDeviceClientsOK with default headers values

func (*GetDeviceClientsOK) Code

func (o *GetDeviceClientsOK) Code() int

Code gets the status code for the get device clients o k response

func (*GetDeviceClientsOK) Error

func (o *GetDeviceClientsOK) Error() string

func (*GetDeviceClientsOK) GetPayload

func (o *GetDeviceClientsOK) GetPayload() []interface{}

func (*GetDeviceClientsOK) IsClientError

func (o *GetDeviceClientsOK) IsClientError() bool

IsClientError returns true when this get device clients o k response has a 4xx status code

func (*GetDeviceClientsOK) IsCode

func (o *GetDeviceClientsOK) IsCode(code int) bool

IsCode returns true when this get device clients o k response a status code equal to that given

func (*GetDeviceClientsOK) IsRedirect

func (o *GetDeviceClientsOK) IsRedirect() bool

IsRedirect returns true when this get device clients o k response has a 3xx status code

func (*GetDeviceClientsOK) IsServerError

func (o *GetDeviceClientsOK) IsServerError() bool

IsServerError returns true when this get device clients o k response has a 5xx status code

func (*GetDeviceClientsOK) IsSuccess

func (o *GetDeviceClientsOK) IsSuccess() bool

IsSuccess returns true when this get device clients o k response has a 2xx status code

func (*GetDeviceClientsOK) String

func (o *GetDeviceClientsOK) String() string

type GetDeviceClientsParams

type GetDeviceClientsParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	/* T0.

	   The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
	*/
	T0 *string

	/* Timespan.

	   The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.

	   Format: float
	*/
	Timespan *float32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceClientsParams contains all the parameters to send to the API endpoint

for the get device clients operation.

Typically these are written to a http.Request.

func NewGetDeviceClientsParams

func NewGetDeviceClientsParams() *GetDeviceClientsParams

NewGetDeviceClientsParams creates a new GetDeviceClientsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceClientsParamsWithContext

func NewGetDeviceClientsParamsWithContext(ctx context.Context) *GetDeviceClientsParams

NewGetDeviceClientsParamsWithContext creates a new GetDeviceClientsParams object with the ability to set a context for a request.

func NewGetDeviceClientsParamsWithHTTPClient

func NewGetDeviceClientsParamsWithHTTPClient(client *http.Client) *GetDeviceClientsParams

NewGetDeviceClientsParamsWithHTTPClient creates a new GetDeviceClientsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceClientsParamsWithTimeout

func NewGetDeviceClientsParamsWithTimeout(timeout time.Duration) *GetDeviceClientsParams

NewGetDeviceClientsParamsWithTimeout creates a new GetDeviceClientsParams object with the ability to set a timeout on a request.

func (*GetDeviceClientsParams) SetContext

func (o *GetDeviceClientsParams) SetContext(ctx context.Context)

SetContext adds the context to the get device clients params

func (*GetDeviceClientsParams) SetDefaults

func (o *GetDeviceClientsParams) SetDefaults()

SetDefaults hydrates default values in the get device clients params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceClientsParams) SetHTTPClient

func (o *GetDeviceClientsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device clients params

func (*GetDeviceClientsParams) SetSerial

func (o *GetDeviceClientsParams) SetSerial(serial string)

SetSerial adds the serial to the get device clients params

func (*GetDeviceClientsParams) SetT0

func (o *GetDeviceClientsParams) SetT0(t0 *string)

SetT0 adds the t0 to the get device clients params

func (*GetDeviceClientsParams) SetTimeout

func (o *GetDeviceClientsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device clients params

func (*GetDeviceClientsParams) SetTimespan

func (o *GetDeviceClientsParams) SetTimespan(timespan *float32)

SetTimespan adds the timespan to the get device clients params

func (*GetDeviceClientsParams) WithContext

WithContext adds the context to the get device clients params

func (*GetDeviceClientsParams) WithDefaults

WithDefaults hydrates default values in the get device clients params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceClientsParams) WithHTTPClient

func (o *GetDeviceClientsParams) WithHTTPClient(client *http.Client) *GetDeviceClientsParams

WithHTTPClient adds the HTTPClient to the get device clients params

func (*GetDeviceClientsParams) WithSerial

func (o *GetDeviceClientsParams) WithSerial(serial string) *GetDeviceClientsParams

WithSerial adds the serial to the get device clients params

func (*GetDeviceClientsParams) WithT0

WithT0 adds the t0 to the get device clients params

func (*GetDeviceClientsParams) WithTimeout

WithTimeout adds the timeout to the get device clients params

func (*GetDeviceClientsParams) WithTimespan

func (o *GetDeviceClientsParams) WithTimespan(timespan *float32) *GetDeviceClientsParams

WithTimespan adds the timespan to the get device clients params

func (*GetDeviceClientsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceClientsReader

type GetDeviceClientsReader struct {
	// contains filtered or unexported fields
}

GetDeviceClientsReader is a Reader for the GetDeviceClients structure.

func (*GetDeviceClientsReader) ReadResponse

func (o *GetDeviceClientsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceLiveToolsPingDeviceOK

type GetDeviceLiveToolsPingDeviceOK struct {
	Payload *GetDeviceLiveToolsPingDeviceOKBody
}

GetDeviceLiveToolsPingDeviceOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceLiveToolsPingDeviceOK

func NewGetDeviceLiveToolsPingDeviceOK() *GetDeviceLiveToolsPingDeviceOK

NewGetDeviceLiveToolsPingDeviceOK creates a GetDeviceLiveToolsPingDeviceOK with default headers values

func (*GetDeviceLiveToolsPingDeviceOK) Code

Code gets the status code for the get device live tools ping device o k response

func (*GetDeviceLiveToolsPingDeviceOK) Error

func (*GetDeviceLiveToolsPingDeviceOK) GetPayload

func (*GetDeviceLiveToolsPingDeviceOK) IsClientError

func (o *GetDeviceLiveToolsPingDeviceOK) IsClientError() bool

IsClientError returns true when this get device live tools ping device o k response has a 4xx status code

func (*GetDeviceLiveToolsPingDeviceOK) IsCode

func (o *GetDeviceLiveToolsPingDeviceOK) IsCode(code int) bool

IsCode returns true when this get device live tools ping device o k response a status code equal to that given

func (*GetDeviceLiveToolsPingDeviceOK) IsRedirect

func (o *GetDeviceLiveToolsPingDeviceOK) IsRedirect() bool

IsRedirect returns true when this get device live tools ping device o k response has a 3xx status code

func (*GetDeviceLiveToolsPingDeviceOK) IsServerError

func (o *GetDeviceLiveToolsPingDeviceOK) IsServerError() bool

IsServerError returns true when this get device live tools ping device o k response has a 5xx status code

func (*GetDeviceLiveToolsPingDeviceOK) IsSuccess

func (o *GetDeviceLiveToolsPingDeviceOK) IsSuccess() bool

IsSuccess returns true when this get device live tools ping device o k response has a 2xx status code

func (*GetDeviceLiveToolsPingDeviceOK) String

type GetDeviceLiveToolsPingDeviceOKBody

type GetDeviceLiveToolsPingDeviceOKBody struct {

	// Id to check the status of your ping request.
	PingID string `json:"pingId,omitempty"`

	// request
	Request *GetDeviceLiveToolsPingDeviceOKBodyRequest `json:"request,omitempty"`

	// results
	Results *GetDeviceLiveToolsPingDeviceOKBodyResults `json:"results,omitempty"`

	// Status of the ping request.
	Status string `json:"status,omitempty"`

	// GET this url to check the status of your ping request.
	URL string `json:"url,omitempty"`
}

GetDeviceLiveToolsPingDeviceOKBody get device live tools ping device o k body swagger:model GetDeviceLiveToolsPingDeviceOKBody

func (*GetDeviceLiveToolsPingDeviceOKBody) ContextValidate

func (o *GetDeviceLiveToolsPingDeviceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get device live tools ping device o k body based on the context it is used

func (*GetDeviceLiveToolsPingDeviceOKBody) MarshalBinary

func (o *GetDeviceLiveToolsPingDeviceOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceLiveToolsPingDeviceOKBody) UnmarshalBinary

func (o *GetDeviceLiveToolsPingDeviceOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceLiveToolsPingDeviceOKBody) Validate

Validate validates this get device live tools ping device o k body

type GetDeviceLiveToolsPingDeviceOKBodyRequest

type GetDeviceLiveToolsPingDeviceOKBodyRequest struct {

	// Number of pings to send
	Count int64 `json:"count,omitempty"`

	// Device serial number
	Serial string `json:"serial,omitempty"`

	// IP address or FQDN to ping
	Target string `json:"target,omitempty"`
}

GetDeviceLiveToolsPingDeviceOKBodyRequest Ping request parameters swagger:model GetDeviceLiveToolsPingDeviceOKBodyRequest

func (*GetDeviceLiveToolsPingDeviceOKBodyRequest) ContextValidate

ContextValidate validates this get device live tools ping device o k body request based on context it is used

func (*GetDeviceLiveToolsPingDeviceOKBodyRequest) MarshalBinary

func (o *GetDeviceLiveToolsPingDeviceOKBodyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceLiveToolsPingDeviceOKBodyRequest) UnmarshalBinary

func (o *GetDeviceLiveToolsPingDeviceOKBodyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceLiveToolsPingDeviceOKBodyRequest) Validate

Validate validates this get device live tools ping device o k body request

type GetDeviceLiveToolsPingDeviceOKBodyResults

type GetDeviceLiveToolsPingDeviceOKBodyResults struct {

	// latencies
	Latencies *GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies `json:"latencies,omitempty"`

	// loss
	Loss *GetDeviceLiveToolsPingDeviceOKBodyResultsLoss `json:"loss,omitempty"`

	// Number of packets received
	Received int64 `json:"received,omitempty"`

	// Received packets
	Replies []*GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0 `json:"replies"`

	// Number of packets sent
	Sent int64 `json:"sent,omitempty"`
}

GetDeviceLiveToolsPingDeviceOKBodyResults Results of the ping request. swagger:model GetDeviceLiveToolsPingDeviceOKBodyResults

func (*GetDeviceLiveToolsPingDeviceOKBodyResults) ContextValidate

ContextValidate validate this get device live tools ping device o k body results based on the context it is used

func (*GetDeviceLiveToolsPingDeviceOKBodyResults) MarshalBinary

func (o *GetDeviceLiveToolsPingDeviceOKBodyResults) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceLiveToolsPingDeviceOKBodyResults) UnmarshalBinary

func (o *GetDeviceLiveToolsPingDeviceOKBodyResults) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceLiveToolsPingDeviceOKBodyResults) Validate

Validate validates this get device live tools ping device o k body results

type GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies

type GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies struct {

	// Average latency
	Average float32 `json:"average,omitempty"`

	// Maximum latency
	Maximum float32 `json:"maximum,omitempty"`

	// Minimum latency
	Minimum float32 `json:"minimum,omitempty"`
}

GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies Packet latency stats swagger:model GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies

func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) ContextValidate

ContextValidate validates this get device live tools ping device o k body results latencies based on context it is used

func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) Validate

Validate validates this get device live tools ping device o k body results latencies

type GetDeviceLiveToolsPingDeviceOKBodyResultsLoss

type GetDeviceLiveToolsPingDeviceOKBodyResultsLoss struct {

	// Percentage of packets lost
	Percentage float32 `json:"percentage,omitempty"`
}

GetDeviceLiveToolsPingDeviceOKBodyResultsLoss Lost packets swagger:model GetDeviceLiveToolsPingDeviceOKBodyResultsLoss

func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) ContextValidate

ContextValidate validates this get device live tools ping device o k body results loss based on context it is used

func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) Validate

Validate validates this get device live tools ping device o k body results loss

type GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0

type GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0 struct {

	// Latency of the packet in milliseconds
	Latency float32 `json:"latency,omitempty"`

	// Sequence ID of the packet
	SequenceID int64 `json:"sequenceId,omitempty"`

	// Size of the packet in bytes
	Size int64 `json:"size,omitempty"`
}

GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0 get device live tools ping device o k body results replies items0 swagger:model GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0

func (*GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) ContextValidate

ContextValidate validates this get device live tools ping device o k body results replies items0 based on context it is used

func (*GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) Validate

Validate validates this get device live tools ping device o k body results replies items0

type GetDeviceLiveToolsPingDeviceParams

type GetDeviceLiveToolsPingDeviceParams struct {

	/* ID.

	   ID
	*/
	ID string

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceLiveToolsPingDeviceParams contains all the parameters to send to the API endpoint

for the get device live tools ping device operation.

Typically these are written to a http.Request.

func NewGetDeviceLiveToolsPingDeviceParams

func NewGetDeviceLiveToolsPingDeviceParams() *GetDeviceLiveToolsPingDeviceParams

NewGetDeviceLiveToolsPingDeviceParams creates a new GetDeviceLiveToolsPingDeviceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceLiveToolsPingDeviceParamsWithContext

func NewGetDeviceLiveToolsPingDeviceParamsWithContext(ctx context.Context) *GetDeviceLiveToolsPingDeviceParams

NewGetDeviceLiveToolsPingDeviceParamsWithContext creates a new GetDeviceLiveToolsPingDeviceParams object with the ability to set a context for a request.

func NewGetDeviceLiveToolsPingDeviceParamsWithHTTPClient

func NewGetDeviceLiveToolsPingDeviceParamsWithHTTPClient(client *http.Client) *GetDeviceLiveToolsPingDeviceParams

NewGetDeviceLiveToolsPingDeviceParamsWithHTTPClient creates a new GetDeviceLiveToolsPingDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceLiveToolsPingDeviceParamsWithTimeout

func NewGetDeviceLiveToolsPingDeviceParamsWithTimeout(timeout time.Duration) *GetDeviceLiveToolsPingDeviceParams

NewGetDeviceLiveToolsPingDeviceParamsWithTimeout creates a new GetDeviceLiveToolsPingDeviceParams object with the ability to set a timeout on a request.

func (*GetDeviceLiveToolsPingDeviceParams) SetContext

SetContext adds the context to the get device live tools ping device params

func (*GetDeviceLiveToolsPingDeviceParams) SetDefaults

func (o *GetDeviceLiveToolsPingDeviceParams) SetDefaults()

SetDefaults hydrates default values in the get device live tools ping device params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceLiveToolsPingDeviceParams) SetHTTPClient

func (o *GetDeviceLiveToolsPingDeviceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device live tools ping device params

func (*GetDeviceLiveToolsPingDeviceParams) SetID

SetID adds the id to the get device live tools ping device params

func (*GetDeviceLiveToolsPingDeviceParams) SetSerial

func (o *GetDeviceLiveToolsPingDeviceParams) SetSerial(serial string)

SetSerial adds the serial to the get device live tools ping device params

func (*GetDeviceLiveToolsPingDeviceParams) SetTimeout

func (o *GetDeviceLiveToolsPingDeviceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device live tools ping device params

func (*GetDeviceLiveToolsPingDeviceParams) WithContext

WithContext adds the context to the get device live tools ping device params

func (*GetDeviceLiveToolsPingDeviceParams) WithDefaults

WithDefaults hydrates default values in the get device live tools ping device params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceLiveToolsPingDeviceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device live tools ping device params

func (*GetDeviceLiveToolsPingDeviceParams) WithID

WithID adds the id to the get device live tools ping device params

func (*GetDeviceLiveToolsPingDeviceParams) WithSerial

WithSerial adds the serial to the get device live tools ping device params

func (*GetDeviceLiveToolsPingDeviceParams) WithTimeout

WithTimeout adds the timeout to the get device live tools ping device params

func (*GetDeviceLiveToolsPingDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceLiveToolsPingDeviceReader

type GetDeviceLiveToolsPingDeviceReader struct {
	// contains filtered or unexported fields
}

GetDeviceLiveToolsPingDeviceReader is a Reader for the GetDeviceLiveToolsPingDevice structure.

func (*GetDeviceLiveToolsPingDeviceReader) ReadResponse

func (o *GetDeviceLiveToolsPingDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceLiveToolsPingOK

type GetDeviceLiveToolsPingOK struct {
	Payload *GetDeviceLiveToolsPingOKBody
}

GetDeviceLiveToolsPingOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceLiveToolsPingOK

func NewGetDeviceLiveToolsPingOK() *GetDeviceLiveToolsPingOK

NewGetDeviceLiveToolsPingOK creates a GetDeviceLiveToolsPingOK with default headers values

func (*GetDeviceLiveToolsPingOK) Code

func (o *GetDeviceLiveToolsPingOK) Code() int

Code gets the status code for the get device live tools ping o k response

func (*GetDeviceLiveToolsPingOK) Error

func (o *GetDeviceLiveToolsPingOK) Error() string

func (*GetDeviceLiveToolsPingOK) GetPayload

func (*GetDeviceLiveToolsPingOK) IsClientError

func (o *GetDeviceLiveToolsPingOK) IsClientError() bool

IsClientError returns true when this get device live tools ping o k response has a 4xx status code

func (*GetDeviceLiveToolsPingOK) IsCode

func (o *GetDeviceLiveToolsPingOK) IsCode(code int) bool

IsCode returns true when this get device live tools ping o k response a status code equal to that given

func (*GetDeviceLiveToolsPingOK) IsRedirect

func (o *GetDeviceLiveToolsPingOK) IsRedirect() bool

IsRedirect returns true when this get device live tools ping o k response has a 3xx status code

func (*GetDeviceLiveToolsPingOK) IsServerError

func (o *GetDeviceLiveToolsPingOK) IsServerError() bool

IsServerError returns true when this get device live tools ping o k response has a 5xx status code

func (*GetDeviceLiveToolsPingOK) IsSuccess

func (o *GetDeviceLiveToolsPingOK) IsSuccess() bool

IsSuccess returns true when this get device live tools ping o k response has a 2xx status code

func (*GetDeviceLiveToolsPingOK) String

func (o *GetDeviceLiveToolsPingOK) String() string

type GetDeviceLiveToolsPingOKBody

type GetDeviceLiveToolsPingOKBody struct {

	// Id to check the status of your ping request.
	PingID string `json:"pingId,omitempty"`

	// request
	Request *GetDeviceLiveToolsPingOKBodyRequest `json:"request,omitempty"`

	// results
	Results *GetDeviceLiveToolsPingOKBodyResults `json:"results,omitempty"`

	// Status of the ping request.
	Status string `json:"status,omitempty"`

	// GET this url to check the status of your ping request.
	URL string `json:"url,omitempty"`
}

GetDeviceLiveToolsPingOKBody get device live tools ping o k body swagger:model GetDeviceLiveToolsPingOKBody

func (*GetDeviceLiveToolsPingOKBody) ContextValidate

func (o *GetDeviceLiveToolsPingOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get device live tools ping o k body based on the context it is used

func (*GetDeviceLiveToolsPingOKBody) MarshalBinary

func (o *GetDeviceLiveToolsPingOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceLiveToolsPingOKBody) UnmarshalBinary

func (o *GetDeviceLiveToolsPingOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceLiveToolsPingOKBody) Validate

func (o *GetDeviceLiveToolsPingOKBody) Validate(formats strfmt.Registry) error

Validate validates this get device live tools ping o k body

type GetDeviceLiveToolsPingOKBodyRequest

type GetDeviceLiveToolsPingOKBodyRequest struct {

	// Number of pings to send
	Count int64 `json:"count,omitempty"`

	// Device serial number
	Serial string `json:"serial,omitempty"`

	// IP address or FQDN to ping
	Target string `json:"target,omitempty"`
}

GetDeviceLiveToolsPingOKBodyRequest Ping request parameters swagger:model GetDeviceLiveToolsPingOKBodyRequest

func (*GetDeviceLiveToolsPingOKBodyRequest) ContextValidate

func (o *GetDeviceLiveToolsPingOKBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get device live tools ping o k body request based on context it is used

func (*GetDeviceLiveToolsPingOKBodyRequest) MarshalBinary

func (o *GetDeviceLiveToolsPingOKBodyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceLiveToolsPingOKBodyRequest) UnmarshalBinary

func (o *GetDeviceLiveToolsPingOKBodyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceLiveToolsPingOKBodyRequest) Validate

Validate validates this get device live tools ping o k body request

type GetDeviceLiveToolsPingOKBodyResults

type GetDeviceLiveToolsPingOKBodyResults struct {

	// latencies
	Latencies *GetDeviceLiveToolsPingOKBodyResultsLatencies `json:"latencies,omitempty"`

	// loss
	Loss *GetDeviceLiveToolsPingOKBodyResultsLoss `json:"loss,omitempty"`

	// Number of packets received
	Received int64 `json:"received,omitempty"`

	// Received packets
	Replies []*GetDeviceLiveToolsPingOKBodyResultsRepliesItems0 `json:"replies"`

	// Number of packets sent
	Sent int64 `json:"sent,omitempty"`
}

GetDeviceLiveToolsPingOKBodyResults Results of the ping request. swagger:model GetDeviceLiveToolsPingOKBodyResults

func (*GetDeviceLiveToolsPingOKBodyResults) ContextValidate

func (o *GetDeviceLiveToolsPingOKBodyResults) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get device live tools ping o k body results based on the context it is used

func (*GetDeviceLiveToolsPingOKBodyResults) MarshalBinary

func (o *GetDeviceLiveToolsPingOKBodyResults) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceLiveToolsPingOKBodyResults) UnmarshalBinary

func (o *GetDeviceLiveToolsPingOKBodyResults) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceLiveToolsPingOKBodyResults) Validate

Validate validates this get device live tools ping o k body results

type GetDeviceLiveToolsPingOKBodyResultsLatencies

type GetDeviceLiveToolsPingOKBodyResultsLatencies struct {

	// Average latency
	Average float32 `json:"average,omitempty"`

	// Maximum latency
	Maximum float32 `json:"maximum,omitempty"`

	// Minimum latency
	Minimum float32 `json:"minimum,omitempty"`
}

GetDeviceLiveToolsPingOKBodyResultsLatencies Packet latency stats swagger:model GetDeviceLiveToolsPingOKBodyResultsLatencies

func (*GetDeviceLiveToolsPingOKBodyResultsLatencies) ContextValidate

ContextValidate validates this get device live tools ping o k body results latencies based on context it is used

func (*GetDeviceLiveToolsPingOKBodyResultsLatencies) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceLiveToolsPingOKBodyResultsLatencies) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceLiveToolsPingOKBodyResultsLatencies) Validate

Validate validates this get device live tools ping o k body results latencies

type GetDeviceLiveToolsPingOKBodyResultsLoss

type GetDeviceLiveToolsPingOKBodyResultsLoss struct {

	// Percentage of packets lost
	Percentage float32 `json:"percentage,omitempty"`
}

GetDeviceLiveToolsPingOKBodyResultsLoss Lost packets swagger:model GetDeviceLiveToolsPingOKBodyResultsLoss

func (*GetDeviceLiveToolsPingOKBodyResultsLoss) ContextValidate

ContextValidate validates this get device live tools ping o k body results loss based on context it is used

func (*GetDeviceLiveToolsPingOKBodyResultsLoss) MarshalBinary

func (o *GetDeviceLiveToolsPingOKBodyResultsLoss) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceLiveToolsPingOKBodyResultsLoss) UnmarshalBinary

func (o *GetDeviceLiveToolsPingOKBodyResultsLoss) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceLiveToolsPingOKBodyResultsLoss) Validate

Validate validates this get device live tools ping o k body results loss

type GetDeviceLiveToolsPingOKBodyResultsRepliesItems0

type GetDeviceLiveToolsPingOKBodyResultsRepliesItems0 struct {

	// Latency of the packet in milliseconds
	Latency float32 `json:"latency,omitempty"`

	// Sequence ID of the packet
	SequenceID int64 `json:"sequenceId,omitempty"`

	// Size of the packet in bytes
	Size int64 `json:"size,omitempty"`
}

GetDeviceLiveToolsPingOKBodyResultsRepliesItems0 get device live tools ping o k body results replies items0 swagger:model GetDeviceLiveToolsPingOKBodyResultsRepliesItems0

func (*GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) ContextValidate

ContextValidate validates this get device live tools ping o k body results replies items0 based on context it is used

func (*GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) Validate

Validate validates this get device live tools ping o k body results replies items0

type GetDeviceLiveToolsPingParams

type GetDeviceLiveToolsPingParams struct {

	/* ID.

	   ID
	*/
	ID string

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceLiveToolsPingParams contains all the parameters to send to the API endpoint

for the get device live tools ping operation.

Typically these are written to a http.Request.

func NewGetDeviceLiveToolsPingParams

func NewGetDeviceLiveToolsPingParams() *GetDeviceLiveToolsPingParams

NewGetDeviceLiveToolsPingParams creates a new GetDeviceLiveToolsPingParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceLiveToolsPingParamsWithContext

func NewGetDeviceLiveToolsPingParamsWithContext(ctx context.Context) *GetDeviceLiveToolsPingParams

NewGetDeviceLiveToolsPingParamsWithContext creates a new GetDeviceLiveToolsPingParams object with the ability to set a context for a request.

func NewGetDeviceLiveToolsPingParamsWithHTTPClient

func NewGetDeviceLiveToolsPingParamsWithHTTPClient(client *http.Client) *GetDeviceLiveToolsPingParams

NewGetDeviceLiveToolsPingParamsWithHTTPClient creates a new GetDeviceLiveToolsPingParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceLiveToolsPingParamsWithTimeout

func NewGetDeviceLiveToolsPingParamsWithTimeout(timeout time.Duration) *GetDeviceLiveToolsPingParams

NewGetDeviceLiveToolsPingParamsWithTimeout creates a new GetDeviceLiveToolsPingParams object with the ability to set a timeout on a request.

func (*GetDeviceLiveToolsPingParams) SetContext

func (o *GetDeviceLiveToolsPingParams) SetContext(ctx context.Context)

SetContext adds the context to the get device live tools ping params

func (*GetDeviceLiveToolsPingParams) SetDefaults

func (o *GetDeviceLiveToolsPingParams) SetDefaults()

SetDefaults hydrates default values in the get device live tools ping params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceLiveToolsPingParams) SetHTTPClient

func (o *GetDeviceLiveToolsPingParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device live tools ping params

func (*GetDeviceLiveToolsPingParams) SetID

func (o *GetDeviceLiveToolsPingParams) SetID(id string)

SetID adds the id to the get device live tools ping params

func (*GetDeviceLiveToolsPingParams) SetSerial

func (o *GetDeviceLiveToolsPingParams) SetSerial(serial string)

SetSerial adds the serial to the get device live tools ping params

func (*GetDeviceLiveToolsPingParams) SetTimeout

func (o *GetDeviceLiveToolsPingParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device live tools ping params

func (*GetDeviceLiveToolsPingParams) WithContext

WithContext adds the context to the get device live tools ping params

func (*GetDeviceLiveToolsPingParams) WithDefaults

WithDefaults hydrates default values in the get device live tools ping params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceLiveToolsPingParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device live tools ping params

func (*GetDeviceLiveToolsPingParams) WithID

WithID adds the id to the get device live tools ping params

func (*GetDeviceLiveToolsPingParams) WithSerial

WithSerial adds the serial to the get device live tools ping params

func (*GetDeviceLiveToolsPingParams) WithTimeout

WithTimeout adds the timeout to the get device live tools ping params

func (*GetDeviceLiveToolsPingParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceLiveToolsPingReader

type GetDeviceLiveToolsPingReader struct {
	// contains filtered or unexported fields
}

GetDeviceLiveToolsPingReader is a Reader for the GetDeviceLiveToolsPing structure.

func (*GetDeviceLiveToolsPingReader) ReadResponse

func (o *GetDeviceLiveToolsPingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceLldpCdpOK

type GetDeviceLldpCdpOK struct {
	Payload interface{}
}

GetDeviceLldpCdpOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceLldpCdpOK

func NewGetDeviceLldpCdpOK() *GetDeviceLldpCdpOK

NewGetDeviceLldpCdpOK creates a GetDeviceLldpCdpOK with default headers values

func (*GetDeviceLldpCdpOK) Code

func (o *GetDeviceLldpCdpOK) Code() int

Code gets the status code for the get device lldp cdp o k response

func (*GetDeviceLldpCdpOK) Error

func (o *GetDeviceLldpCdpOK) Error() string

func (*GetDeviceLldpCdpOK) GetPayload

func (o *GetDeviceLldpCdpOK) GetPayload() interface{}

func (*GetDeviceLldpCdpOK) IsClientError

func (o *GetDeviceLldpCdpOK) IsClientError() bool

IsClientError returns true when this get device lldp cdp o k response has a 4xx status code

func (*GetDeviceLldpCdpOK) IsCode

func (o *GetDeviceLldpCdpOK) IsCode(code int) bool

IsCode returns true when this get device lldp cdp o k response a status code equal to that given

func (*GetDeviceLldpCdpOK) IsRedirect

func (o *GetDeviceLldpCdpOK) IsRedirect() bool

IsRedirect returns true when this get device lldp cdp o k response has a 3xx status code

func (*GetDeviceLldpCdpOK) IsServerError

func (o *GetDeviceLldpCdpOK) IsServerError() bool

IsServerError returns true when this get device lldp cdp o k response has a 5xx status code

func (*GetDeviceLldpCdpOK) IsSuccess

func (o *GetDeviceLldpCdpOK) IsSuccess() bool

IsSuccess returns true when this get device lldp cdp o k response has a 2xx status code

func (*GetDeviceLldpCdpOK) String

func (o *GetDeviceLldpCdpOK) String() string

type GetDeviceLldpCdpParams

type GetDeviceLldpCdpParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceLldpCdpParams contains all the parameters to send to the API endpoint

for the get device lldp cdp operation.

Typically these are written to a http.Request.

func NewGetDeviceLldpCdpParams

func NewGetDeviceLldpCdpParams() *GetDeviceLldpCdpParams

NewGetDeviceLldpCdpParams creates a new GetDeviceLldpCdpParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceLldpCdpParamsWithContext

func NewGetDeviceLldpCdpParamsWithContext(ctx context.Context) *GetDeviceLldpCdpParams

NewGetDeviceLldpCdpParamsWithContext creates a new GetDeviceLldpCdpParams object with the ability to set a context for a request.

func NewGetDeviceLldpCdpParamsWithHTTPClient

func NewGetDeviceLldpCdpParamsWithHTTPClient(client *http.Client) *GetDeviceLldpCdpParams

NewGetDeviceLldpCdpParamsWithHTTPClient creates a new GetDeviceLldpCdpParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceLldpCdpParamsWithTimeout

func NewGetDeviceLldpCdpParamsWithTimeout(timeout time.Duration) *GetDeviceLldpCdpParams

NewGetDeviceLldpCdpParamsWithTimeout creates a new GetDeviceLldpCdpParams object with the ability to set a timeout on a request.

func (*GetDeviceLldpCdpParams) SetContext

func (o *GetDeviceLldpCdpParams) SetContext(ctx context.Context)

SetContext adds the context to the get device lldp cdp params

func (*GetDeviceLldpCdpParams) SetDefaults

func (o *GetDeviceLldpCdpParams) SetDefaults()

SetDefaults hydrates default values in the get device lldp cdp params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceLldpCdpParams) SetHTTPClient

func (o *GetDeviceLldpCdpParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device lldp cdp params

func (*GetDeviceLldpCdpParams) SetSerial

func (o *GetDeviceLldpCdpParams) SetSerial(serial string)

SetSerial adds the serial to the get device lldp cdp params

func (*GetDeviceLldpCdpParams) SetTimeout

func (o *GetDeviceLldpCdpParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device lldp cdp params

func (*GetDeviceLldpCdpParams) WithContext

WithContext adds the context to the get device lldp cdp params

func (*GetDeviceLldpCdpParams) WithDefaults

WithDefaults hydrates default values in the get device lldp cdp params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceLldpCdpParams) WithHTTPClient

func (o *GetDeviceLldpCdpParams) WithHTTPClient(client *http.Client) *GetDeviceLldpCdpParams

WithHTTPClient adds the HTTPClient to the get device lldp cdp params

func (*GetDeviceLldpCdpParams) WithSerial

func (o *GetDeviceLldpCdpParams) WithSerial(serial string) *GetDeviceLldpCdpParams

WithSerial adds the serial to the get device lldp cdp params

func (*GetDeviceLldpCdpParams) WithTimeout

WithTimeout adds the timeout to the get device lldp cdp params

func (*GetDeviceLldpCdpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceLldpCdpReader

type GetDeviceLldpCdpReader struct {
	// contains filtered or unexported fields
}

GetDeviceLldpCdpReader is a Reader for the GetDeviceLldpCdp structure.

func (*GetDeviceLldpCdpReader) ReadResponse

func (o *GetDeviceLldpCdpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceLossAndLatencyHistoryOK

type GetDeviceLossAndLatencyHistoryOK struct {
	Payload []interface{}
}

GetDeviceLossAndLatencyHistoryOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceLossAndLatencyHistoryOK

func NewGetDeviceLossAndLatencyHistoryOK() *GetDeviceLossAndLatencyHistoryOK

NewGetDeviceLossAndLatencyHistoryOK creates a GetDeviceLossAndLatencyHistoryOK with default headers values

func (*GetDeviceLossAndLatencyHistoryOK) Code

Code gets the status code for the get device loss and latency history o k response

func (*GetDeviceLossAndLatencyHistoryOK) Error

func (*GetDeviceLossAndLatencyHistoryOK) GetPayload

func (o *GetDeviceLossAndLatencyHistoryOK) GetPayload() []interface{}

func (*GetDeviceLossAndLatencyHistoryOK) IsClientError

func (o *GetDeviceLossAndLatencyHistoryOK) IsClientError() bool

IsClientError returns true when this get device loss and latency history o k response has a 4xx status code

func (*GetDeviceLossAndLatencyHistoryOK) IsCode

func (o *GetDeviceLossAndLatencyHistoryOK) IsCode(code int) bool

IsCode returns true when this get device loss and latency history o k response a status code equal to that given

func (*GetDeviceLossAndLatencyHistoryOK) IsRedirect

func (o *GetDeviceLossAndLatencyHistoryOK) IsRedirect() bool

IsRedirect returns true when this get device loss and latency history o k response has a 3xx status code

func (*GetDeviceLossAndLatencyHistoryOK) IsServerError

func (o *GetDeviceLossAndLatencyHistoryOK) IsServerError() bool

IsServerError returns true when this get device loss and latency history o k response has a 5xx status code

func (*GetDeviceLossAndLatencyHistoryOK) IsSuccess

func (o *GetDeviceLossAndLatencyHistoryOK) IsSuccess() bool

IsSuccess returns true when this get device loss and latency history o k response has a 2xx status code

func (*GetDeviceLossAndLatencyHistoryOK) String

type GetDeviceLossAndLatencyHistoryParams

type GetDeviceLossAndLatencyHistoryParams struct {

	/* IP.

	   The destination IP used to obtain the requested stats. This is required.
	*/
	IP string

	/* Resolution.

	   The time resolution in seconds for returned data. The valid resolutions are: 60, 600, 3600, 86400. The default is 60.
	*/
	Resolution *int64

	/* Serial.

	   Serial
	*/
	Serial string

	/* T0.

	   The beginning of the timespan for the data. The maximum lookback period is 60 days from today.
	*/
	T0 *string

	/* T1.

	   The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
	*/
	T1 *string

	/* Timespan.

	   The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.

	   Format: float
	*/
	Timespan *float32

	/* Uplink.

	   The WAN uplink used to obtain the requested stats. Valid uplinks are wan1, wan2, wan3, cellular. The default is wan1.
	*/
	Uplink *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceLossAndLatencyHistoryParams contains all the parameters to send to the API endpoint

for the get device loss and latency history operation.

Typically these are written to a http.Request.

func NewGetDeviceLossAndLatencyHistoryParams

func NewGetDeviceLossAndLatencyHistoryParams() *GetDeviceLossAndLatencyHistoryParams

NewGetDeviceLossAndLatencyHistoryParams creates a new GetDeviceLossAndLatencyHistoryParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceLossAndLatencyHistoryParamsWithContext

func NewGetDeviceLossAndLatencyHistoryParamsWithContext(ctx context.Context) *GetDeviceLossAndLatencyHistoryParams

NewGetDeviceLossAndLatencyHistoryParamsWithContext creates a new GetDeviceLossAndLatencyHistoryParams object with the ability to set a context for a request.

func NewGetDeviceLossAndLatencyHistoryParamsWithHTTPClient

func NewGetDeviceLossAndLatencyHistoryParamsWithHTTPClient(client *http.Client) *GetDeviceLossAndLatencyHistoryParams

NewGetDeviceLossAndLatencyHistoryParamsWithHTTPClient creates a new GetDeviceLossAndLatencyHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceLossAndLatencyHistoryParamsWithTimeout

func NewGetDeviceLossAndLatencyHistoryParamsWithTimeout(timeout time.Duration) *GetDeviceLossAndLatencyHistoryParams

NewGetDeviceLossAndLatencyHistoryParamsWithTimeout creates a new GetDeviceLossAndLatencyHistoryParams object with the ability to set a timeout on a request.

func (*GetDeviceLossAndLatencyHistoryParams) SetContext

SetContext adds the context to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) SetDefaults

func (o *GetDeviceLossAndLatencyHistoryParams) SetDefaults()

SetDefaults hydrates default values in the get device loss and latency history params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceLossAndLatencyHistoryParams) SetHTTPClient

func (o *GetDeviceLossAndLatencyHistoryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) SetIP

SetIP adds the ip to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) SetResolution

func (o *GetDeviceLossAndLatencyHistoryParams) SetResolution(resolution *int64)

SetResolution adds the resolution to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) SetSerial

func (o *GetDeviceLossAndLatencyHistoryParams) SetSerial(serial string)

SetSerial adds the serial to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) SetT0

SetT0 adds the t0 to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) SetT1

SetT1 adds the t1 to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) SetTimeout

func (o *GetDeviceLossAndLatencyHistoryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) SetTimespan

func (o *GetDeviceLossAndLatencyHistoryParams) SetTimespan(timespan *float32)

SetTimespan adds the timespan to the get device loss and latency history params

func (o *GetDeviceLossAndLatencyHistoryParams) SetUplink(uplink *string)

SetUplink adds the uplink to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) WithContext

WithContext adds the context to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) WithDefaults

WithDefaults hydrates default values in the get device loss and latency history params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceLossAndLatencyHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) WithIP

WithIP adds the ip to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) WithResolution

WithResolution adds the resolution to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) WithSerial

WithSerial adds the serial to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) WithT0

WithT0 adds the t0 to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) WithT1

WithT1 adds the t1 to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) WithTimeout

WithTimeout adds the timeout to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) WithTimespan

WithTimespan adds the timespan to the get device loss and latency history params

WithUplink adds the uplink to the get device loss and latency history params

func (*GetDeviceLossAndLatencyHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceLossAndLatencyHistoryReader

type GetDeviceLossAndLatencyHistoryReader struct {
	// contains filtered or unexported fields
}

GetDeviceLossAndLatencyHistoryReader is a Reader for the GetDeviceLossAndLatencyHistory structure.

func (*GetDeviceLossAndLatencyHistoryReader) ReadResponse

func (o *GetDeviceLossAndLatencyHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceManagementInterfaceOK

type GetDeviceManagementInterfaceOK struct {
	Payload interface{}
}

GetDeviceManagementInterfaceOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceManagementInterfaceOK

func NewGetDeviceManagementInterfaceOK() *GetDeviceManagementInterfaceOK

NewGetDeviceManagementInterfaceOK creates a GetDeviceManagementInterfaceOK with default headers values

func (*GetDeviceManagementInterfaceOK) Code

Code gets the status code for the get device management interface o k response

func (*GetDeviceManagementInterfaceOK) Error

func (*GetDeviceManagementInterfaceOK) GetPayload

func (o *GetDeviceManagementInterfaceOK) GetPayload() interface{}

func (*GetDeviceManagementInterfaceOK) IsClientError

func (o *GetDeviceManagementInterfaceOK) IsClientError() bool

IsClientError returns true when this get device management interface o k response has a 4xx status code

func (*GetDeviceManagementInterfaceOK) IsCode

func (o *GetDeviceManagementInterfaceOK) IsCode(code int) bool

IsCode returns true when this get device management interface o k response a status code equal to that given

func (*GetDeviceManagementInterfaceOK) IsRedirect

func (o *GetDeviceManagementInterfaceOK) IsRedirect() bool

IsRedirect returns true when this get device management interface o k response has a 3xx status code

func (*GetDeviceManagementInterfaceOK) IsServerError

func (o *GetDeviceManagementInterfaceOK) IsServerError() bool

IsServerError returns true when this get device management interface o k response has a 5xx status code

func (*GetDeviceManagementInterfaceOK) IsSuccess

func (o *GetDeviceManagementInterfaceOK) IsSuccess() bool

IsSuccess returns true when this get device management interface o k response has a 2xx status code

func (*GetDeviceManagementInterfaceOK) String

type GetDeviceManagementInterfaceParams

type GetDeviceManagementInterfaceParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceManagementInterfaceParams contains all the parameters to send to the API endpoint

for the get device management interface operation.

Typically these are written to a http.Request.

func NewGetDeviceManagementInterfaceParams

func NewGetDeviceManagementInterfaceParams() *GetDeviceManagementInterfaceParams

NewGetDeviceManagementInterfaceParams creates a new GetDeviceManagementInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceManagementInterfaceParamsWithContext

func NewGetDeviceManagementInterfaceParamsWithContext(ctx context.Context) *GetDeviceManagementInterfaceParams

NewGetDeviceManagementInterfaceParamsWithContext creates a new GetDeviceManagementInterfaceParams object with the ability to set a context for a request.

func NewGetDeviceManagementInterfaceParamsWithHTTPClient

func NewGetDeviceManagementInterfaceParamsWithHTTPClient(client *http.Client) *GetDeviceManagementInterfaceParams

NewGetDeviceManagementInterfaceParamsWithHTTPClient creates a new GetDeviceManagementInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceManagementInterfaceParamsWithTimeout

func NewGetDeviceManagementInterfaceParamsWithTimeout(timeout time.Duration) *GetDeviceManagementInterfaceParams

NewGetDeviceManagementInterfaceParamsWithTimeout creates a new GetDeviceManagementInterfaceParams object with the ability to set a timeout on a request.

func (*GetDeviceManagementInterfaceParams) SetContext

SetContext adds the context to the get device management interface params

func (*GetDeviceManagementInterfaceParams) SetDefaults

func (o *GetDeviceManagementInterfaceParams) SetDefaults()

SetDefaults hydrates default values in the get device management interface params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceManagementInterfaceParams) SetHTTPClient

func (o *GetDeviceManagementInterfaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device management interface params

func (*GetDeviceManagementInterfaceParams) SetSerial

func (o *GetDeviceManagementInterfaceParams) SetSerial(serial string)

SetSerial adds the serial to the get device management interface params

func (*GetDeviceManagementInterfaceParams) SetTimeout

func (o *GetDeviceManagementInterfaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device management interface params

func (*GetDeviceManagementInterfaceParams) WithContext

WithContext adds the context to the get device management interface params

func (*GetDeviceManagementInterfaceParams) WithDefaults

WithDefaults hydrates default values in the get device management interface params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceManagementInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device management interface params

func (*GetDeviceManagementInterfaceParams) WithSerial

WithSerial adds the serial to the get device management interface params

func (*GetDeviceManagementInterfaceParams) WithTimeout

WithTimeout adds the timeout to the get device management interface params

func (*GetDeviceManagementInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceManagementInterfaceReader

type GetDeviceManagementInterfaceReader struct {
	// contains filtered or unexported fields
}

GetDeviceManagementInterfaceReader is a Reader for the GetDeviceManagementInterface structure.

func (*GetDeviceManagementInterfaceReader) ReadResponse

func (o *GetDeviceManagementInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceOK

type GetDeviceOK struct {
	Payload interface{}
}

GetDeviceOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceOK

func NewGetDeviceOK() *GetDeviceOK

NewGetDeviceOK creates a GetDeviceOK with default headers values

func (*GetDeviceOK) Code

func (o *GetDeviceOK) Code() int

Code gets the status code for the get device o k response

func (*GetDeviceOK) Error

func (o *GetDeviceOK) Error() string

func (*GetDeviceOK) GetPayload

func (o *GetDeviceOK) GetPayload() interface{}

func (*GetDeviceOK) IsClientError

func (o *GetDeviceOK) IsClientError() bool

IsClientError returns true when this get device o k response has a 4xx status code

func (*GetDeviceOK) IsCode

func (o *GetDeviceOK) IsCode(code int) bool

IsCode returns true when this get device o k response a status code equal to that given

func (*GetDeviceOK) IsRedirect

func (o *GetDeviceOK) IsRedirect() bool

IsRedirect returns true when this get device o k response has a 3xx status code

func (*GetDeviceOK) IsServerError

func (o *GetDeviceOK) IsServerError() bool

IsServerError returns true when this get device o k response has a 5xx status code

func (*GetDeviceOK) IsSuccess

func (o *GetDeviceOK) IsSuccess() bool

IsSuccess returns true when this get device o k response has a 2xx status code

func (*GetDeviceOK) String

func (o *GetDeviceOK) String() string

type GetDeviceParams

type GetDeviceParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceParams contains all the parameters to send to the API endpoint

for the get device operation.

Typically these are written to a http.Request.

func NewGetDeviceParams

func NewGetDeviceParams() *GetDeviceParams

NewGetDeviceParams creates a new GetDeviceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceParamsWithContext

func NewGetDeviceParamsWithContext(ctx context.Context) *GetDeviceParams

NewGetDeviceParamsWithContext creates a new GetDeviceParams object with the ability to set a context for a request.

func NewGetDeviceParamsWithHTTPClient

func NewGetDeviceParamsWithHTTPClient(client *http.Client) *GetDeviceParams

NewGetDeviceParamsWithHTTPClient creates a new GetDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceParamsWithTimeout

func NewGetDeviceParamsWithTimeout(timeout time.Duration) *GetDeviceParams

NewGetDeviceParamsWithTimeout creates a new GetDeviceParams object with the ability to set a timeout on a request.

func (*GetDeviceParams) SetContext

func (o *GetDeviceParams) SetContext(ctx context.Context)

SetContext adds the context to the get device params

func (*GetDeviceParams) SetDefaults

func (o *GetDeviceParams) SetDefaults()

SetDefaults hydrates default values in the get device params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceParams) SetHTTPClient

func (o *GetDeviceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device params

func (*GetDeviceParams) SetSerial

func (o *GetDeviceParams) SetSerial(serial string)

SetSerial adds the serial to the get device params

func (*GetDeviceParams) SetTimeout

func (o *GetDeviceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device params

func (*GetDeviceParams) WithContext

func (o *GetDeviceParams) WithContext(ctx context.Context) *GetDeviceParams

WithContext adds the context to the get device params

func (*GetDeviceParams) WithDefaults

func (o *GetDeviceParams) WithDefaults() *GetDeviceParams

WithDefaults hydrates default values in the get device params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceParams) WithHTTPClient

func (o *GetDeviceParams) WithHTTPClient(client *http.Client) *GetDeviceParams

WithHTTPClient adds the HTTPClient to the get device params

func (*GetDeviceParams) WithSerial

func (o *GetDeviceParams) WithSerial(serial string) *GetDeviceParams

WithSerial adds the serial to the get device params

func (*GetDeviceParams) WithTimeout

func (o *GetDeviceParams) WithTimeout(timeout time.Duration) *GetDeviceParams

WithTimeout adds the timeout to the get device params

func (*GetDeviceParams) WriteToRequest

func (o *GetDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDeviceReader

type GetDeviceReader struct {
	// contains filtered or unexported fields
}

GetDeviceReader is a Reader for the GetDevice structure.

func (*GetDeviceReader) ReadResponse

func (o *GetDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RebootDeviceAccepted

type RebootDeviceAccepted struct {
	Payload *RebootDeviceAcceptedBody
}

RebootDeviceAccepted describes a response with status code 202, with default header values.

Successful operation

func NewRebootDeviceAccepted

func NewRebootDeviceAccepted() *RebootDeviceAccepted

NewRebootDeviceAccepted creates a RebootDeviceAccepted with default headers values

func (*RebootDeviceAccepted) Code

func (o *RebootDeviceAccepted) Code() int

Code gets the status code for the reboot device accepted response

func (*RebootDeviceAccepted) Error

func (o *RebootDeviceAccepted) Error() string

func (*RebootDeviceAccepted) GetPayload

func (*RebootDeviceAccepted) IsClientError

func (o *RebootDeviceAccepted) IsClientError() bool

IsClientError returns true when this reboot device accepted response has a 4xx status code

func (*RebootDeviceAccepted) IsCode

func (o *RebootDeviceAccepted) IsCode(code int) bool

IsCode returns true when this reboot device accepted response a status code equal to that given

func (*RebootDeviceAccepted) IsRedirect

func (o *RebootDeviceAccepted) IsRedirect() bool

IsRedirect returns true when this reboot device accepted response has a 3xx status code

func (*RebootDeviceAccepted) IsServerError

func (o *RebootDeviceAccepted) IsServerError() bool

IsServerError returns true when this reboot device accepted response has a 5xx status code

func (*RebootDeviceAccepted) IsSuccess

func (o *RebootDeviceAccepted) IsSuccess() bool

IsSuccess returns true when this reboot device accepted response has a 2xx status code

func (*RebootDeviceAccepted) String

func (o *RebootDeviceAccepted) String() string

type RebootDeviceAcceptedBody

type RebootDeviceAcceptedBody struct {

	// Shows the success of the reboot
	Success bool `json:"success,omitempty"`
}

RebootDeviceAcceptedBody reboot device accepted body swagger:model RebootDeviceAcceptedBody

func (*RebootDeviceAcceptedBody) ContextValidate

func (o *RebootDeviceAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this reboot device accepted body based on context it is used

func (*RebootDeviceAcceptedBody) MarshalBinary

func (o *RebootDeviceAcceptedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RebootDeviceAcceptedBody) UnmarshalBinary

func (o *RebootDeviceAcceptedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RebootDeviceAcceptedBody) Validate

func (o *RebootDeviceAcceptedBody) Validate(formats strfmt.Registry) error

Validate validates this reboot device accepted body

type RebootDeviceParams

type RebootDeviceParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RebootDeviceParams contains all the parameters to send to the API endpoint

for the reboot device operation.

Typically these are written to a http.Request.

func NewRebootDeviceParams

func NewRebootDeviceParams() *RebootDeviceParams

NewRebootDeviceParams creates a new RebootDeviceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRebootDeviceParamsWithContext

func NewRebootDeviceParamsWithContext(ctx context.Context) *RebootDeviceParams

NewRebootDeviceParamsWithContext creates a new RebootDeviceParams object with the ability to set a context for a request.

func NewRebootDeviceParamsWithHTTPClient

func NewRebootDeviceParamsWithHTTPClient(client *http.Client) *RebootDeviceParams

NewRebootDeviceParamsWithHTTPClient creates a new RebootDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewRebootDeviceParamsWithTimeout

func NewRebootDeviceParamsWithTimeout(timeout time.Duration) *RebootDeviceParams

NewRebootDeviceParamsWithTimeout creates a new RebootDeviceParams object with the ability to set a timeout on a request.

func (*RebootDeviceParams) SetContext

func (o *RebootDeviceParams) SetContext(ctx context.Context)

SetContext adds the context to the reboot device params

func (*RebootDeviceParams) SetDefaults

func (o *RebootDeviceParams) SetDefaults()

SetDefaults hydrates default values in the reboot device params (not the query body).

All values with no default are reset to their zero value.

func (*RebootDeviceParams) SetHTTPClient

func (o *RebootDeviceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the reboot device params

func (*RebootDeviceParams) SetSerial

func (o *RebootDeviceParams) SetSerial(serial string)

SetSerial adds the serial to the reboot device params

func (*RebootDeviceParams) SetTimeout

func (o *RebootDeviceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the reboot device params

func (*RebootDeviceParams) WithContext

WithContext adds the context to the reboot device params

func (*RebootDeviceParams) WithDefaults

func (o *RebootDeviceParams) WithDefaults() *RebootDeviceParams

WithDefaults hydrates default values in the reboot device params (not the query body).

All values with no default are reset to their zero value.

func (*RebootDeviceParams) WithHTTPClient

func (o *RebootDeviceParams) WithHTTPClient(client *http.Client) *RebootDeviceParams

WithHTTPClient adds the HTTPClient to the reboot device params

func (*RebootDeviceParams) WithSerial

func (o *RebootDeviceParams) WithSerial(serial string) *RebootDeviceParams

WithSerial adds the serial to the reboot device params

func (*RebootDeviceParams) WithTimeout

func (o *RebootDeviceParams) WithTimeout(timeout time.Duration) *RebootDeviceParams

WithTimeout adds the timeout to the reboot device params

func (*RebootDeviceParams) WriteToRequest

func (o *RebootDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RebootDeviceReader

type RebootDeviceReader struct {
	// contains filtered or unexported fields
}

RebootDeviceReader is a Reader for the RebootDevice structure.

func (*RebootDeviceReader) ReadResponse

func (o *RebootDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDeviceBody

type UpdateDeviceBody struct {

	// The address of a device
	Address string `json:"address,omitempty"`

	// The floor plan to associate to this device. null disassociates the device from the floorplan.
	FloorPlanID string `json:"floorPlanId,omitempty"`

	// The latitude of a device
	Lat float32 `json:"lat,omitempty"`

	// The longitude of a device
	Lng float32 `json:"lng,omitempty"`

	// Whether or not to set the latitude and longitude of a device based on the new address. Only applies when lat and lng are not specified.
	MoveMapMarker bool `json:"moveMapMarker,omitempty"`

	// The name of a device
	Name string `json:"name,omitempty"`

	// The notes for the device. String. Limited to 255 characters.
	Notes string `json:"notes,omitempty"`

	// The ID of a switch template to bind to the device (for available switch templates, see the 'Switch Templates' endpoint). Use null to unbind the switch device from the current profile. For a device to be bindable to a switch template, it must (1) be a switch, and (2) belong to a network that is bound to a configuration template.
	SwitchProfileID string `json:"switchProfileId,omitempty"`

	// The list of tags of a device
	Tags []string `json:"tags"`
}

UpdateDeviceBody update device body // Example: {"lat":37.4180951010362,"lng":-122.098531723022,"mac":"00:11:22:33:44:55","name":"My AP","serial":"Q234-ABCD-5678","tags":["recently-added"]} swagger:model UpdateDeviceBody

func (*UpdateDeviceBody) ContextValidate

func (o *UpdateDeviceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update device body based on context it is used

func (*UpdateDeviceBody) MarshalBinary

func (o *UpdateDeviceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDeviceBody) UnmarshalBinary

func (o *UpdateDeviceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDeviceBody) Validate

func (o *UpdateDeviceBody) Validate(formats strfmt.Registry) error

Validate validates this update device body

type UpdateDeviceCellularSimsBody

type UpdateDeviceCellularSimsBody struct {

	// sim failover
	SimFailover *UpdateDeviceCellularSimsParamsBodySimFailover `json:"simFailover,omitempty"`

	// List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
	Sims []*UpdateDeviceCellularSimsParamsBodySimsItems0 `json:"sims"`
}

UpdateDeviceCellularSimsBody update device cellular sims body // Example: {"apns":[{"allowedIpTypes":["ipv4","ipv6"],"authentication":{"password":"secret","type":"pap","username":"milesmeraki"},"name":"internet"}],"isPrimary":true,"slot":"sim1"} swagger:model UpdateDeviceCellularSimsBody

func (*UpdateDeviceCellularSimsBody) ContextValidate

func (o *UpdateDeviceCellularSimsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update device cellular sims body based on the context it is used

func (*UpdateDeviceCellularSimsBody) MarshalBinary

func (o *UpdateDeviceCellularSimsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDeviceCellularSimsBody) UnmarshalBinary

func (o *UpdateDeviceCellularSimsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDeviceCellularSimsBody) Validate

func (o *UpdateDeviceCellularSimsBody) Validate(formats strfmt.Registry) error

Validate validates this update device cellular sims body

type UpdateDeviceCellularSimsOK

type UpdateDeviceCellularSimsOK struct {
	Payload interface{}
}

UpdateDeviceCellularSimsOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateDeviceCellularSimsOK

func NewUpdateDeviceCellularSimsOK() *UpdateDeviceCellularSimsOK

NewUpdateDeviceCellularSimsOK creates a UpdateDeviceCellularSimsOK with default headers values

func (*UpdateDeviceCellularSimsOK) Code

func (o *UpdateDeviceCellularSimsOK) Code() int

Code gets the status code for the update device cellular sims o k response

func (*UpdateDeviceCellularSimsOK) Error

func (*UpdateDeviceCellularSimsOK) GetPayload

func (o *UpdateDeviceCellularSimsOK) GetPayload() interface{}

func (*UpdateDeviceCellularSimsOK) IsClientError

func (o *UpdateDeviceCellularSimsOK) IsClientError() bool

IsClientError returns true when this update device cellular sims o k response has a 4xx status code

func (*UpdateDeviceCellularSimsOK) IsCode

func (o *UpdateDeviceCellularSimsOK) IsCode(code int) bool

IsCode returns true when this update device cellular sims o k response a status code equal to that given

func (*UpdateDeviceCellularSimsOK) IsRedirect

func (o *UpdateDeviceCellularSimsOK) IsRedirect() bool

IsRedirect returns true when this update device cellular sims o k response has a 3xx status code

func (*UpdateDeviceCellularSimsOK) IsServerError

func (o *UpdateDeviceCellularSimsOK) IsServerError() bool

IsServerError returns true when this update device cellular sims o k response has a 5xx status code

func (*UpdateDeviceCellularSimsOK) IsSuccess

func (o *UpdateDeviceCellularSimsOK) IsSuccess() bool

IsSuccess returns true when this update device cellular sims o k response has a 2xx status code

func (*UpdateDeviceCellularSimsOK) String

func (o *UpdateDeviceCellularSimsOK) String() string

type UpdateDeviceCellularSimsParams

type UpdateDeviceCellularSimsParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	// UpdateDeviceCellularSims.
	UpdateDeviceCellularSims UpdateDeviceCellularSimsBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDeviceCellularSimsParams contains all the parameters to send to the API endpoint

for the update device cellular sims operation.

Typically these are written to a http.Request.

func NewUpdateDeviceCellularSimsParams

func NewUpdateDeviceCellularSimsParams() *UpdateDeviceCellularSimsParams

NewUpdateDeviceCellularSimsParams creates a new UpdateDeviceCellularSimsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateDeviceCellularSimsParamsWithContext

func NewUpdateDeviceCellularSimsParamsWithContext(ctx context.Context) *UpdateDeviceCellularSimsParams

NewUpdateDeviceCellularSimsParamsWithContext creates a new UpdateDeviceCellularSimsParams object with the ability to set a context for a request.

func NewUpdateDeviceCellularSimsParamsWithHTTPClient

func NewUpdateDeviceCellularSimsParamsWithHTTPClient(client *http.Client) *UpdateDeviceCellularSimsParams

NewUpdateDeviceCellularSimsParamsWithHTTPClient creates a new UpdateDeviceCellularSimsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDeviceCellularSimsParamsWithTimeout

func NewUpdateDeviceCellularSimsParamsWithTimeout(timeout time.Duration) *UpdateDeviceCellularSimsParams

NewUpdateDeviceCellularSimsParamsWithTimeout creates a new UpdateDeviceCellularSimsParams object with the ability to set a timeout on a request.

func (*UpdateDeviceCellularSimsParams) SetContext

func (o *UpdateDeviceCellularSimsParams) SetContext(ctx context.Context)

SetContext adds the context to the update device cellular sims params

func (*UpdateDeviceCellularSimsParams) SetDefaults

func (o *UpdateDeviceCellularSimsParams) SetDefaults()

SetDefaults hydrates default values in the update device cellular sims params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceCellularSimsParams) SetHTTPClient

func (o *UpdateDeviceCellularSimsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update device cellular sims params

func (*UpdateDeviceCellularSimsParams) SetSerial

func (o *UpdateDeviceCellularSimsParams) SetSerial(serial string)

SetSerial adds the serial to the update device cellular sims params

func (*UpdateDeviceCellularSimsParams) SetTimeout

func (o *UpdateDeviceCellularSimsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update device cellular sims params

func (*UpdateDeviceCellularSimsParams) SetUpdateDeviceCellularSims

func (o *UpdateDeviceCellularSimsParams) SetUpdateDeviceCellularSims(updateDeviceCellularSims UpdateDeviceCellularSimsBody)

SetUpdateDeviceCellularSims adds the updateDeviceCellularSims to the update device cellular sims params

func (*UpdateDeviceCellularSimsParams) WithContext

WithContext adds the context to the update device cellular sims params

func (*UpdateDeviceCellularSimsParams) WithDefaults

WithDefaults hydrates default values in the update device cellular sims params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceCellularSimsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update device cellular sims params

func (*UpdateDeviceCellularSimsParams) WithSerial

WithSerial adds the serial to the update device cellular sims params

func (*UpdateDeviceCellularSimsParams) WithTimeout

WithTimeout adds the timeout to the update device cellular sims params

func (*UpdateDeviceCellularSimsParams) WithUpdateDeviceCellularSims

func (o *UpdateDeviceCellularSimsParams) WithUpdateDeviceCellularSims(updateDeviceCellularSims UpdateDeviceCellularSimsBody) *UpdateDeviceCellularSimsParams

WithUpdateDeviceCellularSims adds the updateDeviceCellularSims to the update device cellular sims params

func (*UpdateDeviceCellularSimsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeviceCellularSimsParamsBodySimFailover

type UpdateDeviceCellularSimsParamsBodySimFailover struct {

	// Failover to secondary SIM (optional)
	Enabled bool `json:"enabled,omitempty"`
}

UpdateDeviceCellularSimsParamsBodySimFailover SIM Failover settings. swagger:model UpdateDeviceCellularSimsParamsBodySimFailover

func (*UpdateDeviceCellularSimsParamsBodySimFailover) ContextValidate

ContextValidate validates this update device cellular sims params body sim failover based on context it is used

func (*UpdateDeviceCellularSimsParamsBodySimFailover) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceCellularSimsParamsBodySimFailover) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceCellularSimsParamsBodySimFailover) Validate

Validate validates this update device cellular sims params body sim failover

type UpdateDeviceCellularSimsParamsBodySimsItems0

type UpdateDeviceCellularSimsParamsBodySimsItems0 struct {

	// APN configurations. If empty, the default APN will be used.
	Apns []*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0 `json:"apns"`

	// If true, this SIM is used for boot. Must be true on single-sim devices.
	IsPrimary *bool `json:"isPrimary,omitempty"`

	// SIM slot being configured. Must be 'sim1' on single-sim devices.
	// Enum: [sim1 sim2]
	Slot string `json:"slot,omitempty"`
}

UpdateDeviceCellularSimsParamsBodySimsItems0 update device cellular sims params body sims items0 swagger:model UpdateDeviceCellularSimsParamsBodySimsItems0

func (*UpdateDeviceCellularSimsParamsBodySimsItems0) ContextValidate

ContextValidate validate this update device cellular sims params body sims items0 based on the context it is used

func (*UpdateDeviceCellularSimsParamsBodySimsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceCellularSimsParamsBodySimsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceCellularSimsParamsBodySimsItems0) Validate

Validate validates this update device cellular sims params body sims items0

type UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0

type UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0 struct {

	// IP versions to support (permitted values include 'ipv4', 'ipv6').
	// Required: true
	AllowedIPTypes []string `json:"allowedIpTypes"`

	// authentication
	Authentication *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication `json:"authentication,omitempty"`

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

UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0 update device cellular sims params body sims items0 apns items0 swagger:model UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0

func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) ContextValidate

ContextValidate validate this update device cellular sims params body sims items0 apns items0 based on the context it is used

func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) Validate

Validate validates this update device cellular sims params body sims items0 apns items0

type UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication

type UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication struct {

	// APN password, if type is set (if APN password is not supplied, the password is left unchanged).
	Password string `json:"password,omitempty"`

	// APN auth type.
	// Enum: [chap none pap]
	Type *string `json:"type,omitempty"`

	// APN username, if type is set.
	Username string `json:"username,omitempty"`
}

UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication APN authentication configurations. swagger:model UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication

func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) ContextValidate

ContextValidate validates this update device cellular sims params body sims items0 apns items0 authentication based on context it is used

func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) Validate

Validate validates this update device cellular sims params body sims items0 apns items0 authentication

type UpdateDeviceCellularSimsReader

type UpdateDeviceCellularSimsReader struct {
	// contains filtered or unexported fields
}

UpdateDeviceCellularSimsReader is a Reader for the UpdateDeviceCellularSims structure.

func (*UpdateDeviceCellularSimsReader) ReadResponse

func (o *UpdateDeviceCellularSimsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDeviceManagementInterfaceBody

type UpdateDeviceManagementInterfaceBody struct {

	// wan1
	Wan1 *UpdateDeviceManagementInterfaceParamsBodyWan1 `json:"wan1,omitempty"`

	// wan2
	Wan2 *UpdateDeviceManagementInterfaceParamsBodyWan2 `json:"wan2,omitempty"`
}

UpdateDeviceManagementInterfaceBody update device management interface body // Example: {"wan1":{"staticDns":["1.2.3.2","1.2.3.3"],"staticGatewayIp":"1.2.3.1","staticIp":"1.2.3.4","staticSubnetMask":"255.255.255.0","usingStaticIp":true,"vlan":7,"wanEnabled":"not configured"},"wan2":{"usingStaticIp":false,"vlan":2,"wanEnabled":"enabled"}} swagger:model UpdateDeviceManagementInterfaceBody

func (*UpdateDeviceManagementInterfaceBody) ContextValidate

func (o *UpdateDeviceManagementInterfaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update device management interface body based on the context it is used

func (*UpdateDeviceManagementInterfaceBody) MarshalBinary

func (o *UpdateDeviceManagementInterfaceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDeviceManagementInterfaceBody) UnmarshalBinary

func (o *UpdateDeviceManagementInterfaceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDeviceManagementInterfaceBody) Validate

Validate validates this update device management interface body

type UpdateDeviceManagementInterfaceOK

type UpdateDeviceManagementInterfaceOK struct {
	Payload interface{}
}

UpdateDeviceManagementInterfaceOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateDeviceManagementInterfaceOK

func NewUpdateDeviceManagementInterfaceOK() *UpdateDeviceManagementInterfaceOK

NewUpdateDeviceManagementInterfaceOK creates a UpdateDeviceManagementInterfaceOK with default headers values

func (*UpdateDeviceManagementInterfaceOK) Code

Code gets the status code for the update device management interface o k response

func (*UpdateDeviceManagementInterfaceOK) Error

func (*UpdateDeviceManagementInterfaceOK) GetPayload

func (o *UpdateDeviceManagementInterfaceOK) GetPayload() interface{}

func (*UpdateDeviceManagementInterfaceOK) IsClientError

func (o *UpdateDeviceManagementInterfaceOK) IsClientError() bool

IsClientError returns true when this update device management interface o k response has a 4xx status code

func (*UpdateDeviceManagementInterfaceOK) IsCode

func (o *UpdateDeviceManagementInterfaceOK) IsCode(code int) bool

IsCode returns true when this update device management interface o k response a status code equal to that given

func (*UpdateDeviceManagementInterfaceOK) IsRedirect

func (o *UpdateDeviceManagementInterfaceOK) IsRedirect() bool

IsRedirect returns true when this update device management interface o k response has a 3xx status code

func (*UpdateDeviceManagementInterfaceOK) IsServerError

func (o *UpdateDeviceManagementInterfaceOK) IsServerError() bool

IsServerError returns true when this update device management interface o k response has a 5xx status code

func (*UpdateDeviceManagementInterfaceOK) IsSuccess

func (o *UpdateDeviceManagementInterfaceOK) IsSuccess() bool

IsSuccess returns true when this update device management interface o k response has a 2xx status code

func (*UpdateDeviceManagementInterfaceOK) String

type UpdateDeviceManagementInterfaceParams

type UpdateDeviceManagementInterfaceParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	// UpdateDeviceManagementInterface.
	UpdateDeviceManagementInterface UpdateDeviceManagementInterfaceBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDeviceManagementInterfaceParams contains all the parameters to send to the API endpoint

for the update device management interface operation.

Typically these are written to a http.Request.

func NewUpdateDeviceManagementInterfaceParams

func NewUpdateDeviceManagementInterfaceParams() *UpdateDeviceManagementInterfaceParams

NewUpdateDeviceManagementInterfaceParams creates a new UpdateDeviceManagementInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateDeviceManagementInterfaceParamsWithContext

func NewUpdateDeviceManagementInterfaceParamsWithContext(ctx context.Context) *UpdateDeviceManagementInterfaceParams

NewUpdateDeviceManagementInterfaceParamsWithContext creates a new UpdateDeviceManagementInterfaceParams object with the ability to set a context for a request.

func NewUpdateDeviceManagementInterfaceParamsWithHTTPClient

func NewUpdateDeviceManagementInterfaceParamsWithHTTPClient(client *http.Client) *UpdateDeviceManagementInterfaceParams

NewUpdateDeviceManagementInterfaceParamsWithHTTPClient creates a new UpdateDeviceManagementInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDeviceManagementInterfaceParamsWithTimeout

func NewUpdateDeviceManagementInterfaceParamsWithTimeout(timeout time.Duration) *UpdateDeviceManagementInterfaceParams

NewUpdateDeviceManagementInterfaceParamsWithTimeout creates a new UpdateDeviceManagementInterfaceParams object with the ability to set a timeout on a request.

func (*UpdateDeviceManagementInterfaceParams) SetContext

SetContext adds the context to the update device management interface params

func (*UpdateDeviceManagementInterfaceParams) SetDefaults

func (o *UpdateDeviceManagementInterfaceParams) SetDefaults()

SetDefaults hydrates default values in the update device management interface params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceManagementInterfaceParams) SetHTTPClient

func (o *UpdateDeviceManagementInterfaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update device management interface params

func (*UpdateDeviceManagementInterfaceParams) SetSerial

func (o *UpdateDeviceManagementInterfaceParams) SetSerial(serial string)

SetSerial adds the serial to the update device management interface params

func (*UpdateDeviceManagementInterfaceParams) SetTimeout

func (o *UpdateDeviceManagementInterfaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update device management interface params

func (*UpdateDeviceManagementInterfaceParams) SetUpdateDeviceManagementInterface

func (o *UpdateDeviceManagementInterfaceParams) SetUpdateDeviceManagementInterface(updateDeviceManagementInterface UpdateDeviceManagementInterfaceBody)

SetUpdateDeviceManagementInterface adds the updateDeviceManagementInterface to the update device management interface params

func (*UpdateDeviceManagementInterfaceParams) WithContext

WithContext adds the context to the update device management interface params

func (*UpdateDeviceManagementInterfaceParams) WithDefaults

WithDefaults hydrates default values in the update device management interface params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceManagementInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update device management interface params

func (*UpdateDeviceManagementInterfaceParams) WithSerial

WithSerial adds the serial to the update device management interface params

func (*UpdateDeviceManagementInterfaceParams) WithTimeout

WithTimeout adds the timeout to the update device management interface params

func (*UpdateDeviceManagementInterfaceParams) WithUpdateDeviceManagementInterface

func (o *UpdateDeviceManagementInterfaceParams) WithUpdateDeviceManagementInterface(updateDeviceManagementInterface UpdateDeviceManagementInterfaceBody) *UpdateDeviceManagementInterfaceParams

WithUpdateDeviceManagementInterface adds the updateDeviceManagementInterface to the update device management interface params

func (*UpdateDeviceManagementInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeviceManagementInterfaceParamsBodyWan1

type UpdateDeviceManagementInterfaceParamsBodyWan1 struct {

	// Up to two DNS IPs.
	StaticDNS []string `json:"staticDns"`

	// The IP of the gateway on the WAN.
	StaticGatewayIP string `json:"staticGatewayIp,omitempty"`

	// The IP the device should use on the WAN.
	StaticIP string `json:"staticIp,omitempty"`

	// The subnet mask for the WAN.
	StaticSubnetMask string `json:"staticSubnetMask,omitempty"`

	// Configure the interface to have static IP settings or use DHCP.
	UsingStaticIP bool `json:"usingStaticIp,omitempty"`

	// The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
	Vlan int64 `json:"vlan,omitempty"`

	// Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.
	// Enum: [disabled enabled not configured]
	WanEnabled string `json:"wanEnabled,omitempty"`
}

UpdateDeviceManagementInterfaceParamsBodyWan1 WAN 1 settings swagger:model UpdateDeviceManagementInterfaceParamsBodyWan1

func (*UpdateDeviceManagementInterfaceParamsBodyWan1) ContextValidate

ContextValidate validates this update device management interface params body wan1 based on context it is used

func (*UpdateDeviceManagementInterfaceParamsBodyWan1) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceManagementInterfaceParamsBodyWan1) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceManagementInterfaceParamsBodyWan1) Validate

Validate validates this update device management interface params body wan1

type UpdateDeviceManagementInterfaceParamsBodyWan2

type UpdateDeviceManagementInterfaceParamsBodyWan2 struct {

	// Up to two DNS IPs.
	StaticDNS []string `json:"staticDns"`

	// The IP of the gateway on the WAN.
	StaticGatewayIP string `json:"staticGatewayIp,omitempty"`

	// The IP the device should use on the WAN.
	StaticIP string `json:"staticIp,omitempty"`

	// The subnet mask for the WAN.
	StaticSubnetMask string `json:"staticSubnetMask,omitempty"`

	// Configure the interface to have static IP settings or use DHCP.
	UsingStaticIP bool `json:"usingStaticIp,omitempty"`

	// The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
	Vlan int64 `json:"vlan,omitempty"`

	// Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.
	// Enum: [disabled enabled not configured]
	WanEnabled string `json:"wanEnabled,omitempty"`
}

UpdateDeviceManagementInterfaceParamsBodyWan2 WAN 2 settings (only for MX devices) swagger:model UpdateDeviceManagementInterfaceParamsBodyWan2

func (*UpdateDeviceManagementInterfaceParamsBodyWan2) ContextValidate

ContextValidate validates this update device management interface params body wan2 based on context it is used

func (*UpdateDeviceManagementInterfaceParamsBodyWan2) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceManagementInterfaceParamsBodyWan2) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceManagementInterfaceParamsBodyWan2) Validate

Validate validates this update device management interface params body wan2

type UpdateDeviceManagementInterfaceReader

type UpdateDeviceManagementInterfaceReader struct {
	// contains filtered or unexported fields
}

UpdateDeviceManagementInterfaceReader is a Reader for the UpdateDeviceManagementInterface structure.

func (*UpdateDeviceManagementInterfaceReader) ReadResponse

func (o *UpdateDeviceManagementInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDeviceOK

type UpdateDeviceOK struct {
	Payload interface{}
}

UpdateDeviceOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateDeviceOK

func NewUpdateDeviceOK() *UpdateDeviceOK

NewUpdateDeviceOK creates a UpdateDeviceOK with default headers values

func (*UpdateDeviceOK) Code

func (o *UpdateDeviceOK) Code() int

Code gets the status code for the update device o k response

func (*UpdateDeviceOK) Error

func (o *UpdateDeviceOK) Error() string

func (*UpdateDeviceOK) GetPayload

func (o *UpdateDeviceOK) GetPayload() interface{}

func (*UpdateDeviceOK) IsClientError

func (o *UpdateDeviceOK) IsClientError() bool

IsClientError returns true when this update device o k response has a 4xx status code

func (*UpdateDeviceOK) IsCode

func (o *UpdateDeviceOK) IsCode(code int) bool

IsCode returns true when this update device o k response a status code equal to that given

func (*UpdateDeviceOK) IsRedirect

func (o *UpdateDeviceOK) IsRedirect() bool

IsRedirect returns true when this update device o k response has a 3xx status code

func (*UpdateDeviceOK) IsServerError

func (o *UpdateDeviceOK) IsServerError() bool

IsServerError returns true when this update device o k response has a 5xx status code

func (*UpdateDeviceOK) IsSuccess

func (o *UpdateDeviceOK) IsSuccess() bool

IsSuccess returns true when this update device o k response has a 2xx status code

func (*UpdateDeviceOK) String

func (o *UpdateDeviceOK) String() string

type UpdateDeviceParams

type UpdateDeviceParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	// UpdateDevice.
	UpdateDevice UpdateDeviceBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDeviceParams contains all the parameters to send to the API endpoint

for the update device operation.

Typically these are written to a http.Request.

func NewUpdateDeviceParams

func NewUpdateDeviceParams() *UpdateDeviceParams

NewUpdateDeviceParams creates a new UpdateDeviceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateDeviceParamsWithContext

func NewUpdateDeviceParamsWithContext(ctx context.Context) *UpdateDeviceParams

NewUpdateDeviceParamsWithContext creates a new UpdateDeviceParams object with the ability to set a context for a request.

func NewUpdateDeviceParamsWithHTTPClient

func NewUpdateDeviceParamsWithHTTPClient(client *http.Client) *UpdateDeviceParams

NewUpdateDeviceParamsWithHTTPClient creates a new UpdateDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDeviceParamsWithTimeout

func NewUpdateDeviceParamsWithTimeout(timeout time.Duration) *UpdateDeviceParams

NewUpdateDeviceParamsWithTimeout creates a new UpdateDeviceParams object with the ability to set a timeout on a request.

func (*UpdateDeviceParams) SetContext

func (o *UpdateDeviceParams) SetContext(ctx context.Context)

SetContext adds the context to the update device params

func (*UpdateDeviceParams) SetDefaults

func (o *UpdateDeviceParams) SetDefaults()

SetDefaults hydrates default values in the update device params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceParams) SetHTTPClient

func (o *UpdateDeviceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update device params

func (*UpdateDeviceParams) SetSerial

func (o *UpdateDeviceParams) SetSerial(serial string)

SetSerial adds the serial to the update device params

func (*UpdateDeviceParams) SetTimeout

func (o *UpdateDeviceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update device params

func (*UpdateDeviceParams) SetUpdateDevice

func (o *UpdateDeviceParams) SetUpdateDevice(updateDevice UpdateDeviceBody)

SetUpdateDevice adds the updateDevice to the update device params

func (*UpdateDeviceParams) WithContext

WithContext adds the context to the update device params

func (*UpdateDeviceParams) WithDefaults

func (o *UpdateDeviceParams) WithDefaults() *UpdateDeviceParams

WithDefaults hydrates default values in the update device params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceParams) WithHTTPClient

func (o *UpdateDeviceParams) WithHTTPClient(client *http.Client) *UpdateDeviceParams

WithHTTPClient adds the HTTPClient to the update device params

func (*UpdateDeviceParams) WithSerial

func (o *UpdateDeviceParams) WithSerial(serial string) *UpdateDeviceParams

WithSerial adds the serial to the update device params

func (*UpdateDeviceParams) WithTimeout

func (o *UpdateDeviceParams) WithTimeout(timeout time.Duration) *UpdateDeviceParams

WithTimeout adds the timeout to the update device params

func (*UpdateDeviceParams) WithUpdateDevice

func (o *UpdateDeviceParams) WithUpdateDevice(updateDevice UpdateDeviceBody) *UpdateDeviceParams

WithUpdateDevice adds the updateDevice to the update device params

func (*UpdateDeviceParams) WriteToRequest

func (o *UpdateDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateDeviceReader

type UpdateDeviceReader struct {
	// contains filtered or unexported fields
}

UpdateDeviceReader is a Reader for the UpdateDevice structure.

func (*UpdateDeviceReader) ReadResponse

func (o *UpdateDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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