Documentation
¶
Index ¶
- Constants
- type BlinkDeviceLedsAccepted
- 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) 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) 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
- 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
- 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 GetDeviceClientsOK
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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 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
- 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
- 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 ( // UpdateDeviceManagementInterfaceParamsBodyWan1WanEnabledEnabled captures enum value "enabled" UpdateDeviceManagementInterfaceParamsBodyWan1WanEnabledEnabled string = "enabled" // UpdateDeviceManagementInterfaceParamsBodyWan1WanEnabledDisabled captures enum value "disabled" UpdateDeviceManagementInterfaceParamsBodyWan1WanEnabledDisabled string = "disabled" // UpdateDeviceManagementInterfaceParamsBodyWan1WanEnabledNotConfigured captures enum value "not configured" UpdateDeviceManagementInterfaceParamsBodyWan1WanEnabledNotConfigured string = "not configured" )
const ( // UpdateDeviceManagementInterfaceParamsBodyWan2WanEnabledEnabled captures enum value "enabled" UpdateDeviceManagementInterfaceParamsBodyWan2WanEnabledEnabled string = "enabled" // UpdateDeviceManagementInterfaceParamsBodyWan2WanEnabledDisabled captures enum value "disabled" UpdateDeviceManagementInterfaceParamsBodyWan2WanEnabledDisabled string = "disabled" // UpdateDeviceManagementInterfaceParamsBodyWan2WanEnabledNotConfigured captures enum value "not configured" UpdateDeviceManagementInterfaceParamsBodyWan2WanEnabledNotConfigured string = "not configured" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlinkDeviceLedsAccepted ¶
type BlinkDeviceLedsAccepted struct {
Payload interface{}
}
BlinkDeviceLedsAccepted describes a response with status code 202, with default header values.
Successful operation
func NewBlinkDeviceLedsAccepted ¶
func NewBlinkDeviceLedsAccepted() *BlinkDeviceLedsAccepted
NewBlinkDeviceLedsAccepted creates a BlinkDeviceLedsAccepted with default headers values
func (*BlinkDeviceLedsAccepted) Error ¶
func (o *BlinkDeviceLedsAccepted) Error() string
func (*BlinkDeviceLedsAccepted) GetPayload ¶
func (o *BlinkDeviceLedsAccepted) GetPayload() interface{}
type BlinkDeviceLedsBody ¶
type BlinkDeviceLedsBody struct { // The duration in seconds. Must be between 5 and 120. Default is 20 seconds Duration int64 `json:"duration,omitempty"` // The duty cycle as the percent active. Must be between 10 and 90. Default is 50. Duty int64 `json:"duty,omitempty"` // The period in milliseconds. Must be between 100 and 1000. Default is 160 milliseconds Period int64 `json:"period,omitempty"` }
BlinkDeviceLedsBody blink device leds body // Example: {"duration":20,"duty":50,"period":160} swagger:model BlinkDeviceLedsBody
func (*BlinkDeviceLedsBody) ContextValidate ¶
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 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) GetDeviceClients ¶
func (a *Client) GetDeviceClients(params *GetDeviceClientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceClientsOK, error)
GetDeviceClients lists the clients of a device up to a maximum of a month ago
List the clients of a device, up to a maximum of a month ago. The usage of each client is returned in kilobytes. If the device is a switch, the switchport is returned; otherwise the switchport field is null.
func (*Client) GetDeviceLiveToolsPing ¶
func (a *Client) GetDeviceLiveToolsPing(params *GetDeviceLiveToolsPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLiveToolsPingOK, error)
GetDeviceLiveToolsPing returns a ping job
Return a ping job. Latency unit in response is in milliseconds. Size is in bytes.
func (*Client) GetDeviceLiveToolsPingDevice ¶
func (a *Client) GetDeviceLiveToolsPingDevice(params *GetDeviceLiveToolsPingDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLiveToolsPingDeviceOK, error)
GetDeviceLiveToolsPingDevice returns a ping job
Return a ping job. Latency unit in response is in milliseconds. Size is in bytes.
func (*Client) GetDeviceLldpCdp ¶
func (a *Client) GetDeviceLldpCdp(params *GetDeviceLldpCdpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLldpCdpOK, error)
GetDeviceLldpCdp lists l l d p and c d p information for a device
List LLDP and CDP information for a device
func (*Client) GetDeviceLossAndLatencyHistory ¶
func (a *Client) GetDeviceLossAndLatencyHistory(params *GetDeviceLossAndLatencyHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLossAndLatencyHistoryOK, error)
GetDeviceLossAndLatencyHistory gets the uplink loss percentage and latency in milliseconds and goodput in kilobits per second for a wired network device
Get the uplink loss percentage and latency in milliseconds, and goodput in kilobits per second for a wired network device.
func (*Client) GetDeviceManagementInterface ¶
func (a *Client) GetDeviceManagementInterface(params *GetDeviceManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceManagementInterfaceOK, error)
GetDeviceManagementInterface returns the management interface settings for a device
Return the management interface settings for a device
func (*Client) RebootDevice ¶
func (a *Client) RebootDevice(params *RebootDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RebootDeviceAccepted, error)
RebootDevice reboots a device
Reboot a device
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDevice ¶
func (a *Client) UpdateDevice(params *UpdateDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceOK, error)
UpdateDevice updates the attributes of a device
Update the attributes of a device
func (*Client) UpdateDeviceManagementInterface ¶
func (a *Client) UpdateDeviceManagementInterface(params *UpdateDeviceManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceManagementInterfaceOK, error)
UpdateDeviceManagementInterface updates the management interface settings for a device
Update the management interface settings for a device
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { BlinkDeviceLeds(params *BlinkDeviceLedsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BlinkDeviceLedsAccepted, error) CreateDeviceLiveToolsPing(params *CreateDeviceLiveToolsPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeviceLiveToolsPingCreated, error) CreateDeviceLiveToolsPingDevice(params *CreateDeviceLiveToolsPingDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeviceLiveToolsPingDeviceCreated, error) GetDevice(params *GetDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceOK, error) GetDeviceClients(params *GetDeviceClientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceClientsOK, error) GetDeviceLiveToolsPing(params *GetDeviceLiveToolsPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLiveToolsPingOK, error) GetDeviceLiveToolsPingDevice(params *GetDeviceLiveToolsPingDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLiveToolsPingDeviceOK, error) GetDeviceLldpCdp(params *GetDeviceLldpCdpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLldpCdpOK, error) GetDeviceLossAndLatencyHistory(params *GetDeviceLossAndLatencyHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceLossAndLatencyHistoryOK, error) GetDeviceManagementInterface(params *GetDeviceManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceManagementInterfaceOK, error) RebootDevice(params *RebootDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RebootDeviceAccepted, error) UpdateDevice(params *UpdateDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceOK, error) UpdateDeviceManagementInterface(params *UpdateDeviceManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceManagementInterfaceOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new devices API client.
type CreateDeviceLiveToolsPingBody ¶
type CreateDeviceLiveToolsPingBody struct { // Count parameter to pass to ping. [1..5], default 5 Count int64 `json:"count,omitempty"` // FQDN, IPv4 or IPv6 address // Required: true Target *string `json:"target"` }
CreateDeviceLiveToolsPingBody create device live tools ping body // Example: {"count":2,"target":"75.75.75.75"} swagger:model CreateDeviceLiveToolsPingBody
func (*CreateDeviceLiveToolsPingBody) ContextValidate ¶
func (o *CreateDeviceLiveToolsPingBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create device live tools ping body based on context it is used
func (*CreateDeviceLiveToolsPingBody) MarshalBinary ¶
func (o *CreateDeviceLiveToolsPingBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDeviceLiveToolsPingBody) UnmarshalBinary ¶
func (o *CreateDeviceLiveToolsPingBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDeviceLiveToolsPingCreated ¶
type CreateDeviceLiveToolsPingCreated struct {
Payload interface{}
}
CreateDeviceLiveToolsPingCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateDeviceLiveToolsPingCreated ¶
func NewCreateDeviceLiveToolsPingCreated() *CreateDeviceLiveToolsPingCreated
NewCreateDeviceLiveToolsPingCreated creates a CreateDeviceLiveToolsPingCreated with default headers values
func (*CreateDeviceLiveToolsPingCreated) Error ¶
func (o *CreateDeviceLiveToolsPingCreated) Error() string
func (*CreateDeviceLiveToolsPingCreated) GetPayload ¶
func (o *CreateDeviceLiveToolsPingCreated) GetPayload() interface{}
type CreateDeviceLiveToolsPingDeviceBody ¶
type CreateDeviceLiveToolsPingDeviceBody struct { // Count parameter to pass to ping. [1..5], default 5 Count int64 `json:"count,omitempty"` }
CreateDeviceLiveToolsPingDeviceBody create device live tools ping device body // Example: {"pingId":"1","request":{"count":2,"serial":"Q234-ABCD-5678","target":"75.75.75.75"},"results":{"latencies":{"average":15.8,"maximum":15.9,"minimum":15.8},"loss":{"percentage":0},"received":5,"replies":[{"latency":15.7,"sequenceId":1,"size":84},{"latency":15.9,"sequenceId":0,"size":84}],"sent":5},"status":"complete","url":"/devices/SERIAL/liveTools/ping/1284392014819"} swagger:model CreateDeviceLiveToolsPingDeviceBody
func (*CreateDeviceLiveToolsPingDeviceBody) ContextValidate ¶
func (o *CreateDeviceLiveToolsPingDeviceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create device live tools ping device body based on context it is used
func (*CreateDeviceLiveToolsPingDeviceBody) MarshalBinary ¶
func (o *CreateDeviceLiveToolsPingDeviceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDeviceLiveToolsPingDeviceBody) UnmarshalBinary ¶
func (o *CreateDeviceLiveToolsPingDeviceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDeviceLiveToolsPingDeviceCreated ¶
type CreateDeviceLiveToolsPingDeviceCreated struct {
Payload interface{}
}
CreateDeviceLiveToolsPingDeviceCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateDeviceLiveToolsPingDeviceCreated ¶
func NewCreateDeviceLiveToolsPingDeviceCreated() *CreateDeviceLiveToolsPingDeviceCreated
NewCreateDeviceLiveToolsPingDeviceCreated creates a CreateDeviceLiveToolsPingDeviceCreated with default headers values
func (*CreateDeviceLiveToolsPingDeviceCreated) Error ¶
func (o *CreateDeviceLiveToolsPingDeviceCreated) Error() string
func (*CreateDeviceLiveToolsPingDeviceCreated) GetPayload ¶
func (o *CreateDeviceLiveToolsPingDeviceCreated) GetPayload() interface{}
type CreateDeviceLiveToolsPingDeviceParams ¶
type CreateDeviceLiveToolsPingDeviceParams struct { // CreateDeviceLiveToolsPingDevice. CreateDeviceLiveToolsPingDevice CreateDeviceLiveToolsPingDeviceBody // Serial. Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDeviceLiveToolsPingDeviceParams contains all the parameters to send to the API endpoint
for the create device live tools ping device operation. Typically these are written to a http.Request.
func NewCreateDeviceLiveToolsPingDeviceParams ¶
func NewCreateDeviceLiveToolsPingDeviceParams() *CreateDeviceLiveToolsPingDeviceParams
NewCreateDeviceLiveToolsPingDeviceParams creates a new CreateDeviceLiveToolsPingDeviceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateDeviceLiveToolsPingDeviceParamsWithContext ¶
func NewCreateDeviceLiveToolsPingDeviceParamsWithContext(ctx context.Context) *CreateDeviceLiveToolsPingDeviceParams
NewCreateDeviceLiveToolsPingDeviceParamsWithContext creates a new CreateDeviceLiveToolsPingDeviceParams object with the ability to set a context for a request.
func NewCreateDeviceLiveToolsPingDeviceParamsWithHTTPClient ¶
func NewCreateDeviceLiveToolsPingDeviceParamsWithHTTPClient(client *http.Client) *CreateDeviceLiveToolsPingDeviceParams
NewCreateDeviceLiveToolsPingDeviceParamsWithHTTPClient creates a new CreateDeviceLiveToolsPingDeviceParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDeviceLiveToolsPingDeviceParamsWithTimeout ¶
func NewCreateDeviceLiveToolsPingDeviceParamsWithTimeout(timeout time.Duration) *CreateDeviceLiveToolsPingDeviceParams
NewCreateDeviceLiveToolsPingDeviceParamsWithTimeout creates a new CreateDeviceLiveToolsPingDeviceParams object with the ability to set a timeout on a request.
func (*CreateDeviceLiveToolsPingDeviceParams) SetContext ¶
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 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 GetDeviceClientsOK ¶
type GetDeviceClientsOK struct {
Payload []interface{}
}
GetDeviceClientsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceClientsOK ¶
func NewGetDeviceClientsOK() *GetDeviceClientsOK
NewGetDeviceClientsOK creates a GetDeviceClientsOK with default headers values
func (*GetDeviceClientsOK) Error ¶
func (o *GetDeviceClientsOK) Error() string
func (*GetDeviceClientsOK) GetPayload ¶
func (o *GetDeviceClientsOK) GetPayload() []interface{}
type GetDeviceClientsParams ¶
type GetDeviceClientsParams struct { // Serial. Serial string /* T0. The beginning of the timespan for the data. The maximum lookback period is 31 days from today. */ T0 *string /* Timespan. The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. Format: float */ Timespan *float32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceClientsParams contains all the parameters to send to the API endpoint
for the get device clients operation. Typically these are written to a http.Request.
func NewGetDeviceClientsParams ¶
func NewGetDeviceClientsParams() *GetDeviceClientsParams
NewGetDeviceClientsParams creates a new GetDeviceClientsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceClientsParamsWithContext ¶
func NewGetDeviceClientsParamsWithContext(ctx context.Context) *GetDeviceClientsParams
NewGetDeviceClientsParamsWithContext creates a new GetDeviceClientsParams object with the ability to set a context for a request.
func NewGetDeviceClientsParamsWithHTTPClient ¶
func NewGetDeviceClientsParamsWithHTTPClient(client *http.Client) *GetDeviceClientsParams
NewGetDeviceClientsParamsWithHTTPClient creates a new GetDeviceClientsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceClientsParamsWithTimeout ¶
func NewGetDeviceClientsParamsWithTimeout(timeout time.Duration) *GetDeviceClientsParams
NewGetDeviceClientsParamsWithTimeout creates a new GetDeviceClientsParams object with the ability to set a timeout on a request.
func (*GetDeviceClientsParams) SetContext ¶
func (o *GetDeviceClientsParams) SetContext(ctx context.Context)
SetContext adds the context to the get device clients params
func (*GetDeviceClientsParams) SetDefaults ¶
func (o *GetDeviceClientsParams) SetDefaults()
SetDefaults hydrates default values in the get device clients params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceClientsParams) SetHTTPClient ¶
func (o *GetDeviceClientsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device clients params
func (*GetDeviceClientsParams) SetSerial ¶
func (o *GetDeviceClientsParams) SetSerial(serial string)
SetSerial adds the serial to the get device clients params
func (*GetDeviceClientsParams) SetT0 ¶
func (o *GetDeviceClientsParams) SetT0(t0 *string)
SetT0 adds the t0 to the get device clients params
func (*GetDeviceClientsParams) SetTimeout ¶
func (o *GetDeviceClientsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device clients params
func (*GetDeviceClientsParams) SetTimespan ¶
func (o *GetDeviceClientsParams) SetTimespan(timespan *float32)
SetTimespan adds the timespan to the get device clients params
func (*GetDeviceClientsParams) WithContext ¶
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 interface{}
}
GetDeviceLiveToolsPingDeviceOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceLiveToolsPingDeviceOK ¶
func NewGetDeviceLiveToolsPingDeviceOK() *GetDeviceLiveToolsPingDeviceOK
NewGetDeviceLiveToolsPingDeviceOK creates a GetDeviceLiveToolsPingDeviceOK with default headers values
func (*GetDeviceLiveToolsPingDeviceOK) Error ¶
func (o *GetDeviceLiveToolsPingDeviceOK) Error() string
func (*GetDeviceLiveToolsPingDeviceOK) GetPayload ¶
func (o *GetDeviceLiveToolsPingDeviceOK) GetPayload() interface{}
type GetDeviceLiveToolsPingDeviceParams ¶
type GetDeviceLiveToolsPingDeviceParams struct { // ID. ID string // Serial. Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceLiveToolsPingDeviceParams contains all the parameters to send to the API endpoint
for the get device live tools ping device operation. Typically these are written to a http.Request.
func NewGetDeviceLiveToolsPingDeviceParams ¶
func NewGetDeviceLiveToolsPingDeviceParams() *GetDeviceLiveToolsPingDeviceParams
NewGetDeviceLiveToolsPingDeviceParams creates a new GetDeviceLiveToolsPingDeviceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceLiveToolsPingDeviceParamsWithContext ¶
func NewGetDeviceLiveToolsPingDeviceParamsWithContext(ctx context.Context) *GetDeviceLiveToolsPingDeviceParams
NewGetDeviceLiveToolsPingDeviceParamsWithContext creates a new GetDeviceLiveToolsPingDeviceParams object with the ability to set a context for a request.
func NewGetDeviceLiveToolsPingDeviceParamsWithHTTPClient ¶
func NewGetDeviceLiveToolsPingDeviceParamsWithHTTPClient(client *http.Client) *GetDeviceLiveToolsPingDeviceParams
NewGetDeviceLiveToolsPingDeviceParamsWithHTTPClient creates a new GetDeviceLiveToolsPingDeviceParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceLiveToolsPingDeviceParamsWithTimeout ¶
func NewGetDeviceLiveToolsPingDeviceParamsWithTimeout(timeout time.Duration) *GetDeviceLiveToolsPingDeviceParams
NewGetDeviceLiveToolsPingDeviceParamsWithTimeout creates a new GetDeviceLiveToolsPingDeviceParams object with the ability to set a timeout on a request.
func (*GetDeviceLiveToolsPingDeviceParams) SetContext ¶
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 interface{}
}
GetDeviceLiveToolsPingOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceLiveToolsPingOK ¶
func NewGetDeviceLiveToolsPingOK() *GetDeviceLiveToolsPingOK
NewGetDeviceLiveToolsPingOK creates a GetDeviceLiveToolsPingOK with default headers values
func (*GetDeviceLiveToolsPingOK) Error ¶
func (o *GetDeviceLiveToolsPingOK) Error() string
func (*GetDeviceLiveToolsPingOK) GetPayload ¶
func (o *GetDeviceLiveToolsPingOK) GetPayload() interface{}
type GetDeviceLiveToolsPingParams ¶
type GetDeviceLiveToolsPingParams struct { // ID. ID string // Serial. Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceLiveToolsPingParams contains all the parameters to send to the API endpoint
for the get device live tools ping operation. Typically these are written to a http.Request.
func NewGetDeviceLiveToolsPingParams ¶
func NewGetDeviceLiveToolsPingParams() *GetDeviceLiveToolsPingParams
NewGetDeviceLiveToolsPingParams creates a new GetDeviceLiveToolsPingParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceLiveToolsPingParamsWithContext ¶
func NewGetDeviceLiveToolsPingParamsWithContext(ctx context.Context) *GetDeviceLiveToolsPingParams
NewGetDeviceLiveToolsPingParamsWithContext creates a new GetDeviceLiveToolsPingParams object with the ability to set a context for a request.
func NewGetDeviceLiveToolsPingParamsWithHTTPClient ¶
func NewGetDeviceLiveToolsPingParamsWithHTTPClient(client *http.Client) *GetDeviceLiveToolsPingParams
NewGetDeviceLiveToolsPingParamsWithHTTPClient creates a new GetDeviceLiveToolsPingParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceLiveToolsPingParamsWithTimeout ¶
func NewGetDeviceLiveToolsPingParamsWithTimeout(timeout time.Duration) *GetDeviceLiveToolsPingParams
NewGetDeviceLiveToolsPingParamsWithTimeout creates a new GetDeviceLiveToolsPingParams object with the ability to set a timeout on a request.
func (*GetDeviceLiveToolsPingParams) SetContext ¶
func (o *GetDeviceLiveToolsPingParams) SetContext(ctx context.Context)
SetContext adds the context to the get device live tools ping params
func (*GetDeviceLiveToolsPingParams) SetDefaults ¶
func (o *GetDeviceLiveToolsPingParams) SetDefaults()
SetDefaults hydrates default values in the get device live tools ping params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceLiveToolsPingParams) SetHTTPClient ¶
func (o *GetDeviceLiveToolsPingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device live tools ping params
func (*GetDeviceLiveToolsPingParams) SetID ¶
func (o *GetDeviceLiveToolsPingParams) SetID(id string)
SetID adds the id to the get device live tools ping params
func (*GetDeviceLiveToolsPingParams) SetSerial ¶
func (o *GetDeviceLiveToolsPingParams) SetSerial(serial string)
SetSerial adds the serial to the get device live tools ping params
func (*GetDeviceLiveToolsPingParams) SetTimeout ¶
func (o *GetDeviceLiveToolsPingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device live tools ping params
func (*GetDeviceLiveToolsPingParams) WithContext ¶
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) Error ¶
func (o *GetDeviceLldpCdpOK) Error() string
func (*GetDeviceLldpCdpOK) GetPayload ¶
func (o *GetDeviceLldpCdpOK) GetPayload() interface{}
type GetDeviceLldpCdpParams ¶
type GetDeviceLldpCdpParams struct { // Serial. Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceLldpCdpParams contains all the parameters to send to the API endpoint
for the get device lldp cdp operation. Typically these are written to a http.Request.
func NewGetDeviceLldpCdpParams ¶
func NewGetDeviceLldpCdpParams() *GetDeviceLldpCdpParams
NewGetDeviceLldpCdpParams creates a new GetDeviceLldpCdpParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceLldpCdpParamsWithContext ¶
func NewGetDeviceLldpCdpParamsWithContext(ctx context.Context) *GetDeviceLldpCdpParams
NewGetDeviceLldpCdpParamsWithContext creates a new GetDeviceLldpCdpParams object with the ability to set a context for a request.
func NewGetDeviceLldpCdpParamsWithHTTPClient ¶
func NewGetDeviceLldpCdpParamsWithHTTPClient(client *http.Client) *GetDeviceLldpCdpParams
NewGetDeviceLldpCdpParamsWithHTTPClient creates a new GetDeviceLldpCdpParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceLldpCdpParamsWithTimeout ¶
func NewGetDeviceLldpCdpParamsWithTimeout(timeout time.Duration) *GetDeviceLldpCdpParams
NewGetDeviceLldpCdpParamsWithTimeout creates a new GetDeviceLldpCdpParams object with the ability to set a timeout on a request.
func (*GetDeviceLldpCdpParams) SetContext ¶
func (o *GetDeviceLldpCdpParams) SetContext(ctx context.Context)
SetContext adds the context to the get device lldp cdp params
func (*GetDeviceLldpCdpParams) SetDefaults ¶
func (o *GetDeviceLldpCdpParams) SetDefaults()
SetDefaults hydrates default values in the get device lldp cdp params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceLldpCdpParams) SetHTTPClient ¶
func (o *GetDeviceLldpCdpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device lldp cdp params
func (*GetDeviceLldpCdpParams) SetSerial ¶
func (o *GetDeviceLldpCdpParams) SetSerial(serial string)
SetSerial adds the serial to the get device lldp cdp params
func (*GetDeviceLldpCdpParams) SetTimeout ¶
func (o *GetDeviceLldpCdpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device lldp cdp params
func (*GetDeviceLldpCdpParams) WithContext ¶
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) Error ¶
func (o *GetDeviceLossAndLatencyHistoryOK) Error() string
func (*GetDeviceLossAndLatencyHistoryOK) GetPayload ¶
func (o *GetDeviceLossAndLatencyHistoryOK) GetPayload() []interface{}
type GetDeviceLossAndLatencyHistoryParams ¶
type GetDeviceLossAndLatencyHistoryParams struct { /* IP. The destination IP used to obtain the requested stats. This is required. */ IP string /* Resolution. The time resolution in seconds for returned data. The valid resolutions are: 60, 600, 3600, 86400. The default is 60. */ Resolution *int64 // Serial. Serial string /* T0. The beginning of the timespan for the data. The maximum lookback period is 365 days from today. */ T0 *string /* T1. The end of the timespan for the data. t1 can be a maximum of 31 days after t0. */ T1 *string /* Timespan. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. Format: float */ Timespan *float32 /* Uplink. The WAN uplink used to obtain the requested stats. Valid uplinks are wan1, wan2, cellular. The default is wan1. */ Uplink *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceLossAndLatencyHistoryParams contains all the parameters to send to the API endpoint
for the get device loss and latency history operation. Typically these are written to a http.Request.
func NewGetDeviceLossAndLatencyHistoryParams ¶
func NewGetDeviceLossAndLatencyHistoryParams() *GetDeviceLossAndLatencyHistoryParams
NewGetDeviceLossAndLatencyHistoryParams creates a new GetDeviceLossAndLatencyHistoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceLossAndLatencyHistoryParamsWithContext ¶
func NewGetDeviceLossAndLatencyHistoryParamsWithContext(ctx context.Context) *GetDeviceLossAndLatencyHistoryParams
NewGetDeviceLossAndLatencyHistoryParamsWithContext creates a new GetDeviceLossAndLatencyHistoryParams object with the ability to set a context for a request.
func NewGetDeviceLossAndLatencyHistoryParamsWithHTTPClient ¶
func NewGetDeviceLossAndLatencyHistoryParamsWithHTTPClient(client *http.Client) *GetDeviceLossAndLatencyHistoryParams
NewGetDeviceLossAndLatencyHistoryParamsWithHTTPClient creates a new GetDeviceLossAndLatencyHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceLossAndLatencyHistoryParamsWithTimeout ¶
func NewGetDeviceLossAndLatencyHistoryParamsWithTimeout(timeout time.Duration) *GetDeviceLossAndLatencyHistoryParams
NewGetDeviceLossAndLatencyHistoryParamsWithTimeout creates a new GetDeviceLossAndLatencyHistoryParams object with the ability to set a timeout on a request.
func (*GetDeviceLossAndLatencyHistoryParams) SetContext ¶
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) Error ¶
func (o *GetDeviceManagementInterfaceOK) Error() string
func (*GetDeviceManagementInterfaceOK) GetPayload ¶
func (o *GetDeviceManagementInterfaceOK) GetPayload() interface{}
type GetDeviceManagementInterfaceParams ¶
type GetDeviceManagementInterfaceParams struct { // Serial. Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceManagementInterfaceParams contains all the parameters to send to the API endpoint
for the get device management interface operation. Typically these are written to a http.Request.
func NewGetDeviceManagementInterfaceParams ¶
func NewGetDeviceManagementInterfaceParams() *GetDeviceManagementInterfaceParams
NewGetDeviceManagementInterfaceParams creates a new GetDeviceManagementInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceManagementInterfaceParamsWithContext ¶
func NewGetDeviceManagementInterfaceParamsWithContext(ctx context.Context) *GetDeviceManagementInterfaceParams
NewGetDeviceManagementInterfaceParamsWithContext creates a new GetDeviceManagementInterfaceParams object with the ability to set a context for a request.
func NewGetDeviceManagementInterfaceParamsWithHTTPClient ¶
func NewGetDeviceManagementInterfaceParamsWithHTTPClient(client *http.Client) *GetDeviceManagementInterfaceParams
NewGetDeviceManagementInterfaceParamsWithHTTPClient creates a new GetDeviceManagementInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceManagementInterfaceParamsWithTimeout ¶
func NewGetDeviceManagementInterfaceParamsWithTimeout(timeout time.Duration) *GetDeviceManagementInterfaceParams
NewGetDeviceManagementInterfaceParamsWithTimeout creates a new GetDeviceManagementInterfaceParams object with the ability to set a timeout on a request.
func (*GetDeviceManagementInterfaceParams) SetContext ¶
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) Error ¶
func (o *GetDeviceOK) Error() string
func (*GetDeviceOK) GetPayload ¶
func (o *GetDeviceOK) GetPayload() interface{}
type GetDeviceParams ¶
type GetDeviceParams struct { // Serial. Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceParams contains all the parameters to send to the API endpoint
for the get device operation. Typically these are written to a http.Request.
func NewGetDeviceParams ¶
func NewGetDeviceParams() *GetDeviceParams
NewGetDeviceParams creates a new GetDeviceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceParamsWithContext ¶
func NewGetDeviceParamsWithContext(ctx context.Context) *GetDeviceParams
NewGetDeviceParamsWithContext creates a new GetDeviceParams object with the ability to set a context for a request.
func NewGetDeviceParamsWithHTTPClient ¶
func NewGetDeviceParamsWithHTTPClient(client *http.Client) *GetDeviceParams
NewGetDeviceParamsWithHTTPClient creates a new GetDeviceParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceParamsWithTimeout ¶
func NewGetDeviceParamsWithTimeout(timeout time.Duration) *GetDeviceParams
NewGetDeviceParamsWithTimeout creates a new GetDeviceParams object with the ability to set a timeout on a request.
func (*GetDeviceParams) SetContext ¶
func (o *GetDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the get device params
func (*GetDeviceParams) SetDefaults ¶
func (o *GetDeviceParams) SetDefaults()
SetDefaults hydrates default values in the get device params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceParams) SetHTTPClient ¶
func (o *GetDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device params
func (*GetDeviceParams) SetSerial ¶
func (o *GetDeviceParams) SetSerial(serial string)
SetSerial adds the serial to the get device params
func (*GetDeviceParams) SetTimeout ¶
func (o *GetDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device params
func (*GetDeviceParams) WithContext ¶
func (o *GetDeviceParams) WithContext(ctx context.Context) *GetDeviceParams
WithContext adds the context to the get device params
func (*GetDeviceParams) WithDefaults ¶
func (o *GetDeviceParams) WithDefaults() *GetDeviceParams
WithDefaults hydrates default values in the get device params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceParams) WithHTTPClient ¶
func (o *GetDeviceParams) WithHTTPClient(client *http.Client) *GetDeviceParams
WithHTTPClient adds the HTTPClient to the get device params
func (*GetDeviceParams) WithSerial ¶
func (o *GetDeviceParams) WithSerial(serial string) *GetDeviceParams
WithSerial adds the serial to the get device params
func (*GetDeviceParams) WithTimeout ¶
func (o *GetDeviceParams) WithTimeout(timeout time.Duration) *GetDeviceParams
WithTimeout adds the timeout to the get device params
func (*GetDeviceParams) WriteToRequest ¶
func (o *GetDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceReader ¶
type GetDeviceReader struct {
// contains filtered or unexported fields
}
GetDeviceReader is a Reader for the GetDevice structure.
func (*GetDeviceReader) ReadResponse ¶
func (o *GetDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RebootDeviceAccepted ¶
type RebootDeviceAccepted struct {
Payload interface{}
}
RebootDeviceAccepted describes a response with status code 202, with default header values.
Successful operation
func NewRebootDeviceAccepted ¶
func NewRebootDeviceAccepted() *RebootDeviceAccepted
NewRebootDeviceAccepted creates a RebootDeviceAccepted with default headers values
func (*RebootDeviceAccepted) Error ¶
func (o *RebootDeviceAccepted) Error() string
func (*RebootDeviceAccepted) GetPayload ¶
func (o *RebootDeviceAccepted) GetPayload() interface{}
type RebootDeviceParams ¶
type RebootDeviceParams struct { // Serial. Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RebootDeviceParams contains all the parameters to send to the API endpoint
for the reboot device operation. Typically these are written to a http.Request.
func NewRebootDeviceParams ¶
func NewRebootDeviceParams() *RebootDeviceParams
NewRebootDeviceParams creates a new RebootDeviceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRebootDeviceParamsWithContext ¶
func NewRebootDeviceParamsWithContext(ctx context.Context) *RebootDeviceParams
NewRebootDeviceParamsWithContext creates a new RebootDeviceParams object with the ability to set a context for a request.
func NewRebootDeviceParamsWithHTTPClient ¶
func NewRebootDeviceParamsWithHTTPClient(client *http.Client) *RebootDeviceParams
NewRebootDeviceParamsWithHTTPClient creates a new RebootDeviceParams object with the ability to set a custom HTTPClient for a request.
func NewRebootDeviceParamsWithTimeout ¶
func NewRebootDeviceParamsWithTimeout(timeout time.Duration) *RebootDeviceParams
NewRebootDeviceParamsWithTimeout creates a new RebootDeviceParams object with the ability to set a timeout on a request.
func (*RebootDeviceParams) SetContext ¶
func (o *RebootDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the reboot device params
func (*RebootDeviceParams) SetDefaults ¶
func (o *RebootDeviceParams) SetDefaults()
SetDefaults hydrates default values in the reboot device params (not the query body).
All values with no default are reset to their zero value.
func (*RebootDeviceParams) SetHTTPClient ¶
func (o *RebootDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reboot device params
func (*RebootDeviceParams) SetSerial ¶
func (o *RebootDeviceParams) SetSerial(serial string)
SetSerial adds the serial to the reboot device params
func (*RebootDeviceParams) SetTimeout ¶
func (o *RebootDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reboot device params
func (*RebootDeviceParams) WithContext ¶
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 profile to bind to the device (for available switch profiles, see the 'Switch Profiles' endpoint). Use null to unbind the switch device from the current profile. For a device to be bindable to a switch profile, it must (1) be a switch, and (2) belong to a network that is bound to a configuration template. SwitchProfileID string `json:"switchProfileId,omitempty"` // The list of tags of a device Tags []string `json:"tags"` }
UpdateDeviceBody update device body // Example: {"lat":37.4180951010362,"lng":-122.098531723022,"mac":"00:11:22:33:44:55","name":"My AP","serial":"Q234-ABCD-5678","tags":["recently-added"]} swagger:model UpdateDeviceBody
func (*UpdateDeviceBody) ContextValidate ¶
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 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) Error ¶
func (o *UpdateDeviceManagementInterfaceOK) Error() string
func (*UpdateDeviceManagementInterfaceOK) GetPayload ¶
func (o *UpdateDeviceManagementInterfaceOK) GetPayload() interface{}
type UpdateDeviceManagementInterfaceParams ¶
type UpdateDeviceManagementInterfaceParams struct { // Serial. Serial string // UpdateDeviceManagementInterface. UpdateDeviceManagementInterface UpdateDeviceManagementInterfaceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDeviceManagementInterfaceParams contains all the parameters to send to the API endpoint
for the update device management interface operation. Typically these are written to a http.Request.
func NewUpdateDeviceManagementInterfaceParams ¶
func NewUpdateDeviceManagementInterfaceParams() *UpdateDeviceManagementInterfaceParams
NewUpdateDeviceManagementInterfaceParams creates a new UpdateDeviceManagementInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateDeviceManagementInterfaceParamsWithContext ¶
func NewUpdateDeviceManagementInterfaceParamsWithContext(ctx context.Context) *UpdateDeviceManagementInterfaceParams
NewUpdateDeviceManagementInterfaceParamsWithContext creates a new UpdateDeviceManagementInterfaceParams object with the ability to set a context for a request.
func NewUpdateDeviceManagementInterfaceParamsWithHTTPClient ¶
func NewUpdateDeviceManagementInterfaceParamsWithHTTPClient(client *http.Client) *UpdateDeviceManagementInterfaceParams
NewUpdateDeviceManagementInterfaceParamsWithHTTPClient creates a new UpdateDeviceManagementInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDeviceManagementInterfaceParamsWithTimeout ¶
func NewUpdateDeviceManagementInterfaceParamsWithTimeout(timeout time.Duration) *UpdateDeviceManagementInterfaceParams
NewUpdateDeviceManagementInterfaceParamsWithTimeout creates a new UpdateDeviceManagementInterfaceParams object with the ability to set a timeout on a request.
func (*UpdateDeviceManagementInterfaceParams) SetContext ¶
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: [enabled disabled 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: [enabled disabled 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) Error ¶
func (o *UpdateDeviceOK) Error() string
func (*UpdateDeviceOK) GetPayload ¶
func (o *UpdateDeviceOK) GetPayload() interface{}
type UpdateDeviceParams ¶
type UpdateDeviceParams struct { // Serial. Serial string // UpdateDevice. UpdateDevice UpdateDeviceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDeviceParams contains all the parameters to send to the API endpoint
for the update device operation. Typically these are written to a http.Request.
func NewUpdateDeviceParams ¶
func NewUpdateDeviceParams() *UpdateDeviceParams
NewUpdateDeviceParams creates a new UpdateDeviceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateDeviceParamsWithContext ¶
func NewUpdateDeviceParamsWithContext(ctx context.Context) *UpdateDeviceParams
NewUpdateDeviceParamsWithContext creates a new UpdateDeviceParams object with the ability to set a context for a request.
func NewUpdateDeviceParamsWithHTTPClient ¶
func NewUpdateDeviceParamsWithHTTPClient(client *http.Client) *UpdateDeviceParams
NewUpdateDeviceParamsWithHTTPClient creates a new UpdateDeviceParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDeviceParamsWithTimeout ¶
func NewUpdateDeviceParamsWithTimeout(timeout time.Duration) *UpdateDeviceParams
NewUpdateDeviceParamsWithTimeout creates a new UpdateDeviceParams object with the ability to set a timeout on a request.
func (*UpdateDeviceParams) SetContext ¶
func (o *UpdateDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the update device params
func (*UpdateDeviceParams) SetDefaults ¶
func (o *UpdateDeviceParams) SetDefaults()
SetDefaults hydrates default values in the update device params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDeviceParams) SetHTTPClient ¶
func (o *UpdateDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update device params
func (*UpdateDeviceParams) SetSerial ¶
func (o *UpdateDeviceParams) SetSerial(serial string)
SetSerial adds the serial to the update device params
func (*UpdateDeviceParams) SetTimeout ¶
func (o *UpdateDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update device params
func (*UpdateDeviceParams) SetUpdateDevice ¶
func (o *UpdateDeviceParams) SetUpdateDevice(updateDevice UpdateDeviceBody)
SetUpdateDevice adds the updateDevice to the update device params
func (*UpdateDeviceParams) WithContext ¶
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_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_management_interface_parameters.go
- update_device_management_interface_responses.go
- update_device_parameters.go
- update_device_responses.go