devices

package
v0.0.0-...-ef3c1f2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (

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

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

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

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

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

	// 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 interface{}
}
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) Error

func (o *BlinkDeviceLedsAccepted) Error() string

func (*BlinkDeviceLedsAccepted) GetPayload

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

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 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) 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 job

Return a ping 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 a wired network device

Get the uplink loss percentage and latency in milliseconds, and goodput in kilobits per second for a wired network device.

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) 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)

	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)

	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 interface{}
}
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) Error

func (*CreateDeviceLiveToolsPingCreated) GetPayload

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

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: {"pingId":"1","request":{"count":2,"serial":"Q234-ABCD-5678","target":"75.75.75.75"},"results":{"latencies":{"average":15.8,"maximum":15.9,"minimum":15.8},"loss":{"percentage":0},"received":5,"replies":[{"latency":15.7,"sequenceId":1,"size":84},{"latency":15.9,"sequenceId":0,"size":84}],"sent":5},"status":"complete","url":"/devices/SERIAL/liveTools/ping/1284392014819"} 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 interface{}
}
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) Error

func (*CreateDeviceLiveToolsPingDeviceCreated) GetPayload

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

type CreateDeviceLiveToolsPingDeviceParams

type CreateDeviceLiveToolsPingDeviceParams struct {

	// CreateDeviceLiveToolsPingDevice.
	CreateDeviceLiveToolsPingDevice CreateDeviceLiveToolsPingDeviceBody

	// 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 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 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) Error

func (o *GetDeviceClientsOK) Error() string

func (*GetDeviceClientsOK) GetPayload

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

type GetDeviceClientsParams

type GetDeviceClientsParams struct {

	// 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 interface{}
}
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) Error

func (*GetDeviceLiveToolsPingDeviceOK) GetPayload

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

type GetDeviceLiveToolsPingDeviceParams

type GetDeviceLiveToolsPingDeviceParams struct {

	// ID.
	ID string

	// 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 interface{}
}
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) Error

func (o *GetDeviceLiveToolsPingOK) Error() string

func (*GetDeviceLiveToolsPingOK) GetPayload

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

type GetDeviceLiveToolsPingParams

type GetDeviceLiveToolsPingParams struct {

	// ID.
	ID string

	// 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) Error

func (o *GetDeviceLldpCdpOK) Error() string

func (*GetDeviceLldpCdpOK) GetPayload

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

type GetDeviceLldpCdpParams

type GetDeviceLldpCdpParams struct {

	// 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) Error

func (*GetDeviceLossAndLatencyHistoryOK) GetPayload

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

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 string

	/* T0.

	   The beginning of the timespan for the data. The maximum lookback period is 365 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, 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) Error

func (*GetDeviceManagementInterfaceOK) GetPayload

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

type GetDeviceManagementInterfaceParams

type GetDeviceManagementInterfaceParams struct {

	// 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) Error

func (o *GetDeviceOK) Error() string

func (*GetDeviceOK) GetPayload

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

type GetDeviceParams

type GetDeviceParams struct {

	// 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 interface{}
}
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) Error

func (o *RebootDeviceAccepted) Error() string

func (*RebootDeviceAccepted) GetPayload

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

type RebootDeviceParams

type RebootDeviceParams struct {

	// 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 profile to bind to the device (for available switch profiles, see the 'Switch Profiles' endpoint). Use null to unbind the switch device from the current profile. For a device to be bindable to a switch profile, 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 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) Error

func (*UpdateDeviceManagementInterfaceOK) GetPayload

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

type UpdateDeviceManagementInterfaceParams

type UpdateDeviceManagementInterfaceParams struct {

	// 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: [enabled disabled 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: [enabled disabled 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) Error

func (o *UpdateDeviceOK) Error() string

func (*UpdateDeviceOK) GetPayload

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

type UpdateDeviceParams

type UpdateDeviceParams struct {

	// 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