Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDeviceProfile(params *CreateDeviceProfileParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDeviceProfileOK, error)
- func (a *Client) DeleteDeviceProfile(params *DeleteDeviceProfileParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceProfileOK, error)
- func (a *Client) GetDeviceProfile(params *GetDeviceProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceProfileOK, error)
- func (a *Client) ListDeviceProfiles(params *ListDeviceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*ListDeviceProfilesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateDeviceProfileBadRequest
- type CreateDeviceProfileDefault
- type CreateDeviceProfileForbidden
- type CreateDeviceProfileOK
- type CreateDeviceProfileParams
- func NewCreateDeviceProfileParams() *CreateDeviceProfileParams
- func NewCreateDeviceProfileParamsWithContext(ctx context.Context) *CreateDeviceProfileParams
- func NewCreateDeviceProfileParamsWithHTTPClient(client *http.Client) *CreateDeviceProfileParams
- func NewCreateDeviceProfileParamsWithTimeout(timeout time.Duration) *CreateDeviceProfileParams
- func (o *CreateDeviceProfileParams) SetAuthorization(authorization string)
- func (o *CreateDeviceProfileParams) SetContext(ctx context.Context)
- func (o *CreateDeviceProfileParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeviceProfileParams) SetRequest(request *models.CreateDeviceProfileRequest)
- func (o *CreateDeviceProfileParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeviceProfileParams) WithAuthorization(authorization string) *CreateDeviceProfileParams
- func (o *CreateDeviceProfileParams) WithContext(ctx context.Context) *CreateDeviceProfileParams
- func (o *CreateDeviceProfileParams) WithHTTPClient(client *http.Client) *CreateDeviceProfileParams
- func (o *CreateDeviceProfileParams) WithRequest(request *models.CreateDeviceProfileRequest) *CreateDeviceProfileParams
- func (o *CreateDeviceProfileParams) WithTimeout(timeout time.Duration) *CreateDeviceProfileParams
- func (o *CreateDeviceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeviceProfileReader
- type CreateDeviceProfileTooManyRequests
- type CreateDeviceProfileUnauthorized
- type DeleteDeviceProfileBadRequest
- type DeleteDeviceProfileDefault
- type DeleteDeviceProfileForbidden
- type DeleteDeviceProfileOK
- type DeleteDeviceProfileParams
- func NewDeleteDeviceProfileParams() *DeleteDeviceProfileParams
- func NewDeleteDeviceProfileParamsWithContext(ctx context.Context) *DeleteDeviceProfileParams
- func NewDeleteDeviceProfileParamsWithHTTPClient(client *http.Client) *DeleteDeviceProfileParams
- func NewDeleteDeviceProfileParamsWithTimeout(timeout time.Duration) *DeleteDeviceProfileParams
- func (o *DeleteDeviceProfileParams) SetAuthorization(authorization string)
- func (o *DeleteDeviceProfileParams) SetContext(ctx context.Context)
- func (o *DeleteDeviceProfileParams) SetDeviceProfileID(deviceProfileID string)
- func (o *DeleteDeviceProfileParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDeviceProfileParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDeviceProfileParams) WithAuthorization(authorization string) *DeleteDeviceProfileParams
- func (o *DeleteDeviceProfileParams) WithContext(ctx context.Context) *DeleteDeviceProfileParams
- func (o *DeleteDeviceProfileParams) WithDeviceProfileID(deviceProfileID string) *DeleteDeviceProfileParams
- func (o *DeleteDeviceProfileParams) WithHTTPClient(client *http.Client) *DeleteDeviceProfileParams
- func (o *DeleteDeviceProfileParams) WithTimeout(timeout time.Duration) *DeleteDeviceProfileParams
- func (o *DeleteDeviceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeviceProfileReader
- type DeleteDeviceProfileTooManyRequests
- type DeleteDeviceProfileTranslationsBadRequest
- type DeleteDeviceProfileTranslationsDefault
- type DeleteDeviceProfileTranslationsForbidden
- type DeleteDeviceProfileTranslationsOK
- type DeleteDeviceProfileTranslationsParams
- func NewDeleteDeviceProfileTranslationsParams() *DeleteDeviceProfileTranslationsParams
- func NewDeleteDeviceProfileTranslationsParamsWithContext(ctx context.Context) *DeleteDeviceProfileTranslationsParams
- func NewDeleteDeviceProfileTranslationsParamsWithHTTPClient(client *http.Client) *DeleteDeviceProfileTranslationsParams
- func NewDeleteDeviceProfileTranslationsParamsWithTimeout(timeout time.Duration) *DeleteDeviceProfileTranslationsParams
- func (o *DeleteDeviceProfileTranslationsParams) SetAuthorization(authorization string)
- func (o *DeleteDeviceProfileTranslationsParams) SetContext(ctx context.Context)
- func (o *DeleteDeviceProfileTranslationsParams) SetDeviceProfileID(deviceProfileID string)
- func (o *DeleteDeviceProfileTranslationsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDeviceProfileTranslationsParams) SetLocale(locale string)
- func (o *DeleteDeviceProfileTranslationsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDeviceProfileTranslationsParams) WithAuthorization(authorization string) *DeleteDeviceProfileTranslationsParams
- func (o *DeleteDeviceProfileTranslationsParams) WithContext(ctx context.Context) *DeleteDeviceProfileTranslationsParams
- func (o *DeleteDeviceProfileTranslationsParams) WithDeviceProfileID(deviceProfileID string) *DeleteDeviceProfileTranslationsParams
- func (o *DeleteDeviceProfileTranslationsParams) WithHTTPClient(client *http.Client) *DeleteDeviceProfileTranslationsParams
- func (o *DeleteDeviceProfileTranslationsParams) WithLocale(locale string) *DeleteDeviceProfileTranslationsParams
- func (o *DeleteDeviceProfileTranslationsParams) WithTimeout(timeout time.Duration) *DeleteDeviceProfileTranslationsParams
- func (o *DeleteDeviceProfileTranslationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeviceProfileTranslationsReader
- type DeleteDeviceProfileTranslationsTooManyRequests
- type DeleteDeviceProfileTranslationsUnauthorized
- type DeleteDeviceProfileUnauthorized
- type GetDeviceProfileBadRequest
- type GetDeviceProfileDefault
- type GetDeviceProfileForbidden
- type GetDeviceProfileLocalesDefault
- type GetDeviceProfileLocalesForbidden
- type GetDeviceProfileLocalesNotFound
- type GetDeviceProfileLocalesOK
- type GetDeviceProfileLocalesParams
- func NewGetDeviceProfileLocalesParams() *GetDeviceProfileLocalesParams
- func NewGetDeviceProfileLocalesParamsWithContext(ctx context.Context) *GetDeviceProfileLocalesParams
- func NewGetDeviceProfileLocalesParamsWithHTTPClient(client *http.Client) *GetDeviceProfileLocalesParams
- func NewGetDeviceProfileLocalesParamsWithTimeout(timeout time.Duration) *GetDeviceProfileLocalesParams
- func (o *GetDeviceProfileLocalesParams) SetAuthorization(authorization string)
- func (o *GetDeviceProfileLocalesParams) SetContext(ctx context.Context)
- func (o *GetDeviceProfileLocalesParams) SetDeviceProfileID(deviceProfileID string)
- func (o *GetDeviceProfileLocalesParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceProfileLocalesParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceProfileLocalesParams) WithAuthorization(authorization string) *GetDeviceProfileLocalesParams
- func (o *GetDeviceProfileLocalesParams) WithContext(ctx context.Context) *GetDeviceProfileLocalesParams
- func (o *GetDeviceProfileLocalesParams) WithDeviceProfileID(deviceProfileID string) *GetDeviceProfileLocalesParams
- func (o *GetDeviceProfileLocalesParams) WithHTTPClient(client *http.Client) *GetDeviceProfileLocalesParams
- func (o *GetDeviceProfileLocalesParams) WithTimeout(timeout time.Duration) *GetDeviceProfileLocalesParams
- func (o *GetDeviceProfileLocalesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceProfileLocalesReader
- type GetDeviceProfileLocalesTooManyRequests
- type GetDeviceProfileLocalesUnauthorized
- type GetDeviceProfileOK
- type GetDeviceProfileParams
- func NewGetDeviceProfileParams() *GetDeviceProfileParams
- func NewGetDeviceProfileParamsWithContext(ctx context.Context) *GetDeviceProfileParams
- func NewGetDeviceProfileParamsWithHTTPClient(client *http.Client) *GetDeviceProfileParams
- func NewGetDeviceProfileParamsWithTimeout(timeout time.Duration) *GetDeviceProfileParams
- func (o *GetDeviceProfileParams) SetAuthorization(authorization string)
- func (o *GetDeviceProfileParams) SetContext(ctx context.Context)
- func (o *GetDeviceProfileParams) SetDeviceProfileID(deviceProfileID string)
- func (o *GetDeviceProfileParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceProfileParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceProfileParams) WithAuthorization(authorization string) *GetDeviceProfileParams
- func (o *GetDeviceProfileParams) WithContext(ctx context.Context) *GetDeviceProfileParams
- func (o *GetDeviceProfileParams) WithDeviceProfileID(deviceProfileID string) *GetDeviceProfileParams
- func (o *GetDeviceProfileParams) WithHTTPClient(client *http.Client) *GetDeviceProfileParams
- func (o *GetDeviceProfileParams) WithTimeout(timeout time.Duration) *GetDeviceProfileParams
- func (o *GetDeviceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceProfileReader
- type GetDeviceProfileTooManyRequests
- type GetDeviceProfileTranslationsDefault
- type GetDeviceProfileTranslationsForbidden
- type GetDeviceProfileTranslationsNotFound
- type GetDeviceProfileTranslationsOK
- type GetDeviceProfileTranslationsParams
- func NewGetDeviceProfileTranslationsParams() *GetDeviceProfileTranslationsParams
- func NewGetDeviceProfileTranslationsParamsWithContext(ctx context.Context) *GetDeviceProfileTranslationsParams
- func NewGetDeviceProfileTranslationsParamsWithHTTPClient(client *http.Client) *GetDeviceProfileTranslationsParams
- func NewGetDeviceProfileTranslationsParamsWithTimeout(timeout time.Duration) *GetDeviceProfileTranslationsParams
- func (o *GetDeviceProfileTranslationsParams) SetAuthorization(authorization string)
- func (o *GetDeviceProfileTranslationsParams) SetContext(ctx context.Context)
- func (o *GetDeviceProfileTranslationsParams) SetDeviceProfileID(deviceProfileID string)
- func (o *GetDeviceProfileTranslationsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceProfileTranslationsParams) SetLocale(locale string)
- func (o *GetDeviceProfileTranslationsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceProfileTranslationsParams) WithAuthorization(authorization string) *GetDeviceProfileTranslationsParams
- func (o *GetDeviceProfileTranslationsParams) WithContext(ctx context.Context) *GetDeviceProfileTranslationsParams
- func (o *GetDeviceProfileTranslationsParams) WithDeviceProfileID(deviceProfileID string) *GetDeviceProfileTranslationsParams
- func (o *GetDeviceProfileTranslationsParams) WithHTTPClient(client *http.Client) *GetDeviceProfileTranslationsParams
- func (o *GetDeviceProfileTranslationsParams) WithLocale(locale string) *GetDeviceProfileTranslationsParams
- func (o *GetDeviceProfileTranslationsParams) WithTimeout(timeout time.Duration) *GetDeviceProfileTranslationsParams
- func (o *GetDeviceProfileTranslationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceProfileTranslationsReader
- type GetDeviceProfileTranslationsTooManyRequests
- type GetDeviceProfileTranslationsUnauthorized
- type GetDeviceProfileUnauthorized
- type ListDeviceProfilesBadRequest
- type ListDeviceProfilesDefault
- type ListDeviceProfilesForbidden
- type ListDeviceProfilesOK
- type ListDeviceProfilesParams
- func NewListDeviceProfilesParams() *ListDeviceProfilesParams
- func NewListDeviceProfilesParamsWithContext(ctx context.Context) *ListDeviceProfilesParams
- func NewListDeviceProfilesParamsWithHTTPClient(client *http.Client) *ListDeviceProfilesParams
- func NewListDeviceProfilesParamsWithTimeout(timeout time.Duration) *ListDeviceProfilesParams
- func (o *ListDeviceProfilesParams) SetAuthorization(authorization string)
- func (o *ListDeviceProfilesParams) SetContext(ctx context.Context)
- func (o *ListDeviceProfilesParams) SetHTTPClient(client *http.Client)
- func (o *ListDeviceProfilesParams) SetTimeout(timeout time.Duration)
- func (o *ListDeviceProfilesParams) WithAuthorization(authorization string) *ListDeviceProfilesParams
- func (o *ListDeviceProfilesParams) WithContext(ctx context.Context) *ListDeviceProfilesParams
- func (o *ListDeviceProfilesParams) WithHTTPClient(client *http.Client) *ListDeviceProfilesParams
- func (o *ListDeviceProfilesParams) WithTimeout(timeout time.Duration) *ListDeviceProfilesParams
- func (o *ListDeviceProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDeviceProfilesReader
- type ListDeviceProfilesTooManyRequests
- type ListDeviceProfilesUnauthorized
- type PutDeviceProfileTranslationsBadRequest
- type PutDeviceProfileTranslationsDefault
- type PutDeviceProfileTranslationsForbidden
- type PutDeviceProfileTranslationsOK
- type PutDeviceProfileTranslationsParams
- func NewPutDeviceProfileTranslationsParams() *PutDeviceProfileTranslationsParams
- func NewPutDeviceProfileTranslationsParamsWithContext(ctx context.Context) *PutDeviceProfileTranslationsParams
- func NewPutDeviceProfileTranslationsParamsWithHTTPClient(client *http.Client) *PutDeviceProfileTranslationsParams
- func NewPutDeviceProfileTranslationsParamsWithTimeout(timeout time.Duration) *PutDeviceProfileTranslationsParams
- func (o *PutDeviceProfileTranslationsParams) SetAuthorization(authorization string)
- func (o *PutDeviceProfileTranslationsParams) SetContext(ctx context.Context)
- func (o *PutDeviceProfileTranslationsParams) SetDeviceProfileID(deviceProfileID string)
- func (o *PutDeviceProfileTranslationsParams) SetHTTPClient(client *http.Client)
- func (o *PutDeviceProfileTranslationsParams) SetLocale(locale string)
- func (o *PutDeviceProfileTranslationsParams) SetTimeout(timeout time.Duration)
- func (o *PutDeviceProfileTranslationsParams) SetTranslations(translations *models.DeviceProfileTranslations)
- func (o *PutDeviceProfileTranslationsParams) WithAuthorization(authorization string) *PutDeviceProfileTranslationsParams
- func (o *PutDeviceProfileTranslationsParams) WithContext(ctx context.Context) *PutDeviceProfileTranslationsParams
- func (o *PutDeviceProfileTranslationsParams) WithDeviceProfileID(deviceProfileID string) *PutDeviceProfileTranslationsParams
- func (o *PutDeviceProfileTranslationsParams) WithHTTPClient(client *http.Client) *PutDeviceProfileTranslationsParams
- func (o *PutDeviceProfileTranslationsParams) WithLocale(locale string) *PutDeviceProfileTranslationsParams
- func (o *PutDeviceProfileTranslationsParams) WithTimeout(timeout time.Duration) *PutDeviceProfileTranslationsParams
- func (o *PutDeviceProfileTranslationsParams) WithTranslations(translations *models.DeviceProfileTranslations) *PutDeviceProfileTranslationsParams
- func (o *PutDeviceProfileTranslationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutDeviceProfileTranslationsReader
- type PutDeviceProfileTranslationsTooManyRequests
- type PutDeviceProfileTranslationsUnauthorized
- type PutDeviceProfileTranslationsUnprocessableEntity
- type UpdateDeviceProfileBadRequest
- type UpdateDeviceProfileDefault
- type UpdateDeviceProfileForbidden
- type UpdateDeviceProfileOK
- type UpdateDeviceProfileParams
- func NewUpdateDeviceProfileParams() *UpdateDeviceProfileParams
- func NewUpdateDeviceProfileParamsWithContext(ctx context.Context) *UpdateDeviceProfileParams
- func NewUpdateDeviceProfileParamsWithHTTPClient(client *http.Client) *UpdateDeviceProfileParams
- func NewUpdateDeviceProfileParamsWithTimeout(timeout time.Duration) *UpdateDeviceProfileParams
- func (o *UpdateDeviceProfileParams) SetAuthorization(authorization string)
- func (o *UpdateDeviceProfileParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceProfileParams) SetDeviceProfileID(deviceProfileID string)
- func (o *UpdateDeviceProfileParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceProfileParams) SetRequest(request *models.UpdateDeviceProfileRequest)
- func (o *UpdateDeviceProfileParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceProfileParams) WithAuthorization(authorization string) *UpdateDeviceProfileParams
- func (o *UpdateDeviceProfileParams) WithContext(ctx context.Context) *UpdateDeviceProfileParams
- func (o *UpdateDeviceProfileParams) WithDeviceProfileID(deviceProfileID string) *UpdateDeviceProfileParams
- func (o *UpdateDeviceProfileParams) WithHTTPClient(client *http.Client) *UpdateDeviceProfileParams
- func (o *UpdateDeviceProfileParams) WithRequest(request *models.UpdateDeviceProfileRequest) *UpdateDeviceProfileParams
- func (o *UpdateDeviceProfileParams) WithTimeout(timeout time.Duration) *UpdateDeviceProfileParams
- func (o *UpdateDeviceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceProfileReader
- type UpdateDeviceProfileTooManyRequests
- type UpdateDeviceProfileUnauthorized
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 ¶
func (o *CreateDeviceProfileBadRequest) Error() string
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 ¶
func (o *CreateDeviceProfileDefault) Error() string
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 ¶
func (o *CreateDeviceProfileForbidden) Error() string
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 ¶
func (o *CreateDeviceProfileParams) SetRequest(request *models.CreateDeviceProfileRequest)
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 ¶
func (o *CreateDeviceProfileParams) WithContext(ctx context.Context) *CreateDeviceProfileParams
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 ¶
func (o *CreateDeviceProfileParams) WithRequest(request *models.CreateDeviceProfileRequest) *CreateDeviceProfileParams
WithRequest adds the request to the create device profile params
func (*CreateDeviceProfileParams) WithTimeout ¶
func (o *CreateDeviceProfileParams) WithTimeout(timeout time.Duration) *CreateDeviceProfileParams
WithTimeout adds the timeout to the create device profile params
func (*CreateDeviceProfileParams) WriteToRequest ¶
func (o *CreateDeviceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateDeviceProfileTooManyRequests) Error() string
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 ¶
func (o *CreateDeviceProfileUnauthorized) Error() string
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 ¶
func (o *DeleteDeviceProfileBadRequest) Error() string
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 ¶
func (o *DeleteDeviceProfileDefault) Error() string
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 ¶
func (o *DeleteDeviceProfileForbidden) Error() string
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 ¶
func (o *DeleteDeviceProfileParams) WithContext(ctx context.Context) *DeleteDeviceProfileParams
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 ¶
func (o *DeleteDeviceProfileParams) WithTimeout(timeout time.Duration) *DeleteDeviceProfileParams
WithTimeout adds the timeout to the delete device profile params
func (*DeleteDeviceProfileParams) WriteToRequest ¶
func (o *DeleteDeviceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteDeviceProfileTooManyRequests) Error() string
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 ¶
func (o *DeleteDeviceProfileTranslationsBadRequest) Error() string
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 ¶
func (o *DeleteDeviceProfileTranslationsDefault) Code() int
Code gets the status code for the delete device profile translations default response
func (*DeleteDeviceProfileTranslationsDefault) Error ¶
func (o *DeleteDeviceProfileTranslationsDefault) Error() string
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 ¶
func (o *DeleteDeviceProfileTranslationsForbidden) Error() string
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 ¶
func (o *DeleteDeviceProfileTranslationsOK) Error() string
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 ¶
func (o *DeleteDeviceProfileTranslationsParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteDeviceProfileTranslationsParams) WithAuthorization(authorization string) *DeleteDeviceProfileTranslationsParams
WithAuthorization adds the authorization to the delete device profile translations params
func (*DeleteDeviceProfileTranslationsParams) WithContext ¶
func (o *DeleteDeviceProfileTranslationsParams) WithContext(ctx context.Context) *DeleteDeviceProfileTranslationsParams
WithContext adds the context to the delete device profile translations params
func (*DeleteDeviceProfileTranslationsParams) WithDeviceProfileID ¶
func (o *DeleteDeviceProfileTranslationsParams) WithDeviceProfileID(deviceProfileID string) *DeleteDeviceProfileTranslationsParams
WithDeviceProfileID adds the deviceProfileID to the delete device profile translations params
func (*DeleteDeviceProfileTranslationsParams) WithHTTPClient ¶
func (o *DeleteDeviceProfileTranslationsParams) WithHTTPClient(client *http.Client) *DeleteDeviceProfileTranslationsParams
WithHTTPClient adds the HTTPClient to the delete device profile translations params
func (*DeleteDeviceProfileTranslationsParams) WithLocale ¶
func (o *DeleteDeviceProfileTranslationsParams) WithLocale(locale string) *DeleteDeviceProfileTranslationsParams
WithLocale adds the locale to the delete device profile translations params
func (*DeleteDeviceProfileTranslationsParams) WithTimeout ¶
func (o *DeleteDeviceProfileTranslationsParams) WithTimeout(timeout time.Duration) *DeleteDeviceProfileTranslationsParams
WithTimeout adds the timeout to the delete device profile translations params
func (*DeleteDeviceProfileTranslationsParams) WriteToRequest ¶
func (o *DeleteDeviceProfileTranslationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteDeviceProfileTranslationsTooManyRequests) Error() string
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 ¶
func (o *DeleteDeviceProfileTranslationsUnauthorized) Error() string
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 ¶
func (o *DeleteDeviceProfileUnauthorized) Error() string
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 ¶
func (o *GetDeviceProfileBadRequest) Error() string
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 ¶
func (o *GetDeviceProfileLocalesDefault) Code() int
Code gets the status code for the get device profile locales default response
func (*GetDeviceProfileLocalesDefault) Error ¶
func (o *GetDeviceProfileLocalesDefault) Error() string
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 ¶
func (o *GetDeviceProfileLocalesForbidden) Error() string
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 ¶
func (o *GetDeviceProfileLocalesNotFound) Error() string
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 ¶
func (o *GetDeviceProfileLocalesParams) WithContext(ctx context.Context) *GetDeviceProfileLocalesParams
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 ¶
func (o *GetDeviceProfileLocalesParams) WithHTTPClient(client *http.Client) *GetDeviceProfileLocalesParams
WithHTTPClient adds the HTTPClient to the get device profile locales params
func (*GetDeviceProfileLocalesParams) WithTimeout ¶
func (o *GetDeviceProfileLocalesParams) WithTimeout(timeout time.Duration) *GetDeviceProfileLocalesParams
WithTimeout adds the timeout to the get device profile locales params
func (*GetDeviceProfileLocalesParams) WriteToRequest ¶
func (o *GetDeviceProfileLocalesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeviceProfileLocalesTooManyRequests) Error() string
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 ¶
func (o *GetDeviceProfileLocalesUnauthorized) Error() string
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 ¶
func (o *GetDeviceProfileParams) WithContext(ctx context.Context) *GetDeviceProfileParams
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 ¶
func (o *GetDeviceProfileParams) WithTimeout(timeout time.Duration) *GetDeviceProfileParams
WithTimeout adds the timeout to the get device profile params
func (*GetDeviceProfileParams) WriteToRequest ¶
func (o *GetDeviceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeviceProfileTooManyRequests) Error() string
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 ¶
func (o *GetDeviceProfileTranslationsDefault) Code() int
Code gets the status code for the get device profile translations default response
func (*GetDeviceProfileTranslationsDefault) Error ¶
func (o *GetDeviceProfileTranslationsDefault) Error() string
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 ¶
func (o *GetDeviceProfileTranslationsForbidden) Error() string
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 ¶
func (o *GetDeviceProfileTranslationsNotFound) Error() string
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 ¶
func (o *GetDeviceProfileTranslationsOK) Error() string
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 ¶
func (o *GetDeviceProfileTranslationsParams) SetContext(ctx context.Context)
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 ¶
func (o *GetDeviceProfileTranslationsParams) WithAuthorization(authorization string) *GetDeviceProfileTranslationsParams
WithAuthorization adds the authorization to the get device profile translations params
func (*GetDeviceProfileTranslationsParams) WithContext ¶
func (o *GetDeviceProfileTranslationsParams) WithContext(ctx context.Context) *GetDeviceProfileTranslationsParams
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 ¶
func (o *GetDeviceProfileTranslationsParams) WithHTTPClient(client *http.Client) *GetDeviceProfileTranslationsParams
WithHTTPClient adds the HTTPClient to the get device profile translations params
func (*GetDeviceProfileTranslationsParams) WithLocale ¶
func (o *GetDeviceProfileTranslationsParams) WithLocale(locale string) *GetDeviceProfileTranslationsParams
WithLocale adds the locale to the get device profile translations params
func (*GetDeviceProfileTranslationsParams) WithTimeout ¶
func (o *GetDeviceProfileTranslationsParams) WithTimeout(timeout time.Duration) *GetDeviceProfileTranslationsParams
WithTimeout adds the timeout to the get device profile translations params
func (*GetDeviceProfileTranslationsParams) WriteToRequest ¶
func (o *GetDeviceProfileTranslationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeviceProfileTranslationsTooManyRequests) Error() string
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 ¶
func (o *GetDeviceProfileTranslationsUnauthorized) Error() string
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 ¶
func (o *GetDeviceProfileUnauthorized) Error() string
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 ¶
func (o *ListDeviceProfilesBadRequest) Error() string
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 ¶
func (o *ListDeviceProfilesForbidden) Error() string
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 ¶
func (o *ListDeviceProfilesParams) WithContext(ctx context.Context) *ListDeviceProfilesParams
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 ¶
func (o *ListDeviceProfilesParams) WithTimeout(timeout time.Duration) *ListDeviceProfilesParams
WithTimeout adds the timeout to the list device profiles params
func (*ListDeviceProfilesParams) WriteToRequest ¶
func (o *ListDeviceProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListDeviceProfilesTooManyRequests) Error() string
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 ¶
func (o *ListDeviceProfilesUnauthorized) Error() string
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 ¶
func (o *PutDeviceProfileTranslationsBadRequest) Error() string
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 ¶
func (o *PutDeviceProfileTranslationsDefault) Code() int
Code gets the status code for the put device profile translations default response
func (*PutDeviceProfileTranslationsDefault) Error ¶
func (o *PutDeviceProfileTranslationsDefault) Error() string
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 ¶
func (o *PutDeviceProfileTranslationsForbidden) Error() string
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 ¶
func (o *PutDeviceProfileTranslationsOK) Error() string
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 ¶
func (o *PutDeviceProfileTranslationsParams) SetContext(ctx context.Context)
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 ¶
func (o *PutDeviceProfileTranslationsParams) WithAuthorization(authorization string) *PutDeviceProfileTranslationsParams
WithAuthorization adds the authorization to the put device profile translations params
func (*PutDeviceProfileTranslationsParams) WithContext ¶
func (o *PutDeviceProfileTranslationsParams) WithContext(ctx context.Context) *PutDeviceProfileTranslationsParams
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 ¶
func (o *PutDeviceProfileTranslationsParams) WithHTTPClient(client *http.Client) *PutDeviceProfileTranslationsParams
WithHTTPClient adds the HTTPClient to the put device profile translations params
func (*PutDeviceProfileTranslationsParams) WithLocale ¶
func (o *PutDeviceProfileTranslationsParams) WithLocale(locale string) *PutDeviceProfileTranslationsParams
WithLocale adds the locale to the put device profile translations params
func (*PutDeviceProfileTranslationsParams) WithTimeout ¶
func (o *PutDeviceProfileTranslationsParams) WithTimeout(timeout time.Duration) *PutDeviceProfileTranslationsParams
WithTimeout adds the timeout to the put device profile translations params
func (*PutDeviceProfileTranslationsParams) WithTranslations ¶
func (o *PutDeviceProfileTranslationsParams) WithTranslations(translations *models.DeviceProfileTranslations) *PutDeviceProfileTranslationsParams
WithTranslations adds the translations to the put device profile translations params
func (*PutDeviceProfileTranslationsParams) WriteToRequest ¶
func (o *PutDeviceProfileTranslationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PutDeviceProfileTranslationsTooManyRequests) Error() string
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 ¶
func (o *PutDeviceProfileTranslationsUnauthorized) Error() string
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 ¶
func (o *PutDeviceProfileTranslationsUnprocessableEntity) Error() string
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 ¶
func (o *UpdateDeviceProfileBadRequest) Error() string
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 ¶
func (o *UpdateDeviceProfileDefault) Error() string
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 ¶
func (o *UpdateDeviceProfileForbidden) Error() string
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 ¶
func (o *UpdateDeviceProfileParams) SetRequest(request *models.UpdateDeviceProfileRequest)
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 ¶
func (o *UpdateDeviceProfileParams) WithContext(ctx context.Context) *UpdateDeviceProfileParams
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 ¶
func (o *UpdateDeviceProfileParams) WithRequest(request *models.UpdateDeviceProfileRequest) *UpdateDeviceProfileParams
WithRequest adds the request to the update device profile params
func (*UpdateDeviceProfileParams) WithTimeout ¶
func (o *UpdateDeviceProfileParams) WithTimeout(timeout time.Duration) *UpdateDeviceProfileParams
WithTimeout adds the timeout to the update device profile params
func (*UpdateDeviceProfileParams) WriteToRequest ¶
func (o *UpdateDeviceProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateDeviceProfileTooManyRequests) Error() string
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 ¶
func (o *UpdateDeviceProfileUnauthorized) Error() string
Source Files ¶
- create_device_profile_parameters.go
- create_device_profile_responses.go
- delete_device_profile_parameters.go
- delete_device_profile_responses.go
- delete_device_profile_translations_parameters.go
- delete_device_profile_translations_responses.go
- deviceprofiles_client.go
- get_device_profile_locales_parameters.go
- get_device_profile_locales_responses.go
- get_device_profile_parameters.go
- get_device_profile_responses.go
- get_device_profile_translations_parameters.go
- get_device_profile_translations_responses.go
- list_device_profiles_parameters.go
- list_device_profiles_responses.go
- put_device_profile_translations_parameters.go
- put_device_profile_translations_responses.go
- update_device_profile_parameters.go
- update_device_profile_responses.go