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)
- func (a *Client) UpdateDeviceProfile(params *UpdateDeviceProfileParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeviceProfileOK, error)
- type ClientService
- 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 DeleteDeviceProfileUnauthorized
- type GetDeviceProfileBadRequest
- type GetDeviceProfileDefault
- type GetDeviceProfileForbidden
- 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) SetAcceptLanguage(acceptLanguage *string)
- 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) WithAcceptLanguage(acceptLanguage *string) *GetDeviceProfileParams
- 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 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) SetProfileID(profileID []string)
- 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) WithProfileID(profileID []string) *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 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 (*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
GET a device profile.
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
func (*Client) UpdateDeviceProfile ¶
func (a *Client) UpdateDeviceProfile(params *UpdateDeviceProfileParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeviceProfileOK, error)
UpdateDeviceProfile updates a device profile
Update a device profile. The device profile has to be in development status
type ClientService ¶
type ClientService interface { CreateDeviceProfile(params *CreateDeviceProfileParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDeviceProfileOK, error) DeleteDeviceProfile(params *DeleteDeviceProfileParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeviceProfileOK, error) GetDeviceProfile(params *GetDeviceProfileParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceProfileOK, error) ListDeviceProfiles(params *ListDeviceProfilesParams, authInfo runtime.ClientAuthInfoWriter) (*ListDeviceProfilesOK, error) UpdateDeviceProfile(params *UpdateDeviceProfileParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeviceProfileOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new deviceprofiles API 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
func (*CreateDeviceProfileBadRequest) GetPayload ¶
func (o *CreateDeviceProfileBadRequest) GetPayload() *models.ErrorResponse
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
func (*CreateDeviceProfileDefault) GetPayload ¶
func (o *CreateDeviceProfileDefault) GetPayload() *models.ErrorResponse
type CreateDeviceProfileForbidden ¶
type CreateDeviceProfileForbidden struct { }
CreateDeviceProfileForbidden handles this case with default header values.
Forbidden
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.DeviceProfileResponse
}
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
func (*CreateDeviceProfileOK) GetPayload ¶
func (o *CreateDeviceProfileOK) GetPayload() *models.DeviceProfileResponse
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
func (*CreateDeviceProfileTooManyRequests) GetPayload ¶
func (o *CreateDeviceProfileTooManyRequests) GetPayload() *models.ErrorResponse
type CreateDeviceProfileUnauthorized ¶
type CreateDeviceProfileUnauthorized struct { }
CreateDeviceProfileUnauthorized handles this case with default header values.
Unauthorized
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
func (*DeleteDeviceProfileBadRequest) GetPayload ¶
func (o *DeleteDeviceProfileBadRequest) GetPayload() *models.ErrorResponse
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
func (*DeleteDeviceProfileDefault) GetPayload ¶
func (o *DeleteDeviceProfileDefault) GetPayload() *models.ErrorResponse
type DeleteDeviceProfileForbidden ¶
type DeleteDeviceProfileForbidden struct { }
DeleteDeviceProfileForbidden handles this case with default header values.
Forbidden
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
func (*DeleteDeviceProfileOK) GetPayload ¶
func (o *DeleteDeviceProfileOK) GetPayload() models.DeleteDeviceProfileResponse
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
func (*DeleteDeviceProfileTooManyRequests) GetPayload ¶
func (o *DeleteDeviceProfileTooManyRequests) GetPayload() *models.ErrorResponse
type DeleteDeviceProfileUnauthorized ¶
type DeleteDeviceProfileUnauthorized struct { }
DeleteDeviceProfileUnauthorized handles this case with default header values.
Unauthorized
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
func (*GetDeviceProfileBadRequest) GetPayload ¶
func (o *GetDeviceProfileBadRequest) GetPayload() *models.ErrorResponse
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
func (*GetDeviceProfileDefault) GetPayload ¶
func (o *GetDeviceProfileDefault) GetPayload() *models.ErrorResponse
type GetDeviceProfileForbidden ¶
type GetDeviceProfileForbidden struct { }
GetDeviceProfileForbidden handles this case with default header values.
Forbidden
func NewGetDeviceProfileForbidden ¶
func NewGetDeviceProfileForbidden() *GetDeviceProfileForbidden
NewGetDeviceProfileForbidden creates a GetDeviceProfileForbidden with default headers values
func (*GetDeviceProfileForbidden) Error ¶
func (o *GetDeviceProfileForbidden) Error() string
type GetDeviceProfileOK ¶
type GetDeviceProfileOK struct { /*This header field describes the natural language(s) of the intended audience for the representation. This can have multiple values as per [RFC 7231, section 3.1.3.2](https://tools.ietf.org/html/rfc7231#section-3.1.3.2) */ ContentLanguage string Payload *models.DeviceProfileResponse }
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
func (*GetDeviceProfileOK) GetPayload ¶
func (o *GetDeviceProfileOK) GetPayload() *models.DeviceProfileResponse
type GetDeviceProfileParams ¶
type GetDeviceProfileParams struct { /*AcceptLanguage Language header representing the client's preferred language. The format of the `Accept-Language` header follows what is defined in [RFC 7231, section 5.3.5](https://tools.ietf.org/html/rfc7231#section-5.3.5) */ AcceptLanguage *string /*Authorization OAuth token */ Authorization string /*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) SetAcceptLanguage ¶
func (o *GetDeviceProfileParams) SetAcceptLanguage(acceptLanguage *string)
SetAcceptLanguage adds the acceptLanguage to the get device profile params
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) WithAcceptLanguage ¶
func (o *GetDeviceProfileParams) WithAcceptLanguage(acceptLanguage *string) *GetDeviceProfileParams
WithAcceptLanguage adds the acceptLanguage 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
func (*GetDeviceProfileTooManyRequests) GetPayload ¶
func (o *GetDeviceProfileTooManyRequests) GetPayload() *models.ErrorResponse
type GetDeviceProfileUnauthorized ¶
type GetDeviceProfileUnauthorized struct { }
GetDeviceProfileUnauthorized handles this case with default header values.
Unauthorized
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
func (*ListDeviceProfilesBadRequest) GetPayload ¶
func (o *ListDeviceProfilesBadRequest) GetPayload() *models.ErrorResponse
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
func (*ListDeviceProfilesDefault) GetPayload ¶
func (o *ListDeviceProfilesDefault) GetPayload() *models.ErrorResponse
type ListDeviceProfilesForbidden ¶
type ListDeviceProfilesForbidden struct { }
ListDeviceProfilesForbidden handles this case with default header values.
Forbidden
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
func (*ListDeviceProfilesOK) GetPayload ¶
func (o *ListDeviceProfilesOK) GetPayload() *models.PagedDeviceProfiles
type ListDeviceProfilesParams ¶
type ListDeviceProfilesParams struct { /*Authorization OAuth token */ Authorization string /*ProfileID The device profiles IDs to filter the results by. */ ProfileID []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) SetProfileID ¶
func (o *ListDeviceProfilesParams) SetProfileID(profileID []string)
SetProfileID adds the profileId 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) WithProfileID ¶
func (o *ListDeviceProfilesParams) WithProfileID(profileID []string) *ListDeviceProfilesParams
WithProfileID adds the profileID 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
func (*ListDeviceProfilesTooManyRequests) GetPayload ¶
func (o *ListDeviceProfilesTooManyRequests) GetPayload() *models.ErrorResponse
type ListDeviceProfilesUnauthorized ¶
type ListDeviceProfilesUnauthorized struct { }
ListDeviceProfilesUnauthorized handles this case with default header values.
Unauthorized
func NewListDeviceProfilesUnauthorized ¶
func NewListDeviceProfilesUnauthorized() *ListDeviceProfilesUnauthorized
NewListDeviceProfilesUnauthorized creates a ListDeviceProfilesUnauthorized with default headers values
func (*ListDeviceProfilesUnauthorized) Error ¶
func (o *ListDeviceProfilesUnauthorized) 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
func (*UpdateDeviceProfileBadRequest) GetPayload ¶
func (o *UpdateDeviceProfileBadRequest) GetPayload() *models.ErrorResponse
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
func (*UpdateDeviceProfileDefault) GetPayload ¶
func (o *UpdateDeviceProfileDefault) GetPayload() *models.ErrorResponse
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.DeviceProfileResponse
}
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
func (*UpdateDeviceProfileOK) GetPayload ¶
func (o *UpdateDeviceProfileOK) GetPayload() *models.DeviceProfileResponse
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
func (*UpdateDeviceProfileTooManyRequests) GetPayload ¶
func (o *UpdateDeviceProfileTooManyRequests) GetPayload() *models.ErrorResponse
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
- deviceprofiles_client.go
- get_device_profile_parameters.go
- get_device_profile_responses.go
- list_device_profiles_parameters.go
- list_device_profiles_responses.go
- update_device_profile_parameters.go
- update_device_profile_responses.go