Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateCustomCapabilityPresentation(params *CreateCustomCapabilityPresentationParams, ...) (*CreateCustomCapabilityPresentationOK, error)
- func (a *Client) CreateDeviceConfiguration(params *CreateDeviceConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDeviceConfigurationOK, error)
- func (a *Client) GenerateDeviceConfig(params *GenerateDeviceConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateDeviceConfigOK, error)
- func (a *Client) GetCustomCapabilityPresentation(params *GetCustomCapabilityPresentationParams, ...) (*GetCustomCapabilityPresentationOK, error)
- func (a *Client) GetDeviceConfiguration(params *GetDeviceConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceConfigurationOK, error)
- func (a *Client) GetDevicePresentation(params *GetDevicePresentationParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicePresentationOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCustomCapabilityPresentation(params *UpdateCustomCapabilityPresentationParams, ...) (*UpdateCustomCapabilityPresentationOK, error)
- type ClientService
- type CreateCustomCapabilityPresentationBadRequest
- type CreateCustomCapabilityPresentationConflict
- type CreateCustomCapabilityPresentationDefault
- type CreateCustomCapabilityPresentationForbidden
- type CreateCustomCapabilityPresentationOK
- type CreateCustomCapabilityPresentationParams
- func NewCreateCustomCapabilityPresentationParams() *CreateCustomCapabilityPresentationParams
- func NewCreateCustomCapabilityPresentationParamsWithContext(ctx context.Context) *CreateCustomCapabilityPresentationParams
- func NewCreateCustomCapabilityPresentationParamsWithHTTPClient(client *http.Client) *CreateCustomCapabilityPresentationParams
- func NewCreateCustomCapabilityPresentationParamsWithTimeout(timeout time.Duration) *CreateCustomCapabilityPresentationParams
- func (o *CreateCustomCapabilityPresentationParams) SetAuthorization(authorization string)
- func (o *CreateCustomCapabilityPresentationParams) SetCapabilityID(capabilityID string)
- func (o *CreateCustomCapabilityPresentationParams) SetCapabilityVersion(capabilityVersion int64)
- func (o *CreateCustomCapabilityPresentationParams) SetContext(ctx context.Context)
- func (o *CreateCustomCapabilityPresentationParams) SetCreateCustomCapabilityPresentationRequest(...)
- func (o *CreateCustomCapabilityPresentationParams) SetHTTPClient(client *http.Client)
- func (o *CreateCustomCapabilityPresentationParams) SetTimeout(timeout time.Duration)
- func (o *CreateCustomCapabilityPresentationParams) WithAuthorization(authorization string) *CreateCustomCapabilityPresentationParams
- func (o *CreateCustomCapabilityPresentationParams) WithCapabilityID(capabilityID string) *CreateCustomCapabilityPresentationParams
- func (o *CreateCustomCapabilityPresentationParams) WithCapabilityVersion(capabilityVersion int64) *CreateCustomCapabilityPresentationParams
- func (o *CreateCustomCapabilityPresentationParams) WithContext(ctx context.Context) *CreateCustomCapabilityPresentationParams
- func (o *CreateCustomCapabilityPresentationParams) WithCreateCustomCapabilityPresentationRequest(...) *CreateCustomCapabilityPresentationParams
- func (o *CreateCustomCapabilityPresentationParams) WithHTTPClient(client *http.Client) *CreateCustomCapabilityPresentationParams
- func (o *CreateCustomCapabilityPresentationParams) WithTimeout(timeout time.Duration) *CreateCustomCapabilityPresentationParams
- func (o *CreateCustomCapabilityPresentationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCustomCapabilityPresentationReader
- type CreateCustomCapabilityPresentationTooManyRequests
- type CreateCustomCapabilityPresentationUnauthorized
- type CreateCustomCapabilityPresentationUnprocessableEntity
- type CreateCustomCapabilityPresentationUnsupportedMediaType
- type CreateDeviceConfigurationBadRequest
- type CreateDeviceConfigurationDefault
- type CreateDeviceConfigurationForbidden
- type CreateDeviceConfigurationOK
- type CreateDeviceConfigurationParams
- func NewCreateDeviceConfigurationParams() *CreateDeviceConfigurationParams
- func NewCreateDeviceConfigurationParamsWithContext(ctx context.Context) *CreateDeviceConfigurationParams
- func NewCreateDeviceConfigurationParamsWithHTTPClient(client *http.Client) *CreateDeviceConfigurationParams
- func NewCreateDeviceConfigurationParamsWithTimeout(timeout time.Duration) *CreateDeviceConfigurationParams
- func (o *CreateDeviceConfigurationParams) SetAuthorization(authorization string)
- func (o *CreateDeviceConfigurationParams) SetContext(ctx context.Context)
- func (o *CreateDeviceConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeviceConfigurationParams) SetRequest(request *models.CreateDeviceConfigRequest)
- func (o *CreateDeviceConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeviceConfigurationParams) WithAuthorization(authorization string) *CreateDeviceConfigurationParams
- func (o *CreateDeviceConfigurationParams) WithContext(ctx context.Context) *CreateDeviceConfigurationParams
- func (o *CreateDeviceConfigurationParams) WithHTTPClient(client *http.Client) *CreateDeviceConfigurationParams
- func (o *CreateDeviceConfigurationParams) WithRequest(request *models.CreateDeviceConfigRequest) *CreateDeviceConfigurationParams
- func (o *CreateDeviceConfigurationParams) WithTimeout(timeout time.Duration) *CreateDeviceConfigurationParams
- func (o *CreateDeviceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeviceConfigurationReader
- type CreateDeviceConfigurationTooManyRequests
- type CreateDeviceConfigurationUnauthorized
- type GenerateDeviceConfigBadRequest
- type GenerateDeviceConfigDefault
- type GenerateDeviceConfigForbidden
- type GenerateDeviceConfigOK
- type GenerateDeviceConfigParams
- func NewGenerateDeviceConfigParams() *GenerateDeviceConfigParams
- func NewGenerateDeviceConfigParamsWithContext(ctx context.Context) *GenerateDeviceConfigParams
- func NewGenerateDeviceConfigParamsWithHTTPClient(client *http.Client) *GenerateDeviceConfigParams
- func NewGenerateDeviceConfigParamsWithTimeout(timeout time.Duration) *GenerateDeviceConfigParams
- func (o *GenerateDeviceConfigParams) SetAuthorization(authorization string)
- func (o *GenerateDeviceConfigParams) SetContext(ctx context.Context)
- func (o *GenerateDeviceConfigParams) SetHTTPClient(client *http.Client)
- func (o *GenerateDeviceConfigParams) SetTimeout(timeout time.Duration)
- func (o *GenerateDeviceConfigParams) SetTypeIntegration(typeIntegration *string)
- func (o *GenerateDeviceConfigParams) SetTypeIntegrationID(typeIntegrationID string)
- func (o *GenerateDeviceConfigParams) SetTypeShardID(typeShardID *string)
- func (o *GenerateDeviceConfigParams) WithAuthorization(authorization string) *GenerateDeviceConfigParams
- func (o *GenerateDeviceConfigParams) WithContext(ctx context.Context) *GenerateDeviceConfigParams
- func (o *GenerateDeviceConfigParams) WithHTTPClient(client *http.Client) *GenerateDeviceConfigParams
- func (o *GenerateDeviceConfigParams) WithTimeout(timeout time.Duration) *GenerateDeviceConfigParams
- func (o *GenerateDeviceConfigParams) WithTypeIntegration(typeIntegration *string) *GenerateDeviceConfigParams
- func (o *GenerateDeviceConfigParams) WithTypeIntegrationID(typeIntegrationID string) *GenerateDeviceConfigParams
- func (o *GenerateDeviceConfigParams) WithTypeShardID(typeShardID *string) *GenerateDeviceConfigParams
- func (o *GenerateDeviceConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GenerateDeviceConfigReader
- type GenerateDeviceConfigTooManyRequests
- type GenerateDeviceConfigUnauthorized
- type GetCustomCapabilityPresentationDefault
- type GetCustomCapabilityPresentationForbidden
- type GetCustomCapabilityPresentationNotFound
- type GetCustomCapabilityPresentationOK
- type GetCustomCapabilityPresentationParams
- func NewGetCustomCapabilityPresentationParams() *GetCustomCapabilityPresentationParams
- func NewGetCustomCapabilityPresentationParamsWithContext(ctx context.Context) *GetCustomCapabilityPresentationParams
- func NewGetCustomCapabilityPresentationParamsWithHTTPClient(client *http.Client) *GetCustomCapabilityPresentationParams
- func NewGetCustomCapabilityPresentationParamsWithTimeout(timeout time.Duration) *GetCustomCapabilityPresentationParams
- func (o *GetCustomCapabilityPresentationParams) SetAuthorization(authorization string)
- func (o *GetCustomCapabilityPresentationParams) SetCapabilityID(capabilityID string)
- func (o *GetCustomCapabilityPresentationParams) SetCapabilityVersion(capabilityVersion int64)
- func (o *GetCustomCapabilityPresentationParams) SetContext(ctx context.Context)
- func (o *GetCustomCapabilityPresentationParams) SetHTTPClient(client *http.Client)
- func (o *GetCustomCapabilityPresentationParams) SetTimeout(timeout time.Duration)
- func (o *GetCustomCapabilityPresentationParams) WithAuthorization(authorization string) *GetCustomCapabilityPresentationParams
- func (o *GetCustomCapabilityPresentationParams) WithCapabilityID(capabilityID string) *GetCustomCapabilityPresentationParams
- func (o *GetCustomCapabilityPresentationParams) WithCapabilityVersion(capabilityVersion int64) *GetCustomCapabilityPresentationParams
- func (o *GetCustomCapabilityPresentationParams) WithContext(ctx context.Context) *GetCustomCapabilityPresentationParams
- func (o *GetCustomCapabilityPresentationParams) WithHTTPClient(client *http.Client) *GetCustomCapabilityPresentationParams
- func (o *GetCustomCapabilityPresentationParams) WithTimeout(timeout time.Duration) *GetCustomCapabilityPresentationParams
- func (o *GetCustomCapabilityPresentationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCustomCapabilityPresentationReader
- type GetCustomCapabilityPresentationTooManyRequests
- type GetCustomCapabilityPresentationUnauthorized
- type GetDeviceConfigurationBadRequest
- type GetDeviceConfigurationDefault
- type GetDeviceConfigurationForbidden
- type GetDeviceConfigurationOK
- type GetDeviceConfigurationParams
- func NewGetDeviceConfigurationParams() *GetDeviceConfigurationParams
- func NewGetDeviceConfigurationParamsWithContext(ctx context.Context) *GetDeviceConfigurationParams
- func NewGetDeviceConfigurationParamsWithHTTPClient(client *http.Client) *GetDeviceConfigurationParams
- func NewGetDeviceConfigurationParamsWithTimeout(timeout time.Duration) *GetDeviceConfigurationParams
- func (o *GetDeviceConfigurationParams) SetAuthorization(authorization string)
- func (o *GetDeviceConfigurationParams) SetContext(ctx context.Context)
- func (o *GetDeviceConfigurationParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceConfigurationParams) SetManufacturerName(manufacturerName *string)
- func (o *GetDeviceConfigurationParams) SetPresentationID(presentationID string)
- func (o *GetDeviceConfigurationParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceConfigurationParams) WithAuthorization(authorization string) *GetDeviceConfigurationParams
- func (o *GetDeviceConfigurationParams) WithContext(ctx context.Context) *GetDeviceConfigurationParams
- func (o *GetDeviceConfigurationParams) WithHTTPClient(client *http.Client) *GetDeviceConfigurationParams
- func (o *GetDeviceConfigurationParams) WithManufacturerName(manufacturerName *string) *GetDeviceConfigurationParams
- func (o *GetDeviceConfigurationParams) WithPresentationID(presentationID string) *GetDeviceConfigurationParams
- func (o *GetDeviceConfigurationParams) WithTimeout(timeout time.Duration) *GetDeviceConfigurationParams
- func (o *GetDeviceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceConfigurationReader
- type GetDeviceConfigurationTooManyRequests
- type GetDeviceConfigurationUnauthorized
- type GetDevicePresentationBadRequest
- type GetDevicePresentationDefault
- type GetDevicePresentationForbidden
- type GetDevicePresentationOK
- type GetDevicePresentationParams
- func NewGetDevicePresentationParams() *GetDevicePresentationParams
- func NewGetDevicePresentationParamsWithContext(ctx context.Context) *GetDevicePresentationParams
- func NewGetDevicePresentationParamsWithHTTPClient(client *http.Client) *GetDevicePresentationParams
- func NewGetDevicePresentationParamsWithTimeout(timeout time.Duration) *GetDevicePresentationParams
- func (o *GetDevicePresentationParams) SetAcceptLanguage(acceptLanguage *string)
- func (o *GetDevicePresentationParams) SetAuthorization(authorization string)
- func (o *GetDevicePresentationParams) SetContext(ctx context.Context)
- func (o *GetDevicePresentationParams) SetDeviceID(deviceID *string)
- func (o *GetDevicePresentationParams) SetHTTPClient(client *http.Client)
- func (o *GetDevicePresentationParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetDevicePresentationParams) SetManufacturerName(manufacturerName *string)
- func (o *GetDevicePresentationParams) SetPresentationID(presentationID string)
- func (o *GetDevicePresentationParams) SetTimeout(timeout time.Duration)
- func (o *GetDevicePresentationParams) SetView(view *string)
- func (o *GetDevicePresentationParams) WithAcceptLanguage(acceptLanguage *string) *GetDevicePresentationParams
- func (o *GetDevicePresentationParams) WithAuthorization(authorization string) *GetDevicePresentationParams
- func (o *GetDevicePresentationParams) WithContext(ctx context.Context) *GetDevicePresentationParams
- func (o *GetDevicePresentationParams) WithDeviceID(deviceID *string) *GetDevicePresentationParams
- func (o *GetDevicePresentationParams) WithHTTPClient(client *http.Client) *GetDevicePresentationParams
- func (o *GetDevicePresentationParams) WithIfNoneMatch(ifNoneMatch *string) *GetDevicePresentationParams
- func (o *GetDevicePresentationParams) WithManufacturerName(manufacturerName *string) *GetDevicePresentationParams
- func (o *GetDevicePresentationParams) WithPresentationID(presentationID string) *GetDevicePresentationParams
- func (o *GetDevicePresentationParams) WithTimeout(timeout time.Duration) *GetDevicePresentationParams
- func (o *GetDevicePresentationParams) WithView(view *string) *GetDevicePresentationParams
- func (o *GetDevicePresentationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDevicePresentationReader
- type GetDevicePresentationTooManyRequests
- type GetDevicePresentationUnauthorized
- type UpdateCustomCapabilityPresentationBadRequest
- type UpdateCustomCapabilityPresentationBody
- type UpdateCustomCapabilityPresentationConflict
- type UpdateCustomCapabilityPresentationDefault
- type UpdateCustomCapabilityPresentationForbidden
- type UpdateCustomCapabilityPresentationOK
- type UpdateCustomCapabilityPresentationParams
- func NewUpdateCustomCapabilityPresentationParams() *UpdateCustomCapabilityPresentationParams
- func NewUpdateCustomCapabilityPresentationParamsWithContext(ctx context.Context) *UpdateCustomCapabilityPresentationParams
- func NewUpdateCustomCapabilityPresentationParamsWithHTTPClient(client *http.Client) *UpdateCustomCapabilityPresentationParams
- func NewUpdateCustomCapabilityPresentationParamsWithTimeout(timeout time.Duration) *UpdateCustomCapabilityPresentationParams
- func (o *UpdateCustomCapabilityPresentationParams) SetAuthorization(authorization string)
- func (o *UpdateCustomCapabilityPresentationParams) SetCapabilityID(capabilityID string)
- func (o *UpdateCustomCapabilityPresentationParams) SetCapabilityRequestBodyForPUT(capabilityRequestBodyForPUT UpdateCustomCapabilityPresentationBody)
- func (o *UpdateCustomCapabilityPresentationParams) SetCapabilityVersion(capabilityVersion int64)
- func (o *UpdateCustomCapabilityPresentationParams) SetContext(ctx context.Context)
- func (o *UpdateCustomCapabilityPresentationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCustomCapabilityPresentationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCustomCapabilityPresentationParams) WithAuthorization(authorization string) *UpdateCustomCapabilityPresentationParams
- func (o *UpdateCustomCapabilityPresentationParams) WithCapabilityID(capabilityID string) *UpdateCustomCapabilityPresentationParams
- func (o *UpdateCustomCapabilityPresentationParams) WithCapabilityRequestBodyForPUT(capabilityRequestBodyForPUT UpdateCustomCapabilityPresentationBody) *UpdateCustomCapabilityPresentationParams
- func (o *UpdateCustomCapabilityPresentationParams) WithCapabilityVersion(capabilityVersion int64) *UpdateCustomCapabilityPresentationParams
- func (o *UpdateCustomCapabilityPresentationParams) WithContext(ctx context.Context) *UpdateCustomCapabilityPresentationParams
- func (o *UpdateCustomCapabilityPresentationParams) WithHTTPClient(client *http.Client) *UpdateCustomCapabilityPresentationParams
- func (o *UpdateCustomCapabilityPresentationParams) WithTimeout(timeout time.Duration) *UpdateCustomCapabilityPresentationParams
- func (o *UpdateCustomCapabilityPresentationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCustomCapabilityPresentationReader
- type UpdateCustomCapabilityPresentationTooManyRequests
- type UpdateCustomCapabilityPresentationUnauthorized
- type UpdateCustomCapabilityPresentationUnprocessableEntity
- type UpdateCustomCapabilityPresentationUnsupportedMediaType
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 presentations API
func (*Client) CreateCustomCapabilityPresentation ¶
func (a *Client) CreateCustomCapabilityPresentation(params *CreateCustomCapabilityPresentationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCustomCapabilityPresentationOK, error)
CreateCustomCapabilityPresentation creates a capability presentation Create a capability presentation.<br /><br />
**Note:** This API functionality is in BETA
func (*Client) CreateDeviceConfiguration ¶
func (a *Client) CreateDeviceConfiguration(params *CreateDeviceConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDeviceConfigurationOK, error)
CreateDeviceConfiguration creates a device configuration Make an idempotent call to either create or get a device configuration based on the structure of the provided payload
Note: This API functionality is in BETA
func (*Client) GenerateDeviceConfig ¶
func (a *Client) GenerateDeviceConfig(params *GenerateDeviceConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateDeviceConfigOK, error)
GenerateDeviceConfig generates device config from a device profile or d t h Examines the profile of the device and constructs a default device configuration.
Note: This API functionality is in BETA
func (*Client) GetCustomCapabilityPresentation ¶
func (a *Client) GetCustomCapabilityPresentation(params *GetCustomCapabilityPresentationParams, authInfo runtime.ClientAuthInfoWriter) (*GetCustomCapabilityPresentationOK, error)
GetCustomCapabilityPresentation gets a capability presentation by id and version Get a capability presentation by id and version.<br /><br />
**Note:** This API functionality is in BETA
func (*Client) GetDeviceConfiguration ¶
func (a *Client) GetDeviceConfiguration(params *GetDeviceConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceConfigurationOK, error)
GetDeviceConfiguration gets a device configuration Get a device configuration.
Note: This API functionality is in BETA
func (*Client) GetDevicePresentation ¶
func (a *Client) GetDevicePresentation(params *GetDevicePresentationParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicePresentationOK, error)
GetDevicePresentation gets a device presentation Get a device presentation. If Manufacturer Name is omitted we will assume the default - `SmartThingsCommunity`.
This endpoint currently supports automatic generation of UI-metadata only for those presentations created through the presentation APIs, and not custom UI-metadata created through the legacy workflow. Note: This API functionality is in BETA
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCustomCapabilityPresentation ¶
func (a *Client) UpdateCustomCapabilityPresentation(params *UpdateCustomCapabilityPresentationParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCustomCapabilityPresentationOK, error)
UpdateCustomCapabilityPresentation updates a capability presentation Update a capability presentation.<br /><br />
**Note:** This API functionality is in BETA
type ClientService ¶
type ClientService interface { CreateCustomCapabilityPresentation(params *CreateCustomCapabilityPresentationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCustomCapabilityPresentationOK, error) CreateDeviceConfiguration(params *CreateDeviceConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDeviceConfigurationOK, error) GenerateDeviceConfig(params *GenerateDeviceConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateDeviceConfigOK, error) GetCustomCapabilityPresentation(params *GetCustomCapabilityPresentationParams, authInfo runtime.ClientAuthInfoWriter) (*GetCustomCapabilityPresentationOK, error) GetDeviceConfiguration(params *GetDeviceConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceConfigurationOK, error) GetDevicePresentation(params *GetDevicePresentationParams, authInfo runtime.ClientAuthInfoWriter) (*GetDevicePresentationOK, error) UpdateCustomCapabilityPresentation(params *UpdateCustomCapabilityPresentationParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCustomCapabilityPresentationOK, 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 presentations API client.
type CreateCustomCapabilityPresentationBadRequest ¶
type CreateCustomCapabilityPresentationBadRequest struct {
Payload *models.ErrorResponse
}
CreateCustomCapabilityPresentationBadRequest handles this case with default header values.
Bad request
func NewCreateCustomCapabilityPresentationBadRequest ¶
func NewCreateCustomCapabilityPresentationBadRequest() *CreateCustomCapabilityPresentationBadRequest
NewCreateCustomCapabilityPresentationBadRequest creates a CreateCustomCapabilityPresentationBadRequest with default headers values
func (*CreateCustomCapabilityPresentationBadRequest) Error ¶
func (o *CreateCustomCapabilityPresentationBadRequest) Error() string
func (*CreateCustomCapabilityPresentationBadRequest) GetPayload ¶
func (o *CreateCustomCapabilityPresentationBadRequest) GetPayload() *models.ErrorResponse
type CreateCustomCapabilityPresentationConflict ¶
type CreateCustomCapabilityPresentationConflict struct {
Payload *models.ErrorResponse
}
CreateCustomCapabilityPresentationConflict handles this case with default header values.
Conflict
func NewCreateCustomCapabilityPresentationConflict ¶
func NewCreateCustomCapabilityPresentationConflict() *CreateCustomCapabilityPresentationConflict
NewCreateCustomCapabilityPresentationConflict creates a CreateCustomCapabilityPresentationConflict with default headers values
func (*CreateCustomCapabilityPresentationConflict) Error ¶
func (o *CreateCustomCapabilityPresentationConflict) Error() string
func (*CreateCustomCapabilityPresentationConflict) GetPayload ¶
func (o *CreateCustomCapabilityPresentationConflict) GetPayload() *models.ErrorResponse
type CreateCustomCapabilityPresentationDefault ¶
type CreateCustomCapabilityPresentationDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CreateCustomCapabilityPresentationDefault handles this case with default header values.
Unexpected error
func NewCreateCustomCapabilityPresentationDefault ¶
func NewCreateCustomCapabilityPresentationDefault(code int) *CreateCustomCapabilityPresentationDefault
NewCreateCustomCapabilityPresentationDefault creates a CreateCustomCapabilityPresentationDefault with default headers values
func (*CreateCustomCapabilityPresentationDefault) Code ¶
func (o *CreateCustomCapabilityPresentationDefault) Code() int
Code gets the status code for the create custom capability presentation default response
func (*CreateCustomCapabilityPresentationDefault) Error ¶
func (o *CreateCustomCapabilityPresentationDefault) Error() string
func (*CreateCustomCapabilityPresentationDefault) GetPayload ¶
func (o *CreateCustomCapabilityPresentationDefault) GetPayload() *models.ErrorResponse
type CreateCustomCapabilityPresentationForbidden ¶
type CreateCustomCapabilityPresentationForbidden struct { }
CreateCustomCapabilityPresentationForbidden handles this case with default header values.
Forbidden
func NewCreateCustomCapabilityPresentationForbidden ¶
func NewCreateCustomCapabilityPresentationForbidden() *CreateCustomCapabilityPresentationForbidden
NewCreateCustomCapabilityPresentationForbidden creates a CreateCustomCapabilityPresentationForbidden with default headers values
func (*CreateCustomCapabilityPresentationForbidden) Error ¶
func (o *CreateCustomCapabilityPresentationForbidden) Error() string
type CreateCustomCapabilityPresentationOK ¶
type CreateCustomCapabilityPresentationOK struct { /*Maximum requests allowed within the rate limit window. */ XRateLimitLimit int64 /*Remaining requests available within the window. */ XRateLimitRemaining int64 /*Time in milliseconds until the current window expires. */ XRateLimitReset int64 Payload *models.CapabilityPresentation }
CreateCustomCapabilityPresentationOK handles this case with default header values.
The custom capability presentation
func NewCreateCustomCapabilityPresentationOK ¶
func NewCreateCustomCapabilityPresentationOK() *CreateCustomCapabilityPresentationOK
NewCreateCustomCapabilityPresentationOK creates a CreateCustomCapabilityPresentationOK with default headers values
func (*CreateCustomCapabilityPresentationOK) Error ¶
func (o *CreateCustomCapabilityPresentationOK) Error() string
func (*CreateCustomCapabilityPresentationOK) GetPayload ¶
func (o *CreateCustomCapabilityPresentationOK) GetPayload() *models.CapabilityPresentation
type CreateCustomCapabilityPresentationParams ¶
type CreateCustomCapabilityPresentationParams struct { /*Authorization OAuth token */ Authorization string /*CapabilityID The ID of the capability. */ CapabilityID string /*CapabilityVersion The version of the capability */ CapabilityVersion int64 /*CreateCustomCapabilityPresentationRequest*/ CreateCustomCapabilityPresentationRequest *models.CreateCapabilityPresentationRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateCustomCapabilityPresentationParams contains all the parameters to send to the API endpoint for the create custom capability presentation operation typically these are written to a http.Request
func NewCreateCustomCapabilityPresentationParams ¶
func NewCreateCustomCapabilityPresentationParams() *CreateCustomCapabilityPresentationParams
NewCreateCustomCapabilityPresentationParams creates a new CreateCustomCapabilityPresentationParams object with the default values initialized.
func NewCreateCustomCapabilityPresentationParamsWithContext ¶
func NewCreateCustomCapabilityPresentationParamsWithContext(ctx context.Context) *CreateCustomCapabilityPresentationParams
NewCreateCustomCapabilityPresentationParamsWithContext creates a new CreateCustomCapabilityPresentationParams object with the default values initialized, and the ability to set a context for a request
func NewCreateCustomCapabilityPresentationParamsWithHTTPClient ¶
func NewCreateCustomCapabilityPresentationParamsWithHTTPClient(client *http.Client) *CreateCustomCapabilityPresentationParams
NewCreateCustomCapabilityPresentationParamsWithHTTPClient creates a new CreateCustomCapabilityPresentationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateCustomCapabilityPresentationParamsWithTimeout ¶
func NewCreateCustomCapabilityPresentationParamsWithTimeout(timeout time.Duration) *CreateCustomCapabilityPresentationParams
NewCreateCustomCapabilityPresentationParamsWithTimeout creates a new CreateCustomCapabilityPresentationParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateCustomCapabilityPresentationParams) SetAuthorization ¶
func (o *CreateCustomCapabilityPresentationParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) SetCapabilityID ¶
func (o *CreateCustomCapabilityPresentationParams) SetCapabilityID(capabilityID string)
SetCapabilityID adds the capabilityId to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) SetCapabilityVersion ¶
func (o *CreateCustomCapabilityPresentationParams) SetCapabilityVersion(capabilityVersion int64)
SetCapabilityVersion adds the capabilityVersion to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) SetContext ¶
func (o *CreateCustomCapabilityPresentationParams) SetContext(ctx context.Context)
SetContext adds the context to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) SetCreateCustomCapabilityPresentationRequest ¶
func (o *CreateCustomCapabilityPresentationParams) SetCreateCustomCapabilityPresentationRequest(createCustomCapabilityPresentationRequest *models.CreateCapabilityPresentationRequest)
SetCreateCustomCapabilityPresentationRequest adds the createCustomCapabilityPresentationRequest to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) SetHTTPClient ¶
func (o *CreateCustomCapabilityPresentationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) SetTimeout ¶
func (o *CreateCustomCapabilityPresentationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) WithAuthorization ¶
func (o *CreateCustomCapabilityPresentationParams) WithAuthorization(authorization string) *CreateCustomCapabilityPresentationParams
WithAuthorization adds the authorization to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) WithCapabilityID ¶
func (o *CreateCustomCapabilityPresentationParams) WithCapabilityID(capabilityID string) *CreateCustomCapabilityPresentationParams
WithCapabilityID adds the capabilityID to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) WithCapabilityVersion ¶
func (o *CreateCustomCapabilityPresentationParams) WithCapabilityVersion(capabilityVersion int64) *CreateCustomCapabilityPresentationParams
WithCapabilityVersion adds the capabilityVersion to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) WithContext ¶
func (o *CreateCustomCapabilityPresentationParams) WithContext(ctx context.Context) *CreateCustomCapabilityPresentationParams
WithContext adds the context to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) WithCreateCustomCapabilityPresentationRequest ¶
func (o *CreateCustomCapabilityPresentationParams) WithCreateCustomCapabilityPresentationRequest(createCustomCapabilityPresentationRequest *models.CreateCapabilityPresentationRequest) *CreateCustomCapabilityPresentationParams
WithCreateCustomCapabilityPresentationRequest adds the createCustomCapabilityPresentationRequest to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) WithHTTPClient ¶
func (o *CreateCustomCapabilityPresentationParams) WithHTTPClient(client *http.Client) *CreateCustomCapabilityPresentationParams
WithHTTPClient adds the HTTPClient to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) WithTimeout ¶
func (o *CreateCustomCapabilityPresentationParams) WithTimeout(timeout time.Duration) *CreateCustomCapabilityPresentationParams
WithTimeout adds the timeout to the create custom capability presentation params
func (*CreateCustomCapabilityPresentationParams) WriteToRequest ¶
func (o *CreateCustomCapabilityPresentationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateCustomCapabilityPresentationReader ¶
type CreateCustomCapabilityPresentationReader struct {
// contains filtered or unexported fields
}
CreateCustomCapabilityPresentationReader is a Reader for the CreateCustomCapabilityPresentation structure.
func (*CreateCustomCapabilityPresentationReader) ReadResponse ¶
func (o *CreateCustomCapabilityPresentationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateCustomCapabilityPresentationTooManyRequests ¶
type CreateCustomCapabilityPresentationTooManyRequests struct {
Payload *models.ErrorResponse
}
CreateCustomCapabilityPresentationTooManyRequests handles this case with default header values.
Too many requests
func NewCreateCustomCapabilityPresentationTooManyRequests ¶
func NewCreateCustomCapabilityPresentationTooManyRequests() *CreateCustomCapabilityPresentationTooManyRequests
NewCreateCustomCapabilityPresentationTooManyRequests creates a CreateCustomCapabilityPresentationTooManyRequests with default headers values
func (*CreateCustomCapabilityPresentationTooManyRequests) Error ¶
func (o *CreateCustomCapabilityPresentationTooManyRequests) Error() string
func (*CreateCustomCapabilityPresentationTooManyRequests) GetPayload ¶
func (o *CreateCustomCapabilityPresentationTooManyRequests) GetPayload() *models.ErrorResponse
type CreateCustomCapabilityPresentationUnauthorized ¶
type CreateCustomCapabilityPresentationUnauthorized struct { }
CreateCustomCapabilityPresentationUnauthorized handles this case with default header values.
Unauthorized
func NewCreateCustomCapabilityPresentationUnauthorized ¶
func NewCreateCustomCapabilityPresentationUnauthorized() *CreateCustomCapabilityPresentationUnauthorized
NewCreateCustomCapabilityPresentationUnauthorized creates a CreateCustomCapabilityPresentationUnauthorized with default headers values
func (*CreateCustomCapabilityPresentationUnauthorized) Error ¶
func (o *CreateCustomCapabilityPresentationUnauthorized) Error() string
type CreateCustomCapabilityPresentationUnprocessableEntity ¶
type CreateCustomCapabilityPresentationUnprocessableEntity struct {
Payload *models.ErrorResponse
}
CreateCustomCapabilityPresentationUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewCreateCustomCapabilityPresentationUnprocessableEntity ¶
func NewCreateCustomCapabilityPresentationUnprocessableEntity() *CreateCustomCapabilityPresentationUnprocessableEntity
NewCreateCustomCapabilityPresentationUnprocessableEntity creates a CreateCustomCapabilityPresentationUnprocessableEntity with default headers values
func (*CreateCustomCapabilityPresentationUnprocessableEntity) Error ¶
func (o *CreateCustomCapabilityPresentationUnprocessableEntity) Error() string
func (*CreateCustomCapabilityPresentationUnprocessableEntity) GetPayload ¶
func (o *CreateCustomCapabilityPresentationUnprocessableEntity) GetPayload() *models.ErrorResponse
type CreateCustomCapabilityPresentationUnsupportedMediaType ¶
type CreateCustomCapabilityPresentationUnsupportedMediaType struct {
Payload *models.ErrorResponse
}
CreateCustomCapabilityPresentationUnsupportedMediaType handles this case with default header values.
Unsupported Media Type
func NewCreateCustomCapabilityPresentationUnsupportedMediaType ¶
func NewCreateCustomCapabilityPresentationUnsupportedMediaType() *CreateCustomCapabilityPresentationUnsupportedMediaType
NewCreateCustomCapabilityPresentationUnsupportedMediaType creates a CreateCustomCapabilityPresentationUnsupportedMediaType with default headers values
func (*CreateCustomCapabilityPresentationUnsupportedMediaType) Error ¶
func (o *CreateCustomCapabilityPresentationUnsupportedMediaType) Error() string
func (*CreateCustomCapabilityPresentationUnsupportedMediaType) GetPayload ¶
func (o *CreateCustomCapabilityPresentationUnsupportedMediaType) GetPayload() *models.ErrorResponse
type CreateDeviceConfigurationBadRequest ¶
type CreateDeviceConfigurationBadRequest struct {
Payload *models.ErrorResponse
}
CreateDeviceConfigurationBadRequest handles this case with default header values.
Bad request
func NewCreateDeviceConfigurationBadRequest ¶
func NewCreateDeviceConfigurationBadRequest() *CreateDeviceConfigurationBadRequest
NewCreateDeviceConfigurationBadRequest creates a CreateDeviceConfigurationBadRequest with default headers values
func (*CreateDeviceConfigurationBadRequest) Error ¶
func (o *CreateDeviceConfigurationBadRequest) Error() string
func (*CreateDeviceConfigurationBadRequest) GetPayload ¶
func (o *CreateDeviceConfigurationBadRequest) GetPayload() *models.ErrorResponse
type CreateDeviceConfigurationDefault ¶
type CreateDeviceConfigurationDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CreateDeviceConfigurationDefault handles this case with default header values.
Unexpected error
func NewCreateDeviceConfigurationDefault ¶
func NewCreateDeviceConfigurationDefault(code int) *CreateDeviceConfigurationDefault
NewCreateDeviceConfigurationDefault creates a CreateDeviceConfigurationDefault with default headers values
func (*CreateDeviceConfigurationDefault) Code ¶
func (o *CreateDeviceConfigurationDefault) Code() int
Code gets the status code for the create device configuration default response
func (*CreateDeviceConfigurationDefault) Error ¶
func (o *CreateDeviceConfigurationDefault) Error() string
func (*CreateDeviceConfigurationDefault) GetPayload ¶
func (o *CreateDeviceConfigurationDefault) GetPayload() *models.ErrorResponse
type CreateDeviceConfigurationForbidden ¶
type CreateDeviceConfigurationForbidden struct { }
CreateDeviceConfigurationForbidden handles this case with default header values.
Forbidden
func NewCreateDeviceConfigurationForbidden ¶
func NewCreateDeviceConfigurationForbidden() *CreateDeviceConfigurationForbidden
NewCreateDeviceConfigurationForbidden creates a CreateDeviceConfigurationForbidden with default headers values
func (*CreateDeviceConfigurationForbidden) Error ¶
func (o *CreateDeviceConfigurationForbidden) Error() string
type CreateDeviceConfigurationOK ¶
type CreateDeviceConfigurationOK struct {
Payload *models.PublicDeviceConfiguration
}
CreateDeviceConfigurationOK handles this case with default header values.
Create a device configuration or get a match if it already exists.
func NewCreateDeviceConfigurationOK ¶
func NewCreateDeviceConfigurationOK() *CreateDeviceConfigurationOK
NewCreateDeviceConfigurationOK creates a CreateDeviceConfigurationOK with default headers values
func (*CreateDeviceConfigurationOK) Error ¶
func (o *CreateDeviceConfigurationOK) Error() string
func (*CreateDeviceConfigurationOK) GetPayload ¶
func (o *CreateDeviceConfigurationOK) GetPayload() *models.PublicDeviceConfiguration
type CreateDeviceConfigurationParams ¶
type CreateDeviceConfigurationParams struct { /*Authorization OAuth token */ Authorization string /*Request The device configuration to be created */ Request *models.CreateDeviceConfigRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDeviceConfigurationParams contains all the parameters to send to the API endpoint for the create device configuration operation typically these are written to a http.Request
func NewCreateDeviceConfigurationParams ¶
func NewCreateDeviceConfigurationParams() *CreateDeviceConfigurationParams
NewCreateDeviceConfigurationParams creates a new CreateDeviceConfigurationParams object with the default values initialized.
func NewCreateDeviceConfigurationParamsWithContext ¶
func NewCreateDeviceConfigurationParamsWithContext(ctx context.Context) *CreateDeviceConfigurationParams
NewCreateDeviceConfigurationParamsWithContext creates a new CreateDeviceConfigurationParams object with the default values initialized, and the ability to set a context for a request
func NewCreateDeviceConfigurationParamsWithHTTPClient ¶
func NewCreateDeviceConfigurationParamsWithHTTPClient(client *http.Client) *CreateDeviceConfigurationParams
NewCreateDeviceConfigurationParamsWithHTTPClient creates a new CreateDeviceConfigurationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateDeviceConfigurationParamsWithTimeout ¶
func NewCreateDeviceConfigurationParamsWithTimeout(timeout time.Duration) *CreateDeviceConfigurationParams
NewCreateDeviceConfigurationParamsWithTimeout creates a new CreateDeviceConfigurationParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateDeviceConfigurationParams) SetAuthorization ¶
func (o *CreateDeviceConfigurationParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the create device configuration params
func (*CreateDeviceConfigurationParams) SetContext ¶
func (o *CreateDeviceConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the create device configuration params
func (*CreateDeviceConfigurationParams) SetHTTPClient ¶
func (o *CreateDeviceConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create device configuration params
func (*CreateDeviceConfigurationParams) SetRequest ¶
func (o *CreateDeviceConfigurationParams) SetRequest(request *models.CreateDeviceConfigRequest)
SetRequest adds the request to the create device configuration params
func (*CreateDeviceConfigurationParams) SetTimeout ¶
func (o *CreateDeviceConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create device configuration params
func (*CreateDeviceConfigurationParams) WithAuthorization ¶
func (o *CreateDeviceConfigurationParams) WithAuthorization(authorization string) *CreateDeviceConfigurationParams
WithAuthorization adds the authorization to the create device configuration params
func (*CreateDeviceConfigurationParams) WithContext ¶
func (o *CreateDeviceConfigurationParams) WithContext(ctx context.Context) *CreateDeviceConfigurationParams
WithContext adds the context to the create device configuration params
func (*CreateDeviceConfigurationParams) WithHTTPClient ¶
func (o *CreateDeviceConfigurationParams) WithHTTPClient(client *http.Client) *CreateDeviceConfigurationParams
WithHTTPClient adds the HTTPClient to the create device configuration params
func (*CreateDeviceConfigurationParams) WithRequest ¶
func (o *CreateDeviceConfigurationParams) WithRequest(request *models.CreateDeviceConfigRequest) *CreateDeviceConfigurationParams
WithRequest adds the request to the create device configuration params
func (*CreateDeviceConfigurationParams) WithTimeout ¶
func (o *CreateDeviceConfigurationParams) WithTimeout(timeout time.Duration) *CreateDeviceConfigurationParams
WithTimeout adds the timeout to the create device configuration params
func (*CreateDeviceConfigurationParams) WriteToRequest ¶
func (o *CreateDeviceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDeviceConfigurationReader ¶
type CreateDeviceConfigurationReader struct {
// contains filtered or unexported fields
}
CreateDeviceConfigurationReader is a Reader for the CreateDeviceConfiguration structure.
func (*CreateDeviceConfigurationReader) ReadResponse ¶
func (o *CreateDeviceConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateDeviceConfigurationTooManyRequests ¶
type CreateDeviceConfigurationTooManyRequests struct {
Payload *models.ErrorResponse
}
CreateDeviceConfigurationTooManyRequests handles this case with default header values.
Too many requests
func NewCreateDeviceConfigurationTooManyRequests ¶
func NewCreateDeviceConfigurationTooManyRequests() *CreateDeviceConfigurationTooManyRequests
NewCreateDeviceConfigurationTooManyRequests creates a CreateDeviceConfigurationTooManyRequests with default headers values
func (*CreateDeviceConfigurationTooManyRequests) Error ¶
func (o *CreateDeviceConfigurationTooManyRequests) Error() string
func (*CreateDeviceConfigurationTooManyRequests) GetPayload ¶
func (o *CreateDeviceConfigurationTooManyRequests) GetPayload() *models.ErrorResponse
type CreateDeviceConfigurationUnauthorized ¶
type CreateDeviceConfigurationUnauthorized struct { }
CreateDeviceConfigurationUnauthorized handles this case with default header values.
Unauthorized
func NewCreateDeviceConfigurationUnauthorized ¶
func NewCreateDeviceConfigurationUnauthorized() *CreateDeviceConfigurationUnauthorized
NewCreateDeviceConfigurationUnauthorized creates a CreateDeviceConfigurationUnauthorized with default headers values
func (*CreateDeviceConfigurationUnauthorized) Error ¶
func (o *CreateDeviceConfigurationUnauthorized) Error() string
type GenerateDeviceConfigBadRequest ¶
type GenerateDeviceConfigBadRequest struct {
Payload *models.ErrorResponse
}
GenerateDeviceConfigBadRequest handles this case with default header values.
Bad request
func NewGenerateDeviceConfigBadRequest ¶
func NewGenerateDeviceConfigBadRequest() *GenerateDeviceConfigBadRequest
NewGenerateDeviceConfigBadRequest creates a GenerateDeviceConfigBadRequest with default headers values
func (*GenerateDeviceConfigBadRequest) Error ¶
func (o *GenerateDeviceConfigBadRequest) Error() string
func (*GenerateDeviceConfigBadRequest) GetPayload ¶
func (o *GenerateDeviceConfigBadRequest) GetPayload() *models.ErrorResponse
type GenerateDeviceConfigDefault ¶
type GenerateDeviceConfigDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GenerateDeviceConfigDefault handles this case with default header values.
Unexpected error
func NewGenerateDeviceConfigDefault ¶
func NewGenerateDeviceConfigDefault(code int) *GenerateDeviceConfigDefault
NewGenerateDeviceConfigDefault creates a GenerateDeviceConfigDefault with default headers values
func (*GenerateDeviceConfigDefault) Code ¶
func (o *GenerateDeviceConfigDefault) Code() int
Code gets the status code for the generate device config default response
func (*GenerateDeviceConfigDefault) Error ¶
func (o *GenerateDeviceConfigDefault) Error() string
func (*GenerateDeviceConfigDefault) GetPayload ¶
func (o *GenerateDeviceConfigDefault) GetPayload() *models.ErrorResponse
type GenerateDeviceConfigForbidden ¶
type GenerateDeviceConfigForbidden struct { }
GenerateDeviceConfigForbidden handles this case with default header values.
Forbidden
func NewGenerateDeviceConfigForbidden ¶
func NewGenerateDeviceConfigForbidden() *GenerateDeviceConfigForbidden
NewGenerateDeviceConfigForbidden creates a GenerateDeviceConfigForbidden with default headers values
func (*GenerateDeviceConfigForbidden) Error ¶
func (o *GenerateDeviceConfigForbidden) Error() string
type GenerateDeviceConfigOK ¶
type GenerateDeviceConfigOK struct {
Payload *models.CreateDeviceConfigRequest
}
GenerateDeviceConfigOK handles this case with default header values.
The device configuratiion.
func NewGenerateDeviceConfigOK ¶
func NewGenerateDeviceConfigOK() *GenerateDeviceConfigOK
NewGenerateDeviceConfigOK creates a GenerateDeviceConfigOK with default headers values
func (*GenerateDeviceConfigOK) Error ¶
func (o *GenerateDeviceConfigOK) Error() string
func (*GenerateDeviceConfigOK) GetPayload ¶
func (o *GenerateDeviceConfigOK) GetPayload() *models.CreateDeviceConfigRequest
type GenerateDeviceConfigParams ¶
type GenerateDeviceConfigParams struct { /*Authorization OAuth token */ Authorization string /*TypeIntegration Represents the way that the provided device type is formatted, either in the form of a "dth" or a "profile" */ TypeIntegration *string /*TypeIntegrationID Device Profile or DTH ID. Assumes profile if the typeIntegration parameter is not set. */ TypeIntegrationID string /*TypeShardID Data Management Shard ID where the device type resides. Only useful for `DTH` type integrations. Example: `na04` */ TypeShardID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GenerateDeviceConfigParams contains all the parameters to send to the API endpoint for the generate device config operation typically these are written to a http.Request
func NewGenerateDeviceConfigParams ¶
func NewGenerateDeviceConfigParams() *GenerateDeviceConfigParams
NewGenerateDeviceConfigParams creates a new GenerateDeviceConfigParams object with the default values initialized.
func NewGenerateDeviceConfigParamsWithContext ¶
func NewGenerateDeviceConfigParamsWithContext(ctx context.Context) *GenerateDeviceConfigParams
NewGenerateDeviceConfigParamsWithContext creates a new GenerateDeviceConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGenerateDeviceConfigParamsWithHTTPClient ¶
func NewGenerateDeviceConfigParamsWithHTTPClient(client *http.Client) *GenerateDeviceConfigParams
NewGenerateDeviceConfigParamsWithHTTPClient creates a new GenerateDeviceConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGenerateDeviceConfigParamsWithTimeout ¶
func NewGenerateDeviceConfigParamsWithTimeout(timeout time.Duration) *GenerateDeviceConfigParams
NewGenerateDeviceConfigParamsWithTimeout creates a new GenerateDeviceConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GenerateDeviceConfigParams) SetAuthorization ¶
func (o *GenerateDeviceConfigParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the generate device config params
func (*GenerateDeviceConfigParams) SetContext ¶
func (o *GenerateDeviceConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the generate device config params
func (*GenerateDeviceConfigParams) SetHTTPClient ¶
func (o *GenerateDeviceConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the generate device config params
func (*GenerateDeviceConfigParams) SetTimeout ¶
func (o *GenerateDeviceConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the generate device config params
func (*GenerateDeviceConfigParams) SetTypeIntegration ¶
func (o *GenerateDeviceConfigParams) SetTypeIntegration(typeIntegration *string)
SetTypeIntegration adds the typeIntegration to the generate device config params
func (*GenerateDeviceConfigParams) SetTypeIntegrationID ¶
func (o *GenerateDeviceConfigParams) SetTypeIntegrationID(typeIntegrationID string)
SetTypeIntegrationID adds the typeIntegrationId to the generate device config params
func (*GenerateDeviceConfigParams) SetTypeShardID ¶
func (o *GenerateDeviceConfigParams) SetTypeShardID(typeShardID *string)
SetTypeShardID adds the typeShardId to the generate device config params
func (*GenerateDeviceConfigParams) WithAuthorization ¶
func (o *GenerateDeviceConfigParams) WithAuthorization(authorization string) *GenerateDeviceConfigParams
WithAuthorization adds the authorization to the generate device config params
func (*GenerateDeviceConfigParams) WithContext ¶
func (o *GenerateDeviceConfigParams) WithContext(ctx context.Context) *GenerateDeviceConfigParams
WithContext adds the context to the generate device config params
func (*GenerateDeviceConfigParams) WithHTTPClient ¶
func (o *GenerateDeviceConfigParams) WithHTTPClient(client *http.Client) *GenerateDeviceConfigParams
WithHTTPClient adds the HTTPClient to the generate device config params
func (*GenerateDeviceConfigParams) WithTimeout ¶
func (o *GenerateDeviceConfigParams) WithTimeout(timeout time.Duration) *GenerateDeviceConfigParams
WithTimeout adds the timeout to the generate device config params
func (*GenerateDeviceConfigParams) WithTypeIntegration ¶
func (o *GenerateDeviceConfigParams) WithTypeIntegration(typeIntegration *string) *GenerateDeviceConfigParams
WithTypeIntegration adds the typeIntegration to the generate device config params
func (*GenerateDeviceConfigParams) WithTypeIntegrationID ¶
func (o *GenerateDeviceConfigParams) WithTypeIntegrationID(typeIntegrationID string) *GenerateDeviceConfigParams
WithTypeIntegrationID adds the typeIntegrationID to the generate device config params
func (*GenerateDeviceConfigParams) WithTypeShardID ¶
func (o *GenerateDeviceConfigParams) WithTypeShardID(typeShardID *string) *GenerateDeviceConfigParams
WithTypeShardID adds the typeShardID to the generate device config params
func (*GenerateDeviceConfigParams) WriteToRequest ¶
func (o *GenerateDeviceConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GenerateDeviceConfigReader ¶
type GenerateDeviceConfigReader struct {
// contains filtered or unexported fields
}
GenerateDeviceConfigReader is a Reader for the GenerateDeviceConfig structure.
func (*GenerateDeviceConfigReader) ReadResponse ¶
func (o *GenerateDeviceConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GenerateDeviceConfigTooManyRequests ¶
type GenerateDeviceConfigTooManyRequests struct {
Payload *models.ErrorResponse
}
GenerateDeviceConfigTooManyRequests handles this case with default header values.
Too many requests
func NewGenerateDeviceConfigTooManyRequests ¶
func NewGenerateDeviceConfigTooManyRequests() *GenerateDeviceConfigTooManyRequests
NewGenerateDeviceConfigTooManyRequests creates a GenerateDeviceConfigTooManyRequests with default headers values
func (*GenerateDeviceConfigTooManyRequests) Error ¶
func (o *GenerateDeviceConfigTooManyRequests) Error() string
func (*GenerateDeviceConfigTooManyRequests) GetPayload ¶
func (o *GenerateDeviceConfigTooManyRequests) GetPayload() *models.ErrorResponse
type GenerateDeviceConfigUnauthorized ¶
type GenerateDeviceConfigUnauthorized struct { }
GenerateDeviceConfigUnauthorized handles this case with default header values.
Unauthorized
func NewGenerateDeviceConfigUnauthorized ¶
func NewGenerateDeviceConfigUnauthorized() *GenerateDeviceConfigUnauthorized
NewGenerateDeviceConfigUnauthorized creates a GenerateDeviceConfigUnauthorized with default headers values
func (*GenerateDeviceConfigUnauthorized) Error ¶
func (o *GenerateDeviceConfigUnauthorized) Error() string
type GetCustomCapabilityPresentationDefault ¶
type GetCustomCapabilityPresentationDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetCustomCapabilityPresentationDefault handles this case with default header values.
Unexpected error
func NewGetCustomCapabilityPresentationDefault ¶
func NewGetCustomCapabilityPresentationDefault(code int) *GetCustomCapabilityPresentationDefault
NewGetCustomCapabilityPresentationDefault creates a GetCustomCapabilityPresentationDefault with default headers values
func (*GetCustomCapabilityPresentationDefault) Code ¶
func (o *GetCustomCapabilityPresentationDefault) Code() int
Code gets the status code for the get custom capability presentation default response
func (*GetCustomCapabilityPresentationDefault) Error ¶
func (o *GetCustomCapabilityPresentationDefault) Error() string
func (*GetCustomCapabilityPresentationDefault) GetPayload ¶
func (o *GetCustomCapabilityPresentationDefault) GetPayload() *models.ErrorResponse
type GetCustomCapabilityPresentationForbidden ¶
type GetCustomCapabilityPresentationForbidden struct { }
GetCustomCapabilityPresentationForbidden handles this case with default header values.
Forbidden
func NewGetCustomCapabilityPresentationForbidden ¶
func NewGetCustomCapabilityPresentationForbidden() *GetCustomCapabilityPresentationForbidden
NewGetCustomCapabilityPresentationForbidden creates a GetCustomCapabilityPresentationForbidden with default headers values
func (*GetCustomCapabilityPresentationForbidden) Error ¶
func (o *GetCustomCapabilityPresentationForbidden) Error() string
type GetCustomCapabilityPresentationNotFound ¶
type GetCustomCapabilityPresentationNotFound struct {
Payload *models.ErrorResponse
}
GetCustomCapabilityPresentationNotFound handles this case with default header values.
Not found
func NewGetCustomCapabilityPresentationNotFound ¶
func NewGetCustomCapabilityPresentationNotFound() *GetCustomCapabilityPresentationNotFound
NewGetCustomCapabilityPresentationNotFound creates a GetCustomCapabilityPresentationNotFound with default headers values
func (*GetCustomCapabilityPresentationNotFound) Error ¶
func (o *GetCustomCapabilityPresentationNotFound) Error() string
func (*GetCustomCapabilityPresentationNotFound) GetPayload ¶
func (o *GetCustomCapabilityPresentationNotFound) GetPayload() *models.ErrorResponse
type GetCustomCapabilityPresentationOK ¶
type GetCustomCapabilityPresentationOK struct { /*Maximum requests allowed within the rate limit window. */ XRateLimitLimit int64 /*Remaining requests available within the window. */ XRateLimitRemaining int64 /*Time in milliseconds until the current window expires. */ XRateLimitReset int64 Payload *models.CapabilityPresentation }
GetCustomCapabilityPresentationOK handles this case with default header values.
successful return of a capability presentation
func NewGetCustomCapabilityPresentationOK ¶
func NewGetCustomCapabilityPresentationOK() *GetCustomCapabilityPresentationOK
NewGetCustomCapabilityPresentationOK creates a GetCustomCapabilityPresentationOK with default headers values
func (*GetCustomCapabilityPresentationOK) Error ¶
func (o *GetCustomCapabilityPresentationOK) Error() string
func (*GetCustomCapabilityPresentationOK) GetPayload ¶
func (o *GetCustomCapabilityPresentationOK) GetPayload() *models.CapabilityPresentation
type GetCustomCapabilityPresentationParams ¶
type GetCustomCapabilityPresentationParams struct { /*Authorization OAuth token */ Authorization string /*CapabilityID The ID of the capability. */ CapabilityID string /*CapabilityVersion The version of the capability */ CapabilityVersion int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCustomCapabilityPresentationParams contains all the parameters to send to the API endpoint for the get custom capability presentation operation typically these are written to a http.Request
func NewGetCustomCapabilityPresentationParams ¶
func NewGetCustomCapabilityPresentationParams() *GetCustomCapabilityPresentationParams
NewGetCustomCapabilityPresentationParams creates a new GetCustomCapabilityPresentationParams object with the default values initialized.
func NewGetCustomCapabilityPresentationParamsWithContext ¶
func NewGetCustomCapabilityPresentationParamsWithContext(ctx context.Context) *GetCustomCapabilityPresentationParams
NewGetCustomCapabilityPresentationParamsWithContext creates a new GetCustomCapabilityPresentationParams object with the default values initialized, and the ability to set a context for a request
func NewGetCustomCapabilityPresentationParamsWithHTTPClient ¶
func NewGetCustomCapabilityPresentationParamsWithHTTPClient(client *http.Client) *GetCustomCapabilityPresentationParams
NewGetCustomCapabilityPresentationParamsWithHTTPClient creates a new GetCustomCapabilityPresentationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetCustomCapabilityPresentationParamsWithTimeout ¶
func NewGetCustomCapabilityPresentationParamsWithTimeout(timeout time.Duration) *GetCustomCapabilityPresentationParams
NewGetCustomCapabilityPresentationParamsWithTimeout creates a new GetCustomCapabilityPresentationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetCustomCapabilityPresentationParams) SetAuthorization ¶
func (o *GetCustomCapabilityPresentationParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get custom capability presentation params
func (*GetCustomCapabilityPresentationParams) SetCapabilityID ¶
func (o *GetCustomCapabilityPresentationParams) SetCapabilityID(capabilityID string)
SetCapabilityID adds the capabilityId to the get custom capability presentation params
func (*GetCustomCapabilityPresentationParams) SetCapabilityVersion ¶
func (o *GetCustomCapabilityPresentationParams) SetCapabilityVersion(capabilityVersion int64)
SetCapabilityVersion adds the capabilityVersion to the get custom capability presentation params
func (*GetCustomCapabilityPresentationParams) SetContext ¶
func (o *GetCustomCapabilityPresentationParams) SetContext(ctx context.Context)
SetContext adds the context to the get custom capability presentation params
func (*GetCustomCapabilityPresentationParams) SetHTTPClient ¶
func (o *GetCustomCapabilityPresentationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get custom capability presentation params
func (*GetCustomCapabilityPresentationParams) SetTimeout ¶
func (o *GetCustomCapabilityPresentationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get custom capability presentation params
func (*GetCustomCapabilityPresentationParams) WithAuthorization ¶
func (o *GetCustomCapabilityPresentationParams) WithAuthorization(authorization string) *GetCustomCapabilityPresentationParams
WithAuthorization adds the authorization to the get custom capability presentation params
func (*GetCustomCapabilityPresentationParams) WithCapabilityID ¶
func (o *GetCustomCapabilityPresentationParams) WithCapabilityID(capabilityID string) *GetCustomCapabilityPresentationParams
WithCapabilityID adds the capabilityID to the get custom capability presentation params
func (*GetCustomCapabilityPresentationParams) WithCapabilityVersion ¶
func (o *GetCustomCapabilityPresentationParams) WithCapabilityVersion(capabilityVersion int64) *GetCustomCapabilityPresentationParams
WithCapabilityVersion adds the capabilityVersion to the get custom capability presentation params
func (*GetCustomCapabilityPresentationParams) WithContext ¶
func (o *GetCustomCapabilityPresentationParams) WithContext(ctx context.Context) *GetCustomCapabilityPresentationParams
WithContext adds the context to the get custom capability presentation params
func (*GetCustomCapabilityPresentationParams) WithHTTPClient ¶
func (o *GetCustomCapabilityPresentationParams) WithHTTPClient(client *http.Client) *GetCustomCapabilityPresentationParams
WithHTTPClient adds the HTTPClient to the get custom capability presentation params
func (*GetCustomCapabilityPresentationParams) WithTimeout ¶
func (o *GetCustomCapabilityPresentationParams) WithTimeout(timeout time.Duration) *GetCustomCapabilityPresentationParams
WithTimeout adds the timeout to the get custom capability presentation params
func (*GetCustomCapabilityPresentationParams) WriteToRequest ¶
func (o *GetCustomCapabilityPresentationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCustomCapabilityPresentationReader ¶
type GetCustomCapabilityPresentationReader struct {
// contains filtered or unexported fields
}
GetCustomCapabilityPresentationReader is a Reader for the GetCustomCapabilityPresentation structure.
func (*GetCustomCapabilityPresentationReader) ReadResponse ¶
func (o *GetCustomCapabilityPresentationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCustomCapabilityPresentationTooManyRequests ¶
type GetCustomCapabilityPresentationTooManyRequests struct {
Payload *models.ErrorResponse
}
GetCustomCapabilityPresentationTooManyRequests handles this case with default header values.
Too many requests
func NewGetCustomCapabilityPresentationTooManyRequests ¶
func NewGetCustomCapabilityPresentationTooManyRequests() *GetCustomCapabilityPresentationTooManyRequests
NewGetCustomCapabilityPresentationTooManyRequests creates a GetCustomCapabilityPresentationTooManyRequests with default headers values
func (*GetCustomCapabilityPresentationTooManyRequests) Error ¶
func (o *GetCustomCapabilityPresentationTooManyRequests) Error() string
func (*GetCustomCapabilityPresentationTooManyRequests) GetPayload ¶
func (o *GetCustomCapabilityPresentationTooManyRequests) GetPayload() *models.ErrorResponse
type GetCustomCapabilityPresentationUnauthorized ¶
type GetCustomCapabilityPresentationUnauthorized struct { }
GetCustomCapabilityPresentationUnauthorized handles this case with default header values.
Unauthorized
func NewGetCustomCapabilityPresentationUnauthorized ¶
func NewGetCustomCapabilityPresentationUnauthorized() *GetCustomCapabilityPresentationUnauthorized
NewGetCustomCapabilityPresentationUnauthorized creates a GetCustomCapabilityPresentationUnauthorized with default headers values
func (*GetCustomCapabilityPresentationUnauthorized) Error ¶
func (o *GetCustomCapabilityPresentationUnauthorized) Error() string
type GetDeviceConfigurationBadRequest ¶
type GetDeviceConfigurationBadRequest struct {
Payload *models.ErrorResponse
}
GetDeviceConfigurationBadRequest handles this case with default header values.
Bad request
func NewGetDeviceConfigurationBadRequest ¶
func NewGetDeviceConfigurationBadRequest() *GetDeviceConfigurationBadRequest
NewGetDeviceConfigurationBadRequest creates a GetDeviceConfigurationBadRequest with default headers values
func (*GetDeviceConfigurationBadRequest) Error ¶
func (o *GetDeviceConfigurationBadRequest) Error() string
func (*GetDeviceConfigurationBadRequest) GetPayload ¶
func (o *GetDeviceConfigurationBadRequest) GetPayload() *models.ErrorResponse
type GetDeviceConfigurationDefault ¶
type GetDeviceConfigurationDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetDeviceConfigurationDefault handles this case with default header values.
Unexpected error
func NewGetDeviceConfigurationDefault ¶
func NewGetDeviceConfigurationDefault(code int) *GetDeviceConfigurationDefault
NewGetDeviceConfigurationDefault creates a GetDeviceConfigurationDefault with default headers values
func (*GetDeviceConfigurationDefault) Code ¶
func (o *GetDeviceConfigurationDefault) Code() int
Code gets the status code for the get device configuration default response
func (*GetDeviceConfigurationDefault) Error ¶
func (o *GetDeviceConfigurationDefault) Error() string
func (*GetDeviceConfigurationDefault) GetPayload ¶
func (o *GetDeviceConfigurationDefault) GetPayload() *models.ErrorResponse
type GetDeviceConfigurationForbidden ¶
type GetDeviceConfigurationForbidden struct { }
GetDeviceConfigurationForbidden handles this case with default header values.
Forbidden
func NewGetDeviceConfigurationForbidden ¶
func NewGetDeviceConfigurationForbidden() *GetDeviceConfigurationForbidden
NewGetDeviceConfigurationForbidden creates a GetDeviceConfigurationForbidden with default headers values
func (*GetDeviceConfigurationForbidden) Error ¶
func (o *GetDeviceConfigurationForbidden) Error() string
type GetDeviceConfigurationOK ¶
type GetDeviceConfigurationOK struct {
Payload *models.PublicDeviceConfiguration
}
GetDeviceConfigurationOK handles this case with default header values.
The device configuration.
func NewGetDeviceConfigurationOK ¶
func NewGetDeviceConfigurationOK() *GetDeviceConfigurationOK
NewGetDeviceConfigurationOK creates a GetDeviceConfigurationOK with default headers values
func (*GetDeviceConfigurationOK) Error ¶
func (o *GetDeviceConfigurationOK) Error() string
func (*GetDeviceConfigurationOK) GetPayload ¶
func (o *GetDeviceConfigurationOK) GetPayload() *models.PublicDeviceConfiguration
type GetDeviceConfigurationParams ¶
type GetDeviceConfigurationParams struct { /*Authorization OAuth token */ Authorization string /*ManufacturerName Secondary namespacing key for grouping presentations (formerly `mnmn`) */ ManufacturerName *string /*PresentationID System generated identifier that corresponds to a device presentation (formerly `vid`) */ PresentationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceConfigurationParams contains all the parameters to send to the API endpoint for the get device configuration operation typically these are written to a http.Request
func NewGetDeviceConfigurationParams ¶
func NewGetDeviceConfigurationParams() *GetDeviceConfigurationParams
NewGetDeviceConfigurationParams creates a new GetDeviceConfigurationParams object with the default values initialized.
func NewGetDeviceConfigurationParamsWithContext ¶
func NewGetDeviceConfigurationParamsWithContext(ctx context.Context) *GetDeviceConfigurationParams
NewGetDeviceConfigurationParamsWithContext creates a new GetDeviceConfigurationParams object with the default values initialized, and the ability to set a context for a request
func NewGetDeviceConfigurationParamsWithHTTPClient ¶
func NewGetDeviceConfigurationParamsWithHTTPClient(client *http.Client) *GetDeviceConfigurationParams
NewGetDeviceConfigurationParamsWithHTTPClient creates a new GetDeviceConfigurationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeviceConfigurationParamsWithTimeout ¶
func NewGetDeviceConfigurationParamsWithTimeout(timeout time.Duration) *GetDeviceConfigurationParams
NewGetDeviceConfigurationParamsWithTimeout creates a new GetDeviceConfigurationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeviceConfigurationParams) SetAuthorization ¶
func (o *GetDeviceConfigurationParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get device configuration params
func (*GetDeviceConfigurationParams) SetContext ¶
func (o *GetDeviceConfigurationParams) SetContext(ctx context.Context)
SetContext adds the context to the get device configuration params
func (*GetDeviceConfigurationParams) SetHTTPClient ¶
func (o *GetDeviceConfigurationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device configuration params
func (*GetDeviceConfigurationParams) SetManufacturerName ¶
func (o *GetDeviceConfigurationParams) SetManufacturerName(manufacturerName *string)
SetManufacturerName adds the manufacturerName to the get device configuration params
func (*GetDeviceConfigurationParams) SetPresentationID ¶
func (o *GetDeviceConfigurationParams) SetPresentationID(presentationID string)
SetPresentationID adds the presentationId to the get device configuration params
func (*GetDeviceConfigurationParams) SetTimeout ¶
func (o *GetDeviceConfigurationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device configuration params
func (*GetDeviceConfigurationParams) WithAuthorization ¶
func (o *GetDeviceConfigurationParams) WithAuthorization(authorization string) *GetDeviceConfigurationParams
WithAuthorization adds the authorization to the get device configuration params
func (*GetDeviceConfigurationParams) WithContext ¶
func (o *GetDeviceConfigurationParams) WithContext(ctx context.Context) *GetDeviceConfigurationParams
WithContext adds the context to the get device configuration params
func (*GetDeviceConfigurationParams) WithHTTPClient ¶
func (o *GetDeviceConfigurationParams) WithHTTPClient(client *http.Client) *GetDeviceConfigurationParams
WithHTTPClient adds the HTTPClient to the get device configuration params
func (*GetDeviceConfigurationParams) WithManufacturerName ¶
func (o *GetDeviceConfigurationParams) WithManufacturerName(manufacturerName *string) *GetDeviceConfigurationParams
WithManufacturerName adds the manufacturerName to the get device configuration params
func (*GetDeviceConfigurationParams) WithPresentationID ¶
func (o *GetDeviceConfigurationParams) WithPresentationID(presentationID string) *GetDeviceConfigurationParams
WithPresentationID adds the presentationID to the get device configuration params
func (*GetDeviceConfigurationParams) WithTimeout ¶
func (o *GetDeviceConfigurationParams) WithTimeout(timeout time.Duration) *GetDeviceConfigurationParams
WithTimeout adds the timeout to the get device configuration params
func (*GetDeviceConfigurationParams) WriteToRequest ¶
func (o *GetDeviceConfigurationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceConfigurationReader ¶
type GetDeviceConfigurationReader struct {
// contains filtered or unexported fields
}
GetDeviceConfigurationReader is a Reader for the GetDeviceConfiguration structure.
func (*GetDeviceConfigurationReader) ReadResponse ¶
func (o *GetDeviceConfigurationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceConfigurationTooManyRequests ¶
type GetDeviceConfigurationTooManyRequests struct {
Payload *models.ErrorResponse
}
GetDeviceConfigurationTooManyRequests handles this case with default header values.
Too many requests
func NewGetDeviceConfigurationTooManyRequests ¶
func NewGetDeviceConfigurationTooManyRequests() *GetDeviceConfigurationTooManyRequests
NewGetDeviceConfigurationTooManyRequests creates a GetDeviceConfigurationTooManyRequests with default headers values
func (*GetDeviceConfigurationTooManyRequests) Error ¶
func (o *GetDeviceConfigurationTooManyRequests) Error() string
func (*GetDeviceConfigurationTooManyRequests) GetPayload ¶
func (o *GetDeviceConfigurationTooManyRequests) GetPayload() *models.ErrorResponse
type GetDeviceConfigurationUnauthorized ¶
type GetDeviceConfigurationUnauthorized struct { }
GetDeviceConfigurationUnauthorized handles this case with default header values.
Unauthorized
func NewGetDeviceConfigurationUnauthorized ¶
func NewGetDeviceConfigurationUnauthorized() *GetDeviceConfigurationUnauthorized
NewGetDeviceConfigurationUnauthorized creates a GetDeviceConfigurationUnauthorized with default headers values
func (*GetDeviceConfigurationUnauthorized) Error ¶
func (o *GetDeviceConfigurationUnauthorized) Error() string
type GetDevicePresentationBadRequest ¶
type GetDevicePresentationBadRequest struct {
Payload *models.ErrorResponse
}
GetDevicePresentationBadRequest handles this case with default header values.
Bad request
func NewGetDevicePresentationBadRequest ¶
func NewGetDevicePresentationBadRequest() *GetDevicePresentationBadRequest
NewGetDevicePresentationBadRequest creates a GetDevicePresentationBadRequest with default headers values
func (*GetDevicePresentationBadRequest) Error ¶
func (o *GetDevicePresentationBadRequest) Error() string
func (*GetDevicePresentationBadRequest) GetPayload ¶
func (o *GetDevicePresentationBadRequest) GetPayload() *models.ErrorResponse
type GetDevicePresentationDefault ¶
type GetDevicePresentationDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetDevicePresentationDefault handles this case with default header values.
Unexpected error
func NewGetDevicePresentationDefault ¶
func NewGetDevicePresentationDefault(code int) *GetDevicePresentationDefault
NewGetDevicePresentationDefault creates a GetDevicePresentationDefault with default headers values
func (*GetDevicePresentationDefault) Code ¶
func (o *GetDevicePresentationDefault) Code() int
Code gets the status code for the get device presentation default response
func (*GetDevicePresentationDefault) Error ¶
func (o *GetDevicePresentationDefault) Error() string
func (*GetDevicePresentationDefault) GetPayload ¶
func (o *GetDevicePresentationDefault) GetPayload() *models.ErrorResponse
type GetDevicePresentationForbidden ¶
type GetDevicePresentationForbidden struct { }
GetDevicePresentationForbidden handles this case with default header values.
Forbidden
func NewGetDevicePresentationForbidden ¶
func NewGetDevicePresentationForbidden() *GetDevicePresentationForbidden
NewGetDevicePresentationForbidden creates a GetDevicePresentationForbidden with default headers values
func (*GetDevicePresentationForbidden) Error ¶
func (o *GetDevicePresentationForbidden) Error() string
type GetDevicePresentationOK ¶
type GetDevicePresentationOK struct {
Payload *models.DossierDevicePresentation
}
GetDevicePresentationOK handles this case with default header values.
The device presentation
func NewGetDevicePresentationOK ¶
func NewGetDevicePresentationOK() *GetDevicePresentationOK
NewGetDevicePresentationOK creates a GetDevicePresentationOK with default headers values
func (*GetDevicePresentationOK) Error ¶
func (o *GetDevicePresentationOK) Error() string
func (*GetDevicePresentationOK) GetPayload ¶
func (o *GetDevicePresentationOK) GetPayload() *models.DossierDevicePresentation
type GetDevicePresentationParams ¶
type GetDevicePresentationParams struct { /*AcceptLanguage Language header representing the client's preferred language. The format of the `Accept-Language` header follows what is defined in [RFC 7231, section 5.3.5](https://tools.ietf.org/html/rfc7231#section-5.3.5) */ AcceptLanguage *string /*Authorization OAuth token */ Authorization string /*IfNoneMatch The ETag for the request. */ IfNoneMatch *string /*DeviceID The ID of a device for which we want to load the device presentation. If the device ID is provided, no other fields are required. */ DeviceID *string /*ManufacturerName Secondary namespacing key for grouping presentations (formerly `mnmn`) */ ManufacturerName *string /*PresentationID System generated identifier that corresponds to a device presentation (formerly `vid`) */ PresentationID string /*View view type */ View *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDevicePresentationParams contains all the parameters to send to the API endpoint for the get device presentation operation typically these are written to a http.Request
func NewGetDevicePresentationParams ¶
func NewGetDevicePresentationParams() *GetDevicePresentationParams
NewGetDevicePresentationParams creates a new GetDevicePresentationParams object with the default values initialized.
func NewGetDevicePresentationParamsWithContext ¶
func NewGetDevicePresentationParamsWithContext(ctx context.Context) *GetDevicePresentationParams
NewGetDevicePresentationParamsWithContext creates a new GetDevicePresentationParams object with the default values initialized, and the ability to set a context for a request
func NewGetDevicePresentationParamsWithHTTPClient ¶
func NewGetDevicePresentationParamsWithHTTPClient(client *http.Client) *GetDevicePresentationParams
NewGetDevicePresentationParamsWithHTTPClient creates a new GetDevicePresentationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDevicePresentationParamsWithTimeout ¶
func NewGetDevicePresentationParamsWithTimeout(timeout time.Duration) *GetDevicePresentationParams
NewGetDevicePresentationParamsWithTimeout creates a new GetDevicePresentationParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDevicePresentationParams) SetAcceptLanguage ¶
func (o *GetDevicePresentationParams) SetAcceptLanguage(acceptLanguage *string)
SetAcceptLanguage adds the acceptLanguage to the get device presentation params
func (*GetDevicePresentationParams) SetAuthorization ¶
func (o *GetDevicePresentationParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get device presentation params
func (*GetDevicePresentationParams) SetContext ¶
func (o *GetDevicePresentationParams) SetContext(ctx context.Context)
SetContext adds the context to the get device presentation params
func (*GetDevicePresentationParams) SetDeviceID ¶
func (o *GetDevicePresentationParams) SetDeviceID(deviceID *string)
SetDeviceID adds the deviceId to the get device presentation params
func (*GetDevicePresentationParams) SetHTTPClient ¶
func (o *GetDevicePresentationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device presentation params
func (*GetDevicePresentationParams) SetIfNoneMatch ¶
func (o *GetDevicePresentationParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get device presentation params
func (*GetDevicePresentationParams) SetManufacturerName ¶
func (o *GetDevicePresentationParams) SetManufacturerName(manufacturerName *string)
SetManufacturerName adds the manufacturerName to the get device presentation params
func (*GetDevicePresentationParams) SetPresentationID ¶
func (o *GetDevicePresentationParams) SetPresentationID(presentationID string)
SetPresentationID adds the presentationId to the get device presentation params
func (*GetDevicePresentationParams) SetTimeout ¶
func (o *GetDevicePresentationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device presentation params
func (*GetDevicePresentationParams) SetView ¶
func (o *GetDevicePresentationParams) SetView(view *string)
SetView adds the view to the get device presentation params
func (*GetDevicePresentationParams) WithAcceptLanguage ¶
func (o *GetDevicePresentationParams) WithAcceptLanguage(acceptLanguage *string) *GetDevicePresentationParams
WithAcceptLanguage adds the acceptLanguage to the get device presentation params
func (*GetDevicePresentationParams) WithAuthorization ¶
func (o *GetDevicePresentationParams) WithAuthorization(authorization string) *GetDevicePresentationParams
WithAuthorization adds the authorization to the get device presentation params
func (*GetDevicePresentationParams) WithContext ¶
func (o *GetDevicePresentationParams) WithContext(ctx context.Context) *GetDevicePresentationParams
WithContext adds the context to the get device presentation params
func (*GetDevicePresentationParams) WithDeviceID ¶
func (o *GetDevicePresentationParams) WithDeviceID(deviceID *string) *GetDevicePresentationParams
WithDeviceID adds the deviceID to the get device presentation params
func (*GetDevicePresentationParams) WithHTTPClient ¶
func (o *GetDevicePresentationParams) WithHTTPClient(client *http.Client) *GetDevicePresentationParams
WithHTTPClient adds the HTTPClient to the get device presentation params
func (*GetDevicePresentationParams) WithIfNoneMatch ¶
func (o *GetDevicePresentationParams) WithIfNoneMatch(ifNoneMatch *string) *GetDevicePresentationParams
WithIfNoneMatch adds the ifNoneMatch to the get device presentation params
func (*GetDevicePresentationParams) WithManufacturerName ¶
func (o *GetDevicePresentationParams) WithManufacturerName(manufacturerName *string) *GetDevicePresentationParams
WithManufacturerName adds the manufacturerName to the get device presentation params
func (*GetDevicePresentationParams) WithPresentationID ¶
func (o *GetDevicePresentationParams) WithPresentationID(presentationID string) *GetDevicePresentationParams
WithPresentationID adds the presentationID to the get device presentation params
func (*GetDevicePresentationParams) WithTimeout ¶
func (o *GetDevicePresentationParams) WithTimeout(timeout time.Duration) *GetDevicePresentationParams
WithTimeout adds the timeout to the get device presentation params
func (*GetDevicePresentationParams) WithView ¶
func (o *GetDevicePresentationParams) WithView(view *string) *GetDevicePresentationParams
WithView adds the view to the get device presentation params
func (*GetDevicePresentationParams) WriteToRequest ¶
func (o *GetDevicePresentationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDevicePresentationReader ¶
type GetDevicePresentationReader struct {
// contains filtered or unexported fields
}
GetDevicePresentationReader is a Reader for the GetDevicePresentation structure.
func (*GetDevicePresentationReader) ReadResponse ¶
func (o *GetDevicePresentationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDevicePresentationTooManyRequests ¶
type GetDevicePresentationTooManyRequests struct {
Payload *models.ErrorResponse
}
GetDevicePresentationTooManyRequests handles this case with default header values.
Too many requests
func NewGetDevicePresentationTooManyRequests ¶
func NewGetDevicePresentationTooManyRequests() *GetDevicePresentationTooManyRequests
NewGetDevicePresentationTooManyRequests creates a GetDevicePresentationTooManyRequests with default headers values
func (*GetDevicePresentationTooManyRequests) Error ¶
func (o *GetDevicePresentationTooManyRequests) Error() string
func (*GetDevicePresentationTooManyRequests) GetPayload ¶
func (o *GetDevicePresentationTooManyRequests) GetPayload() *models.ErrorResponse
type GetDevicePresentationUnauthorized ¶
type GetDevicePresentationUnauthorized struct { }
GetDevicePresentationUnauthorized handles this case with default header values.
Unauthorized
func NewGetDevicePresentationUnauthorized ¶
func NewGetDevicePresentationUnauthorized() *GetDevicePresentationUnauthorized
NewGetDevicePresentationUnauthorized creates a GetDevicePresentationUnauthorized with default headers values
func (*GetDevicePresentationUnauthorized) Error ¶
func (o *GetDevicePresentationUnauthorized) Error() string
type UpdateCustomCapabilityPresentationBadRequest ¶
type UpdateCustomCapabilityPresentationBadRequest struct {
Payload *models.ErrorResponse
}
UpdateCustomCapabilityPresentationBadRequest handles this case with default header values.
Bad request
func NewUpdateCustomCapabilityPresentationBadRequest ¶
func NewUpdateCustomCapabilityPresentationBadRequest() *UpdateCustomCapabilityPresentationBadRequest
NewUpdateCustomCapabilityPresentationBadRequest creates a UpdateCustomCapabilityPresentationBadRequest with default headers values
func (*UpdateCustomCapabilityPresentationBadRequest) Error ¶
func (o *UpdateCustomCapabilityPresentationBadRequest) Error() string
func (*UpdateCustomCapabilityPresentationBadRequest) GetPayload ¶
func (o *UpdateCustomCapabilityPresentationBadRequest) GetPayload() *models.ErrorResponse
type UpdateCustomCapabilityPresentationBody ¶
type UpdateCustomCapabilityPresentationBody struct { // automation Automation *models.AutomationForCapability `json:"automation,omitempty"` // dashboard Dashboard *models.DashboardForCapability `json:"dashboard,omitempty"` // detail view DetailView models.DetailViewForCapability `json:"detailView"` }
UpdateCustomCapabilityPresentationBody The capability presentation describes how the capability will look in the app, what actions and states are shown, as well as how conditions and actions are expressed in an automation. swagger:model UpdateCustomCapabilityPresentationBody
func (*UpdateCustomCapabilityPresentationBody) MarshalBinary ¶
func (o *UpdateCustomCapabilityPresentationBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCustomCapabilityPresentationBody) UnmarshalBinary ¶
func (o *UpdateCustomCapabilityPresentationBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCustomCapabilityPresentationConflict ¶
type UpdateCustomCapabilityPresentationConflict struct {
Payload *models.ErrorResponse
}
UpdateCustomCapabilityPresentationConflict handles this case with default header values.
Conflict
func NewUpdateCustomCapabilityPresentationConflict ¶
func NewUpdateCustomCapabilityPresentationConflict() *UpdateCustomCapabilityPresentationConflict
NewUpdateCustomCapabilityPresentationConflict creates a UpdateCustomCapabilityPresentationConflict with default headers values
func (*UpdateCustomCapabilityPresentationConflict) Error ¶
func (o *UpdateCustomCapabilityPresentationConflict) Error() string
func (*UpdateCustomCapabilityPresentationConflict) GetPayload ¶
func (o *UpdateCustomCapabilityPresentationConflict) GetPayload() *models.ErrorResponse
type UpdateCustomCapabilityPresentationDefault ¶
type UpdateCustomCapabilityPresentationDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
UpdateCustomCapabilityPresentationDefault handles this case with default header values.
Unexpected error
func NewUpdateCustomCapabilityPresentationDefault ¶
func NewUpdateCustomCapabilityPresentationDefault(code int) *UpdateCustomCapabilityPresentationDefault
NewUpdateCustomCapabilityPresentationDefault creates a UpdateCustomCapabilityPresentationDefault with default headers values
func (*UpdateCustomCapabilityPresentationDefault) Code ¶
func (o *UpdateCustomCapabilityPresentationDefault) Code() int
Code gets the status code for the update custom capability presentation default response
func (*UpdateCustomCapabilityPresentationDefault) Error ¶
func (o *UpdateCustomCapabilityPresentationDefault) Error() string
func (*UpdateCustomCapabilityPresentationDefault) GetPayload ¶
func (o *UpdateCustomCapabilityPresentationDefault) GetPayload() *models.ErrorResponse
type UpdateCustomCapabilityPresentationForbidden ¶
type UpdateCustomCapabilityPresentationForbidden struct { }
UpdateCustomCapabilityPresentationForbidden handles this case with default header values.
Forbidden
func NewUpdateCustomCapabilityPresentationForbidden ¶
func NewUpdateCustomCapabilityPresentationForbidden() *UpdateCustomCapabilityPresentationForbidden
NewUpdateCustomCapabilityPresentationForbidden creates a UpdateCustomCapabilityPresentationForbidden with default headers values
func (*UpdateCustomCapabilityPresentationForbidden) Error ¶
func (o *UpdateCustomCapabilityPresentationForbidden) Error() string
type UpdateCustomCapabilityPresentationOK ¶
type UpdateCustomCapabilityPresentationOK struct { /*Maximum requests allowed within the rate limit window. */ XRateLimitLimit int64 /*Remaining requests available within the window. */ XRateLimitRemaining int64 /*Time in milliseconds until the current window expires. */ XRateLimitReset int64 Payload *models.CapabilityPresentation }
UpdateCustomCapabilityPresentationOK handles this case with default header values.
The custom capability presentation
func NewUpdateCustomCapabilityPresentationOK ¶
func NewUpdateCustomCapabilityPresentationOK() *UpdateCustomCapabilityPresentationOK
NewUpdateCustomCapabilityPresentationOK creates a UpdateCustomCapabilityPresentationOK with default headers values
func (*UpdateCustomCapabilityPresentationOK) Error ¶
func (o *UpdateCustomCapabilityPresentationOK) Error() string
func (*UpdateCustomCapabilityPresentationOK) GetPayload ¶
func (o *UpdateCustomCapabilityPresentationOK) GetPayload() *models.CapabilityPresentation
type UpdateCustomCapabilityPresentationParams ¶
type UpdateCustomCapabilityPresentationParams struct { /*Authorization OAuth token */ Authorization string /*CapabilityID The ID of the capability. */ CapabilityID string /*CapabilityRequestBodyForPUT*/ CapabilityRequestBodyForPUT UpdateCustomCapabilityPresentationBody /*CapabilityVersion The version of the capability */ CapabilityVersion int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCustomCapabilityPresentationParams contains all the parameters to send to the API endpoint for the update custom capability presentation operation typically these are written to a http.Request
func NewUpdateCustomCapabilityPresentationParams ¶
func NewUpdateCustomCapabilityPresentationParams() *UpdateCustomCapabilityPresentationParams
NewUpdateCustomCapabilityPresentationParams creates a new UpdateCustomCapabilityPresentationParams object with the default values initialized.
func NewUpdateCustomCapabilityPresentationParamsWithContext ¶
func NewUpdateCustomCapabilityPresentationParamsWithContext(ctx context.Context) *UpdateCustomCapabilityPresentationParams
NewUpdateCustomCapabilityPresentationParamsWithContext creates a new UpdateCustomCapabilityPresentationParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateCustomCapabilityPresentationParamsWithHTTPClient ¶
func NewUpdateCustomCapabilityPresentationParamsWithHTTPClient(client *http.Client) *UpdateCustomCapabilityPresentationParams
NewUpdateCustomCapabilityPresentationParamsWithHTTPClient creates a new UpdateCustomCapabilityPresentationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateCustomCapabilityPresentationParamsWithTimeout ¶
func NewUpdateCustomCapabilityPresentationParamsWithTimeout(timeout time.Duration) *UpdateCustomCapabilityPresentationParams
NewUpdateCustomCapabilityPresentationParamsWithTimeout creates a new UpdateCustomCapabilityPresentationParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateCustomCapabilityPresentationParams) SetAuthorization ¶
func (o *UpdateCustomCapabilityPresentationParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) SetCapabilityID ¶
func (o *UpdateCustomCapabilityPresentationParams) SetCapabilityID(capabilityID string)
SetCapabilityID adds the capabilityId to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) SetCapabilityRequestBodyForPUT ¶
func (o *UpdateCustomCapabilityPresentationParams) SetCapabilityRequestBodyForPUT(capabilityRequestBodyForPUT UpdateCustomCapabilityPresentationBody)
SetCapabilityRequestBodyForPUT adds the capabilityRequestBodyForPUT to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) SetCapabilityVersion ¶
func (o *UpdateCustomCapabilityPresentationParams) SetCapabilityVersion(capabilityVersion int64)
SetCapabilityVersion adds the capabilityVersion to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) SetContext ¶
func (o *UpdateCustomCapabilityPresentationParams) SetContext(ctx context.Context)
SetContext adds the context to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) SetHTTPClient ¶
func (o *UpdateCustomCapabilityPresentationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) SetTimeout ¶
func (o *UpdateCustomCapabilityPresentationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) WithAuthorization ¶
func (o *UpdateCustomCapabilityPresentationParams) WithAuthorization(authorization string) *UpdateCustomCapabilityPresentationParams
WithAuthorization adds the authorization to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) WithCapabilityID ¶
func (o *UpdateCustomCapabilityPresentationParams) WithCapabilityID(capabilityID string) *UpdateCustomCapabilityPresentationParams
WithCapabilityID adds the capabilityID to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) WithCapabilityRequestBodyForPUT ¶
func (o *UpdateCustomCapabilityPresentationParams) WithCapabilityRequestBodyForPUT(capabilityRequestBodyForPUT UpdateCustomCapabilityPresentationBody) *UpdateCustomCapabilityPresentationParams
WithCapabilityRequestBodyForPUT adds the capabilityRequestBodyForPUT to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) WithCapabilityVersion ¶
func (o *UpdateCustomCapabilityPresentationParams) WithCapabilityVersion(capabilityVersion int64) *UpdateCustomCapabilityPresentationParams
WithCapabilityVersion adds the capabilityVersion to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) WithContext ¶
func (o *UpdateCustomCapabilityPresentationParams) WithContext(ctx context.Context) *UpdateCustomCapabilityPresentationParams
WithContext adds the context to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) WithHTTPClient ¶
func (o *UpdateCustomCapabilityPresentationParams) WithHTTPClient(client *http.Client) *UpdateCustomCapabilityPresentationParams
WithHTTPClient adds the HTTPClient to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) WithTimeout ¶
func (o *UpdateCustomCapabilityPresentationParams) WithTimeout(timeout time.Duration) *UpdateCustomCapabilityPresentationParams
WithTimeout adds the timeout to the update custom capability presentation params
func (*UpdateCustomCapabilityPresentationParams) WriteToRequest ¶
func (o *UpdateCustomCapabilityPresentationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCustomCapabilityPresentationReader ¶
type UpdateCustomCapabilityPresentationReader struct {
// contains filtered or unexported fields
}
UpdateCustomCapabilityPresentationReader is a Reader for the UpdateCustomCapabilityPresentation structure.
func (*UpdateCustomCapabilityPresentationReader) ReadResponse ¶
func (o *UpdateCustomCapabilityPresentationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCustomCapabilityPresentationTooManyRequests ¶
type UpdateCustomCapabilityPresentationTooManyRequests struct {
Payload *models.ErrorResponse
}
UpdateCustomCapabilityPresentationTooManyRequests handles this case with default header values.
Too many requests
func NewUpdateCustomCapabilityPresentationTooManyRequests ¶
func NewUpdateCustomCapabilityPresentationTooManyRequests() *UpdateCustomCapabilityPresentationTooManyRequests
NewUpdateCustomCapabilityPresentationTooManyRequests creates a UpdateCustomCapabilityPresentationTooManyRequests with default headers values
func (*UpdateCustomCapabilityPresentationTooManyRequests) Error ¶
func (o *UpdateCustomCapabilityPresentationTooManyRequests) Error() string
func (*UpdateCustomCapabilityPresentationTooManyRequests) GetPayload ¶
func (o *UpdateCustomCapabilityPresentationTooManyRequests) GetPayload() *models.ErrorResponse
type UpdateCustomCapabilityPresentationUnauthorized ¶
type UpdateCustomCapabilityPresentationUnauthorized struct { }
UpdateCustomCapabilityPresentationUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateCustomCapabilityPresentationUnauthorized ¶
func NewUpdateCustomCapabilityPresentationUnauthorized() *UpdateCustomCapabilityPresentationUnauthorized
NewUpdateCustomCapabilityPresentationUnauthorized creates a UpdateCustomCapabilityPresentationUnauthorized with default headers values
func (*UpdateCustomCapabilityPresentationUnauthorized) Error ¶
func (o *UpdateCustomCapabilityPresentationUnauthorized) Error() string
type UpdateCustomCapabilityPresentationUnprocessableEntity ¶
type UpdateCustomCapabilityPresentationUnprocessableEntity struct {
Payload *models.ErrorResponse
}
UpdateCustomCapabilityPresentationUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewUpdateCustomCapabilityPresentationUnprocessableEntity ¶
func NewUpdateCustomCapabilityPresentationUnprocessableEntity() *UpdateCustomCapabilityPresentationUnprocessableEntity
NewUpdateCustomCapabilityPresentationUnprocessableEntity creates a UpdateCustomCapabilityPresentationUnprocessableEntity with default headers values
func (*UpdateCustomCapabilityPresentationUnprocessableEntity) Error ¶
func (o *UpdateCustomCapabilityPresentationUnprocessableEntity) Error() string
func (*UpdateCustomCapabilityPresentationUnprocessableEntity) GetPayload ¶
func (o *UpdateCustomCapabilityPresentationUnprocessableEntity) GetPayload() *models.ErrorResponse
type UpdateCustomCapabilityPresentationUnsupportedMediaType ¶
type UpdateCustomCapabilityPresentationUnsupportedMediaType struct {
Payload *models.ErrorResponse
}
UpdateCustomCapabilityPresentationUnsupportedMediaType handles this case with default header values.
Unsupported Media Type
func NewUpdateCustomCapabilityPresentationUnsupportedMediaType ¶
func NewUpdateCustomCapabilityPresentationUnsupportedMediaType() *UpdateCustomCapabilityPresentationUnsupportedMediaType
NewUpdateCustomCapabilityPresentationUnsupportedMediaType creates a UpdateCustomCapabilityPresentationUnsupportedMediaType with default headers values
func (*UpdateCustomCapabilityPresentationUnsupportedMediaType) Error ¶
func (o *UpdateCustomCapabilityPresentationUnsupportedMediaType) Error() string
func (*UpdateCustomCapabilityPresentationUnsupportedMediaType) GetPayload ¶
func (o *UpdateCustomCapabilityPresentationUnsupportedMediaType) GetPayload() *models.ErrorResponse
Source Files
¶
- create_custom_capability_presentation_parameters.go
- create_custom_capability_presentation_responses.go
- create_device_configuration_parameters.go
- create_device_configuration_responses.go
- generate_device_config_parameters.go
- generate_device_config_responses.go
- get_custom_capability_presentation_parameters.go
- get_custom_capability_presentation_responses.go
- get_device_configuration_parameters.go
- get_device_configuration_responses.go
- get_device_presentation_parameters.go
- get_device_presentation_responses.go
- presentations_client.go
- update_custom_capability_presentation_parameters.go
- update_custom_capability_presentation_responses.go