Help us shape the future of Go! Take the 2026 Go Developer Survey

deviceprofiles

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 10 Imported by: 2

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 deviceprofiles API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new deviceprofiles API client.

func (*Client) CreateDeviceProfile

func (a *Client) CreateDeviceProfile(params *CreateDeviceProfileParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDeviceProfileOK, error)

CreateDeviceProfile creates a device profile

Create a device profile.

func (*Client) DeleteDeviceProfile

func (a *Client) DeleteDeviceProfile(params *DeleteDeviceProfileParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceProfileOK, error)

DeleteDeviceProfile deletes a device profile

Delete a device profile by ID. Admin use only

func (*Client) GetDeviceProfile

func (a *Client) GetDeviceProfile(params *GetDeviceProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceProfileOK, error)

GetDeviceProfile gs e t a device profile s description

GET a device profile's description.

func (*Client) ListDeviceProfiles

func (a *Client) ListDeviceProfiles(params *ListDeviceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*ListDeviceProfilesOK, error)

ListDeviceProfiles lists all device profiles for the authenticated user

List device profiles.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type CreateDeviceProfileBadRequest

type CreateDeviceProfileBadRequest struct {
	Payload *models.ErrorResponse
}

CreateDeviceProfileBadRequest handles this case with default header values.

Bad request

func NewCreateDeviceProfileBadRequest

func NewCreateDeviceProfileBadRequest() *CreateDeviceProfileBadRequest

NewCreateDeviceProfileBadRequest creates a CreateDeviceProfileBadRequest with default headers values

func (*CreateDeviceProfileBadRequest) Error

type CreateDeviceProfileDefault

type CreateDeviceProfileDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

CreateDeviceProfileDefault handles this case with default header values.

Unexpected error

func NewCreateDeviceProfileDefault

func NewCreateDeviceProfileDefault(code int) *CreateDeviceProfileDefault

NewCreateDeviceProfileDefault creates a CreateDeviceProfileDefault with default headers values

func (*CreateDeviceProfileDefault) Code

func (o *CreateDeviceProfileDefault) Code() int

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

func (*CreateDeviceProfileDefault) Error

type CreateDeviceProfileForbidden

type CreateDeviceProfileForbidden struct {
}

CreateDeviceProfileForbidden handles this case with default header values.

Not authorized

func NewCreateDeviceProfileForbidden

func NewCreateDeviceProfileForbidden() *CreateDeviceProfileForbidden

NewCreateDeviceProfileForbidden creates a CreateDeviceProfileForbidden with default headers values

func (*CreateDeviceProfileForbidden) Error

type CreateDeviceProfileOK

type CreateDeviceProfileOK struct {
	Payload *models.DeviceProfile
}

CreateDeviceProfileOK handles this case with default header values.

The device profile

func NewCreateDeviceProfileOK

func NewCreateDeviceProfileOK() *CreateDeviceProfileOK

NewCreateDeviceProfileOK creates a CreateDeviceProfileOK with default headers values

func (*CreateDeviceProfileOK) Error

func (o *CreateDeviceProfileOK) Error() string

type CreateDeviceProfileParams

type CreateDeviceProfileParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*Request
	  The device profile to be created.

	*/
	Request *models.CreateDeviceProfileRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateDeviceProfileParams contains all the parameters to send to the API endpoint for the create device profile operation typically these are written to a http.Request

func NewCreateDeviceProfileParams

func NewCreateDeviceProfileParams() *CreateDeviceProfileParams

NewCreateDeviceProfileParams creates a new CreateDeviceProfileParams object with the default values initialized.

func NewCreateDeviceProfileParamsWithContext

func NewCreateDeviceProfileParamsWithContext(ctx context.Context) *CreateDeviceProfileParams

NewCreateDeviceProfileParamsWithContext creates a new CreateDeviceProfileParams object with the default values initialized, and the ability to set a context for a request

func NewCreateDeviceProfileParamsWithHTTPClient

func NewCreateDeviceProfileParamsWithHTTPClient(client *http.Client) *CreateDeviceProfileParams

NewCreateDeviceProfileParamsWithHTTPClient creates a new CreateDeviceProfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateDeviceProfileParamsWithTimeout

func NewCreateDeviceProfileParamsWithTimeout(timeout time.Duration) *CreateDeviceProfileParams

NewCreateDeviceProfileParamsWithTimeout creates a new CreateDeviceProfileParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateDeviceProfileParams) SetAuthorization

func (o *CreateDeviceProfileParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the create device profile params

func (*CreateDeviceProfileParams) SetContext

func (o *CreateDeviceProfileParams) SetContext(ctx context.Context)

SetContext adds the context to the create device profile params

func (*CreateDeviceProfileParams) SetHTTPClient

func (o *CreateDeviceProfileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create device profile params

func (*CreateDeviceProfileParams) SetRequest

SetRequest adds the request to the create device profile params

func (*CreateDeviceProfileParams) SetTimeout

func (o *CreateDeviceProfileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create device profile params

func (*CreateDeviceProfileParams) WithAuthorization

func (o *CreateDeviceProfileParams) WithAuthorization(authorization string) *CreateDeviceProfileParams

WithAuthorization adds the authorization to the create device profile params

func (*CreateDeviceProfileParams) WithContext

WithContext adds the context to the create device profile params

func (*CreateDeviceProfileParams) WithHTTPClient

func (o *CreateDeviceProfileParams) WithHTTPClient(client *http.Client) *CreateDeviceProfileParams

WithHTTPClient adds the HTTPClient to the create device profile params

func (*CreateDeviceProfileParams) WithRequest

WithRequest adds the request to the create device profile params

func (*CreateDeviceProfileParams) WithTimeout

WithTimeout adds the timeout to the create device profile params

func (*CreateDeviceProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDeviceProfileReader

type CreateDeviceProfileReader struct {
	// contains filtered or unexported fields
}

CreateDeviceProfileReader is a Reader for the CreateDeviceProfile structure.

func (*CreateDeviceProfileReader) ReadResponse

func (o *CreateDeviceProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateDeviceProfileTooManyRequests

type CreateDeviceProfileTooManyRequests struct {
	Payload *models.ErrorResponse
}

CreateDeviceProfileTooManyRequests handles this case with default header values.

Too many requests

func NewCreateDeviceProfileTooManyRequests

func NewCreateDeviceProfileTooManyRequests() *CreateDeviceProfileTooManyRequests

NewCreateDeviceProfileTooManyRequests creates a CreateDeviceProfileTooManyRequests with default headers values

func (*CreateDeviceProfileTooManyRequests) Error

type CreateDeviceProfileUnauthorized

type CreateDeviceProfileUnauthorized struct {
}

CreateDeviceProfileUnauthorized handles this case with default header values.

Not authenticated

func NewCreateDeviceProfileUnauthorized

func NewCreateDeviceProfileUnauthorized() *CreateDeviceProfileUnauthorized

NewCreateDeviceProfileUnauthorized creates a CreateDeviceProfileUnauthorized with default headers values

func (*CreateDeviceProfileUnauthorized) Error

type DeleteDeviceProfileBadRequest

type DeleteDeviceProfileBadRequest struct {
	Payload *models.ErrorResponse
}

DeleteDeviceProfileBadRequest handles this case with default header values.

Bad request

func NewDeleteDeviceProfileBadRequest

func NewDeleteDeviceProfileBadRequest() *DeleteDeviceProfileBadRequest

NewDeleteDeviceProfileBadRequest creates a DeleteDeviceProfileBadRequest with default headers values

func (*DeleteDeviceProfileBadRequest) Error

type DeleteDeviceProfileDefault

type DeleteDeviceProfileDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

DeleteDeviceProfileDefault handles this case with default header values.

Unexpected error

func NewDeleteDeviceProfileDefault

func NewDeleteDeviceProfileDefault(code int) *DeleteDeviceProfileDefault

NewDeleteDeviceProfileDefault creates a DeleteDeviceProfileDefault with default headers values

func (*DeleteDeviceProfileDefault) Code

func (o *DeleteDeviceProfileDefault) Code() int

Code gets the status code for the delete device profile default response

func (*DeleteDeviceProfileDefault) Error

type DeleteDeviceProfileForbidden

type DeleteDeviceProfileForbidden struct {
}

DeleteDeviceProfileForbidden handles this case with default header values.

Not authorized

func NewDeleteDeviceProfileForbidden

func NewDeleteDeviceProfileForbidden() *DeleteDeviceProfileForbidden

NewDeleteDeviceProfileForbidden creates a DeleteDeviceProfileForbidden with default headers values

func (*DeleteDeviceProfileForbidden) Error

type DeleteDeviceProfileOK

type DeleteDeviceProfileOK struct {
	Payload models.DeleteDeviceProfileResponse
}

DeleteDeviceProfileOK handles this case with default header values.

Device profile deleted.

func NewDeleteDeviceProfileOK

func NewDeleteDeviceProfileOK() *DeleteDeviceProfileOK

NewDeleteDeviceProfileOK creates a DeleteDeviceProfileOK with default headers values

func (*DeleteDeviceProfileOK) Error

func (o *DeleteDeviceProfileOK) Error() string

type DeleteDeviceProfileParams

type DeleteDeviceProfileParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*DeviceProfileID
	  the device profile ID

	*/
	DeviceProfileID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteDeviceProfileParams contains all the parameters to send to the API endpoint for the delete device profile operation typically these are written to a http.Request

func NewDeleteDeviceProfileParams

func NewDeleteDeviceProfileParams() *DeleteDeviceProfileParams

NewDeleteDeviceProfileParams creates a new DeleteDeviceProfileParams object with the default values initialized.

func NewDeleteDeviceProfileParamsWithContext

func NewDeleteDeviceProfileParamsWithContext(ctx context.Context) *DeleteDeviceProfileParams

NewDeleteDeviceProfileParamsWithContext creates a new DeleteDeviceProfileParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteDeviceProfileParamsWithHTTPClient

func NewDeleteDeviceProfileParamsWithHTTPClient(client *http.Client) *DeleteDeviceProfileParams

NewDeleteDeviceProfileParamsWithHTTPClient creates a new DeleteDeviceProfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteDeviceProfileParamsWithTimeout

func NewDeleteDeviceProfileParamsWithTimeout(timeout time.Duration) *DeleteDeviceProfileParams

NewDeleteDeviceProfileParamsWithTimeout creates a new DeleteDeviceProfileParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteDeviceProfileParams) SetAuthorization

func (o *DeleteDeviceProfileParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete device profile params

func (*DeleteDeviceProfileParams) SetContext

func (o *DeleteDeviceProfileParams) SetContext(ctx context.Context)

SetContext adds the context to the delete device profile params

func (*DeleteDeviceProfileParams) SetDeviceProfileID

func (o *DeleteDeviceProfileParams) SetDeviceProfileID(deviceProfileID string)

SetDeviceProfileID adds the deviceProfileId to the delete device profile params

func (*DeleteDeviceProfileParams) SetHTTPClient

func (o *DeleteDeviceProfileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete device profile params

func (*DeleteDeviceProfileParams) SetTimeout

func (o *DeleteDeviceProfileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete device profile params

func (*DeleteDeviceProfileParams) WithAuthorization

func (o *DeleteDeviceProfileParams) WithAuthorization(authorization string) *DeleteDeviceProfileParams

WithAuthorization adds the authorization to the delete device profile params

func (*DeleteDeviceProfileParams) WithContext

WithContext adds the context to the delete device profile params

func (*DeleteDeviceProfileParams) WithDeviceProfileID

func (o *DeleteDeviceProfileParams) WithDeviceProfileID(deviceProfileID string) *DeleteDeviceProfileParams

WithDeviceProfileID adds the deviceProfileID to the delete device profile params

func (*DeleteDeviceProfileParams) WithHTTPClient

func (o *DeleteDeviceProfileParams) WithHTTPClient(client *http.Client) *DeleteDeviceProfileParams

WithHTTPClient adds the HTTPClient to the delete device profile params

func (*DeleteDeviceProfileParams) WithTimeout

WithTimeout adds the timeout to the delete device profile params

func (*DeleteDeviceProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeviceProfileReader

type DeleteDeviceProfileReader struct {
	// contains filtered or unexported fields
}

DeleteDeviceProfileReader is a Reader for the DeleteDeviceProfile structure.

func (*DeleteDeviceProfileReader) ReadResponse

func (o *DeleteDeviceProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteDeviceProfileTooManyRequests

type DeleteDeviceProfileTooManyRequests struct {
	Payload *models.ErrorResponse
}

DeleteDeviceProfileTooManyRequests handles this case with default header values.

Too many requests

func NewDeleteDeviceProfileTooManyRequests

func NewDeleteDeviceProfileTooManyRequests() *DeleteDeviceProfileTooManyRequests

NewDeleteDeviceProfileTooManyRequests creates a DeleteDeviceProfileTooManyRequests with default headers values

func (*DeleteDeviceProfileTooManyRequests) Error

type DeleteDeviceProfileTranslationsBadRequest

type DeleteDeviceProfileTranslationsBadRequest struct {
	Payload *models.ErrorResponse
}

DeleteDeviceProfileTranslationsBadRequest handles this case with default header values.

Bad request

func NewDeleteDeviceProfileTranslationsBadRequest

func NewDeleteDeviceProfileTranslationsBadRequest() *DeleteDeviceProfileTranslationsBadRequest

NewDeleteDeviceProfileTranslationsBadRequest creates a DeleteDeviceProfileTranslationsBadRequest with default headers values

func (*DeleteDeviceProfileTranslationsBadRequest) Error

type DeleteDeviceProfileTranslationsDefault

type DeleteDeviceProfileTranslationsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

DeleteDeviceProfileTranslationsDefault handles this case with default header values.

Unexpected error

func NewDeleteDeviceProfileTranslationsDefault

func NewDeleteDeviceProfileTranslationsDefault(code int) *DeleteDeviceProfileTranslationsDefault

NewDeleteDeviceProfileTranslationsDefault creates a DeleteDeviceProfileTranslationsDefault with default headers values

func (*DeleteDeviceProfileTranslationsDefault) Code

Code gets the status code for the delete device profile translations default response

func (*DeleteDeviceProfileTranslationsDefault) Error

type DeleteDeviceProfileTranslationsForbidden

type DeleteDeviceProfileTranslationsForbidden struct {
}

DeleteDeviceProfileTranslationsForbidden handles this case with default header values.

Forbidden

func NewDeleteDeviceProfileTranslationsForbidden

func NewDeleteDeviceProfileTranslationsForbidden() *DeleteDeviceProfileTranslationsForbidden

NewDeleteDeviceProfileTranslationsForbidden creates a DeleteDeviceProfileTranslationsForbidden with default headers values

func (*DeleteDeviceProfileTranslationsForbidden) Error

type DeleteDeviceProfileTranslationsOK

type DeleteDeviceProfileTranslationsOK struct {
	Payload interface{}
}

DeleteDeviceProfileTranslationsOK handles this case with default header values.

Locale deleted.

func NewDeleteDeviceProfileTranslationsOK

func NewDeleteDeviceProfileTranslationsOK() *DeleteDeviceProfileTranslationsOK

NewDeleteDeviceProfileTranslationsOK creates a DeleteDeviceProfileTranslationsOK with default headers values

func (*DeleteDeviceProfileTranslationsOK) Error

type DeleteDeviceProfileTranslationsParams

type DeleteDeviceProfileTranslationsParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*DeviceProfileID
	  the device profile ID

	*/
	DeviceProfileID string
	/*Locale
	  The tag of the locale as defined in [RFC bcp47](http://www.rfc-editor.org/rfc/bcp/bcp47.txt).

	*/
	Locale string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteDeviceProfileTranslationsParams contains all the parameters to send to the API endpoint for the delete device profile translations operation typically these are written to a http.Request

func NewDeleteDeviceProfileTranslationsParams

func NewDeleteDeviceProfileTranslationsParams() *DeleteDeviceProfileTranslationsParams

NewDeleteDeviceProfileTranslationsParams creates a new DeleteDeviceProfileTranslationsParams object with the default values initialized.

func NewDeleteDeviceProfileTranslationsParamsWithContext

func NewDeleteDeviceProfileTranslationsParamsWithContext(ctx context.Context) *DeleteDeviceProfileTranslationsParams

NewDeleteDeviceProfileTranslationsParamsWithContext creates a new DeleteDeviceProfileTranslationsParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteDeviceProfileTranslationsParamsWithHTTPClient

func NewDeleteDeviceProfileTranslationsParamsWithHTTPClient(client *http.Client) *DeleteDeviceProfileTranslationsParams

NewDeleteDeviceProfileTranslationsParamsWithHTTPClient creates a new DeleteDeviceProfileTranslationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteDeviceProfileTranslationsParamsWithTimeout

func NewDeleteDeviceProfileTranslationsParamsWithTimeout(timeout time.Duration) *DeleteDeviceProfileTranslationsParams

NewDeleteDeviceProfileTranslationsParamsWithTimeout creates a new DeleteDeviceProfileTranslationsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteDeviceProfileTranslationsParams) SetAuthorization

func (o *DeleteDeviceProfileTranslationsParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the delete device profile translations params

func (*DeleteDeviceProfileTranslationsParams) SetContext

SetContext adds the context to the delete device profile translations params

func (*DeleteDeviceProfileTranslationsParams) SetDeviceProfileID

func (o *DeleteDeviceProfileTranslationsParams) SetDeviceProfileID(deviceProfileID string)

SetDeviceProfileID adds the deviceProfileId to the delete device profile translations params

func (*DeleteDeviceProfileTranslationsParams) SetHTTPClient

func (o *DeleteDeviceProfileTranslationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete device profile translations params

func (*DeleteDeviceProfileTranslationsParams) SetLocale

func (o *DeleteDeviceProfileTranslationsParams) SetLocale(locale string)

SetLocale adds the locale to the delete device profile translations params

func (*DeleteDeviceProfileTranslationsParams) SetTimeout

func (o *DeleteDeviceProfileTranslationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete device profile translations params

func (*DeleteDeviceProfileTranslationsParams) WithAuthorization

WithAuthorization adds the authorization to the delete device profile translations params

func (*DeleteDeviceProfileTranslationsParams) WithContext

WithContext adds the context to the delete device profile translations params

func (*DeleteDeviceProfileTranslationsParams) WithDeviceProfileID

WithDeviceProfileID adds the deviceProfileID to the delete device profile translations params

func (*DeleteDeviceProfileTranslationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete device profile translations params

func (*DeleteDeviceProfileTranslationsParams) WithLocale

WithLocale adds the locale to the delete device profile translations params

func (*DeleteDeviceProfileTranslationsParams) WithTimeout

WithTimeout adds the timeout to the delete device profile translations params

func (*DeleteDeviceProfileTranslationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeviceProfileTranslationsReader

type DeleteDeviceProfileTranslationsReader struct {
	// contains filtered or unexported fields
}

DeleteDeviceProfileTranslationsReader is a Reader for the DeleteDeviceProfileTranslations structure.

func (*DeleteDeviceProfileTranslationsReader) ReadResponse

func (o *DeleteDeviceProfileTranslationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteDeviceProfileTranslationsTooManyRequests

type DeleteDeviceProfileTranslationsTooManyRequests struct {
	Payload *models.ErrorResponse
}

DeleteDeviceProfileTranslationsTooManyRequests handles this case with default header values.

Too many requests

func NewDeleteDeviceProfileTranslationsTooManyRequests

func NewDeleteDeviceProfileTranslationsTooManyRequests() *DeleteDeviceProfileTranslationsTooManyRequests

NewDeleteDeviceProfileTranslationsTooManyRequests creates a DeleteDeviceProfileTranslationsTooManyRequests with default headers values

func (*DeleteDeviceProfileTranslationsTooManyRequests) Error

type DeleteDeviceProfileTranslationsUnauthorized

type DeleteDeviceProfileTranslationsUnauthorized struct {
}

DeleteDeviceProfileTranslationsUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteDeviceProfileTranslationsUnauthorized

func NewDeleteDeviceProfileTranslationsUnauthorized() *DeleteDeviceProfileTranslationsUnauthorized

NewDeleteDeviceProfileTranslationsUnauthorized creates a DeleteDeviceProfileTranslationsUnauthorized with default headers values

func (*DeleteDeviceProfileTranslationsUnauthorized) Error

type DeleteDeviceProfileUnauthorized

type DeleteDeviceProfileUnauthorized struct {
}

DeleteDeviceProfileUnauthorized handles this case with default header values.

Not authenticated

func NewDeleteDeviceProfileUnauthorized

func NewDeleteDeviceProfileUnauthorized() *DeleteDeviceProfileUnauthorized

NewDeleteDeviceProfileUnauthorized creates a DeleteDeviceProfileUnauthorized with default headers values

func (*DeleteDeviceProfileUnauthorized) Error

type GetDeviceProfileBadRequest

type GetDeviceProfileBadRequest struct {
	Payload *models.ErrorResponse
}

GetDeviceProfileBadRequest handles this case with default header values.

Bad request

func NewGetDeviceProfileBadRequest

func NewGetDeviceProfileBadRequest() *GetDeviceProfileBadRequest

NewGetDeviceProfileBadRequest creates a GetDeviceProfileBadRequest with default headers values

func (*GetDeviceProfileBadRequest) Error

type GetDeviceProfileDefault

type GetDeviceProfileDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

GetDeviceProfileDefault handles this case with default header values.

Unexpected error

func NewGetDeviceProfileDefault

func NewGetDeviceProfileDefault(code int) *GetDeviceProfileDefault

NewGetDeviceProfileDefault creates a GetDeviceProfileDefault with default headers values

func (*GetDeviceProfileDefault) Code

func (o *GetDeviceProfileDefault) Code() int

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

func (*GetDeviceProfileDefault) Error

func (o *GetDeviceProfileDefault) Error() string

type GetDeviceProfileForbidden

type GetDeviceProfileForbidden struct {
}

GetDeviceProfileForbidden handles this case with default header values.

Not authorized

func NewGetDeviceProfileForbidden

func NewGetDeviceProfileForbidden() *GetDeviceProfileForbidden

NewGetDeviceProfileForbidden creates a GetDeviceProfileForbidden with default headers values

func (*GetDeviceProfileForbidden) Error

func (o *GetDeviceProfileForbidden) Error() string

type GetDeviceProfileLocalesDefault

type GetDeviceProfileLocalesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

GetDeviceProfileLocalesDefault handles this case with default header values.

Unexpected error

func NewGetDeviceProfileLocalesDefault

func NewGetDeviceProfileLocalesDefault(code int) *GetDeviceProfileLocalesDefault

NewGetDeviceProfileLocalesDefault creates a GetDeviceProfileLocalesDefault with default headers values

func (*GetDeviceProfileLocalesDefault) Code

Code gets the status code for the get device profile locales default response

func (*GetDeviceProfileLocalesDefault) Error

type GetDeviceProfileLocalesForbidden

type GetDeviceProfileLocalesForbidden struct {
}

GetDeviceProfileLocalesForbidden handles this case with default header values.

Forbidden

func NewGetDeviceProfileLocalesForbidden

func NewGetDeviceProfileLocalesForbidden() *GetDeviceProfileLocalesForbidden

NewGetDeviceProfileLocalesForbidden creates a GetDeviceProfileLocalesForbidden with default headers values

func (*GetDeviceProfileLocalesForbidden) Error

type GetDeviceProfileLocalesNotFound

type GetDeviceProfileLocalesNotFound struct {
	Payload *models.ErrorResponse
}

GetDeviceProfileLocalesNotFound handles this case with default header values.

Not found

func NewGetDeviceProfileLocalesNotFound

func NewGetDeviceProfileLocalesNotFound() *GetDeviceProfileLocalesNotFound

NewGetDeviceProfileLocalesNotFound creates a GetDeviceProfileLocalesNotFound with default headers values

func (*GetDeviceProfileLocalesNotFound) Error

type GetDeviceProfileLocalesOK

type GetDeviceProfileLocalesOK struct {
	Payload *models.DeviceProfileLocaleTranslations
}

GetDeviceProfileLocalesOK handles this case with default header values.

The locale tag list.

func NewGetDeviceProfileLocalesOK

func NewGetDeviceProfileLocalesOK() *GetDeviceProfileLocalesOK

NewGetDeviceProfileLocalesOK creates a GetDeviceProfileLocalesOK with default headers values

func (*GetDeviceProfileLocalesOK) Error

func (o *GetDeviceProfileLocalesOK) Error() string

type GetDeviceProfileLocalesParams

type GetDeviceProfileLocalesParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*DeviceProfileID
	  the device profile ID

	*/
	DeviceProfileID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceProfileLocalesParams contains all the parameters to send to the API endpoint for the get device profile locales operation typically these are written to a http.Request

func NewGetDeviceProfileLocalesParams

func NewGetDeviceProfileLocalesParams() *GetDeviceProfileLocalesParams

NewGetDeviceProfileLocalesParams creates a new GetDeviceProfileLocalesParams object with the default values initialized.

func NewGetDeviceProfileLocalesParamsWithContext

func NewGetDeviceProfileLocalesParamsWithContext(ctx context.Context) *GetDeviceProfileLocalesParams

NewGetDeviceProfileLocalesParamsWithContext creates a new GetDeviceProfileLocalesParams object with the default values initialized, and the ability to set a context for a request

func NewGetDeviceProfileLocalesParamsWithHTTPClient

func NewGetDeviceProfileLocalesParamsWithHTTPClient(client *http.Client) *GetDeviceProfileLocalesParams

NewGetDeviceProfileLocalesParamsWithHTTPClient creates a new GetDeviceProfileLocalesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDeviceProfileLocalesParamsWithTimeout

func NewGetDeviceProfileLocalesParamsWithTimeout(timeout time.Duration) *GetDeviceProfileLocalesParams

NewGetDeviceProfileLocalesParamsWithTimeout creates a new GetDeviceProfileLocalesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDeviceProfileLocalesParams) SetAuthorization

func (o *GetDeviceProfileLocalesParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get device profile locales params

func (*GetDeviceProfileLocalesParams) SetContext

func (o *GetDeviceProfileLocalesParams) SetContext(ctx context.Context)

SetContext adds the context to the get device profile locales params

func (*GetDeviceProfileLocalesParams) SetDeviceProfileID

func (o *GetDeviceProfileLocalesParams) SetDeviceProfileID(deviceProfileID string)

SetDeviceProfileID adds the deviceProfileId to the get device profile locales params

func (*GetDeviceProfileLocalesParams) SetHTTPClient

func (o *GetDeviceProfileLocalesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device profile locales params

func (*GetDeviceProfileLocalesParams) SetTimeout

func (o *GetDeviceProfileLocalesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device profile locales params

func (*GetDeviceProfileLocalesParams) WithAuthorization

func (o *GetDeviceProfileLocalesParams) WithAuthorization(authorization string) *GetDeviceProfileLocalesParams

WithAuthorization adds the authorization to the get device profile locales params

func (*GetDeviceProfileLocalesParams) WithContext

WithContext adds the context to the get device profile locales params

func (*GetDeviceProfileLocalesParams) WithDeviceProfileID

func (o *GetDeviceProfileLocalesParams) WithDeviceProfileID(deviceProfileID string) *GetDeviceProfileLocalesParams

WithDeviceProfileID adds the deviceProfileID to the get device profile locales params

func (*GetDeviceProfileLocalesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device profile locales params

func (*GetDeviceProfileLocalesParams) WithTimeout

WithTimeout adds the timeout to the get device profile locales params

func (*GetDeviceProfileLocalesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceProfileLocalesReader

type GetDeviceProfileLocalesReader struct {
	// contains filtered or unexported fields
}

GetDeviceProfileLocalesReader is a Reader for the GetDeviceProfileLocales structure.

func (*GetDeviceProfileLocalesReader) ReadResponse

func (o *GetDeviceProfileLocalesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceProfileLocalesTooManyRequests

type GetDeviceProfileLocalesTooManyRequests struct {
	Payload *models.ErrorResponse
}

GetDeviceProfileLocalesTooManyRequests handles this case with default header values.

Too many requests

func NewGetDeviceProfileLocalesTooManyRequests

func NewGetDeviceProfileLocalesTooManyRequests() *GetDeviceProfileLocalesTooManyRequests

NewGetDeviceProfileLocalesTooManyRequests creates a GetDeviceProfileLocalesTooManyRequests with default headers values

func (*GetDeviceProfileLocalesTooManyRequests) Error

type GetDeviceProfileLocalesUnauthorized

type GetDeviceProfileLocalesUnauthorized struct {
}

GetDeviceProfileLocalesUnauthorized handles this case with default header values.

Unauthorized

func NewGetDeviceProfileLocalesUnauthorized

func NewGetDeviceProfileLocalesUnauthorized() *GetDeviceProfileLocalesUnauthorized

NewGetDeviceProfileLocalesUnauthorized creates a GetDeviceProfileLocalesUnauthorized with default headers values

func (*GetDeviceProfileLocalesUnauthorized) Error

type GetDeviceProfileOK

type GetDeviceProfileOK struct {
	Payload *models.DeviceProfile
}

GetDeviceProfileOK handles this case with default header values.

A Device Profile

func NewGetDeviceProfileOK

func NewGetDeviceProfileOK() *GetDeviceProfileOK

NewGetDeviceProfileOK creates a GetDeviceProfileOK with default headers values

func (*GetDeviceProfileOK) Error

func (o *GetDeviceProfileOK) Error() string

type GetDeviceProfileParams

type GetDeviceProfileParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*DeviceProfileID
	  the device profile ID

	*/
	DeviceProfileID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceProfileParams contains all the parameters to send to the API endpoint for the get device profile operation typically these are written to a http.Request

func NewGetDeviceProfileParams

func NewGetDeviceProfileParams() *GetDeviceProfileParams

NewGetDeviceProfileParams creates a new GetDeviceProfileParams object with the default values initialized.

func NewGetDeviceProfileParamsWithContext

func NewGetDeviceProfileParamsWithContext(ctx context.Context) *GetDeviceProfileParams

NewGetDeviceProfileParamsWithContext creates a new GetDeviceProfileParams object with the default values initialized, and the ability to set a context for a request

func NewGetDeviceProfileParamsWithHTTPClient

func NewGetDeviceProfileParamsWithHTTPClient(client *http.Client) *GetDeviceProfileParams

NewGetDeviceProfileParamsWithHTTPClient creates a new GetDeviceProfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDeviceProfileParamsWithTimeout

func NewGetDeviceProfileParamsWithTimeout(timeout time.Duration) *GetDeviceProfileParams

NewGetDeviceProfileParamsWithTimeout creates a new GetDeviceProfileParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDeviceProfileParams) SetAuthorization

func (o *GetDeviceProfileParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get device profile params

func (*GetDeviceProfileParams) SetContext

func (o *GetDeviceProfileParams) SetContext(ctx context.Context)

SetContext adds the context to the get device profile params

func (*GetDeviceProfileParams) SetDeviceProfileID

func (o *GetDeviceProfileParams) SetDeviceProfileID(deviceProfileID string)

SetDeviceProfileID adds the deviceProfileId to the get device profile params

func (*GetDeviceProfileParams) SetHTTPClient

func (o *GetDeviceProfileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device profile params

func (*GetDeviceProfileParams) SetTimeout

func (o *GetDeviceProfileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device profile params

func (*GetDeviceProfileParams) WithAuthorization

func (o *GetDeviceProfileParams) WithAuthorization(authorization string) *GetDeviceProfileParams

WithAuthorization adds the authorization to the get device profile params

func (*GetDeviceProfileParams) WithContext

WithContext adds the context to the get device profile params

func (*GetDeviceProfileParams) WithDeviceProfileID

func (o *GetDeviceProfileParams) WithDeviceProfileID(deviceProfileID string) *GetDeviceProfileParams

WithDeviceProfileID adds the deviceProfileID to the get device profile params

func (*GetDeviceProfileParams) WithHTTPClient

func (o *GetDeviceProfileParams) WithHTTPClient(client *http.Client) *GetDeviceProfileParams

WithHTTPClient adds the HTTPClient to the get device profile params

func (*GetDeviceProfileParams) WithTimeout

WithTimeout adds the timeout to the get device profile params

func (*GetDeviceProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceProfileReader

type GetDeviceProfileReader struct {
	// contains filtered or unexported fields
}

GetDeviceProfileReader is a Reader for the GetDeviceProfile structure.

func (*GetDeviceProfileReader) ReadResponse

func (o *GetDeviceProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceProfileTooManyRequests

type GetDeviceProfileTooManyRequests struct {
	Payload *models.ErrorResponse
}

GetDeviceProfileTooManyRequests handles this case with default header values.

Too many requests

func NewGetDeviceProfileTooManyRequests

func NewGetDeviceProfileTooManyRequests() *GetDeviceProfileTooManyRequests

NewGetDeviceProfileTooManyRequests creates a GetDeviceProfileTooManyRequests with default headers values

func (*GetDeviceProfileTooManyRequests) Error

type GetDeviceProfileTranslationsDefault

type GetDeviceProfileTranslationsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

GetDeviceProfileTranslationsDefault handles this case with default header values.

Unexpected error

func NewGetDeviceProfileTranslationsDefault

func NewGetDeviceProfileTranslationsDefault(code int) *GetDeviceProfileTranslationsDefault

NewGetDeviceProfileTranslationsDefault creates a GetDeviceProfileTranslationsDefault with default headers values

func (*GetDeviceProfileTranslationsDefault) Code

Code gets the status code for the get device profile translations default response

func (*GetDeviceProfileTranslationsDefault) Error

type GetDeviceProfileTranslationsForbidden

type GetDeviceProfileTranslationsForbidden struct {
}

GetDeviceProfileTranslationsForbidden handles this case with default header values.

Forbidden

func NewGetDeviceProfileTranslationsForbidden

func NewGetDeviceProfileTranslationsForbidden() *GetDeviceProfileTranslationsForbidden

NewGetDeviceProfileTranslationsForbidden creates a GetDeviceProfileTranslationsForbidden with default headers values

func (*GetDeviceProfileTranslationsForbidden) Error

type GetDeviceProfileTranslationsNotFound

type GetDeviceProfileTranslationsNotFound struct {
	Payload *models.ErrorResponse
}

GetDeviceProfileTranslationsNotFound handles this case with default header values.

Not found

func NewGetDeviceProfileTranslationsNotFound

func NewGetDeviceProfileTranslationsNotFound() *GetDeviceProfileTranslationsNotFound

NewGetDeviceProfileTranslationsNotFound creates a GetDeviceProfileTranslationsNotFound with default headers values

func (*GetDeviceProfileTranslationsNotFound) Error

type GetDeviceProfileTranslationsOK

type GetDeviceProfileTranslationsOK struct {
	Payload *models.DeviceProfileTranslations
}

GetDeviceProfileTranslationsOK handles this case with default header values.

The translations for the device profile.

func NewGetDeviceProfileTranslationsOK

func NewGetDeviceProfileTranslationsOK() *GetDeviceProfileTranslationsOK

NewGetDeviceProfileTranslationsOK creates a GetDeviceProfileTranslationsOK with default headers values

func (*GetDeviceProfileTranslationsOK) Error

type GetDeviceProfileTranslationsParams

type GetDeviceProfileTranslationsParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*DeviceProfileID
	  the device profile ID

	*/
	DeviceProfileID string
	/*Locale
	  The tag of the locale as defined in [RFC bcp47](http://www.rfc-editor.org/rfc/bcp/bcp47.txt).

	*/
	Locale string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceProfileTranslationsParams contains all the parameters to send to the API endpoint for the get device profile translations operation typically these are written to a http.Request

func NewGetDeviceProfileTranslationsParams

func NewGetDeviceProfileTranslationsParams() *GetDeviceProfileTranslationsParams

NewGetDeviceProfileTranslationsParams creates a new GetDeviceProfileTranslationsParams object with the default values initialized.

func NewGetDeviceProfileTranslationsParamsWithContext

func NewGetDeviceProfileTranslationsParamsWithContext(ctx context.Context) *GetDeviceProfileTranslationsParams

NewGetDeviceProfileTranslationsParamsWithContext creates a new GetDeviceProfileTranslationsParams object with the default values initialized, and the ability to set a context for a request

func NewGetDeviceProfileTranslationsParamsWithHTTPClient

func NewGetDeviceProfileTranslationsParamsWithHTTPClient(client *http.Client) *GetDeviceProfileTranslationsParams

NewGetDeviceProfileTranslationsParamsWithHTTPClient creates a new GetDeviceProfileTranslationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDeviceProfileTranslationsParamsWithTimeout

func NewGetDeviceProfileTranslationsParamsWithTimeout(timeout time.Duration) *GetDeviceProfileTranslationsParams

NewGetDeviceProfileTranslationsParamsWithTimeout creates a new GetDeviceProfileTranslationsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDeviceProfileTranslationsParams) SetAuthorization

func (o *GetDeviceProfileTranslationsParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get device profile translations params

func (*GetDeviceProfileTranslationsParams) SetContext

SetContext adds the context to the get device profile translations params

func (*GetDeviceProfileTranslationsParams) SetDeviceProfileID

func (o *GetDeviceProfileTranslationsParams) SetDeviceProfileID(deviceProfileID string)

SetDeviceProfileID adds the deviceProfileId to the get device profile translations params

func (*GetDeviceProfileTranslationsParams) SetHTTPClient

func (o *GetDeviceProfileTranslationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device profile translations params

func (*GetDeviceProfileTranslationsParams) SetLocale

func (o *GetDeviceProfileTranslationsParams) SetLocale(locale string)

SetLocale adds the locale to the get device profile translations params

func (*GetDeviceProfileTranslationsParams) SetTimeout

func (o *GetDeviceProfileTranslationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device profile translations params

func (*GetDeviceProfileTranslationsParams) WithAuthorization

WithAuthorization adds the authorization to the get device profile translations params

func (*GetDeviceProfileTranslationsParams) WithContext

WithContext adds the context to the get device profile translations params

func (*GetDeviceProfileTranslationsParams) WithDeviceProfileID

func (o *GetDeviceProfileTranslationsParams) WithDeviceProfileID(deviceProfileID string) *GetDeviceProfileTranslationsParams

WithDeviceProfileID adds the deviceProfileID to the get device profile translations params

func (*GetDeviceProfileTranslationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device profile translations params

func (*GetDeviceProfileTranslationsParams) WithLocale

WithLocale adds the locale to the get device profile translations params

func (*GetDeviceProfileTranslationsParams) WithTimeout

WithTimeout adds the timeout to the get device profile translations params

func (*GetDeviceProfileTranslationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceProfileTranslationsReader

type GetDeviceProfileTranslationsReader struct {
	// contains filtered or unexported fields
}

GetDeviceProfileTranslationsReader is a Reader for the GetDeviceProfileTranslations structure.

func (*GetDeviceProfileTranslationsReader) ReadResponse

func (o *GetDeviceProfileTranslationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceProfileTranslationsTooManyRequests

type GetDeviceProfileTranslationsTooManyRequests struct {
	Payload *models.ErrorResponse
}

GetDeviceProfileTranslationsTooManyRequests handles this case with default header values.

Too many requests

func NewGetDeviceProfileTranslationsTooManyRequests

func NewGetDeviceProfileTranslationsTooManyRequests() *GetDeviceProfileTranslationsTooManyRequests

NewGetDeviceProfileTranslationsTooManyRequests creates a GetDeviceProfileTranslationsTooManyRequests with default headers values

func (*GetDeviceProfileTranslationsTooManyRequests) Error

type GetDeviceProfileTranslationsUnauthorized

type GetDeviceProfileTranslationsUnauthorized struct {
}

GetDeviceProfileTranslationsUnauthorized handles this case with default header values.

Unauthorized

func NewGetDeviceProfileTranslationsUnauthorized

func NewGetDeviceProfileTranslationsUnauthorized() *GetDeviceProfileTranslationsUnauthorized

NewGetDeviceProfileTranslationsUnauthorized creates a GetDeviceProfileTranslationsUnauthorized with default headers values

func (*GetDeviceProfileTranslationsUnauthorized) Error

type GetDeviceProfileUnauthorized

type GetDeviceProfileUnauthorized struct {
}

GetDeviceProfileUnauthorized handles this case with default header values.

Not authenticated

func NewGetDeviceProfileUnauthorized

func NewGetDeviceProfileUnauthorized() *GetDeviceProfileUnauthorized

NewGetDeviceProfileUnauthorized creates a GetDeviceProfileUnauthorized with default headers values

func (*GetDeviceProfileUnauthorized) Error

type ListDeviceProfilesBadRequest

type ListDeviceProfilesBadRequest struct {
	Payload *models.ErrorResponse
}

ListDeviceProfilesBadRequest handles this case with default header values.

Bad request

func NewListDeviceProfilesBadRequest

func NewListDeviceProfilesBadRequest() *ListDeviceProfilesBadRequest

NewListDeviceProfilesBadRequest creates a ListDeviceProfilesBadRequest with default headers values

func (*ListDeviceProfilesBadRequest) Error

type ListDeviceProfilesDefault

type ListDeviceProfilesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListDeviceProfilesDefault handles this case with default header values.

Unexpected error

func NewListDeviceProfilesDefault

func NewListDeviceProfilesDefault(code int) *ListDeviceProfilesDefault

NewListDeviceProfilesDefault creates a ListDeviceProfilesDefault with default headers values

func (*ListDeviceProfilesDefault) Code

func (o *ListDeviceProfilesDefault) Code() int

Code gets the status code for the list device profiles default response

func (*ListDeviceProfilesDefault) Error

func (o *ListDeviceProfilesDefault) Error() string

type ListDeviceProfilesForbidden

type ListDeviceProfilesForbidden struct {
}

ListDeviceProfilesForbidden handles this case with default header values.

Not authorized

func NewListDeviceProfilesForbidden

func NewListDeviceProfilesForbidden() *ListDeviceProfilesForbidden

NewListDeviceProfilesForbidden creates a ListDeviceProfilesForbidden with default headers values

func (*ListDeviceProfilesForbidden) Error

type ListDeviceProfilesOK

type ListDeviceProfilesOK struct {
	Payload *models.PagedDeviceProfiles
}

ListDeviceProfilesOK handles this case with default header values.

A list of the users device profiles

func NewListDeviceProfilesOK

func NewListDeviceProfilesOK() *ListDeviceProfilesOK

NewListDeviceProfilesOK creates a ListDeviceProfilesOK with default headers values

func (*ListDeviceProfilesOK) Error

func (o *ListDeviceProfilesOK) Error() string

type ListDeviceProfilesParams

type ListDeviceProfilesParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListDeviceProfilesParams contains all the parameters to send to the API endpoint for the list device profiles operation typically these are written to a http.Request

func NewListDeviceProfilesParams

func NewListDeviceProfilesParams() *ListDeviceProfilesParams

NewListDeviceProfilesParams creates a new ListDeviceProfilesParams object with the default values initialized.

func NewListDeviceProfilesParamsWithContext

func NewListDeviceProfilesParamsWithContext(ctx context.Context) *ListDeviceProfilesParams

NewListDeviceProfilesParamsWithContext creates a new ListDeviceProfilesParams object with the default values initialized, and the ability to set a context for a request

func NewListDeviceProfilesParamsWithHTTPClient

func NewListDeviceProfilesParamsWithHTTPClient(client *http.Client) *ListDeviceProfilesParams

NewListDeviceProfilesParamsWithHTTPClient creates a new ListDeviceProfilesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListDeviceProfilesParamsWithTimeout

func NewListDeviceProfilesParamsWithTimeout(timeout time.Duration) *ListDeviceProfilesParams

NewListDeviceProfilesParamsWithTimeout creates a new ListDeviceProfilesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListDeviceProfilesParams) SetAuthorization

func (o *ListDeviceProfilesParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the list device profiles params

func (*ListDeviceProfilesParams) SetContext

func (o *ListDeviceProfilesParams) SetContext(ctx context.Context)

SetContext adds the context to the list device profiles params

func (*ListDeviceProfilesParams) SetHTTPClient

func (o *ListDeviceProfilesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list device profiles params

func (*ListDeviceProfilesParams) SetTimeout

func (o *ListDeviceProfilesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list device profiles params

func (*ListDeviceProfilesParams) WithAuthorization

func (o *ListDeviceProfilesParams) WithAuthorization(authorization string) *ListDeviceProfilesParams

WithAuthorization adds the authorization to the list device profiles params

func (*ListDeviceProfilesParams) WithContext

WithContext adds the context to the list device profiles params

func (*ListDeviceProfilesParams) WithHTTPClient

func (o *ListDeviceProfilesParams) WithHTTPClient(client *http.Client) *ListDeviceProfilesParams

WithHTTPClient adds the HTTPClient to the list device profiles params

func (*ListDeviceProfilesParams) WithTimeout

WithTimeout adds the timeout to the list device profiles params

func (*ListDeviceProfilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListDeviceProfilesReader

type ListDeviceProfilesReader struct {
	// contains filtered or unexported fields
}

ListDeviceProfilesReader is a Reader for the ListDeviceProfiles structure.

func (*ListDeviceProfilesReader) ReadResponse

func (o *ListDeviceProfilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListDeviceProfilesTooManyRequests

type ListDeviceProfilesTooManyRequests struct {
	Payload *models.ErrorResponse
}

ListDeviceProfilesTooManyRequests handles this case with default header values.

Too many requests

func NewListDeviceProfilesTooManyRequests

func NewListDeviceProfilesTooManyRequests() *ListDeviceProfilesTooManyRequests

NewListDeviceProfilesTooManyRequests creates a ListDeviceProfilesTooManyRequests with default headers values

func (*ListDeviceProfilesTooManyRequests) Error

type ListDeviceProfilesUnauthorized

type ListDeviceProfilesUnauthorized struct {
}

ListDeviceProfilesUnauthorized handles this case with default header values.

Not authenticated

func NewListDeviceProfilesUnauthorized

func NewListDeviceProfilesUnauthorized() *ListDeviceProfilesUnauthorized

NewListDeviceProfilesUnauthorized creates a ListDeviceProfilesUnauthorized with default headers values

func (*ListDeviceProfilesUnauthorized) Error

type PutDeviceProfileTranslationsBadRequest

type PutDeviceProfileTranslationsBadRequest struct {
	Payload *models.ErrorResponse
}

PutDeviceProfileTranslationsBadRequest handles this case with default header values.

Bad request

func NewPutDeviceProfileTranslationsBadRequest

func NewPutDeviceProfileTranslationsBadRequest() *PutDeviceProfileTranslationsBadRequest

NewPutDeviceProfileTranslationsBadRequest creates a PutDeviceProfileTranslationsBadRequest with default headers values

func (*PutDeviceProfileTranslationsBadRequest) Error

type PutDeviceProfileTranslationsDefault

type PutDeviceProfileTranslationsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

PutDeviceProfileTranslationsDefault handles this case with default header values.

Unexpected error

func NewPutDeviceProfileTranslationsDefault

func NewPutDeviceProfileTranslationsDefault(code int) *PutDeviceProfileTranslationsDefault

NewPutDeviceProfileTranslationsDefault creates a PutDeviceProfileTranslationsDefault with default headers values

func (*PutDeviceProfileTranslationsDefault) Code

Code gets the status code for the put device profile translations default response

func (*PutDeviceProfileTranslationsDefault) Error

type PutDeviceProfileTranslationsForbidden

type PutDeviceProfileTranslationsForbidden struct {
}

PutDeviceProfileTranslationsForbidden handles this case with default header values.

Forbidden

func NewPutDeviceProfileTranslationsForbidden

func NewPutDeviceProfileTranslationsForbidden() *PutDeviceProfileTranslationsForbidden

NewPutDeviceProfileTranslationsForbidden creates a PutDeviceProfileTranslationsForbidden with default headers values

func (*PutDeviceProfileTranslationsForbidden) Error

type PutDeviceProfileTranslationsOK

type PutDeviceProfileTranslationsOK struct {
	Payload *models.DeviceProfileTranslations
}

PutDeviceProfileTranslationsOK handles this case with default header values.

An device profile.

func NewPutDeviceProfileTranslationsOK

func NewPutDeviceProfileTranslationsOK() *PutDeviceProfileTranslationsOK

NewPutDeviceProfileTranslationsOK creates a PutDeviceProfileTranslationsOK with default headers values

func (*PutDeviceProfileTranslationsOK) Error

type PutDeviceProfileTranslationsParams

type PutDeviceProfileTranslationsParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*DeviceProfileID
	  the device profile ID

	*/
	DeviceProfileID string
	/*Locale
	  The tag of the locale as defined in [RFC bcp47](http://www.rfc-editor.org/rfc/bcp/bcp47.txt).

	*/
	Locale string
	/*Translations*/
	Translations *models.DeviceProfileTranslations

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutDeviceProfileTranslationsParams contains all the parameters to send to the API endpoint for the put device profile translations operation typically these are written to a http.Request

func NewPutDeviceProfileTranslationsParams

func NewPutDeviceProfileTranslationsParams() *PutDeviceProfileTranslationsParams

NewPutDeviceProfileTranslationsParams creates a new PutDeviceProfileTranslationsParams object with the default values initialized.

func NewPutDeviceProfileTranslationsParamsWithContext

func NewPutDeviceProfileTranslationsParamsWithContext(ctx context.Context) *PutDeviceProfileTranslationsParams

NewPutDeviceProfileTranslationsParamsWithContext creates a new PutDeviceProfileTranslationsParams object with the default values initialized, and the ability to set a context for a request

func NewPutDeviceProfileTranslationsParamsWithHTTPClient

func NewPutDeviceProfileTranslationsParamsWithHTTPClient(client *http.Client) *PutDeviceProfileTranslationsParams

NewPutDeviceProfileTranslationsParamsWithHTTPClient creates a new PutDeviceProfileTranslationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutDeviceProfileTranslationsParamsWithTimeout

func NewPutDeviceProfileTranslationsParamsWithTimeout(timeout time.Duration) *PutDeviceProfileTranslationsParams

NewPutDeviceProfileTranslationsParamsWithTimeout creates a new PutDeviceProfileTranslationsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutDeviceProfileTranslationsParams) SetAuthorization

func (o *PutDeviceProfileTranslationsParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) SetContext

SetContext adds the context to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) SetDeviceProfileID

func (o *PutDeviceProfileTranslationsParams) SetDeviceProfileID(deviceProfileID string)

SetDeviceProfileID adds the deviceProfileId to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) SetHTTPClient

func (o *PutDeviceProfileTranslationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) SetLocale

func (o *PutDeviceProfileTranslationsParams) SetLocale(locale string)

SetLocale adds the locale to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) SetTimeout

func (o *PutDeviceProfileTranslationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) SetTranslations

func (o *PutDeviceProfileTranslationsParams) SetTranslations(translations *models.DeviceProfileTranslations)

SetTranslations adds the translations to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) WithAuthorization

WithAuthorization adds the authorization to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) WithContext

WithContext adds the context to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) WithDeviceProfileID

func (o *PutDeviceProfileTranslationsParams) WithDeviceProfileID(deviceProfileID string) *PutDeviceProfileTranslationsParams

WithDeviceProfileID adds the deviceProfileID to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) WithLocale

WithLocale adds the locale to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) WithTimeout

WithTimeout adds the timeout to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) WithTranslations

WithTranslations adds the translations to the put device profile translations params

func (*PutDeviceProfileTranslationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutDeviceProfileTranslationsReader

type PutDeviceProfileTranslationsReader struct {
	// contains filtered or unexported fields
}

PutDeviceProfileTranslationsReader is a Reader for the PutDeviceProfileTranslations structure.

func (*PutDeviceProfileTranslationsReader) ReadResponse

func (o *PutDeviceProfileTranslationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutDeviceProfileTranslationsTooManyRequests

type PutDeviceProfileTranslationsTooManyRequests struct {
	Payload *models.ErrorResponse
}

PutDeviceProfileTranslationsTooManyRequests handles this case with default header values.

Too many requests

func NewPutDeviceProfileTranslationsTooManyRequests

func NewPutDeviceProfileTranslationsTooManyRequests() *PutDeviceProfileTranslationsTooManyRequests

NewPutDeviceProfileTranslationsTooManyRequests creates a PutDeviceProfileTranslationsTooManyRequests with default headers values

func (*PutDeviceProfileTranslationsTooManyRequests) Error

type PutDeviceProfileTranslationsUnauthorized

type PutDeviceProfileTranslationsUnauthorized struct {
}

PutDeviceProfileTranslationsUnauthorized handles this case with default header values.

Unauthorized

func NewPutDeviceProfileTranslationsUnauthorized

func NewPutDeviceProfileTranslationsUnauthorized() *PutDeviceProfileTranslationsUnauthorized

NewPutDeviceProfileTranslationsUnauthorized creates a PutDeviceProfileTranslationsUnauthorized with default headers values

func (*PutDeviceProfileTranslationsUnauthorized) Error

type PutDeviceProfileTranslationsUnprocessableEntity

type PutDeviceProfileTranslationsUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

PutDeviceProfileTranslationsUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPutDeviceProfileTranslationsUnprocessableEntity

func NewPutDeviceProfileTranslationsUnprocessableEntity() *PutDeviceProfileTranslationsUnprocessableEntity

NewPutDeviceProfileTranslationsUnprocessableEntity creates a PutDeviceProfileTranslationsUnprocessableEntity with default headers values

func (*PutDeviceProfileTranslationsUnprocessableEntity) Error

type UpdateDeviceProfileBadRequest

type UpdateDeviceProfileBadRequest struct {
	Payload *models.ErrorResponse
}

UpdateDeviceProfileBadRequest handles this case with default header values.

Bad request

func NewUpdateDeviceProfileBadRequest

func NewUpdateDeviceProfileBadRequest() *UpdateDeviceProfileBadRequest

NewUpdateDeviceProfileBadRequest creates a UpdateDeviceProfileBadRequest with default headers values

func (*UpdateDeviceProfileBadRequest) Error

type UpdateDeviceProfileDefault

type UpdateDeviceProfileDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

UpdateDeviceProfileDefault handles this case with default header values.

Unexpected error

func NewUpdateDeviceProfileDefault

func NewUpdateDeviceProfileDefault(code int) *UpdateDeviceProfileDefault

NewUpdateDeviceProfileDefault creates a UpdateDeviceProfileDefault with default headers values

func (*UpdateDeviceProfileDefault) Code

func (o *UpdateDeviceProfileDefault) Code() int

Code gets the status code for the update device profile default response

func (*UpdateDeviceProfileDefault) Error

type UpdateDeviceProfileForbidden

type UpdateDeviceProfileForbidden struct {
}

UpdateDeviceProfileForbidden handles this case with default header values.

Forbidden

func NewUpdateDeviceProfileForbidden

func NewUpdateDeviceProfileForbidden() *UpdateDeviceProfileForbidden

NewUpdateDeviceProfileForbidden creates a UpdateDeviceProfileForbidden with default headers values

func (*UpdateDeviceProfileForbidden) Error

type UpdateDeviceProfileOK

type UpdateDeviceProfileOK struct {
	Payload *models.DeviceProfile
}

UpdateDeviceProfileOK handles this case with default header values.

The device profile

func NewUpdateDeviceProfileOK

func NewUpdateDeviceProfileOK() *UpdateDeviceProfileOK

NewUpdateDeviceProfileOK creates a UpdateDeviceProfileOK with default headers values

func (*UpdateDeviceProfileOK) Error

func (o *UpdateDeviceProfileOK) Error() string

type UpdateDeviceProfileParams

type UpdateDeviceProfileParams struct {

	/*Authorization
	  OAuth token

	*/
	Authorization string
	/*DeviceProfileID
	  the device profile ID

	*/
	DeviceProfileID string
	/*Request
	  The device profile to be updated.

	*/
	Request *models.UpdateDeviceProfileRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDeviceProfileParams contains all the parameters to send to the API endpoint for the update device profile operation typically these are written to a http.Request

func NewUpdateDeviceProfileParams

func NewUpdateDeviceProfileParams() *UpdateDeviceProfileParams

NewUpdateDeviceProfileParams creates a new UpdateDeviceProfileParams object with the default values initialized.

func NewUpdateDeviceProfileParamsWithContext

func NewUpdateDeviceProfileParamsWithContext(ctx context.Context) *UpdateDeviceProfileParams

NewUpdateDeviceProfileParamsWithContext creates a new UpdateDeviceProfileParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateDeviceProfileParamsWithHTTPClient

func NewUpdateDeviceProfileParamsWithHTTPClient(client *http.Client) *UpdateDeviceProfileParams

NewUpdateDeviceProfileParamsWithHTTPClient creates a new UpdateDeviceProfileParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateDeviceProfileParamsWithTimeout

func NewUpdateDeviceProfileParamsWithTimeout(timeout time.Duration) *UpdateDeviceProfileParams

NewUpdateDeviceProfileParamsWithTimeout creates a new UpdateDeviceProfileParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateDeviceProfileParams) SetAuthorization

func (o *UpdateDeviceProfileParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the update device profile params

func (*UpdateDeviceProfileParams) SetContext

func (o *UpdateDeviceProfileParams) SetContext(ctx context.Context)

SetContext adds the context to the update device profile params

func (*UpdateDeviceProfileParams) SetDeviceProfileID

func (o *UpdateDeviceProfileParams) SetDeviceProfileID(deviceProfileID string)

SetDeviceProfileID adds the deviceProfileId to the update device profile params

func (*UpdateDeviceProfileParams) SetHTTPClient

func (o *UpdateDeviceProfileParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update device profile params

func (*UpdateDeviceProfileParams) SetRequest

SetRequest adds the request to the update device profile params

func (*UpdateDeviceProfileParams) SetTimeout

func (o *UpdateDeviceProfileParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update device profile params

func (*UpdateDeviceProfileParams) WithAuthorization

func (o *UpdateDeviceProfileParams) WithAuthorization(authorization string) *UpdateDeviceProfileParams

WithAuthorization adds the authorization to the update device profile params

func (*UpdateDeviceProfileParams) WithContext

WithContext adds the context to the update device profile params

func (*UpdateDeviceProfileParams) WithDeviceProfileID

func (o *UpdateDeviceProfileParams) WithDeviceProfileID(deviceProfileID string) *UpdateDeviceProfileParams

WithDeviceProfileID adds the deviceProfileID to the update device profile params

func (*UpdateDeviceProfileParams) WithHTTPClient

func (o *UpdateDeviceProfileParams) WithHTTPClient(client *http.Client) *UpdateDeviceProfileParams

WithHTTPClient adds the HTTPClient to the update device profile params

func (*UpdateDeviceProfileParams) WithRequest

WithRequest adds the request to the update device profile params

func (*UpdateDeviceProfileParams) WithTimeout

WithTimeout adds the timeout to the update device profile params

func (*UpdateDeviceProfileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeviceProfileReader

type UpdateDeviceProfileReader struct {
	// contains filtered or unexported fields
}

UpdateDeviceProfileReader is a Reader for the UpdateDeviceProfile structure.

func (*UpdateDeviceProfileReader) ReadResponse

func (o *UpdateDeviceProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDeviceProfileTooManyRequests

type UpdateDeviceProfileTooManyRequests struct {
	Payload *models.ErrorResponse
}

UpdateDeviceProfileTooManyRequests handles this case with default header values.

Too many requests

func NewUpdateDeviceProfileTooManyRequests

func NewUpdateDeviceProfileTooManyRequests() *UpdateDeviceProfileTooManyRequests

NewUpdateDeviceProfileTooManyRequests creates a UpdateDeviceProfileTooManyRequests with default headers values

func (*UpdateDeviceProfileTooManyRequests) Error

type UpdateDeviceProfileUnauthorized

type UpdateDeviceProfileUnauthorized struct {
}

UpdateDeviceProfileUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateDeviceProfileUnauthorized

func NewUpdateDeviceProfileUnauthorized() *UpdateDeviceProfileUnauthorized

NewUpdateDeviceProfileUnauthorized creates a UpdateDeviceProfileUnauthorized with default headers values

func (*UpdateDeviceProfileUnauthorized) Error

Jump to

Keyboard shortcuts

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