presentations

package
v0.0.0-...-97f4547 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

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

UpdateCustomCapabilityPresentation updates a capability presentation

Update a capability presentation.<br /><br />

**Note:** This API functionality is in BETA

type ClientService

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 (*CreateCustomCapabilityPresentationBadRequest) GetPayload

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 (*CreateCustomCapabilityPresentationConflict) GetPayload

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

Code gets the status code for the create custom capability presentation default response

func (*CreateCustomCapabilityPresentationDefault) Error

func (*CreateCustomCapabilityPresentationDefault) GetPayload

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

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 (*CreateCustomCapabilityPresentationOK) GetPayload

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

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

SetTimeout adds the timeout to the create custom capability presentation params

func (*CreateCustomCapabilityPresentationParams) WithAuthorization

WithAuthorization adds the authorization to the create custom capability presentation params

func (*CreateCustomCapabilityPresentationParams) WithCapabilityID

WithCapabilityID adds the capabilityID to the create custom capability presentation params

func (*CreateCustomCapabilityPresentationParams) WithCapabilityVersion

WithCapabilityVersion adds the capabilityVersion to the create custom capability presentation params

func (*CreateCustomCapabilityPresentationParams) WithContext

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

WithHTTPClient adds the HTTPClient to the create custom capability presentation params

func (*CreateCustomCapabilityPresentationParams) WithTimeout

WithTimeout adds the timeout to the create custom capability presentation params

func (*CreateCustomCapabilityPresentationParams) WriteToRequest

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 (*CreateCustomCapabilityPresentationTooManyRequests) GetPayload

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

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 (*CreateCustomCapabilityPresentationUnprocessableEntity) GetPayload

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 (*CreateCustomCapabilityPresentationUnsupportedMediaType) GetPayload

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 (*CreateDeviceConfigurationBadRequest) GetPayload

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

Code gets the status code for the create device configuration default response

func (*CreateDeviceConfigurationDefault) Error

func (*CreateDeviceConfigurationDefault) GetPayload

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

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 (*CreateDeviceConfigurationOK) GetPayload

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

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

WithContext adds the context to the create device configuration params

func (*CreateDeviceConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create device configuration params

func (*CreateDeviceConfigurationParams) WithRequest

WithRequest adds the request to the create device configuration params

func (*CreateDeviceConfigurationParams) WithTimeout

WithTimeout adds the timeout to the create device configuration params

func (*CreateDeviceConfigurationParams) WriteToRequest

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 (*CreateDeviceConfigurationTooManyRequests) GetPayload

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

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 (*GenerateDeviceConfigBadRequest) GetPayload

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 (*GenerateDeviceConfigDefault) GetPayload

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

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

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

WithContext adds the context to the generate device config params

func (*GenerateDeviceConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the generate device config params

func (*GenerateDeviceConfigParams) WithTimeout

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

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 (*GenerateDeviceConfigTooManyRequests) GetPayload

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

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

Code gets the status code for the get custom capability presentation default response

func (*GetCustomCapabilityPresentationDefault) Error

func (*GetCustomCapabilityPresentationDefault) GetPayload

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

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 (*GetCustomCapabilityPresentationNotFound) GetPayload

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 (*GetCustomCapabilityPresentationOK) GetPayload

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

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

WithAuthorization adds the authorization to the get custom capability presentation params

func (*GetCustomCapabilityPresentationParams) WithCapabilityID

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

WithContext adds the context to the get custom capability presentation params

func (*GetCustomCapabilityPresentationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get custom capability presentation params

func (*GetCustomCapabilityPresentationParams) WithTimeout

WithTimeout adds the timeout to the get custom capability presentation params

func (*GetCustomCapabilityPresentationParams) WriteToRequest

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 (*GetCustomCapabilityPresentationTooManyRequests) GetPayload

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

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 (*GetDeviceConfigurationBadRequest) GetPayload

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

Code gets the status code for the get device configuration default response

func (*GetDeviceConfigurationDefault) Error

func (*GetDeviceConfigurationDefault) GetPayload

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

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

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

WithContext adds the context to the get device configuration params

func (*GetDeviceConfigurationParams) WithHTTPClient

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

WithTimeout adds the timeout to the get device configuration params

func (*GetDeviceConfigurationParams) WriteToRequest

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 (*GetDeviceConfigurationTooManyRequests) GetPayload

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

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 (*GetDevicePresentationBadRequest) GetPayload

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

Code gets the status code for the get device presentation default response

func (*GetDevicePresentationDefault) Error

func (*GetDevicePresentationDefault) GetPayload

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

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

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

WithContext adds the context to the get device presentation params

func (*GetDevicePresentationParams) WithDeviceID

WithDeviceID adds the deviceID to the get device presentation params

func (*GetDevicePresentationParams) WithHTTPClient

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

WithTimeout adds the timeout to the get device presentation params

func (*GetDevicePresentationParams) WithView

WithView adds the view to the get device presentation params

func (*GetDevicePresentationParams) WriteToRequest

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 (*GetDevicePresentationTooManyRequests) GetPayload

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

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 (*UpdateCustomCapabilityPresentationBadRequest) GetPayload

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

func (*UpdateCustomCapabilityPresentationBody) Validate

Validate validates this update custom capability presentation body

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 (*UpdateCustomCapabilityPresentationConflict) GetPayload

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

Code gets the status code for the update custom capability presentation default response

func (*UpdateCustomCapabilityPresentationDefault) Error

func (*UpdateCustomCapabilityPresentationDefault) GetPayload

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

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 (*UpdateCustomCapabilityPresentationOK) GetPayload

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

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

SetTimeout adds the timeout to the update custom capability presentation params

func (*UpdateCustomCapabilityPresentationParams) WithAuthorization

WithAuthorization adds the authorization to the update custom capability presentation params

func (*UpdateCustomCapabilityPresentationParams) WithCapabilityID

WithCapabilityID adds the capabilityID to the update custom capability presentation params

func (*UpdateCustomCapabilityPresentationParams) WithCapabilityRequestBodyForPUT

WithCapabilityRequestBodyForPUT adds the capabilityRequestBodyForPUT to the update custom capability presentation params

func (*UpdateCustomCapabilityPresentationParams) WithCapabilityVersion

WithCapabilityVersion adds the capabilityVersion to the update custom capability presentation params

func (*UpdateCustomCapabilityPresentationParams) WithContext

WithContext adds the context to the update custom capability presentation params

func (*UpdateCustomCapabilityPresentationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update custom capability presentation params

func (*UpdateCustomCapabilityPresentationParams) WithTimeout

WithTimeout adds the timeout to the update custom capability presentation params

func (*UpdateCustomCapabilityPresentationParams) WriteToRequest

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 (*UpdateCustomCapabilityPresentationTooManyRequests) GetPayload

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

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 (*UpdateCustomCapabilityPresentationUnprocessableEntity) GetPayload

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 (*UpdateCustomCapabilityPresentationUnsupportedMediaType) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL