Documentation ¶
Index ¶
- type Client
- func (a *Client) GetDeviceVersionedConfig(params *GetDeviceVersionedConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceVersionedConfigOK, error)
- func (a *Client) PatchDeviceCommandStatus(params *PatchDeviceCommandStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchDeviceCommandStatusOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetDeviceVersionedConfigBadRequest
- type GetDeviceVersionedConfigInternalServerError
- type GetDeviceVersionedConfigNotFound
- type GetDeviceVersionedConfigOK
- type GetDeviceVersionedConfigParams
- func NewGetDeviceVersionedConfigParams() *GetDeviceVersionedConfigParams
- func NewGetDeviceVersionedConfigParamsWithContext(ctx context.Context) *GetDeviceVersionedConfigParams
- func NewGetDeviceVersionedConfigParamsWithHTTPClient(client *http.Client) *GetDeviceVersionedConfigParams
- func NewGetDeviceVersionedConfigParamsWithTimeout(timeout time.Duration) *GetDeviceVersionedConfigParams
- func (o *GetDeviceVersionedConfigParams) SetContext(ctx context.Context)
- func (o *GetDeviceVersionedConfigParams) SetDefaults()
- func (o *GetDeviceVersionedConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceVersionedConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceVersionedConfigParams) SetVersionID(versionID int64)
- func (o *GetDeviceVersionedConfigParams) WithContext(ctx context.Context) *GetDeviceVersionedConfigParams
- func (o *GetDeviceVersionedConfigParams) WithDefaults() *GetDeviceVersionedConfigParams
- func (o *GetDeviceVersionedConfigParams) WithHTTPClient(client *http.Client) *GetDeviceVersionedConfigParams
- func (o *GetDeviceVersionedConfigParams) WithTimeout(timeout time.Duration) *GetDeviceVersionedConfigParams
- func (o *GetDeviceVersionedConfigParams) WithVersionID(versionID int64) *GetDeviceVersionedConfigParams
- func (o *GetDeviceVersionedConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceVersionedConfigReader
- type GetDeviceVersionedConfigTooManyRequests
- type GetDeviceVersionedConfigUnauthorized
- type PatchDeviceCommandStatusBadRequest
- type PatchDeviceCommandStatusInternalServerError
- type PatchDeviceCommandStatusNotFound
- type PatchDeviceCommandStatusOK
- type PatchDeviceCommandStatusParams
- func NewPatchDeviceCommandStatusParams() *PatchDeviceCommandStatusParams
- func NewPatchDeviceCommandStatusParamsWithContext(ctx context.Context) *PatchDeviceCommandStatusParams
- func NewPatchDeviceCommandStatusParamsWithHTTPClient(client *http.Client) *PatchDeviceCommandStatusParams
- func NewPatchDeviceCommandStatusParamsWithTimeout(timeout time.Duration) *PatchDeviceCommandStatusParams
- func (o *PatchDeviceCommandStatusParams) SetBody(body *models.PatchCommandStatus)
- func (o *PatchDeviceCommandStatusParams) SetCommandID(commandID string)
- func (o *PatchDeviceCommandStatusParams) SetContext(ctx context.Context)
- func (o *PatchDeviceCommandStatusParams) SetDefaults()
- func (o *PatchDeviceCommandStatusParams) SetDeviceID(deviceID int64)
- func (o *PatchDeviceCommandStatusParams) SetHTTPClient(client *http.Client)
- func (o *PatchDeviceCommandStatusParams) SetTimeout(timeout time.Duration)
- func (o *PatchDeviceCommandStatusParams) WithBody(body *models.PatchCommandStatus) *PatchDeviceCommandStatusParams
- func (o *PatchDeviceCommandStatusParams) WithCommandID(commandID string) *PatchDeviceCommandStatusParams
- func (o *PatchDeviceCommandStatusParams) WithContext(ctx context.Context) *PatchDeviceCommandStatusParams
- func (o *PatchDeviceCommandStatusParams) WithDefaults() *PatchDeviceCommandStatusParams
- func (o *PatchDeviceCommandStatusParams) WithDeviceID(deviceID int64) *PatchDeviceCommandStatusParams
- func (o *PatchDeviceCommandStatusParams) WithHTTPClient(client *http.Client) *PatchDeviceCommandStatusParams
- func (o *PatchDeviceCommandStatusParams) WithTimeout(timeout time.Duration) *PatchDeviceCommandStatusParams
- func (o *PatchDeviceCommandStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchDeviceCommandStatusReader
- type PatchDeviceCommandStatusTooManyRequests
- type PatchDeviceCommandStatusUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for devices API
func (*Client) GetDeviceVersionedConfig ¶
func (a *Client) GetDeviceVersionedConfig(params *GetDeviceVersionedConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceVersionedConfigOK, error)
GetDeviceVersionedConfig gets device versioned config
func (*Client) PatchDeviceCommandStatus ¶
func (a *Client) PatchDeviceCommandStatus(params *PatchDeviceCommandStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchDeviceCommandStatusOK, error)
PatchDeviceCommandStatus patches device command status
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetDeviceVersionedConfig(params *GetDeviceVersionedConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceVersionedConfigOK, error) PatchDeviceCommandStatus(params *PatchDeviceCommandStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchDeviceCommandStatusOK, 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 GetDeviceVersionedConfigBadRequest ¶
type GetDeviceVersionedConfigBadRequest struct {
Payload *models.ErrorResponse
}
GetDeviceVersionedConfigBadRequest describes a response with status code 400, with default header values.
Bad params suplied
func NewGetDeviceVersionedConfigBadRequest ¶
func NewGetDeviceVersionedConfigBadRequest() *GetDeviceVersionedConfigBadRequest
NewGetDeviceVersionedConfigBadRequest creates a GetDeviceVersionedConfigBadRequest with default headers values
func (*GetDeviceVersionedConfigBadRequest) Error ¶
func (o *GetDeviceVersionedConfigBadRequest) Error() string
func (*GetDeviceVersionedConfigBadRequest) GetPayload ¶
func (o *GetDeviceVersionedConfigBadRequest) GetPayload() *models.ErrorResponse
type GetDeviceVersionedConfigInternalServerError ¶
type GetDeviceVersionedConfigInternalServerError struct {
Payload *models.ErrorResponse
}
GetDeviceVersionedConfigInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetDeviceVersionedConfigInternalServerError ¶
func NewGetDeviceVersionedConfigInternalServerError() *GetDeviceVersionedConfigInternalServerError
NewGetDeviceVersionedConfigInternalServerError creates a GetDeviceVersionedConfigInternalServerError with default headers values
func (*GetDeviceVersionedConfigInternalServerError) Error ¶
func (o *GetDeviceVersionedConfigInternalServerError) Error() string
func (*GetDeviceVersionedConfigInternalServerError) GetPayload ¶
func (o *GetDeviceVersionedConfigInternalServerError) GetPayload() *models.ErrorResponse
type GetDeviceVersionedConfigNotFound ¶
type GetDeviceVersionedConfigNotFound struct {
Payload *models.ErrorResponse
}
GetDeviceVersionedConfigNotFound describes a response with status code 404, with default header values.
Tag not found
func NewGetDeviceVersionedConfigNotFound ¶
func NewGetDeviceVersionedConfigNotFound() *GetDeviceVersionedConfigNotFound
NewGetDeviceVersionedConfigNotFound creates a GetDeviceVersionedConfigNotFound with default headers values
func (*GetDeviceVersionedConfigNotFound) Error ¶
func (o *GetDeviceVersionedConfigNotFound) Error() string
func (*GetDeviceVersionedConfigNotFound) GetPayload ¶
func (o *GetDeviceVersionedConfigNotFound) GetPayload() *models.ErrorResponse
type GetDeviceVersionedConfigOK ¶
type GetDeviceVersionedConfigOK struct {
Payload *models.DeviceConfigVersionedObject
}
GetDeviceVersionedConfigOK describes a response with status code 200, with default header values.
OK
func NewGetDeviceVersionedConfigOK ¶
func NewGetDeviceVersionedConfigOK() *GetDeviceVersionedConfigOK
NewGetDeviceVersionedConfigOK creates a GetDeviceVersionedConfigOK with default headers values
func (*GetDeviceVersionedConfigOK) Error ¶
func (o *GetDeviceVersionedConfigOK) Error() string
func (*GetDeviceVersionedConfigOK) GetPayload ¶
func (o *GetDeviceVersionedConfigOK) GetPayload() *models.DeviceConfigVersionedObject
type GetDeviceVersionedConfigParams ¶
type GetDeviceVersionedConfigParams struct { /* VersionID. version ID */ VersionID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceVersionedConfigParams contains all the parameters to send to the API endpoint
for the get device versioned config operation. Typically these are written to a http.Request.
func NewGetDeviceVersionedConfigParams ¶
func NewGetDeviceVersionedConfigParams() *GetDeviceVersionedConfigParams
NewGetDeviceVersionedConfigParams creates a new GetDeviceVersionedConfigParams 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 NewGetDeviceVersionedConfigParamsWithContext ¶
func NewGetDeviceVersionedConfigParamsWithContext(ctx context.Context) *GetDeviceVersionedConfigParams
NewGetDeviceVersionedConfigParamsWithContext creates a new GetDeviceVersionedConfigParams object with the ability to set a context for a request.
func NewGetDeviceVersionedConfigParamsWithHTTPClient ¶
func NewGetDeviceVersionedConfigParamsWithHTTPClient(client *http.Client) *GetDeviceVersionedConfigParams
NewGetDeviceVersionedConfigParamsWithHTTPClient creates a new GetDeviceVersionedConfigParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceVersionedConfigParamsWithTimeout ¶
func NewGetDeviceVersionedConfigParamsWithTimeout(timeout time.Duration) *GetDeviceVersionedConfigParams
NewGetDeviceVersionedConfigParamsWithTimeout creates a new GetDeviceVersionedConfigParams object with the ability to set a timeout on a request.
func (*GetDeviceVersionedConfigParams) SetContext ¶
func (o *GetDeviceVersionedConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get device versioned config params
func (*GetDeviceVersionedConfigParams) SetDefaults ¶
func (o *GetDeviceVersionedConfigParams) SetDefaults()
SetDefaults hydrates default values in the get device versioned config params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceVersionedConfigParams) SetHTTPClient ¶
func (o *GetDeviceVersionedConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device versioned config params
func (*GetDeviceVersionedConfigParams) SetTimeout ¶
func (o *GetDeviceVersionedConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device versioned config params
func (*GetDeviceVersionedConfigParams) SetVersionID ¶
func (o *GetDeviceVersionedConfigParams) SetVersionID(versionID int64)
SetVersionID adds the versionId to the get device versioned config params
func (*GetDeviceVersionedConfigParams) WithContext ¶
func (o *GetDeviceVersionedConfigParams) WithContext(ctx context.Context) *GetDeviceVersionedConfigParams
WithContext adds the context to the get device versioned config params
func (*GetDeviceVersionedConfigParams) WithDefaults ¶
func (o *GetDeviceVersionedConfigParams) WithDefaults() *GetDeviceVersionedConfigParams
WithDefaults hydrates default values in the get device versioned config params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceVersionedConfigParams) WithHTTPClient ¶
func (o *GetDeviceVersionedConfigParams) WithHTTPClient(client *http.Client) *GetDeviceVersionedConfigParams
WithHTTPClient adds the HTTPClient to the get device versioned config params
func (*GetDeviceVersionedConfigParams) WithTimeout ¶
func (o *GetDeviceVersionedConfigParams) WithTimeout(timeout time.Duration) *GetDeviceVersionedConfigParams
WithTimeout adds the timeout to the get device versioned config params
func (*GetDeviceVersionedConfigParams) WithVersionID ¶
func (o *GetDeviceVersionedConfigParams) WithVersionID(versionID int64) *GetDeviceVersionedConfigParams
WithVersionID adds the versionID to the get device versioned config params
func (*GetDeviceVersionedConfigParams) WriteToRequest ¶
func (o *GetDeviceVersionedConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceVersionedConfigReader ¶
type GetDeviceVersionedConfigReader struct {
// contains filtered or unexported fields
}
GetDeviceVersionedConfigReader is a Reader for the GetDeviceVersionedConfig structure.
func (*GetDeviceVersionedConfigReader) ReadResponse ¶
func (o *GetDeviceVersionedConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceVersionedConfigTooManyRequests ¶
type GetDeviceVersionedConfigTooManyRequests struct {
Payload *models.ErrorResponse
}
GetDeviceVersionedConfigTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetDeviceVersionedConfigTooManyRequests ¶
func NewGetDeviceVersionedConfigTooManyRequests() *GetDeviceVersionedConfigTooManyRequests
NewGetDeviceVersionedConfigTooManyRequests creates a GetDeviceVersionedConfigTooManyRequests with default headers values
func (*GetDeviceVersionedConfigTooManyRequests) Error ¶
func (o *GetDeviceVersionedConfigTooManyRequests) Error() string
func (*GetDeviceVersionedConfigTooManyRequests) GetPayload ¶
func (o *GetDeviceVersionedConfigTooManyRequests) GetPayload() *models.ErrorResponse
type GetDeviceVersionedConfigUnauthorized ¶
type GetDeviceVersionedConfigUnauthorized struct {
}GetDeviceVersionedConfigUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetDeviceVersionedConfigUnauthorized ¶
func NewGetDeviceVersionedConfigUnauthorized() *GetDeviceVersionedConfigUnauthorized
NewGetDeviceVersionedConfigUnauthorized creates a GetDeviceVersionedConfigUnauthorized with default headers values
func (*GetDeviceVersionedConfigUnauthorized) Error ¶
func (o *GetDeviceVersionedConfigUnauthorized) Error() string
func (*GetDeviceVersionedConfigUnauthorized) GetPayload ¶
func (o *GetDeviceVersionedConfigUnauthorized) GetPayload() *models.ErrorResponse
type PatchDeviceCommandStatusBadRequest ¶
type PatchDeviceCommandStatusBadRequest struct {
Payload *models.ErrorResponse
}
PatchDeviceCommandStatusBadRequest describes a response with status code 400, with default header values.
Bad params suplied
func NewPatchDeviceCommandStatusBadRequest ¶
func NewPatchDeviceCommandStatusBadRequest() *PatchDeviceCommandStatusBadRequest
NewPatchDeviceCommandStatusBadRequest creates a PatchDeviceCommandStatusBadRequest with default headers values
func (*PatchDeviceCommandStatusBadRequest) Error ¶
func (o *PatchDeviceCommandStatusBadRequest) Error() string
func (*PatchDeviceCommandStatusBadRequest) GetPayload ¶
func (o *PatchDeviceCommandStatusBadRequest) GetPayload() *models.ErrorResponse
type PatchDeviceCommandStatusInternalServerError ¶
type PatchDeviceCommandStatusInternalServerError struct {
Payload *models.ErrorResponse
}
PatchDeviceCommandStatusInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPatchDeviceCommandStatusInternalServerError ¶
func NewPatchDeviceCommandStatusInternalServerError() *PatchDeviceCommandStatusInternalServerError
NewPatchDeviceCommandStatusInternalServerError creates a PatchDeviceCommandStatusInternalServerError with default headers values
func (*PatchDeviceCommandStatusInternalServerError) Error ¶
func (o *PatchDeviceCommandStatusInternalServerError) Error() string
func (*PatchDeviceCommandStatusInternalServerError) GetPayload ¶
func (o *PatchDeviceCommandStatusInternalServerError) GetPayload() *models.ErrorResponse
type PatchDeviceCommandStatusNotFound ¶
type PatchDeviceCommandStatusNotFound struct {
Payload *models.ErrorResponse
}
PatchDeviceCommandStatusNotFound describes a response with status code 404, with default header values.
Tag not found
func NewPatchDeviceCommandStatusNotFound ¶
func NewPatchDeviceCommandStatusNotFound() *PatchDeviceCommandStatusNotFound
NewPatchDeviceCommandStatusNotFound creates a PatchDeviceCommandStatusNotFound with default headers values
func (*PatchDeviceCommandStatusNotFound) Error ¶
func (o *PatchDeviceCommandStatusNotFound) Error() string
func (*PatchDeviceCommandStatusNotFound) GetPayload ¶
func (o *PatchDeviceCommandStatusNotFound) GetPayload() *models.ErrorResponse
type PatchDeviceCommandStatusOK ¶
type PatchDeviceCommandStatusOK struct { }
PatchDeviceCommandStatusOK describes a response with status code 200, with default header values.
OK
func NewPatchDeviceCommandStatusOK ¶
func NewPatchDeviceCommandStatusOK() *PatchDeviceCommandStatusOK
NewPatchDeviceCommandStatusOK creates a PatchDeviceCommandStatusOK with default headers values
func (*PatchDeviceCommandStatusOK) Error ¶
func (o *PatchDeviceCommandStatusOK) Error() string
type PatchDeviceCommandStatusParams ¶
type PatchDeviceCommandStatusParams struct { // Body. Body *models.PatchCommandStatus /* CommandID. Command ID */ CommandID string /* DeviceID. Device ID */ DeviceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchDeviceCommandStatusParams contains all the parameters to send to the API endpoint
for the patch device command status operation. Typically these are written to a http.Request.
func NewPatchDeviceCommandStatusParams ¶
func NewPatchDeviceCommandStatusParams() *PatchDeviceCommandStatusParams
NewPatchDeviceCommandStatusParams creates a new PatchDeviceCommandStatusParams 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 NewPatchDeviceCommandStatusParamsWithContext ¶
func NewPatchDeviceCommandStatusParamsWithContext(ctx context.Context) *PatchDeviceCommandStatusParams
NewPatchDeviceCommandStatusParamsWithContext creates a new PatchDeviceCommandStatusParams object with the ability to set a context for a request.
func NewPatchDeviceCommandStatusParamsWithHTTPClient ¶
func NewPatchDeviceCommandStatusParamsWithHTTPClient(client *http.Client) *PatchDeviceCommandStatusParams
NewPatchDeviceCommandStatusParamsWithHTTPClient creates a new PatchDeviceCommandStatusParams object with the ability to set a custom HTTPClient for a request.
func NewPatchDeviceCommandStatusParamsWithTimeout ¶
func NewPatchDeviceCommandStatusParamsWithTimeout(timeout time.Duration) *PatchDeviceCommandStatusParams
NewPatchDeviceCommandStatusParamsWithTimeout creates a new PatchDeviceCommandStatusParams object with the ability to set a timeout on a request.
func (*PatchDeviceCommandStatusParams) SetBody ¶
func (o *PatchDeviceCommandStatusParams) SetBody(body *models.PatchCommandStatus)
SetBody adds the body to the patch device command status params
func (*PatchDeviceCommandStatusParams) SetCommandID ¶
func (o *PatchDeviceCommandStatusParams) SetCommandID(commandID string)
SetCommandID adds the commandId to the patch device command status params
func (*PatchDeviceCommandStatusParams) SetContext ¶
func (o *PatchDeviceCommandStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the patch device command status params
func (*PatchDeviceCommandStatusParams) SetDefaults ¶
func (o *PatchDeviceCommandStatusParams) SetDefaults()
SetDefaults hydrates default values in the patch device command status params (not the query body).
All values with no default are reset to their zero value.
func (*PatchDeviceCommandStatusParams) SetDeviceID ¶
func (o *PatchDeviceCommandStatusParams) SetDeviceID(deviceID int64)
SetDeviceID adds the deviceId to the patch device command status params
func (*PatchDeviceCommandStatusParams) SetHTTPClient ¶
func (o *PatchDeviceCommandStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch device command status params
func (*PatchDeviceCommandStatusParams) SetTimeout ¶
func (o *PatchDeviceCommandStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch device command status params
func (*PatchDeviceCommandStatusParams) WithBody ¶
func (o *PatchDeviceCommandStatusParams) WithBody(body *models.PatchCommandStatus) *PatchDeviceCommandStatusParams
WithBody adds the body to the patch device command status params
func (*PatchDeviceCommandStatusParams) WithCommandID ¶
func (o *PatchDeviceCommandStatusParams) WithCommandID(commandID string) *PatchDeviceCommandStatusParams
WithCommandID adds the commandID to the patch device command status params
func (*PatchDeviceCommandStatusParams) WithContext ¶
func (o *PatchDeviceCommandStatusParams) WithContext(ctx context.Context) *PatchDeviceCommandStatusParams
WithContext adds the context to the patch device command status params
func (*PatchDeviceCommandStatusParams) WithDefaults ¶
func (o *PatchDeviceCommandStatusParams) WithDefaults() *PatchDeviceCommandStatusParams
WithDefaults hydrates default values in the patch device command status params (not the query body).
All values with no default are reset to their zero value.
func (*PatchDeviceCommandStatusParams) WithDeviceID ¶
func (o *PatchDeviceCommandStatusParams) WithDeviceID(deviceID int64) *PatchDeviceCommandStatusParams
WithDeviceID adds the deviceID to the patch device command status params
func (*PatchDeviceCommandStatusParams) WithHTTPClient ¶
func (o *PatchDeviceCommandStatusParams) WithHTTPClient(client *http.Client) *PatchDeviceCommandStatusParams
WithHTTPClient adds the HTTPClient to the patch device command status params
func (*PatchDeviceCommandStatusParams) WithTimeout ¶
func (o *PatchDeviceCommandStatusParams) WithTimeout(timeout time.Duration) *PatchDeviceCommandStatusParams
WithTimeout adds the timeout to the patch device command status params
func (*PatchDeviceCommandStatusParams) WriteToRequest ¶
func (o *PatchDeviceCommandStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchDeviceCommandStatusReader ¶
type PatchDeviceCommandStatusReader struct {
// contains filtered or unexported fields
}
PatchDeviceCommandStatusReader is a Reader for the PatchDeviceCommandStatus structure.
func (*PatchDeviceCommandStatusReader) ReadResponse ¶
func (o *PatchDeviceCommandStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchDeviceCommandStatusTooManyRequests ¶
type PatchDeviceCommandStatusTooManyRequests struct {
Payload *models.ErrorResponse
}
PatchDeviceCommandStatusTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewPatchDeviceCommandStatusTooManyRequests ¶
func NewPatchDeviceCommandStatusTooManyRequests() *PatchDeviceCommandStatusTooManyRequests
NewPatchDeviceCommandStatusTooManyRequests creates a PatchDeviceCommandStatusTooManyRequests with default headers values
func (*PatchDeviceCommandStatusTooManyRequests) Error ¶
func (o *PatchDeviceCommandStatusTooManyRequests) Error() string
func (*PatchDeviceCommandStatusTooManyRequests) GetPayload ¶
func (o *PatchDeviceCommandStatusTooManyRequests) GetPayload() *models.ErrorResponse
type PatchDeviceCommandStatusUnauthorized ¶
type PatchDeviceCommandStatusUnauthorized struct {
}PatchDeviceCommandStatusUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPatchDeviceCommandStatusUnauthorized ¶
func NewPatchDeviceCommandStatusUnauthorized() *PatchDeviceCommandStatusUnauthorized
NewPatchDeviceCommandStatusUnauthorized creates a PatchDeviceCommandStatusUnauthorized with default headers values
func (*PatchDeviceCommandStatusUnauthorized) Error ¶
func (o *PatchDeviceCommandStatusUnauthorized) Error() string
func (*PatchDeviceCommandStatusUnauthorized) GetPayload ¶
func (o *PatchDeviceCommandStatusUnauthorized) GetPayload() *models.ErrorResponse