Documentation
¶
Index ¶
- Constants
- type BlinkDeviceLedsAccepted
- func (o *BlinkDeviceLedsAccepted) Code() int
- func (o *BlinkDeviceLedsAccepted) Error() string
- func (o *BlinkDeviceLedsAccepted) GetPayload() *BlinkDeviceLedsAcceptedBody
- func (o *BlinkDeviceLedsAccepted) IsClientError() bool
- func (o *BlinkDeviceLedsAccepted) IsCode(code int) bool
- func (o *BlinkDeviceLedsAccepted) IsRedirect() bool
- func (o *BlinkDeviceLedsAccepted) IsServerError() bool
- func (o *BlinkDeviceLedsAccepted) IsSuccess() bool
- func (o *BlinkDeviceLedsAccepted) String() string
- type BlinkDeviceLedsAcceptedBody
- func (o *BlinkDeviceLedsAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BlinkDeviceLedsAcceptedBody) MarshalBinary() ([]byte, error)
- func (o *BlinkDeviceLedsAcceptedBody) UnmarshalBinary(b []byte) error
- func (o *BlinkDeviceLedsAcceptedBody) Validate(formats strfmt.Registry) error
- type BlinkDeviceLedsBody
- type BlinkDeviceLedsParams
- func NewBlinkDeviceLedsParams() *BlinkDeviceLedsParams
- func NewBlinkDeviceLedsParamsWithContext(ctx context.Context) *BlinkDeviceLedsParams
- func NewBlinkDeviceLedsParamsWithHTTPClient(client *http.Client) *BlinkDeviceLedsParams
- func NewBlinkDeviceLedsParamsWithTimeout(timeout time.Duration) *BlinkDeviceLedsParams
- func (o *BlinkDeviceLedsParams) SetBlinkDeviceLeds(blinkDeviceLeds BlinkDeviceLedsBody)
- func (o *BlinkDeviceLedsParams) SetContext(ctx context.Context)
- func (o *BlinkDeviceLedsParams) SetDefaults()
- func (o *BlinkDeviceLedsParams) SetHTTPClient(client *http.Client)
- func (o *BlinkDeviceLedsParams) SetSerial(serial string)
- func (o *BlinkDeviceLedsParams) SetTimeout(timeout time.Duration)
- func (o *BlinkDeviceLedsParams) WithBlinkDeviceLeds(blinkDeviceLeds BlinkDeviceLedsBody) *BlinkDeviceLedsParams
- func (o *BlinkDeviceLedsParams) WithContext(ctx context.Context) *BlinkDeviceLedsParams
- func (o *BlinkDeviceLedsParams) WithDefaults() *BlinkDeviceLedsParams
- func (o *BlinkDeviceLedsParams) WithHTTPClient(client *http.Client) *BlinkDeviceLedsParams
- func (o *BlinkDeviceLedsParams) WithSerial(serial string) *BlinkDeviceLedsParams
- func (o *BlinkDeviceLedsParams) WithTimeout(timeout time.Duration) *BlinkDeviceLedsParams
- func (o *BlinkDeviceLedsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BlinkDeviceLedsReader
- type Client
- func (a *Client) BlinkDeviceLeds(params *BlinkDeviceLedsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BlinkDeviceLedsAccepted, error)
- func (a *Client) CreateDeviceLiveToolsPing(params *CreateDeviceLiveToolsPingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateDeviceLiveToolsPingCreated, error)
- func (a *Client) CreateDeviceLiveToolsPingDevice(params *CreateDeviceLiveToolsPingDeviceParams, ...) (*CreateDeviceLiveToolsPingDeviceCreated, error)
- func (a *Client) GetDevice(params *GetDeviceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceOK, error)
- func (a *Client) GetDeviceCellularSims(params *GetDeviceCellularSimsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceCellularSimsOK, error)
- func (a *Client) GetDeviceClients(params *GetDeviceClientsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceClientsOK, error)
- func (a *Client) GetDeviceLiveToolsPing(params *GetDeviceLiveToolsPingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceLiveToolsPingOK, error)
- func (a *Client) GetDeviceLiveToolsPingDevice(params *GetDeviceLiveToolsPingDeviceParams, ...) (*GetDeviceLiveToolsPingDeviceOK, error)
- func (a *Client) GetDeviceLldpCdp(params *GetDeviceLldpCdpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceLldpCdpOK, error)
- func (a *Client) GetDeviceLossAndLatencyHistory(params *GetDeviceLossAndLatencyHistoryParams, ...) (*GetDeviceLossAndLatencyHistoryOK, error)
- func (a *Client) GetDeviceManagementInterface(params *GetDeviceManagementInterfaceParams, ...) (*GetDeviceManagementInterfaceOK, error)
- func (a *Client) RebootDevice(params *RebootDeviceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RebootDeviceAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDevice(params *UpdateDeviceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateDeviceOK, error)
- func (a *Client) UpdateDeviceCellularSims(params *UpdateDeviceCellularSimsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateDeviceCellularSimsOK, error)
- func (a *Client) UpdateDeviceManagementInterface(params *UpdateDeviceManagementInterfaceParams, ...) (*UpdateDeviceManagementInterfaceOK, error)
- type ClientOption
- type ClientService
- type CreateDeviceLiveToolsPingBody
- func (o *CreateDeviceLiveToolsPingBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceLiveToolsPingBody) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceLiveToolsPingBody) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceLiveToolsPingBody) Validate(formats strfmt.Registry) error
- type CreateDeviceLiveToolsPingCreated
- func (o *CreateDeviceLiveToolsPingCreated) Code() int
- func (o *CreateDeviceLiveToolsPingCreated) Error() string
- func (o *CreateDeviceLiveToolsPingCreated) GetPayload() *CreateDeviceLiveToolsPingCreatedBody
- func (o *CreateDeviceLiveToolsPingCreated) IsClientError() bool
- func (o *CreateDeviceLiveToolsPingCreated) IsCode(code int) bool
- func (o *CreateDeviceLiveToolsPingCreated) IsRedirect() bool
- func (o *CreateDeviceLiveToolsPingCreated) IsServerError() bool
- func (o *CreateDeviceLiveToolsPingCreated) IsSuccess() bool
- func (o *CreateDeviceLiveToolsPingCreated) String() string
- type CreateDeviceLiveToolsPingCreatedBody
- func (o *CreateDeviceLiveToolsPingCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceLiveToolsPingCreatedBody) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceLiveToolsPingCreatedBody) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceLiveToolsPingCreatedBody) Validate(formats strfmt.Registry) error
- type CreateDeviceLiveToolsPingCreatedBodyRequest
- func (o *CreateDeviceLiveToolsPingCreatedBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceLiveToolsPingCreatedBodyRequest) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceLiveToolsPingCreatedBodyRequest) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceLiveToolsPingCreatedBodyRequest) Validate(formats strfmt.Registry) error
- type CreateDeviceLiveToolsPingDeviceBody
- func (o *CreateDeviceLiveToolsPingDeviceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceLiveToolsPingDeviceBody) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceLiveToolsPingDeviceBody) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceLiveToolsPingDeviceBody) Validate(formats strfmt.Registry) error
- type CreateDeviceLiveToolsPingDeviceCreated
- func (o *CreateDeviceLiveToolsPingDeviceCreated) Code() int
- func (o *CreateDeviceLiveToolsPingDeviceCreated) Error() string
- func (o *CreateDeviceLiveToolsPingDeviceCreated) GetPayload() *CreateDeviceLiveToolsPingDeviceCreatedBody
- func (o *CreateDeviceLiveToolsPingDeviceCreated) IsClientError() bool
- func (o *CreateDeviceLiveToolsPingDeviceCreated) IsCode(code int) bool
- func (o *CreateDeviceLiveToolsPingDeviceCreated) IsRedirect() bool
- func (o *CreateDeviceLiveToolsPingDeviceCreated) IsServerError() bool
- func (o *CreateDeviceLiveToolsPingDeviceCreated) IsSuccess() bool
- func (o *CreateDeviceLiveToolsPingDeviceCreated) String() string
- type CreateDeviceLiveToolsPingDeviceCreatedBody
- func (o *CreateDeviceLiveToolsPingDeviceCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceLiveToolsPingDeviceCreatedBody) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceLiveToolsPingDeviceCreatedBody) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceLiveToolsPingDeviceCreatedBody) Validate(formats strfmt.Registry) error
- type CreateDeviceLiveToolsPingDeviceCreatedBodyRequest
- func (o *CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) Validate(formats strfmt.Registry) error
- type CreateDeviceLiveToolsPingDeviceParams
- func NewCreateDeviceLiveToolsPingDeviceParams() *CreateDeviceLiveToolsPingDeviceParams
- func NewCreateDeviceLiveToolsPingDeviceParamsWithContext(ctx context.Context) *CreateDeviceLiveToolsPingDeviceParams
- func NewCreateDeviceLiveToolsPingDeviceParamsWithHTTPClient(client *http.Client) *CreateDeviceLiveToolsPingDeviceParams
- func NewCreateDeviceLiveToolsPingDeviceParamsWithTimeout(timeout time.Duration) *CreateDeviceLiveToolsPingDeviceParams
- func (o *CreateDeviceLiveToolsPingDeviceParams) SetContext(ctx context.Context)
- func (o *CreateDeviceLiveToolsPingDeviceParams) SetCreateDeviceLiveToolsPingDevice(createDeviceLiveToolsPingDevice CreateDeviceLiveToolsPingDeviceBody)
- func (o *CreateDeviceLiveToolsPingDeviceParams) SetDefaults()
- func (o *CreateDeviceLiveToolsPingDeviceParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeviceLiveToolsPingDeviceParams) SetSerial(serial string)
- func (o *CreateDeviceLiveToolsPingDeviceParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeviceLiveToolsPingDeviceParams) WithContext(ctx context.Context) *CreateDeviceLiveToolsPingDeviceParams
- func (o *CreateDeviceLiveToolsPingDeviceParams) WithCreateDeviceLiveToolsPingDevice(createDeviceLiveToolsPingDevice CreateDeviceLiveToolsPingDeviceBody) *CreateDeviceLiveToolsPingDeviceParams
- func (o *CreateDeviceLiveToolsPingDeviceParams) WithDefaults() *CreateDeviceLiveToolsPingDeviceParams
- func (o *CreateDeviceLiveToolsPingDeviceParams) WithHTTPClient(client *http.Client) *CreateDeviceLiveToolsPingDeviceParams
- func (o *CreateDeviceLiveToolsPingDeviceParams) WithSerial(serial string) *CreateDeviceLiveToolsPingDeviceParams
- func (o *CreateDeviceLiveToolsPingDeviceParams) WithTimeout(timeout time.Duration) *CreateDeviceLiveToolsPingDeviceParams
- func (o *CreateDeviceLiveToolsPingDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeviceLiveToolsPingDeviceReader
- type CreateDeviceLiveToolsPingParams
- func NewCreateDeviceLiveToolsPingParams() *CreateDeviceLiveToolsPingParams
- func NewCreateDeviceLiveToolsPingParamsWithContext(ctx context.Context) *CreateDeviceLiveToolsPingParams
- func NewCreateDeviceLiveToolsPingParamsWithHTTPClient(client *http.Client) *CreateDeviceLiveToolsPingParams
- func NewCreateDeviceLiveToolsPingParamsWithTimeout(timeout time.Duration) *CreateDeviceLiveToolsPingParams
- func (o *CreateDeviceLiveToolsPingParams) SetContext(ctx context.Context)
- func (o *CreateDeviceLiveToolsPingParams) SetCreateDeviceLiveToolsPing(createDeviceLiveToolsPing CreateDeviceLiveToolsPingBody)
- func (o *CreateDeviceLiveToolsPingParams) SetDefaults()
- func (o *CreateDeviceLiveToolsPingParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeviceLiveToolsPingParams) SetSerial(serial string)
- func (o *CreateDeviceLiveToolsPingParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeviceLiveToolsPingParams) WithContext(ctx context.Context) *CreateDeviceLiveToolsPingParams
- func (o *CreateDeviceLiveToolsPingParams) WithCreateDeviceLiveToolsPing(createDeviceLiveToolsPing CreateDeviceLiveToolsPingBody) *CreateDeviceLiveToolsPingParams
- func (o *CreateDeviceLiveToolsPingParams) WithDefaults() *CreateDeviceLiveToolsPingParams
- func (o *CreateDeviceLiveToolsPingParams) WithHTTPClient(client *http.Client) *CreateDeviceLiveToolsPingParams
- func (o *CreateDeviceLiveToolsPingParams) WithSerial(serial string) *CreateDeviceLiveToolsPingParams
- func (o *CreateDeviceLiveToolsPingParams) WithTimeout(timeout time.Duration) *CreateDeviceLiveToolsPingParams
- func (o *CreateDeviceLiveToolsPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeviceLiveToolsPingReader
- type GetDeviceCellularSimsOK
- func (o *GetDeviceCellularSimsOK) Code() int
- func (o *GetDeviceCellularSimsOK) Error() string
- func (o *GetDeviceCellularSimsOK) GetPayload() interface{}
- func (o *GetDeviceCellularSimsOK) IsClientError() bool
- func (o *GetDeviceCellularSimsOK) IsCode(code int) bool
- func (o *GetDeviceCellularSimsOK) IsRedirect() bool
- func (o *GetDeviceCellularSimsOK) IsServerError() bool
- func (o *GetDeviceCellularSimsOK) IsSuccess() bool
- func (o *GetDeviceCellularSimsOK) String() string
- type GetDeviceCellularSimsParams
- func NewGetDeviceCellularSimsParams() *GetDeviceCellularSimsParams
- func NewGetDeviceCellularSimsParamsWithContext(ctx context.Context) *GetDeviceCellularSimsParams
- func NewGetDeviceCellularSimsParamsWithHTTPClient(client *http.Client) *GetDeviceCellularSimsParams
- func NewGetDeviceCellularSimsParamsWithTimeout(timeout time.Duration) *GetDeviceCellularSimsParams
- func (o *GetDeviceCellularSimsParams) SetContext(ctx context.Context)
- func (o *GetDeviceCellularSimsParams) SetDefaults()
- func (o *GetDeviceCellularSimsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceCellularSimsParams) SetSerial(serial string)
- func (o *GetDeviceCellularSimsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceCellularSimsParams) WithContext(ctx context.Context) *GetDeviceCellularSimsParams
- func (o *GetDeviceCellularSimsParams) WithDefaults() *GetDeviceCellularSimsParams
- func (o *GetDeviceCellularSimsParams) WithHTTPClient(client *http.Client) *GetDeviceCellularSimsParams
- func (o *GetDeviceCellularSimsParams) WithSerial(serial string) *GetDeviceCellularSimsParams
- func (o *GetDeviceCellularSimsParams) WithTimeout(timeout time.Duration) *GetDeviceCellularSimsParams
- func (o *GetDeviceCellularSimsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceCellularSimsReader
- type GetDeviceClientsOK
- func (o *GetDeviceClientsOK) Code() int
- func (o *GetDeviceClientsOK) Error() string
- func (o *GetDeviceClientsOK) GetPayload() []interface{}
- func (o *GetDeviceClientsOK) IsClientError() bool
- func (o *GetDeviceClientsOK) IsCode(code int) bool
- func (o *GetDeviceClientsOK) IsRedirect() bool
- func (o *GetDeviceClientsOK) IsServerError() bool
- func (o *GetDeviceClientsOK) IsSuccess() bool
- func (o *GetDeviceClientsOK) String() string
- type GetDeviceClientsParams
- func NewGetDeviceClientsParams() *GetDeviceClientsParams
- func NewGetDeviceClientsParamsWithContext(ctx context.Context) *GetDeviceClientsParams
- func NewGetDeviceClientsParamsWithHTTPClient(client *http.Client) *GetDeviceClientsParams
- func NewGetDeviceClientsParamsWithTimeout(timeout time.Duration) *GetDeviceClientsParams
- func (o *GetDeviceClientsParams) SetContext(ctx context.Context)
- func (o *GetDeviceClientsParams) SetDefaults()
- func (o *GetDeviceClientsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceClientsParams) SetSerial(serial string)
- func (o *GetDeviceClientsParams) SetT0(t0 *string)
- func (o *GetDeviceClientsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceClientsParams) SetTimespan(timespan *float32)
- func (o *GetDeviceClientsParams) WithContext(ctx context.Context) *GetDeviceClientsParams
- func (o *GetDeviceClientsParams) WithDefaults() *GetDeviceClientsParams
- func (o *GetDeviceClientsParams) WithHTTPClient(client *http.Client) *GetDeviceClientsParams
- func (o *GetDeviceClientsParams) WithSerial(serial string) *GetDeviceClientsParams
- func (o *GetDeviceClientsParams) WithT0(t0 *string) *GetDeviceClientsParams
- func (o *GetDeviceClientsParams) WithTimeout(timeout time.Duration) *GetDeviceClientsParams
- func (o *GetDeviceClientsParams) WithTimespan(timespan *float32) *GetDeviceClientsParams
- func (o *GetDeviceClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceClientsReader
- type GetDeviceLiveToolsPingDeviceOK
- func (o *GetDeviceLiveToolsPingDeviceOK) Code() int
- func (o *GetDeviceLiveToolsPingDeviceOK) Error() string
- func (o *GetDeviceLiveToolsPingDeviceOK) GetPayload() *GetDeviceLiveToolsPingDeviceOKBody
- func (o *GetDeviceLiveToolsPingDeviceOK) IsClientError() bool
- func (o *GetDeviceLiveToolsPingDeviceOK) IsCode(code int) bool
- func (o *GetDeviceLiveToolsPingDeviceOK) IsRedirect() bool
- func (o *GetDeviceLiveToolsPingDeviceOK) IsServerError() bool
- func (o *GetDeviceLiveToolsPingDeviceOK) IsSuccess() bool
- func (o *GetDeviceLiveToolsPingDeviceOK) String() string
- type GetDeviceLiveToolsPingDeviceOKBody
- func (o *GetDeviceLiveToolsPingDeviceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceLiveToolsPingDeviceOKBody) MarshalBinary() ([]byte, error)
- func (o *GetDeviceLiveToolsPingDeviceOKBody) UnmarshalBinary(b []byte) error
- func (o *GetDeviceLiveToolsPingDeviceOKBody) Validate(formats strfmt.Registry) error
- type GetDeviceLiveToolsPingDeviceOKBodyRequest
- func (o *GetDeviceLiveToolsPingDeviceOKBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceLiveToolsPingDeviceOKBodyRequest) MarshalBinary() ([]byte, error)
- func (o *GetDeviceLiveToolsPingDeviceOKBodyRequest) UnmarshalBinary(b []byte) error
- func (o *GetDeviceLiveToolsPingDeviceOKBodyRequest) Validate(formats strfmt.Registry) error
- type GetDeviceLiveToolsPingDeviceOKBodyResults
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResults) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResults) MarshalBinary() ([]byte, error)
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResults) UnmarshalBinary(b []byte) error
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResults) Validate(formats strfmt.Registry) error
- type GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) MarshalBinary() ([]byte, error)
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) UnmarshalBinary(b []byte) error
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) Validate(formats strfmt.Registry) error
- type GetDeviceLiveToolsPingDeviceOKBodyResultsLoss
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) MarshalBinary() ([]byte, error)
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) UnmarshalBinary(b []byte) error
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) Validate(formats strfmt.Registry) error
- type GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) MarshalBinary() ([]byte, error)
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) UnmarshalBinary(b []byte) error
- func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) Validate(formats strfmt.Registry) error
- type GetDeviceLiveToolsPingDeviceParams
- func NewGetDeviceLiveToolsPingDeviceParams() *GetDeviceLiveToolsPingDeviceParams
- func NewGetDeviceLiveToolsPingDeviceParamsWithContext(ctx context.Context) *GetDeviceLiveToolsPingDeviceParams
- func NewGetDeviceLiveToolsPingDeviceParamsWithHTTPClient(client *http.Client) *GetDeviceLiveToolsPingDeviceParams
- func NewGetDeviceLiveToolsPingDeviceParamsWithTimeout(timeout time.Duration) *GetDeviceLiveToolsPingDeviceParams
- func (o *GetDeviceLiveToolsPingDeviceParams) SetContext(ctx context.Context)
- func (o *GetDeviceLiveToolsPingDeviceParams) SetDefaults()
- func (o *GetDeviceLiveToolsPingDeviceParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceLiveToolsPingDeviceParams) SetID(id string)
- func (o *GetDeviceLiveToolsPingDeviceParams) SetSerial(serial string)
- func (o *GetDeviceLiveToolsPingDeviceParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceLiveToolsPingDeviceParams) WithContext(ctx context.Context) *GetDeviceLiveToolsPingDeviceParams
- func (o *GetDeviceLiveToolsPingDeviceParams) WithDefaults() *GetDeviceLiveToolsPingDeviceParams
- func (o *GetDeviceLiveToolsPingDeviceParams) WithHTTPClient(client *http.Client) *GetDeviceLiveToolsPingDeviceParams
- func (o *GetDeviceLiveToolsPingDeviceParams) WithID(id string) *GetDeviceLiveToolsPingDeviceParams
- func (o *GetDeviceLiveToolsPingDeviceParams) WithSerial(serial string) *GetDeviceLiveToolsPingDeviceParams
- func (o *GetDeviceLiveToolsPingDeviceParams) WithTimeout(timeout time.Duration) *GetDeviceLiveToolsPingDeviceParams
- func (o *GetDeviceLiveToolsPingDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceLiveToolsPingDeviceReader
- type GetDeviceLiveToolsPingOK
- func (o *GetDeviceLiveToolsPingOK) Code() int
- func (o *GetDeviceLiveToolsPingOK) Error() string
- func (o *GetDeviceLiveToolsPingOK) GetPayload() *GetDeviceLiveToolsPingOKBody
- func (o *GetDeviceLiveToolsPingOK) IsClientError() bool
- func (o *GetDeviceLiveToolsPingOK) IsCode(code int) bool
- func (o *GetDeviceLiveToolsPingOK) IsRedirect() bool
- func (o *GetDeviceLiveToolsPingOK) IsServerError() bool
- func (o *GetDeviceLiveToolsPingOK) IsSuccess() bool
- func (o *GetDeviceLiveToolsPingOK) String() string
- type GetDeviceLiveToolsPingOKBody
- func (o *GetDeviceLiveToolsPingOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceLiveToolsPingOKBody) MarshalBinary() ([]byte, error)
- func (o *GetDeviceLiveToolsPingOKBody) UnmarshalBinary(b []byte) error
- func (o *GetDeviceLiveToolsPingOKBody) Validate(formats strfmt.Registry) error
- type GetDeviceLiveToolsPingOKBodyRequest
- func (o *GetDeviceLiveToolsPingOKBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceLiveToolsPingOKBodyRequest) MarshalBinary() ([]byte, error)
- func (o *GetDeviceLiveToolsPingOKBodyRequest) UnmarshalBinary(b []byte) error
- func (o *GetDeviceLiveToolsPingOKBodyRequest) Validate(formats strfmt.Registry) error
- type GetDeviceLiveToolsPingOKBodyResults
- func (o *GetDeviceLiveToolsPingOKBodyResults) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceLiveToolsPingOKBodyResults) MarshalBinary() ([]byte, error)
- func (o *GetDeviceLiveToolsPingOKBodyResults) UnmarshalBinary(b []byte) error
- func (o *GetDeviceLiveToolsPingOKBodyResults) Validate(formats strfmt.Registry) error
- type GetDeviceLiveToolsPingOKBodyResultsLatencies
- func (o *GetDeviceLiveToolsPingOKBodyResultsLatencies) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceLiveToolsPingOKBodyResultsLatencies) MarshalBinary() ([]byte, error)
- func (o *GetDeviceLiveToolsPingOKBodyResultsLatencies) UnmarshalBinary(b []byte) error
- func (o *GetDeviceLiveToolsPingOKBodyResultsLatencies) Validate(formats strfmt.Registry) error
- type GetDeviceLiveToolsPingOKBodyResultsLoss
- func (o *GetDeviceLiveToolsPingOKBodyResultsLoss) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceLiveToolsPingOKBodyResultsLoss) MarshalBinary() ([]byte, error)
- func (o *GetDeviceLiveToolsPingOKBodyResultsLoss) UnmarshalBinary(b []byte) error
- func (o *GetDeviceLiveToolsPingOKBodyResultsLoss) Validate(formats strfmt.Registry) error
- type GetDeviceLiveToolsPingOKBodyResultsRepliesItems0
- func (o *GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) MarshalBinary() ([]byte, error)
- func (o *GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) UnmarshalBinary(b []byte) error
- func (o *GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) Validate(formats strfmt.Registry) error
- type GetDeviceLiveToolsPingParams
- func NewGetDeviceLiveToolsPingParams() *GetDeviceLiveToolsPingParams
- func NewGetDeviceLiveToolsPingParamsWithContext(ctx context.Context) *GetDeviceLiveToolsPingParams
- func NewGetDeviceLiveToolsPingParamsWithHTTPClient(client *http.Client) *GetDeviceLiveToolsPingParams
- func NewGetDeviceLiveToolsPingParamsWithTimeout(timeout time.Duration) *GetDeviceLiveToolsPingParams
- func (o *GetDeviceLiveToolsPingParams) SetContext(ctx context.Context)
- func (o *GetDeviceLiveToolsPingParams) SetDefaults()
- func (o *GetDeviceLiveToolsPingParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceLiveToolsPingParams) SetID(id string)
- func (o *GetDeviceLiveToolsPingParams) SetSerial(serial string)
- func (o *GetDeviceLiveToolsPingParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceLiveToolsPingParams) WithContext(ctx context.Context) *GetDeviceLiveToolsPingParams
- func (o *GetDeviceLiveToolsPingParams) WithDefaults() *GetDeviceLiveToolsPingParams
- func (o *GetDeviceLiveToolsPingParams) WithHTTPClient(client *http.Client) *GetDeviceLiveToolsPingParams
- func (o *GetDeviceLiveToolsPingParams) WithID(id string) *GetDeviceLiveToolsPingParams
- func (o *GetDeviceLiveToolsPingParams) WithSerial(serial string) *GetDeviceLiveToolsPingParams
- func (o *GetDeviceLiveToolsPingParams) WithTimeout(timeout time.Duration) *GetDeviceLiveToolsPingParams
- func (o *GetDeviceLiveToolsPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceLiveToolsPingReader
- type GetDeviceLldpCdpOK
- func (o *GetDeviceLldpCdpOK) Code() int
- func (o *GetDeviceLldpCdpOK) Error() string
- func (o *GetDeviceLldpCdpOK) GetPayload() interface{}
- func (o *GetDeviceLldpCdpOK) IsClientError() bool
- func (o *GetDeviceLldpCdpOK) IsCode(code int) bool
- func (o *GetDeviceLldpCdpOK) IsRedirect() bool
- func (o *GetDeviceLldpCdpOK) IsServerError() bool
- func (o *GetDeviceLldpCdpOK) IsSuccess() bool
- func (o *GetDeviceLldpCdpOK) String() string
- type GetDeviceLldpCdpParams
- func NewGetDeviceLldpCdpParams() *GetDeviceLldpCdpParams
- func NewGetDeviceLldpCdpParamsWithContext(ctx context.Context) *GetDeviceLldpCdpParams
- func NewGetDeviceLldpCdpParamsWithHTTPClient(client *http.Client) *GetDeviceLldpCdpParams
- func NewGetDeviceLldpCdpParamsWithTimeout(timeout time.Duration) *GetDeviceLldpCdpParams
- func (o *GetDeviceLldpCdpParams) SetContext(ctx context.Context)
- func (o *GetDeviceLldpCdpParams) SetDefaults()
- func (o *GetDeviceLldpCdpParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceLldpCdpParams) SetSerial(serial string)
- func (o *GetDeviceLldpCdpParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceLldpCdpParams) WithContext(ctx context.Context) *GetDeviceLldpCdpParams
- func (o *GetDeviceLldpCdpParams) WithDefaults() *GetDeviceLldpCdpParams
- func (o *GetDeviceLldpCdpParams) WithHTTPClient(client *http.Client) *GetDeviceLldpCdpParams
- func (o *GetDeviceLldpCdpParams) WithSerial(serial string) *GetDeviceLldpCdpParams
- func (o *GetDeviceLldpCdpParams) WithTimeout(timeout time.Duration) *GetDeviceLldpCdpParams
- func (o *GetDeviceLldpCdpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceLldpCdpReader
- type GetDeviceLossAndLatencyHistoryOK
- func (o *GetDeviceLossAndLatencyHistoryOK) Code() int
- func (o *GetDeviceLossAndLatencyHistoryOK) Error() string
- func (o *GetDeviceLossAndLatencyHistoryOK) GetPayload() []interface{}
- func (o *GetDeviceLossAndLatencyHistoryOK) IsClientError() bool
- func (o *GetDeviceLossAndLatencyHistoryOK) IsCode(code int) bool
- func (o *GetDeviceLossAndLatencyHistoryOK) IsRedirect() bool
- func (o *GetDeviceLossAndLatencyHistoryOK) IsServerError() bool
- func (o *GetDeviceLossAndLatencyHistoryOK) IsSuccess() bool
- func (o *GetDeviceLossAndLatencyHistoryOK) String() string
- type GetDeviceLossAndLatencyHistoryParams
- func NewGetDeviceLossAndLatencyHistoryParams() *GetDeviceLossAndLatencyHistoryParams
- func NewGetDeviceLossAndLatencyHistoryParamsWithContext(ctx context.Context) *GetDeviceLossAndLatencyHistoryParams
- func NewGetDeviceLossAndLatencyHistoryParamsWithHTTPClient(client *http.Client) *GetDeviceLossAndLatencyHistoryParams
- func NewGetDeviceLossAndLatencyHistoryParamsWithTimeout(timeout time.Duration) *GetDeviceLossAndLatencyHistoryParams
- func (o *GetDeviceLossAndLatencyHistoryParams) SetContext(ctx context.Context)
- func (o *GetDeviceLossAndLatencyHistoryParams) SetDefaults()
- func (o *GetDeviceLossAndLatencyHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceLossAndLatencyHistoryParams) SetIP(ip string)
- func (o *GetDeviceLossAndLatencyHistoryParams) SetResolution(resolution *int64)
- func (o *GetDeviceLossAndLatencyHistoryParams) SetSerial(serial string)
- func (o *GetDeviceLossAndLatencyHistoryParams) SetT0(t0 *string)
- func (o *GetDeviceLossAndLatencyHistoryParams) SetT1(t1 *string)
- func (o *GetDeviceLossAndLatencyHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceLossAndLatencyHistoryParams) SetTimespan(timespan *float32)
- func (o *GetDeviceLossAndLatencyHistoryParams) SetUplink(uplink *string)
- func (o *GetDeviceLossAndLatencyHistoryParams) WithContext(ctx context.Context) *GetDeviceLossAndLatencyHistoryParams
- func (o *GetDeviceLossAndLatencyHistoryParams) WithDefaults() *GetDeviceLossAndLatencyHistoryParams
- func (o *GetDeviceLossAndLatencyHistoryParams) WithHTTPClient(client *http.Client) *GetDeviceLossAndLatencyHistoryParams
- func (o *GetDeviceLossAndLatencyHistoryParams) WithIP(ip string) *GetDeviceLossAndLatencyHistoryParams
- func (o *GetDeviceLossAndLatencyHistoryParams) WithResolution(resolution *int64) *GetDeviceLossAndLatencyHistoryParams
- func (o *GetDeviceLossAndLatencyHistoryParams) WithSerial(serial string) *GetDeviceLossAndLatencyHistoryParams
- func (o *GetDeviceLossAndLatencyHistoryParams) WithT0(t0 *string) *GetDeviceLossAndLatencyHistoryParams
- func (o *GetDeviceLossAndLatencyHistoryParams) WithT1(t1 *string) *GetDeviceLossAndLatencyHistoryParams
- func (o *GetDeviceLossAndLatencyHistoryParams) WithTimeout(timeout time.Duration) *GetDeviceLossAndLatencyHistoryParams
- func (o *GetDeviceLossAndLatencyHistoryParams) WithTimespan(timespan *float32) *GetDeviceLossAndLatencyHistoryParams
- func (o *GetDeviceLossAndLatencyHistoryParams) WithUplink(uplink *string) *GetDeviceLossAndLatencyHistoryParams
- func (o *GetDeviceLossAndLatencyHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceLossAndLatencyHistoryReader
- type GetDeviceManagementInterfaceOK
- func (o *GetDeviceManagementInterfaceOK) Code() int
- func (o *GetDeviceManagementInterfaceOK) Error() string
- func (o *GetDeviceManagementInterfaceOK) GetPayload() interface{}
- func (o *GetDeviceManagementInterfaceOK) IsClientError() bool
- func (o *GetDeviceManagementInterfaceOK) IsCode(code int) bool
- func (o *GetDeviceManagementInterfaceOK) IsRedirect() bool
- func (o *GetDeviceManagementInterfaceOK) IsServerError() bool
- func (o *GetDeviceManagementInterfaceOK) IsSuccess() bool
- func (o *GetDeviceManagementInterfaceOK) String() string
- type GetDeviceManagementInterfaceParams
- func NewGetDeviceManagementInterfaceParams() *GetDeviceManagementInterfaceParams
- func NewGetDeviceManagementInterfaceParamsWithContext(ctx context.Context) *GetDeviceManagementInterfaceParams
- func NewGetDeviceManagementInterfaceParamsWithHTTPClient(client *http.Client) *GetDeviceManagementInterfaceParams
- func NewGetDeviceManagementInterfaceParamsWithTimeout(timeout time.Duration) *GetDeviceManagementInterfaceParams
- func (o *GetDeviceManagementInterfaceParams) SetContext(ctx context.Context)
- func (o *GetDeviceManagementInterfaceParams) SetDefaults()
- func (o *GetDeviceManagementInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceManagementInterfaceParams) SetSerial(serial string)
- func (o *GetDeviceManagementInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceManagementInterfaceParams) WithContext(ctx context.Context) *GetDeviceManagementInterfaceParams
- func (o *GetDeviceManagementInterfaceParams) WithDefaults() *GetDeviceManagementInterfaceParams
- func (o *GetDeviceManagementInterfaceParams) WithHTTPClient(client *http.Client) *GetDeviceManagementInterfaceParams
- func (o *GetDeviceManagementInterfaceParams) WithSerial(serial string) *GetDeviceManagementInterfaceParams
- func (o *GetDeviceManagementInterfaceParams) WithTimeout(timeout time.Duration) *GetDeviceManagementInterfaceParams
- func (o *GetDeviceManagementInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceManagementInterfaceReader
- type GetDeviceOK
- func (o *GetDeviceOK) Code() int
- func (o *GetDeviceOK) Error() string
- func (o *GetDeviceOK) GetPayload() interface{}
- func (o *GetDeviceOK) IsClientError() bool
- func (o *GetDeviceOK) IsCode(code int) bool
- func (o *GetDeviceOK) IsRedirect() bool
- func (o *GetDeviceOK) IsServerError() bool
- func (o *GetDeviceOK) IsSuccess() bool
- func (o *GetDeviceOK) String() string
- type GetDeviceParams
- func (o *GetDeviceParams) SetContext(ctx context.Context)
- func (o *GetDeviceParams) SetDefaults()
- func (o *GetDeviceParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceParams) SetSerial(serial string)
- func (o *GetDeviceParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceParams) WithContext(ctx context.Context) *GetDeviceParams
- func (o *GetDeviceParams) WithDefaults() *GetDeviceParams
- func (o *GetDeviceParams) WithHTTPClient(client *http.Client) *GetDeviceParams
- func (o *GetDeviceParams) WithSerial(serial string) *GetDeviceParams
- func (o *GetDeviceParams) WithTimeout(timeout time.Duration) *GetDeviceParams
- func (o *GetDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceReader
- type RebootDeviceAccepted
- func (o *RebootDeviceAccepted) Code() int
- func (o *RebootDeviceAccepted) Error() string
- func (o *RebootDeviceAccepted) GetPayload() *RebootDeviceAcceptedBody
- func (o *RebootDeviceAccepted) IsClientError() bool
- func (o *RebootDeviceAccepted) IsCode(code int) bool
- func (o *RebootDeviceAccepted) IsRedirect() bool
- func (o *RebootDeviceAccepted) IsServerError() bool
- func (o *RebootDeviceAccepted) IsSuccess() bool
- func (o *RebootDeviceAccepted) String() string
- type RebootDeviceAcceptedBody
- func (o *RebootDeviceAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RebootDeviceAcceptedBody) MarshalBinary() ([]byte, error)
- func (o *RebootDeviceAcceptedBody) UnmarshalBinary(b []byte) error
- func (o *RebootDeviceAcceptedBody) Validate(formats strfmt.Registry) error
- type RebootDeviceParams
- func (o *RebootDeviceParams) SetContext(ctx context.Context)
- func (o *RebootDeviceParams) SetDefaults()
- func (o *RebootDeviceParams) SetHTTPClient(client *http.Client)
- func (o *RebootDeviceParams) SetSerial(serial string)
- func (o *RebootDeviceParams) SetTimeout(timeout time.Duration)
- func (o *RebootDeviceParams) WithContext(ctx context.Context) *RebootDeviceParams
- func (o *RebootDeviceParams) WithDefaults() *RebootDeviceParams
- func (o *RebootDeviceParams) WithHTTPClient(client *http.Client) *RebootDeviceParams
- func (o *RebootDeviceParams) WithSerial(serial string) *RebootDeviceParams
- func (o *RebootDeviceParams) WithTimeout(timeout time.Duration) *RebootDeviceParams
- func (o *RebootDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RebootDeviceReader
- type UpdateDeviceBody
- type UpdateDeviceCellularSimsBody
- func (o *UpdateDeviceCellularSimsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceCellularSimsBody) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceCellularSimsBody) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceCellularSimsBody) Validate(formats strfmt.Registry) error
- type UpdateDeviceCellularSimsOK
- func (o *UpdateDeviceCellularSimsOK) Code() int
- func (o *UpdateDeviceCellularSimsOK) Error() string
- func (o *UpdateDeviceCellularSimsOK) GetPayload() interface{}
- func (o *UpdateDeviceCellularSimsOK) IsClientError() bool
- func (o *UpdateDeviceCellularSimsOK) IsCode(code int) bool
- func (o *UpdateDeviceCellularSimsOK) IsRedirect() bool
- func (o *UpdateDeviceCellularSimsOK) IsServerError() bool
- func (o *UpdateDeviceCellularSimsOK) IsSuccess() bool
- func (o *UpdateDeviceCellularSimsOK) String() string
- type UpdateDeviceCellularSimsParams
- func NewUpdateDeviceCellularSimsParams() *UpdateDeviceCellularSimsParams
- func NewUpdateDeviceCellularSimsParamsWithContext(ctx context.Context) *UpdateDeviceCellularSimsParams
- func NewUpdateDeviceCellularSimsParamsWithHTTPClient(client *http.Client) *UpdateDeviceCellularSimsParams
- func NewUpdateDeviceCellularSimsParamsWithTimeout(timeout time.Duration) *UpdateDeviceCellularSimsParams
- func (o *UpdateDeviceCellularSimsParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceCellularSimsParams) SetDefaults()
- func (o *UpdateDeviceCellularSimsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceCellularSimsParams) SetSerial(serial string)
- func (o *UpdateDeviceCellularSimsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceCellularSimsParams) SetUpdateDeviceCellularSims(updateDeviceCellularSims UpdateDeviceCellularSimsBody)
- func (o *UpdateDeviceCellularSimsParams) WithContext(ctx context.Context) *UpdateDeviceCellularSimsParams
- func (o *UpdateDeviceCellularSimsParams) WithDefaults() *UpdateDeviceCellularSimsParams
- func (o *UpdateDeviceCellularSimsParams) WithHTTPClient(client *http.Client) *UpdateDeviceCellularSimsParams
- func (o *UpdateDeviceCellularSimsParams) WithSerial(serial string) *UpdateDeviceCellularSimsParams
- func (o *UpdateDeviceCellularSimsParams) WithTimeout(timeout time.Duration) *UpdateDeviceCellularSimsParams
- func (o *UpdateDeviceCellularSimsParams) WithUpdateDeviceCellularSims(updateDeviceCellularSims UpdateDeviceCellularSimsBody) *UpdateDeviceCellularSimsParams
- func (o *UpdateDeviceCellularSimsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceCellularSimsParamsBodySimFailover
- func (o *UpdateDeviceCellularSimsParamsBodySimFailover) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceCellularSimsParamsBodySimFailover) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceCellularSimsParamsBodySimFailover) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceCellularSimsParamsBodySimFailover) Validate(formats strfmt.Registry) error
- type UpdateDeviceCellularSimsParamsBodySimsItems0
- func (o *UpdateDeviceCellularSimsParamsBodySimsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceCellularSimsParamsBodySimsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceCellularSimsParamsBodySimsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceCellularSimsParamsBodySimsItems0) Validate(formats strfmt.Registry) error
- type UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0
- func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) Validate(formats strfmt.Registry) error
- type UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication
- func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) Validate(formats strfmt.Registry) error
- type UpdateDeviceCellularSimsReader
- type UpdateDeviceManagementInterfaceBody
- func (o *UpdateDeviceManagementInterfaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceManagementInterfaceBody) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceManagementInterfaceBody) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceManagementInterfaceBody) Validate(formats strfmt.Registry) error
- type UpdateDeviceManagementInterfaceOK
- func (o *UpdateDeviceManagementInterfaceOK) Code() int
- func (o *UpdateDeviceManagementInterfaceOK) Error() string
- func (o *UpdateDeviceManagementInterfaceOK) GetPayload() interface{}
- func (o *UpdateDeviceManagementInterfaceOK) IsClientError() bool
- func (o *UpdateDeviceManagementInterfaceOK) IsCode(code int) bool
- func (o *UpdateDeviceManagementInterfaceOK) IsRedirect() bool
- func (o *UpdateDeviceManagementInterfaceOK) IsServerError() bool
- func (o *UpdateDeviceManagementInterfaceOK) IsSuccess() bool
- func (o *UpdateDeviceManagementInterfaceOK) String() string
- type UpdateDeviceManagementInterfaceParams
- func NewUpdateDeviceManagementInterfaceParams() *UpdateDeviceManagementInterfaceParams
- func NewUpdateDeviceManagementInterfaceParamsWithContext(ctx context.Context) *UpdateDeviceManagementInterfaceParams
- func NewUpdateDeviceManagementInterfaceParamsWithHTTPClient(client *http.Client) *UpdateDeviceManagementInterfaceParams
- func NewUpdateDeviceManagementInterfaceParamsWithTimeout(timeout time.Duration) *UpdateDeviceManagementInterfaceParams
- func (o *UpdateDeviceManagementInterfaceParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceManagementInterfaceParams) SetDefaults()
- func (o *UpdateDeviceManagementInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceManagementInterfaceParams) SetSerial(serial string)
- func (o *UpdateDeviceManagementInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceManagementInterfaceParams) SetUpdateDeviceManagementInterface(updateDeviceManagementInterface UpdateDeviceManagementInterfaceBody)
- func (o *UpdateDeviceManagementInterfaceParams) WithContext(ctx context.Context) *UpdateDeviceManagementInterfaceParams
- func (o *UpdateDeviceManagementInterfaceParams) WithDefaults() *UpdateDeviceManagementInterfaceParams
- func (o *UpdateDeviceManagementInterfaceParams) WithHTTPClient(client *http.Client) *UpdateDeviceManagementInterfaceParams
- func (o *UpdateDeviceManagementInterfaceParams) WithSerial(serial string) *UpdateDeviceManagementInterfaceParams
- func (o *UpdateDeviceManagementInterfaceParams) WithTimeout(timeout time.Duration) *UpdateDeviceManagementInterfaceParams
- func (o *UpdateDeviceManagementInterfaceParams) WithUpdateDeviceManagementInterface(updateDeviceManagementInterface UpdateDeviceManagementInterfaceBody) *UpdateDeviceManagementInterfaceParams
- func (o *UpdateDeviceManagementInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceManagementInterfaceParamsBodyWan1
- func (o *UpdateDeviceManagementInterfaceParamsBodyWan1) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceManagementInterfaceParamsBodyWan1) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceManagementInterfaceParamsBodyWan1) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceManagementInterfaceParamsBodyWan1) Validate(formats strfmt.Registry) error
- type UpdateDeviceManagementInterfaceParamsBodyWan2
- func (o *UpdateDeviceManagementInterfaceParamsBodyWan2) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceManagementInterfaceParamsBodyWan2) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceManagementInterfaceParamsBodyWan2) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceManagementInterfaceParamsBodyWan2) Validate(formats strfmt.Registry) error
- type UpdateDeviceManagementInterfaceReader
- type UpdateDeviceOK
- func (o *UpdateDeviceOK) Code() int
- func (o *UpdateDeviceOK) Error() string
- func (o *UpdateDeviceOK) GetPayload() interface{}
- func (o *UpdateDeviceOK) IsClientError() bool
- func (o *UpdateDeviceOK) IsCode(code int) bool
- func (o *UpdateDeviceOK) IsRedirect() bool
- func (o *UpdateDeviceOK) IsServerError() bool
- func (o *UpdateDeviceOK) IsSuccess() bool
- func (o *UpdateDeviceOK) String() string
- type UpdateDeviceParams
- func (o *UpdateDeviceParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceParams) SetDefaults()
- func (o *UpdateDeviceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceParams) SetSerial(serial string)
- func (o *UpdateDeviceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceParams) SetUpdateDevice(updateDevice UpdateDeviceBody)
- func (o *UpdateDeviceParams) WithContext(ctx context.Context) *UpdateDeviceParams
- func (o *UpdateDeviceParams) WithDefaults() *UpdateDeviceParams
- func (o *UpdateDeviceParams) WithHTTPClient(client *http.Client) *UpdateDeviceParams
- func (o *UpdateDeviceParams) WithSerial(serial string) *UpdateDeviceParams
- func (o *UpdateDeviceParams) WithTimeout(timeout time.Duration) *UpdateDeviceParams
- func (o *UpdateDeviceParams) WithUpdateDevice(updateDevice UpdateDeviceBody) *UpdateDeviceParams
- func (o *UpdateDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceReader
Constants ¶
const ( // UpdateDeviceCellularSimsParamsBodySimsItems0SlotSim1 captures enum value "sim1" UpdateDeviceCellularSimsParamsBodySimsItems0SlotSim1 string = "sim1" // UpdateDeviceCellularSimsParamsBodySimsItems0SlotSim2 captures enum value "sim2" UpdateDeviceCellularSimsParamsBodySimsItems0SlotSim2 string = "sim2" )
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" )
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" )
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 (o *BlinkDeviceLedsAccepted) GetPayload() *BlinkDeviceLedsAcceptedBody
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
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 ¶
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
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 ¶
func (o *BlinkDeviceLedsParams) WithContext(ctx context.Context) *BlinkDeviceLedsParams
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 ¶
func (a *Client) CreateDeviceLiveToolsPingDevice(params *CreateDeviceLiveToolsPingDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeviceLiveToolsPingDeviceCreated, error)
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
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 ¶
func (o *CreateDeviceLiveToolsPingCreated) Code() int
Code gets the status code for the create device live tools ping created response
func (*CreateDeviceLiveToolsPingCreated) Error ¶
func (o *CreateDeviceLiveToolsPingCreated) Error() string
func (*CreateDeviceLiveToolsPingCreated) GetPayload ¶
func (o *CreateDeviceLiveToolsPingCreated) GetPayload() *CreateDeviceLiveToolsPingCreatedBody
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 ¶
func (o *CreateDeviceLiveToolsPingCreated) String() 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
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 ¶
func (o *CreateDeviceLiveToolsPingCreatedBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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
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 ¶
func (o *CreateDeviceLiveToolsPingDeviceCreated) Code() int
Code gets the status code for the create device live tools ping device created response
func (*CreateDeviceLiveToolsPingDeviceCreated) Error ¶
func (o *CreateDeviceLiveToolsPingDeviceCreated) Error() string
func (*CreateDeviceLiveToolsPingDeviceCreated) GetPayload ¶
func (o *CreateDeviceLiveToolsPingDeviceCreated) GetPayload() *CreateDeviceLiveToolsPingDeviceCreatedBody
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 ¶
func (o *CreateDeviceLiveToolsPingDeviceCreated) IsCode(code int) bool
IsCode returns true when this create device live tools ping device created response a status code equal to that given
func (*CreateDeviceLiveToolsPingDeviceCreated) IsRedirect ¶
func (o *CreateDeviceLiveToolsPingDeviceCreated) IsRedirect() bool
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 ¶
func (o *CreateDeviceLiveToolsPingDeviceCreated) IsSuccess() bool
IsSuccess returns true when this create device live tools ping device created response has a 2xx status code
func (*CreateDeviceLiveToolsPingDeviceCreated) String ¶
func (o *CreateDeviceLiveToolsPingDeviceCreated) String() 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 ¶
func (o *CreateDeviceLiveToolsPingDeviceCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create device live tools ping device created body request based on context it is used
func (*CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) MarshalBinary ¶
func (o *CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) UnmarshalBinary ¶
func (o *CreateDeviceLiveToolsPingDeviceCreatedBodyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateDeviceLiveToolsPingDeviceParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateDeviceLiveToolsPingDeviceParams) WithContext(ctx context.Context) *CreateDeviceLiveToolsPingDeviceParams
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 ¶
func (o *CreateDeviceLiveToolsPingDeviceParams) WithDefaults() *CreateDeviceLiveToolsPingDeviceParams
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 ¶
func (o *CreateDeviceLiveToolsPingDeviceParams) WithHTTPClient(client *http.Client) *CreateDeviceLiveToolsPingDeviceParams
WithHTTPClient adds the HTTPClient to the create device live tools ping device params
func (*CreateDeviceLiveToolsPingDeviceParams) WithSerial ¶
func (o *CreateDeviceLiveToolsPingDeviceParams) WithSerial(serial string) *CreateDeviceLiveToolsPingDeviceParams
WithSerial adds the serial to the create device live tools ping device params
func (*CreateDeviceLiveToolsPingDeviceParams) WithTimeout ¶
func (o *CreateDeviceLiveToolsPingDeviceParams) WithTimeout(timeout time.Duration) *CreateDeviceLiveToolsPingDeviceParams
WithTimeout adds the timeout to the create device live tools ping device params
func (*CreateDeviceLiveToolsPingDeviceParams) WriteToRequest ¶
func (o *CreateDeviceLiveToolsPingDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateDeviceLiveToolsPingParams) WithContext(ctx context.Context) *CreateDeviceLiveToolsPingParams
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 ¶
func (o *CreateDeviceLiveToolsPingParams) WithDefaults() *CreateDeviceLiveToolsPingParams
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 ¶
func (o *CreateDeviceLiveToolsPingParams) WithHTTPClient(client *http.Client) *CreateDeviceLiveToolsPingParams
WithHTTPClient adds the HTTPClient to the create device live tools ping params
func (*CreateDeviceLiveToolsPingParams) WithSerial ¶
func (o *CreateDeviceLiveToolsPingParams) WithSerial(serial string) *CreateDeviceLiveToolsPingParams
WithSerial adds the serial to the create device live tools ping params
func (*CreateDeviceLiveToolsPingParams) WithTimeout ¶
func (o *CreateDeviceLiveToolsPingParams) WithTimeout(timeout time.Duration) *CreateDeviceLiveToolsPingParams
WithTimeout adds the timeout to the create device live tools ping params
func (*CreateDeviceLiveToolsPingParams) WriteToRequest ¶
func (o *CreateDeviceLiveToolsPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeviceCellularSimsParams) WithContext(ctx context.Context) *GetDeviceCellularSimsParams
WithContext adds the context to the get device cellular sims params
func (*GetDeviceCellularSimsParams) WithDefaults ¶
func (o *GetDeviceCellularSimsParams) WithDefaults() *GetDeviceCellularSimsParams
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 ¶
func (o *GetDeviceCellularSimsParams) WithHTTPClient(client *http.Client) *GetDeviceCellularSimsParams
WithHTTPClient adds the HTTPClient to the get device cellular sims params
func (*GetDeviceCellularSimsParams) WithSerial ¶
func (o *GetDeviceCellularSimsParams) WithSerial(serial string) *GetDeviceCellularSimsParams
WithSerial adds the serial to the get device cellular sims params
func (*GetDeviceCellularSimsParams) WithTimeout ¶
func (o *GetDeviceCellularSimsParams) WithTimeout(timeout time.Duration) *GetDeviceCellularSimsParams
WithTimeout adds the timeout to the get device cellular sims params
func (*GetDeviceCellularSimsParams) WriteToRequest ¶
func (o *GetDeviceCellularSimsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeviceClientsParams) WithContext(ctx context.Context) *GetDeviceClientsParams
WithContext adds the context to the get device clients params
func (*GetDeviceClientsParams) WithDefaults ¶
func (o *GetDeviceClientsParams) WithDefaults() *GetDeviceClientsParams
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 ¶
func (o *GetDeviceClientsParams) WithT0(t0 *string) *GetDeviceClientsParams
WithT0 adds the t0 to the get device clients params
func (*GetDeviceClientsParams) WithTimeout ¶
func (o *GetDeviceClientsParams) WithTimeout(timeout time.Duration) *GetDeviceClientsParams
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 ¶
func (o *GetDeviceClientsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeviceLiveToolsPingDeviceOK) Code() int
Code gets the status code for the get device live tools ping device o k response
func (*GetDeviceLiveToolsPingDeviceOK) Error ¶
func (o *GetDeviceLiveToolsPingDeviceOK) Error() string
func (*GetDeviceLiveToolsPingDeviceOK) GetPayload ¶
func (o *GetDeviceLiveToolsPingDeviceOK) GetPayload() *GetDeviceLiveToolsPingDeviceOKBody
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 ¶
func (o *GetDeviceLiveToolsPingDeviceOK) String() 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
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 ¶
func (o *GetDeviceLiveToolsPingDeviceOKBodyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *GetDeviceLiveToolsPingDeviceOKBodyResults) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device live tools ping device o k body results latencies based on context it is used
func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) MarshalBinary ¶
func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) UnmarshalBinary ¶
func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLatencies) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceLiveToolsPingDeviceOKBodyResultsLoss ¶
type GetDeviceLiveToolsPingDeviceOKBodyResultsLoss struct { // Percentage of packets lost Percentage float32 `json:"percentage,omitempty"` }
GetDeviceLiveToolsPingDeviceOKBodyResultsLoss Lost packets swagger:model GetDeviceLiveToolsPingDeviceOKBodyResultsLoss
func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) ContextValidate ¶
func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device live tools ping device o k body results loss based on context it is used
func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) MarshalBinary ¶
func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) UnmarshalBinary ¶
func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsLoss) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device live tools ping device o k body results replies items0 based on context it is used
func (*GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) MarshalBinary ¶
func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) UnmarshalBinary ¶
func (o *GetDeviceLiveToolsPingDeviceOKBodyResultsRepliesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetDeviceLiveToolsPingDeviceParams) SetContext(ctx context.Context)
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 ¶
func (o *GetDeviceLiveToolsPingDeviceParams) SetID(id string)
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 ¶
func (o *GetDeviceLiveToolsPingDeviceParams) WithContext(ctx context.Context) *GetDeviceLiveToolsPingDeviceParams
WithContext adds the context to the get device live tools ping device params
func (*GetDeviceLiveToolsPingDeviceParams) WithDefaults ¶
func (o *GetDeviceLiveToolsPingDeviceParams) WithDefaults() *GetDeviceLiveToolsPingDeviceParams
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 ¶
func (o *GetDeviceLiveToolsPingDeviceParams) WithHTTPClient(client *http.Client) *GetDeviceLiveToolsPingDeviceParams
WithHTTPClient adds the HTTPClient to the get device live tools ping device params
func (*GetDeviceLiveToolsPingDeviceParams) WithID ¶
func (o *GetDeviceLiveToolsPingDeviceParams) WithID(id string) *GetDeviceLiveToolsPingDeviceParams
WithID adds the id to the get device live tools ping device params
func (*GetDeviceLiveToolsPingDeviceParams) WithSerial ¶
func (o *GetDeviceLiveToolsPingDeviceParams) WithSerial(serial string) *GetDeviceLiveToolsPingDeviceParams
WithSerial adds the serial to the get device live tools ping device params
func (*GetDeviceLiveToolsPingDeviceParams) WithTimeout ¶
func (o *GetDeviceLiveToolsPingDeviceParams) WithTimeout(timeout time.Duration) *GetDeviceLiveToolsPingDeviceParams
WithTimeout adds the timeout to the get device live tools ping device params
func (*GetDeviceLiveToolsPingDeviceParams) WriteToRequest ¶
func (o *GetDeviceLiveToolsPingDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetDeviceLiveToolsPingOK) GetPayload() *GetDeviceLiveToolsPingOKBody
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
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
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
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 ¶
func (o *GetDeviceLiveToolsPingOKBodyResultsLatencies) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device live tools ping o k body results latencies based on context it is used
func (*GetDeviceLiveToolsPingOKBodyResultsLatencies) MarshalBinary ¶
func (o *GetDeviceLiveToolsPingOKBodyResultsLatencies) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceLiveToolsPingOKBodyResultsLatencies) UnmarshalBinary ¶
func (o *GetDeviceLiveToolsPingOKBodyResultsLatencies) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceLiveToolsPingOKBodyResultsLoss ¶
type GetDeviceLiveToolsPingOKBodyResultsLoss struct { // Percentage of packets lost Percentage float32 `json:"percentage,omitempty"` }
GetDeviceLiveToolsPingOKBodyResultsLoss Lost packets swagger:model GetDeviceLiveToolsPingOKBodyResultsLoss
func (*GetDeviceLiveToolsPingOKBodyResultsLoss) ContextValidate ¶
func (o *GetDeviceLiveToolsPingOKBodyResultsLoss) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
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 ¶
func (o *GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device live tools ping o k body results replies items0 based on context it is used
func (*GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) MarshalBinary ¶
func (o *GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) UnmarshalBinary ¶
func (o *GetDeviceLiveToolsPingOKBodyResultsRepliesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetDeviceLiveToolsPingParams) WithContext(ctx context.Context) *GetDeviceLiveToolsPingParams
WithContext adds the context to the get device live tools ping params
func (*GetDeviceLiveToolsPingParams) WithDefaults ¶
func (o *GetDeviceLiveToolsPingParams) WithDefaults() *GetDeviceLiveToolsPingParams
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 ¶
func (o *GetDeviceLiveToolsPingParams) WithHTTPClient(client *http.Client) *GetDeviceLiveToolsPingParams
WithHTTPClient adds the HTTPClient to the get device live tools ping params
func (*GetDeviceLiveToolsPingParams) WithID ¶
func (o *GetDeviceLiveToolsPingParams) WithID(id string) *GetDeviceLiveToolsPingParams
WithID adds the id to the get device live tools ping params
func (*GetDeviceLiveToolsPingParams) WithSerial ¶
func (o *GetDeviceLiveToolsPingParams) WithSerial(serial string) *GetDeviceLiveToolsPingParams
WithSerial adds the serial to the get device live tools ping params
func (*GetDeviceLiveToolsPingParams) WithTimeout ¶
func (o *GetDeviceLiveToolsPingParams) WithTimeout(timeout time.Duration) *GetDeviceLiveToolsPingParams
WithTimeout adds the timeout to the get device live tools ping params
func (*GetDeviceLiveToolsPingParams) WriteToRequest ¶
func (o *GetDeviceLiveToolsPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeviceLldpCdpParams) WithContext(ctx context.Context) *GetDeviceLldpCdpParams
WithContext adds the context to the get device lldp cdp params
func (*GetDeviceLldpCdpParams) WithDefaults ¶
func (o *GetDeviceLldpCdpParams) WithDefaults() *GetDeviceLldpCdpParams
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 ¶
func (o *GetDeviceLldpCdpParams) WithTimeout(timeout time.Duration) *GetDeviceLldpCdpParams
WithTimeout adds the timeout to the get device lldp cdp params
func (*GetDeviceLldpCdpParams) WriteToRequest ¶
func (o *GetDeviceLldpCdpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeviceLossAndLatencyHistoryOK) Code() int
Code gets the status code for the get device loss and latency history o k response
func (*GetDeviceLossAndLatencyHistoryOK) Error ¶
func (o *GetDeviceLossAndLatencyHistoryOK) Error() string
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 ¶
func (o *GetDeviceLossAndLatencyHistoryOK) String() 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 ¶
func (o *GetDeviceLossAndLatencyHistoryParams) SetContext(ctx context.Context)
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 ¶
func (o *GetDeviceLossAndLatencyHistoryParams) SetIP(ip string)
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 ¶
func (o *GetDeviceLossAndLatencyHistoryParams) SetT0(t0 *string)
SetT0 adds the t0 to the get device loss and latency history params
func (*GetDeviceLossAndLatencyHistoryParams) SetT1 ¶
func (o *GetDeviceLossAndLatencyHistoryParams) SetT1(t1 *string)
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 (*GetDeviceLossAndLatencyHistoryParams) SetUplink ¶
func (o *GetDeviceLossAndLatencyHistoryParams) SetUplink(uplink *string)
SetUplink adds the uplink to the get device loss and latency history params
func (*GetDeviceLossAndLatencyHistoryParams) WithContext ¶
func (o *GetDeviceLossAndLatencyHistoryParams) WithContext(ctx context.Context) *GetDeviceLossAndLatencyHistoryParams
WithContext adds the context to the get device loss and latency history params
func (*GetDeviceLossAndLatencyHistoryParams) WithDefaults ¶
func (o *GetDeviceLossAndLatencyHistoryParams) WithDefaults() *GetDeviceLossAndLatencyHistoryParams
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 ¶
func (o *GetDeviceLossAndLatencyHistoryParams) WithHTTPClient(client *http.Client) *GetDeviceLossAndLatencyHistoryParams
WithHTTPClient adds the HTTPClient to the get device loss and latency history params
func (*GetDeviceLossAndLatencyHistoryParams) WithIP ¶
func (o *GetDeviceLossAndLatencyHistoryParams) WithIP(ip string) *GetDeviceLossAndLatencyHistoryParams
WithIP adds the ip to the get device loss and latency history params
func (*GetDeviceLossAndLatencyHistoryParams) WithResolution ¶
func (o *GetDeviceLossAndLatencyHistoryParams) WithResolution(resolution *int64) *GetDeviceLossAndLatencyHistoryParams
WithResolution adds the resolution to the get device loss and latency history params
func (*GetDeviceLossAndLatencyHistoryParams) WithSerial ¶
func (o *GetDeviceLossAndLatencyHistoryParams) WithSerial(serial string) *GetDeviceLossAndLatencyHistoryParams
WithSerial adds the serial to the get device loss and latency history params
func (*GetDeviceLossAndLatencyHistoryParams) WithT0 ¶
func (o *GetDeviceLossAndLatencyHistoryParams) WithT0(t0 *string) *GetDeviceLossAndLatencyHistoryParams
WithT0 adds the t0 to the get device loss and latency history params
func (*GetDeviceLossAndLatencyHistoryParams) WithT1 ¶
func (o *GetDeviceLossAndLatencyHistoryParams) WithT1(t1 *string) *GetDeviceLossAndLatencyHistoryParams
WithT1 adds the t1 to the get device loss and latency history params
func (*GetDeviceLossAndLatencyHistoryParams) WithTimeout ¶
func (o *GetDeviceLossAndLatencyHistoryParams) WithTimeout(timeout time.Duration) *GetDeviceLossAndLatencyHistoryParams
WithTimeout adds the timeout to the get device loss and latency history params
func (*GetDeviceLossAndLatencyHistoryParams) WithTimespan ¶
func (o *GetDeviceLossAndLatencyHistoryParams) WithTimespan(timespan *float32) *GetDeviceLossAndLatencyHistoryParams
WithTimespan adds the timespan to the get device loss and latency history params
func (*GetDeviceLossAndLatencyHistoryParams) WithUplink ¶
func (o *GetDeviceLossAndLatencyHistoryParams) WithUplink(uplink *string) *GetDeviceLossAndLatencyHistoryParams
WithUplink adds the uplink to the get device loss and latency history params
func (*GetDeviceLossAndLatencyHistoryParams) WriteToRequest ¶
func (o *GetDeviceLossAndLatencyHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeviceManagementInterfaceOK) Code() int
Code gets the status code for the get device management interface o k response
func (*GetDeviceManagementInterfaceOK) Error ¶
func (o *GetDeviceManagementInterfaceOK) Error() string
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 ¶
func (o *GetDeviceManagementInterfaceOK) String() 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 ¶
func (o *GetDeviceManagementInterfaceParams) SetContext(ctx context.Context)
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 ¶
func (o *GetDeviceManagementInterfaceParams) WithContext(ctx context.Context) *GetDeviceManagementInterfaceParams
WithContext adds the context to the get device management interface params
func (*GetDeviceManagementInterfaceParams) WithDefaults ¶
func (o *GetDeviceManagementInterfaceParams) WithDefaults() *GetDeviceManagementInterfaceParams
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 ¶
func (o *GetDeviceManagementInterfaceParams) WithHTTPClient(client *http.Client) *GetDeviceManagementInterfaceParams
WithHTTPClient adds the HTTPClient to the get device management interface params
func (*GetDeviceManagementInterfaceParams) WithSerial ¶
func (o *GetDeviceManagementInterfaceParams) WithSerial(serial string) *GetDeviceManagementInterfaceParams
WithSerial adds the serial to the get device management interface params
func (*GetDeviceManagementInterfaceParams) WithTimeout ¶
func (o *GetDeviceManagementInterfaceParams) WithTimeout(timeout time.Duration) *GetDeviceManagementInterfaceParams
WithTimeout adds the timeout to the get device management interface params
func (*GetDeviceManagementInterfaceParams) WriteToRequest ¶
func (o *GetDeviceManagementInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *RebootDeviceAccepted) GetPayload() *RebootDeviceAcceptedBody
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
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 ¶
func (o *RebootDeviceParams) WithContext(ctx context.Context) *RebootDeviceParams
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 ¶
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
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
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 (o *UpdateDeviceCellularSimsOK) Error() string
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 ¶
func (o *UpdateDeviceCellularSimsParams) WithContext(ctx context.Context) *UpdateDeviceCellularSimsParams
WithContext adds the context to the update device cellular sims params
func (*UpdateDeviceCellularSimsParams) WithDefaults ¶
func (o *UpdateDeviceCellularSimsParams) WithDefaults() *UpdateDeviceCellularSimsParams
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 ¶
func (o *UpdateDeviceCellularSimsParams) WithHTTPClient(client *http.Client) *UpdateDeviceCellularSimsParams
WithHTTPClient adds the HTTPClient to the update device cellular sims params
func (*UpdateDeviceCellularSimsParams) WithSerial ¶
func (o *UpdateDeviceCellularSimsParams) WithSerial(serial string) *UpdateDeviceCellularSimsParams
WithSerial adds the serial to the update device cellular sims params
func (*UpdateDeviceCellularSimsParams) WithTimeout ¶
func (o *UpdateDeviceCellularSimsParams) WithTimeout(timeout time.Duration) *UpdateDeviceCellularSimsParams
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 ¶
func (o *UpdateDeviceCellularSimsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateDeviceCellularSimsParamsBodySimFailover) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device cellular sims params body sim failover based on context it is used
func (*UpdateDeviceCellularSimsParamsBodySimFailover) MarshalBinary ¶
func (o *UpdateDeviceCellularSimsParamsBodySimFailover) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceCellularSimsParamsBodySimFailover) UnmarshalBinary ¶
func (o *UpdateDeviceCellularSimsParamsBodySimFailover) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateDeviceCellularSimsParamsBodySimsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update device cellular sims params body sims items0 based on the context it is used
func (*UpdateDeviceCellularSimsParamsBodySimsItems0) MarshalBinary ¶
func (o *UpdateDeviceCellularSimsParamsBodySimsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceCellularSimsParamsBodySimsItems0) UnmarshalBinary ¶
func (o *UpdateDeviceCellularSimsParamsBodySimsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update device cellular sims params body sims items0 apns items0 based on the context it is used
func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) MarshalBinary ¶
func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) UnmarshalBinary ¶
func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device cellular sims params body sims items0 apns items0 authentication based on context it is used
func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) MarshalBinary ¶
func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) UnmarshalBinary ¶
func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) Validate ¶
func (o *UpdateDeviceCellularSimsParamsBodySimsItems0ApnsItems0Authentication) Validate(formats strfmt.Registry) error
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
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 ¶
func (o *UpdateDeviceManagementInterfaceOK) Code() int
Code gets the status code for the update device management interface o k response
func (*UpdateDeviceManagementInterfaceOK) Error ¶
func (o *UpdateDeviceManagementInterfaceOK) Error() string
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 ¶
func (o *UpdateDeviceManagementInterfaceOK) String() 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 ¶
func (o *UpdateDeviceManagementInterfaceParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateDeviceManagementInterfaceParams) WithContext(ctx context.Context) *UpdateDeviceManagementInterfaceParams
WithContext adds the context to the update device management interface params
func (*UpdateDeviceManagementInterfaceParams) WithDefaults ¶
func (o *UpdateDeviceManagementInterfaceParams) WithDefaults() *UpdateDeviceManagementInterfaceParams
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 ¶
func (o *UpdateDeviceManagementInterfaceParams) WithHTTPClient(client *http.Client) *UpdateDeviceManagementInterfaceParams
WithHTTPClient adds the HTTPClient to the update device management interface params
func (*UpdateDeviceManagementInterfaceParams) WithSerial ¶
func (o *UpdateDeviceManagementInterfaceParams) WithSerial(serial string) *UpdateDeviceManagementInterfaceParams
WithSerial adds the serial to the update device management interface params
func (*UpdateDeviceManagementInterfaceParams) WithTimeout ¶
func (o *UpdateDeviceManagementInterfaceParams) WithTimeout(timeout time.Duration) *UpdateDeviceManagementInterfaceParams
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 ¶
func (o *UpdateDeviceManagementInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateDeviceManagementInterfaceParamsBodyWan1) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device management interface params body wan1 based on context it is used
func (*UpdateDeviceManagementInterfaceParamsBodyWan1) MarshalBinary ¶
func (o *UpdateDeviceManagementInterfaceParamsBodyWan1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceManagementInterfaceParamsBodyWan1) UnmarshalBinary ¶
func (o *UpdateDeviceManagementInterfaceParamsBodyWan1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateDeviceManagementInterfaceParamsBodyWan2) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device management interface params body wan2 based on context it is used
func (*UpdateDeviceManagementInterfaceParamsBodyWan2) MarshalBinary ¶
func (o *UpdateDeviceManagementInterfaceParamsBodyWan2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceManagementInterfaceParamsBodyWan2) UnmarshalBinary ¶
func (o *UpdateDeviceManagementInterfaceParamsBodyWan2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateDeviceParams) WithContext(ctx context.Context) *UpdateDeviceParams
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.
Source Files
¶
- blink_device_leds_parameters.go
- blink_device_leds_responses.go
- create_device_live_tools_ping_device_parameters.go
- create_device_live_tools_ping_device_responses.go
- create_device_live_tools_ping_parameters.go
- create_device_live_tools_ping_responses.go
- devices_client.go
- get_device_cellular_sims_parameters.go
- get_device_cellular_sims_responses.go
- get_device_clients_parameters.go
- get_device_clients_responses.go
- get_device_live_tools_ping_device_parameters.go
- get_device_live_tools_ping_device_responses.go
- get_device_live_tools_ping_parameters.go
- get_device_live_tools_ping_responses.go
- get_device_lldp_cdp_parameters.go
- get_device_lldp_cdp_responses.go
- get_device_loss_and_latency_history_parameters.go
- get_device_loss_and_latency_history_responses.go
- get_device_management_interface_parameters.go
- get_device_management_interface_responses.go
- get_device_parameters.go
- get_device_responses.go
- reboot_device_parameters.go
- reboot_device_responses.go
- update_device_cellular_sims_parameters.go
- update_device_cellular_sims_responses.go
- update_device_management_interface_parameters.go
- update_device_management_interface_responses.go
- update_device_parameters.go
- update_device_responses.go