Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) GetResourcesID(params *GetResourcesIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDOK, error)
- func (a *Client) GetResourcesIDCredentials(params *GetResourcesIDCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDCredentialsOK, error)
- func (a *Client) GetResourcesIDMeasures(params *GetResourcesIDMeasuresParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDMeasuresOK, error)
- func (a *Client) GetResourcesIDUsers(params *GetResourcesIDUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDUsersOK, error)
- func (a *Client) PutResourcesIDMeasures(params *PutResourcesIDMeasuresParams, authInfo runtime.ClientAuthInfoWriter) (*PutResourcesIDMeasuresNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetResourcesIDBadRequest
- type GetResourcesIDBadRequestBody
- type GetResourcesIDCredentialsBadRequest
- type GetResourcesIDCredentialsBadRequestBody
- type GetResourcesIDCredentialsInternalServerError
- type GetResourcesIDCredentialsInternalServerErrorBody
- type GetResourcesIDCredentialsNotFound
- type GetResourcesIDCredentialsNotFoundBody
- type GetResourcesIDCredentialsOK
- type GetResourcesIDCredentialsParams
- func NewGetResourcesIDCredentialsParams() *GetResourcesIDCredentialsParams
- func NewGetResourcesIDCredentialsParamsWithContext(ctx context.Context) *GetResourcesIDCredentialsParams
- func NewGetResourcesIDCredentialsParamsWithHTTPClient(client *http.Client) *GetResourcesIDCredentialsParams
- func NewGetResourcesIDCredentialsParamsWithTimeout(timeout time.Duration) *GetResourcesIDCredentialsParams
- func (o *GetResourcesIDCredentialsParams) SetContext(ctx context.Context)
- func (o *GetResourcesIDCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *GetResourcesIDCredentialsParams) SetID(id string)
- func (o *GetResourcesIDCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *GetResourcesIDCredentialsParams) WithContext(ctx context.Context) *GetResourcesIDCredentialsParams
- func (o *GetResourcesIDCredentialsParams) WithHTTPClient(client *http.Client) *GetResourcesIDCredentialsParams
- func (o *GetResourcesIDCredentialsParams) WithID(id string) *GetResourcesIDCredentialsParams
- func (o *GetResourcesIDCredentialsParams) WithTimeout(timeout time.Duration) *GetResourcesIDCredentialsParams
- func (o *GetResourcesIDCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourcesIDCredentialsReader
- type GetResourcesIDCredentialsUnauthorized
- type GetResourcesIDCredentialsUnauthorizedBody
- type GetResourcesIDInternalServerError
- type GetResourcesIDInternalServerErrorBody
- type GetResourcesIDMeasuresBadRequest
- type GetResourcesIDMeasuresBadRequestBody
- type GetResourcesIDMeasuresInternalServerError
- type GetResourcesIDMeasuresInternalServerErrorBody
- type GetResourcesIDMeasuresNotFound
- type GetResourcesIDMeasuresNotFoundBody
- type GetResourcesIDMeasuresOK
- type GetResourcesIDMeasuresParams
- func NewGetResourcesIDMeasuresParams() *GetResourcesIDMeasuresParams
- func NewGetResourcesIDMeasuresParamsWithContext(ctx context.Context) *GetResourcesIDMeasuresParams
- func NewGetResourcesIDMeasuresParamsWithHTTPClient(client *http.Client) *GetResourcesIDMeasuresParams
- func NewGetResourcesIDMeasuresParamsWithTimeout(timeout time.Duration) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) SetContext(ctx context.Context)
- func (o *GetResourcesIDMeasuresParams) SetHTTPClient(client *http.Client)
- func (o *GetResourcesIDMeasuresParams) SetID(id string)
- func (o *GetResourcesIDMeasuresParams) SetPeriodEnd(periodEnd *strfmt.DateTime)
- func (o *GetResourcesIDMeasuresParams) SetPeriodStart(periodStart *strfmt.DateTime)
- func (o *GetResourcesIDMeasuresParams) SetTimeout(timeout time.Duration)
- func (o *GetResourcesIDMeasuresParams) WithContext(ctx context.Context) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) WithHTTPClient(client *http.Client) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) WithID(id string) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) WithPeriodEnd(periodEnd *strfmt.DateTime) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) WithPeriodStart(periodStart *strfmt.DateTime) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) WithTimeout(timeout time.Duration) *GetResourcesIDMeasuresParams
- func (o *GetResourcesIDMeasuresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourcesIDMeasuresReader
- type GetResourcesIDMeasuresUnauthorized
- type GetResourcesIDMeasuresUnauthorizedBody
- type GetResourcesIDNotFound
- type GetResourcesIDNotFoundBody
- type GetResourcesIDOK
- type GetResourcesIDParams
- func NewGetResourcesIDParams() *GetResourcesIDParams
- func NewGetResourcesIDParamsWithContext(ctx context.Context) *GetResourcesIDParams
- func NewGetResourcesIDParamsWithHTTPClient(client *http.Client) *GetResourcesIDParams
- func NewGetResourcesIDParamsWithTimeout(timeout time.Duration) *GetResourcesIDParams
- func (o *GetResourcesIDParams) SetContext(ctx context.Context)
- func (o *GetResourcesIDParams) SetHTTPClient(client *http.Client)
- func (o *GetResourcesIDParams) SetID(id string)
- func (o *GetResourcesIDParams) SetTimeout(timeout time.Duration)
- func (o *GetResourcesIDParams) WithContext(ctx context.Context) *GetResourcesIDParams
- func (o *GetResourcesIDParams) WithHTTPClient(client *http.Client) *GetResourcesIDParams
- func (o *GetResourcesIDParams) WithID(id string) *GetResourcesIDParams
- func (o *GetResourcesIDParams) WithTimeout(timeout time.Duration) *GetResourcesIDParams
- func (o *GetResourcesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourcesIDReader
- type GetResourcesIDUnauthorized
- type GetResourcesIDUnauthorizedBody
- type GetResourcesIDUsersBadRequest
- type GetResourcesIDUsersBadRequestBody
- type GetResourcesIDUsersInternalServerError
- type GetResourcesIDUsersInternalServerErrorBody
- type GetResourcesIDUsersNotFound
- type GetResourcesIDUsersNotFoundBody
- type GetResourcesIDUsersOK
- type GetResourcesIDUsersParams
- func NewGetResourcesIDUsersParams() *GetResourcesIDUsersParams
- func NewGetResourcesIDUsersParamsWithContext(ctx context.Context) *GetResourcesIDUsersParams
- func NewGetResourcesIDUsersParamsWithHTTPClient(client *http.Client) *GetResourcesIDUsersParams
- func NewGetResourcesIDUsersParamsWithTimeout(timeout time.Duration) *GetResourcesIDUsersParams
- func (o *GetResourcesIDUsersParams) SetContext(ctx context.Context)
- func (o *GetResourcesIDUsersParams) SetHTTPClient(client *http.Client)
- func (o *GetResourcesIDUsersParams) SetID(id string)
- func (o *GetResourcesIDUsersParams) SetTimeout(timeout time.Duration)
- func (o *GetResourcesIDUsersParams) WithContext(ctx context.Context) *GetResourcesIDUsersParams
- func (o *GetResourcesIDUsersParams) WithHTTPClient(client *http.Client) *GetResourcesIDUsersParams
- func (o *GetResourcesIDUsersParams) WithID(id string) *GetResourcesIDUsersParams
- func (o *GetResourcesIDUsersParams) WithTimeout(timeout time.Duration) *GetResourcesIDUsersParams
- func (o *GetResourcesIDUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourcesIDUsersReader
- type GetResourcesIDUsersUnauthorized
- type GetResourcesIDUsersUnauthorizedBody
- type PutResourcesIDMeasuresBadRequest
- type PutResourcesIDMeasuresBadRequestBody
- type PutResourcesIDMeasuresInternalServerError
- type PutResourcesIDMeasuresInternalServerErrorBody
- type PutResourcesIDMeasuresNoContent
- type PutResourcesIDMeasuresNotFound
- type PutResourcesIDMeasuresNotFoundBody
- type PutResourcesIDMeasuresParams
- func NewPutResourcesIDMeasuresParams() *PutResourcesIDMeasuresParams
- func NewPutResourcesIDMeasuresParamsWithContext(ctx context.Context) *PutResourcesIDMeasuresParams
- func NewPutResourcesIDMeasuresParamsWithHTTPClient(client *http.Client) *PutResourcesIDMeasuresParams
- func NewPutResourcesIDMeasuresParamsWithTimeout(timeout time.Duration) *PutResourcesIDMeasuresParams
- func (o *PutResourcesIDMeasuresParams) SetBody(body *models.ResourceMeasures)
- func (o *PutResourcesIDMeasuresParams) SetContext(ctx context.Context)
- func (o *PutResourcesIDMeasuresParams) SetHTTPClient(client *http.Client)
- func (o *PutResourcesIDMeasuresParams) SetID(id string)
- func (o *PutResourcesIDMeasuresParams) SetTimeout(timeout time.Duration)
- func (o *PutResourcesIDMeasuresParams) WithBody(body *models.ResourceMeasures) *PutResourcesIDMeasuresParams
- func (o *PutResourcesIDMeasuresParams) WithContext(ctx context.Context) *PutResourcesIDMeasuresParams
- func (o *PutResourcesIDMeasuresParams) WithHTTPClient(client *http.Client) *PutResourcesIDMeasuresParams
- func (o *PutResourcesIDMeasuresParams) WithID(id string) *PutResourcesIDMeasuresParams
- func (o *PutResourcesIDMeasuresParams) WithTimeout(timeout time.Duration) *PutResourcesIDMeasuresParams
- func (o *PutResourcesIDMeasuresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutResourcesIDMeasuresReader
- type PutResourcesIDMeasuresUnauthorized
- type PutResourcesIDMeasuresUnauthorizedBody
Constants ¶
const ( // GetResourcesIDCredentialsBadRequestBodyTypeBadRequest captures enum value "bad_request" GetResourcesIDCredentialsBadRequestBodyTypeBadRequest string = "bad_request" GetResourcesIDCredentialsBadRequestBodyTypeUnauthorized string = "unauthorized" // GetResourcesIDCredentialsBadRequestBodyTypeNotFound captures enum value "not_found" GetResourcesIDCredentialsBadRequestBodyTypeNotFound string = "not_found" // GetResourcesIDCredentialsBadRequestBodyTypeInternal captures enum value "internal" GetResourcesIDCredentialsBadRequestBodyTypeInternal string = "internal" // GetResourcesIDCredentialsBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant" GetResourcesIDCredentialsBadRequestBodyTypeInvalidGrant string = "invalid_grant" // GetResourcesIDCredentialsBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetResourcesIDCredentialsBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetResourcesIDCredentialsInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" GetResourcesIDCredentialsInternalServerErrorBodyTypeBadRequest string = "bad_request" GetResourcesIDCredentialsInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // GetResourcesIDCredentialsInternalServerErrorBodyTypeNotFound captures enum value "not_found" GetResourcesIDCredentialsInternalServerErrorBodyTypeNotFound string = "not_found" // GetResourcesIDCredentialsInternalServerErrorBodyTypeInternal captures enum value "internal" GetResourcesIDCredentialsInternalServerErrorBodyTypeInternal string = "internal" // GetResourcesIDCredentialsInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" GetResourcesIDCredentialsInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // GetResourcesIDCredentialsInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetResourcesIDCredentialsInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetResourcesIDCredentialsNotFoundBodyTypeBadRequest captures enum value "bad_request" GetResourcesIDCredentialsNotFoundBodyTypeBadRequest string = "bad_request" GetResourcesIDCredentialsNotFoundBodyTypeUnauthorized string = "unauthorized" // GetResourcesIDCredentialsNotFoundBodyTypeNotFound captures enum value "not_found" GetResourcesIDCredentialsNotFoundBodyTypeNotFound string = "not_found" // GetResourcesIDCredentialsNotFoundBodyTypeInternal captures enum value "internal" GetResourcesIDCredentialsNotFoundBodyTypeInternal string = "internal" // GetResourcesIDCredentialsNotFoundBodyTypeInvalidGrant captures enum value "invalid_grant" GetResourcesIDCredentialsNotFoundBodyTypeInvalidGrant string = "invalid_grant" // GetResourcesIDCredentialsNotFoundBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetResourcesIDCredentialsNotFoundBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "bad_request" GetResourcesIDCredentialsUnauthorizedBodyTypeUnauthorized string = "unauthorized" GetResourcesIDCredentialsUnauthorizedBodyTypeNotFound string = "not_found" GetResourcesIDCredentialsUnauthorizedBodyTypeInternal string = "internal" GetResourcesIDCredentialsUnauthorizedBodyTypeInvalidGrant string = "invalid_grant" GetResourcesIDCredentialsUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )GetResourcesIDCredentialsUnauthorizedBodyTypeBadRequest
const ( // GetResourcesIDMeasuresBadRequestBodyTypeBadRequest captures enum value "bad_request" GetResourcesIDMeasuresBadRequestBodyTypeBadRequest string = "bad_request" GetResourcesIDMeasuresBadRequestBodyTypeUnauthorized string = "unauthorized" // GetResourcesIDMeasuresBadRequestBodyTypeNotFound captures enum value "not_found" GetResourcesIDMeasuresBadRequestBodyTypeNotFound string = "not_found" // GetResourcesIDMeasuresBadRequestBodyTypeInternal captures enum value "internal" GetResourcesIDMeasuresBadRequestBodyTypeInternal string = "internal" // GetResourcesIDMeasuresBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant" GetResourcesIDMeasuresBadRequestBodyTypeInvalidGrant string = "invalid_grant" // GetResourcesIDMeasuresBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetResourcesIDMeasuresBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetResourcesIDMeasuresInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" GetResourcesIDMeasuresInternalServerErrorBodyTypeBadRequest string = "bad_request" GetResourcesIDMeasuresInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // GetResourcesIDMeasuresInternalServerErrorBodyTypeNotFound captures enum value "not_found" GetResourcesIDMeasuresInternalServerErrorBodyTypeNotFound string = "not_found" // GetResourcesIDMeasuresInternalServerErrorBodyTypeInternal captures enum value "internal" GetResourcesIDMeasuresInternalServerErrorBodyTypeInternal string = "internal" // GetResourcesIDMeasuresInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" GetResourcesIDMeasuresInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // GetResourcesIDMeasuresInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetResourcesIDMeasuresInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetResourcesIDMeasuresNotFoundBodyTypeBadRequest captures enum value "bad_request" GetResourcesIDMeasuresNotFoundBodyTypeBadRequest string = "bad_request" GetResourcesIDMeasuresNotFoundBodyTypeUnauthorized string = "unauthorized" // GetResourcesIDMeasuresNotFoundBodyTypeNotFound captures enum value "not_found" GetResourcesIDMeasuresNotFoundBodyTypeNotFound string = "not_found" // GetResourcesIDMeasuresNotFoundBodyTypeInternal captures enum value "internal" GetResourcesIDMeasuresNotFoundBodyTypeInternal string = "internal" // GetResourcesIDMeasuresNotFoundBodyTypeInvalidGrant captures enum value "invalid_grant" GetResourcesIDMeasuresNotFoundBodyTypeInvalidGrant string = "invalid_grant" // GetResourcesIDMeasuresNotFoundBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetResourcesIDMeasuresNotFoundBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "bad_request" GetResourcesIDMeasuresUnauthorizedBodyTypeUnauthorized string = "unauthorized" GetResourcesIDMeasuresUnauthorizedBodyTypeNotFound string = "not_found" GetResourcesIDMeasuresUnauthorizedBodyTypeInternal string = "internal" GetResourcesIDMeasuresUnauthorizedBodyTypeInvalidGrant string = "invalid_grant" GetResourcesIDMeasuresUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )GetResourcesIDMeasuresUnauthorizedBodyTypeBadRequest
const ( // GetResourcesIDBadRequestBodyTypeBadRequest captures enum value "bad_request" GetResourcesIDBadRequestBodyTypeBadRequest string = "bad_request" GetResourcesIDBadRequestBodyTypeUnauthorized string = "unauthorized" // GetResourcesIDBadRequestBodyTypeNotFound captures enum value "not_found" GetResourcesIDBadRequestBodyTypeNotFound string = "not_found" // GetResourcesIDBadRequestBodyTypeInternal captures enum value "internal" GetResourcesIDBadRequestBodyTypeInternal string = "internal" // GetResourcesIDBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant" GetResourcesIDBadRequestBodyTypeInvalidGrant string = "invalid_grant" // GetResourcesIDBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetResourcesIDBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetResourcesIDInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" GetResourcesIDInternalServerErrorBodyTypeBadRequest string = "bad_request" GetResourcesIDInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // GetResourcesIDInternalServerErrorBodyTypeNotFound captures enum value "not_found" GetResourcesIDInternalServerErrorBodyTypeNotFound string = "not_found" // GetResourcesIDInternalServerErrorBodyTypeInternal captures enum value "internal" GetResourcesIDInternalServerErrorBodyTypeInternal string = "internal" // GetResourcesIDInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" GetResourcesIDInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // GetResourcesIDInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetResourcesIDInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetResourcesIDNotFoundBodyTypeBadRequest captures enum value "bad_request" GetResourcesIDNotFoundBodyTypeBadRequest string = "bad_request" GetResourcesIDNotFoundBodyTypeUnauthorized string = "unauthorized" // GetResourcesIDNotFoundBodyTypeNotFound captures enum value "not_found" GetResourcesIDNotFoundBodyTypeNotFound string = "not_found" // GetResourcesIDNotFoundBodyTypeInternal captures enum value "internal" GetResourcesIDNotFoundBodyTypeInternal string = "internal" // GetResourcesIDNotFoundBodyTypeInvalidGrant captures enum value "invalid_grant" GetResourcesIDNotFoundBodyTypeInvalidGrant string = "invalid_grant" // GetResourcesIDNotFoundBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetResourcesIDNotFoundBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "bad_request" GetResourcesIDUnauthorizedBodyTypeUnauthorized string = "unauthorized" GetResourcesIDUnauthorizedBodyTypeNotFound string = "not_found" GetResourcesIDUnauthorizedBodyTypeInternal string = "internal" GetResourcesIDUnauthorizedBodyTypeInvalidGrant string = "invalid_grant" GetResourcesIDUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )GetResourcesIDUnauthorizedBodyTypeBadRequest
const ( // GetResourcesIDUsersBadRequestBodyTypeBadRequest captures enum value "bad_request" GetResourcesIDUsersBadRequestBodyTypeBadRequest string = "bad_request" GetResourcesIDUsersBadRequestBodyTypeUnauthorized string = "unauthorized" // GetResourcesIDUsersBadRequestBodyTypeNotFound captures enum value "not_found" GetResourcesIDUsersBadRequestBodyTypeNotFound string = "not_found" // GetResourcesIDUsersBadRequestBodyTypeInternal captures enum value "internal" GetResourcesIDUsersBadRequestBodyTypeInternal string = "internal" // GetResourcesIDUsersBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant" GetResourcesIDUsersBadRequestBodyTypeInvalidGrant string = "invalid_grant" // GetResourcesIDUsersBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetResourcesIDUsersBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetResourcesIDUsersInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" GetResourcesIDUsersInternalServerErrorBodyTypeBadRequest string = "bad_request" GetResourcesIDUsersInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // GetResourcesIDUsersInternalServerErrorBodyTypeNotFound captures enum value "not_found" GetResourcesIDUsersInternalServerErrorBodyTypeNotFound string = "not_found" // GetResourcesIDUsersInternalServerErrorBodyTypeInternal captures enum value "internal" GetResourcesIDUsersInternalServerErrorBodyTypeInternal string = "internal" // GetResourcesIDUsersInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" GetResourcesIDUsersInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // GetResourcesIDUsersInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetResourcesIDUsersInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // GetResourcesIDUsersNotFoundBodyTypeBadRequest captures enum value "bad_request" GetResourcesIDUsersNotFoundBodyTypeBadRequest string = "bad_request" GetResourcesIDUsersNotFoundBodyTypeUnauthorized string = "unauthorized" // GetResourcesIDUsersNotFoundBodyTypeNotFound captures enum value "not_found" GetResourcesIDUsersNotFoundBodyTypeNotFound string = "not_found" // GetResourcesIDUsersNotFoundBodyTypeInternal captures enum value "internal" GetResourcesIDUsersNotFoundBodyTypeInternal string = "internal" // GetResourcesIDUsersNotFoundBodyTypeInvalidGrant captures enum value "invalid_grant" GetResourcesIDUsersNotFoundBodyTypeInvalidGrant string = "invalid_grant" // GetResourcesIDUsersNotFoundBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" GetResourcesIDUsersNotFoundBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "bad_request" GetResourcesIDUsersUnauthorizedBodyTypeUnauthorized string = "unauthorized" GetResourcesIDUsersUnauthorizedBodyTypeNotFound string = "not_found" GetResourcesIDUsersUnauthorizedBodyTypeInternal string = "internal" GetResourcesIDUsersUnauthorizedBodyTypeInvalidGrant string = "invalid_grant" GetResourcesIDUsersUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )GetResourcesIDUsersUnauthorizedBodyTypeBadRequest
const ( // PutResourcesIDMeasuresBadRequestBodyTypeBadRequest captures enum value "bad_request" PutResourcesIDMeasuresBadRequestBodyTypeBadRequest string = "bad_request" PutResourcesIDMeasuresBadRequestBodyTypeUnauthorized string = "unauthorized" // PutResourcesIDMeasuresBadRequestBodyTypeNotFound captures enum value "not_found" PutResourcesIDMeasuresBadRequestBodyTypeNotFound string = "not_found" // PutResourcesIDMeasuresBadRequestBodyTypeInternal captures enum value "internal" PutResourcesIDMeasuresBadRequestBodyTypeInternal string = "internal" // PutResourcesIDMeasuresBadRequestBodyTypeInvalidGrant captures enum value "invalid_grant" PutResourcesIDMeasuresBadRequestBodyTypeInvalidGrant string = "invalid_grant" // PutResourcesIDMeasuresBadRequestBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" PutResourcesIDMeasuresBadRequestBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // PutResourcesIDMeasuresInternalServerErrorBodyTypeBadRequest captures enum value "bad_request" PutResourcesIDMeasuresInternalServerErrorBodyTypeBadRequest string = "bad_request" PutResourcesIDMeasuresInternalServerErrorBodyTypeUnauthorized string = "unauthorized" // PutResourcesIDMeasuresInternalServerErrorBodyTypeNotFound captures enum value "not_found" PutResourcesIDMeasuresInternalServerErrorBodyTypeNotFound string = "not_found" // PutResourcesIDMeasuresInternalServerErrorBodyTypeInternal captures enum value "internal" PutResourcesIDMeasuresInternalServerErrorBodyTypeInternal string = "internal" // PutResourcesIDMeasuresInternalServerErrorBodyTypeInvalidGrant captures enum value "invalid_grant" PutResourcesIDMeasuresInternalServerErrorBodyTypeInvalidGrant string = "invalid_grant" // PutResourcesIDMeasuresInternalServerErrorBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" PutResourcesIDMeasuresInternalServerErrorBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( // PutResourcesIDMeasuresNotFoundBodyTypeBadRequest captures enum value "bad_request" PutResourcesIDMeasuresNotFoundBodyTypeBadRequest string = "bad_request" PutResourcesIDMeasuresNotFoundBodyTypeUnauthorized string = "unauthorized" // PutResourcesIDMeasuresNotFoundBodyTypeNotFound captures enum value "not_found" PutResourcesIDMeasuresNotFoundBodyTypeNotFound string = "not_found" // PutResourcesIDMeasuresNotFoundBodyTypeInternal captures enum value "internal" PutResourcesIDMeasuresNotFoundBodyTypeInternal string = "internal" // PutResourcesIDMeasuresNotFoundBodyTypeInvalidGrant captures enum value "invalid_grant" PutResourcesIDMeasuresNotFoundBodyTypeInvalidGrant string = "invalid_grant" // PutResourcesIDMeasuresNotFoundBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type" PutResourcesIDMeasuresNotFoundBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )
const ( string = "bad_request" PutResourcesIDMeasuresUnauthorizedBodyTypeUnauthorized string = "unauthorized" PutResourcesIDMeasuresUnauthorizedBodyTypeNotFound string = "not_found" PutResourcesIDMeasuresUnauthorizedBodyTypeInternal string = "internal" PutResourcesIDMeasuresUnauthorizedBodyTypeInvalidGrant string = "invalid_grant" PutResourcesIDMeasuresUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type" )PutResourcesIDMeasuresUnauthorizedBodyTypeBadRequest
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for resource API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new resource API client.
func (*Client) GetResourcesID ¶
func (a *Client) GetResourcesID(params *GetResourcesIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDOK, error)
GetResourcesID retrieves a resource
A provider can call this endpoint to return information about a specific resource.
The `product` and `plan` are the machine readable labels which map to Product and Plan data inside the Manifold Catalog. The `product` is globally unique while the `plan` is unique to the `product`.
The `region` is the machine readable representation of the platform and location in which this resource has been provisioned.
func (*Client) GetResourcesIDCredentials ¶ added in v0.14.0
func (a *Client) GetResourcesIDCredentials(params *GetResourcesIDCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDCredentialsOK, error)
GetResourcesIDCredentials lists credentials from resource
A provider can call this endpoint to return a list of all the credentials related to a specific resource
func (*Client) GetResourcesIDMeasures ¶ added in v0.14.0
func (a *Client) GetResourcesIDMeasures(params *GetResourcesIDMeasuresParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDMeasuresOK, error)
GetResourcesIDMeasures retrieves measures
A provider can call this endpoint to see how much Manifold has stored for feature usage of a resource. This is useful for testing and validation.
func (*Client) GetResourcesIDUsers ¶
func (a *Client) GetResourcesIDUsers(params *GetResourcesIDUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDUsersOK, error)
GetResourcesIDUsers lists all users
A provider can call this endpoint to return a list of all users who have access to a specific resource.
None of this data should be stored as it's non-unique and will change. Instead, a provider is required to call this end-point to fetch the latest data.
func (*Client) PutResourcesIDMeasures ¶ added in v0.14.0
func (a *Client) PutResourcesIDMeasures(params *PutResourcesIDMeasuresParams, authInfo runtime.ClientAuthInfoWriter) (*PutResourcesIDMeasuresNoContent, error)
PutResourcesIDMeasures bs e t a set how much a resource has used of its features
**BETA** A provider can call this endpoint to set how much a resource has used of its features during a period of time.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetResourcesIDBadRequest ¶
type GetResourcesIDBadRequest struct {
Payload GetResourcesIDBadRequestBody
}
GetResourcesIDBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewGetResourcesIDBadRequest ¶
func NewGetResourcesIDBadRequest() *GetResourcesIDBadRequest
NewGetResourcesIDBadRequest creates a GetResourcesIDBadRequest with default headers values
func (*GetResourcesIDBadRequest) Error ¶
func (o *GetResourcesIDBadRequest) Error() string
type GetResourcesIDBadRequestBody ¶
type GetResourcesIDBadRequestBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetResourcesIDBadRequestBody get resources ID bad request body swagger:model GetResourcesIDBadRequestBody
type GetResourcesIDCredentialsBadRequest ¶ added in v0.14.0
type GetResourcesIDCredentialsBadRequest struct {
Payload GetResourcesIDCredentialsBadRequestBody
}
GetResourcesIDCredentialsBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewGetResourcesIDCredentialsBadRequest ¶ added in v0.14.0
func NewGetResourcesIDCredentialsBadRequest() *GetResourcesIDCredentialsBadRequest
NewGetResourcesIDCredentialsBadRequest creates a GetResourcesIDCredentialsBadRequest with default headers values
func (*GetResourcesIDCredentialsBadRequest) Error ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsBadRequest) Error() string
type GetResourcesIDCredentialsBadRequestBody ¶ added in v0.14.0
type GetResourcesIDCredentialsBadRequestBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetResourcesIDCredentialsBadRequestBody get resources ID credentials bad request body swagger:model GetResourcesIDCredentialsBadRequestBody
type GetResourcesIDCredentialsInternalServerError ¶ added in v0.14.0
type GetResourcesIDCredentialsInternalServerError struct {
Payload GetResourcesIDCredentialsInternalServerErrorBody
}
GetResourcesIDCredentialsInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewGetResourcesIDCredentialsInternalServerError ¶ added in v0.14.0
func NewGetResourcesIDCredentialsInternalServerError() *GetResourcesIDCredentialsInternalServerError
NewGetResourcesIDCredentialsInternalServerError creates a GetResourcesIDCredentialsInternalServerError with default headers values
func (*GetResourcesIDCredentialsInternalServerError) Error ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsInternalServerError) Error() string
type GetResourcesIDCredentialsInternalServerErrorBody ¶ added in v0.14.0
type GetResourcesIDCredentialsInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetResourcesIDCredentialsInternalServerErrorBody get resources ID credentials internal server error body swagger:model GetResourcesIDCredentialsInternalServerErrorBody
type GetResourcesIDCredentialsNotFound ¶ added in v0.14.0
type GetResourcesIDCredentialsNotFound struct {
Payload GetResourcesIDCredentialsNotFoundBody
}
GetResourcesIDCredentialsNotFound handles this case with default header values.
Request denied as the requested resource does not exist.
func NewGetResourcesIDCredentialsNotFound ¶ added in v0.14.0
func NewGetResourcesIDCredentialsNotFound() *GetResourcesIDCredentialsNotFound
NewGetResourcesIDCredentialsNotFound creates a GetResourcesIDCredentialsNotFound with default headers values
func (*GetResourcesIDCredentialsNotFound) Error ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsNotFound) Error() string
type GetResourcesIDCredentialsNotFoundBody ¶ added in v0.14.0
type GetResourcesIDCredentialsNotFoundBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetResourcesIDCredentialsNotFoundBody get resources ID credentials not found body swagger:model GetResourcesIDCredentialsNotFoundBody
type GetResourcesIDCredentialsOK ¶ added in v0.14.0
type GetResourcesIDCredentialsOK struct {
Payload []*models.ResourceCredentials
}
GetResourcesIDCredentialsOK handles this case with default header values.
A list of credentials from the Resource.
func NewGetResourcesIDCredentialsOK ¶ added in v0.14.0
func NewGetResourcesIDCredentialsOK() *GetResourcesIDCredentialsOK
NewGetResourcesIDCredentialsOK creates a GetResourcesIDCredentialsOK with default headers values
func (*GetResourcesIDCredentialsOK) Error ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsOK) Error() string
type GetResourcesIDCredentialsParams ¶ added in v0.14.0
type GetResourcesIDCredentialsParams struct { /*ID ID of a Resource object, stored as a base32 encoded 18 byte identifier. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourcesIDCredentialsParams contains all the parameters to send to the API endpoint for the get resources ID credentials operation typically these are written to a http.Request
func NewGetResourcesIDCredentialsParams ¶ added in v0.14.0
func NewGetResourcesIDCredentialsParams() *GetResourcesIDCredentialsParams
NewGetResourcesIDCredentialsParams creates a new GetResourcesIDCredentialsParams object with the default values initialized.
func NewGetResourcesIDCredentialsParamsWithContext ¶ added in v0.14.0
func NewGetResourcesIDCredentialsParamsWithContext(ctx context.Context) *GetResourcesIDCredentialsParams
NewGetResourcesIDCredentialsParamsWithContext creates a new GetResourcesIDCredentialsParams object with the default values initialized, and the ability to set a context for a request
func NewGetResourcesIDCredentialsParamsWithHTTPClient ¶ added in v0.14.0
func NewGetResourcesIDCredentialsParamsWithHTTPClient(client *http.Client) *GetResourcesIDCredentialsParams
NewGetResourcesIDCredentialsParamsWithHTTPClient creates a new GetResourcesIDCredentialsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetResourcesIDCredentialsParamsWithTimeout ¶ added in v0.14.0
func NewGetResourcesIDCredentialsParamsWithTimeout(timeout time.Duration) *GetResourcesIDCredentialsParams
NewGetResourcesIDCredentialsParamsWithTimeout creates a new GetResourcesIDCredentialsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetResourcesIDCredentialsParams) SetContext ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the get resources ID credentials params
func (*GetResourcesIDCredentialsParams) SetHTTPClient ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resources ID credentials params
func (*GetResourcesIDCredentialsParams) SetID ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsParams) SetID(id string)
SetID adds the id to the get resources ID credentials params
func (*GetResourcesIDCredentialsParams) SetTimeout ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resources ID credentials params
func (*GetResourcesIDCredentialsParams) WithContext ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsParams) WithContext(ctx context.Context) *GetResourcesIDCredentialsParams
WithContext adds the context to the get resources ID credentials params
func (*GetResourcesIDCredentialsParams) WithHTTPClient ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsParams) WithHTTPClient(client *http.Client) *GetResourcesIDCredentialsParams
WithHTTPClient adds the HTTPClient to the get resources ID credentials params
func (*GetResourcesIDCredentialsParams) WithID ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsParams) WithID(id string) *GetResourcesIDCredentialsParams
WithID adds the id to the get resources ID credentials params
func (*GetResourcesIDCredentialsParams) WithTimeout ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsParams) WithTimeout(timeout time.Duration) *GetResourcesIDCredentialsParams
WithTimeout adds the timeout to the get resources ID credentials params
func (*GetResourcesIDCredentialsParams) WriteToRequest ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourcesIDCredentialsReader ¶ added in v0.14.0
type GetResourcesIDCredentialsReader struct {
// contains filtered or unexported fields
}
GetResourcesIDCredentialsReader is a Reader for the GetResourcesIDCredentials structure.
func (*GetResourcesIDCredentialsReader) ReadResponse ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourcesIDCredentialsUnauthorized ¶ added in v0.14.0
type GetResourcesIDCredentialsUnauthorized struct {
}GetResourcesIDCredentialsUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewGetResourcesIDCredentialsUnauthorized ¶ added in v0.14.0
func NewGetResourcesIDCredentialsUnauthorized() *GetResourcesIDCredentialsUnauthorized
NewGetResourcesIDCredentialsUnauthorized creates a GetResourcesIDCredentialsUnauthorized with default headers values
func (*GetResourcesIDCredentialsUnauthorized) Error ¶ added in v0.14.0
func (o *GetResourcesIDCredentialsUnauthorized) Error() string
type GetResourcesIDCredentialsUnauthorizedBody ¶ added in v0.14.0
type GetResourcesIDCredentialsUnauthorizedBody struct { // Required: true Message []string `json:"message"` // Required: true Type *string `json:"type"` }
GetResourcesIDCredentialsUnauthorizedBody get resources ID credentials unauthorized body swagger:model GetResourcesIDCredentialsUnauthorizedBody
type GetResourcesIDInternalServerError ¶
type GetResourcesIDInternalServerError struct {
Payload GetResourcesIDInternalServerErrorBody
}
GetResourcesIDInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewGetResourcesIDInternalServerError ¶
func NewGetResourcesIDInternalServerError() *GetResourcesIDInternalServerError
NewGetResourcesIDInternalServerError creates a GetResourcesIDInternalServerError with default headers values
func (*GetResourcesIDInternalServerError) Error ¶
func (o *GetResourcesIDInternalServerError) Error() string
type GetResourcesIDInternalServerErrorBody ¶
type GetResourcesIDInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetResourcesIDInternalServerErrorBody get resources ID internal server error body swagger:model GetResourcesIDInternalServerErrorBody
type GetResourcesIDMeasuresBadRequest ¶ added in v0.14.0
type GetResourcesIDMeasuresBadRequest struct {
Payload GetResourcesIDMeasuresBadRequestBody
}
GetResourcesIDMeasuresBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewGetResourcesIDMeasuresBadRequest ¶ added in v0.14.0
func NewGetResourcesIDMeasuresBadRequest() *GetResourcesIDMeasuresBadRequest
NewGetResourcesIDMeasuresBadRequest creates a GetResourcesIDMeasuresBadRequest with default headers values
func (*GetResourcesIDMeasuresBadRequest) Error ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresBadRequest) Error() string
type GetResourcesIDMeasuresBadRequestBody ¶ added in v0.14.0
type GetResourcesIDMeasuresBadRequestBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetResourcesIDMeasuresBadRequestBody get resources ID measures bad request body swagger:model GetResourcesIDMeasuresBadRequestBody
type GetResourcesIDMeasuresInternalServerError ¶ added in v0.14.0
type GetResourcesIDMeasuresInternalServerError struct {
Payload GetResourcesIDMeasuresInternalServerErrorBody
}
GetResourcesIDMeasuresInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewGetResourcesIDMeasuresInternalServerError ¶ added in v0.14.0
func NewGetResourcesIDMeasuresInternalServerError() *GetResourcesIDMeasuresInternalServerError
NewGetResourcesIDMeasuresInternalServerError creates a GetResourcesIDMeasuresInternalServerError with default headers values
func (*GetResourcesIDMeasuresInternalServerError) Error ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresInternalServerError) Error() string
type GetResourcesIDMeasuresInternalServerErrorBody ¶ added in v0.14.0
type GetResourcesIDMeasuresInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetResourcesIDMeasuresInternalServerErrorBody get resources ID measures internal server error body swagger:model GetResourcesIDMeasuresInternalServerErrorBody
type GetResourcesIDMeasuresNotFound ¶ added in v0.14.0
type GetResourcesIDMeasuresNotFound struct {
Payload GetResourcesIDMeasuresNotFoundBody
}
GetResourcesIDMeasuresNotFound handles this case with default header values.
Request denied as the requested resource does not exist.
func NewGetResourcesIDMeasuresNotFound ¶ added in v0.14.0
func NewGetResourcesIDMeasuresNotFound() *GetResourcesIDMeasuresNotFound
NewGetResourcesIDMeasuresNotFound creates a GetResourcesIDMeasuresNotFound with default headers values
func (*GetResourcesIDMeasuresNotFound) Error ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresNotFound) Error() string
type GetResourcesIDMeasuresNotFoundBody ¶ added in v0.14.0
type GetResourcesIDMeasuresNotFoundBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetResourcesIDMeasuresNotFoundBody get resources ID measures not found body swagger:model GetResourcesIDMeasuresNotFoundBody
type GetResourcesIDMeasuresOK ¶ added in v0.14.0
type GetResourcesIDMeasuresOK struct {
Payload models.ResourceMeasuresUsages
}
GetResourcesIDMeasuresOK handles this case with default header values.
An array of resource measures per billing period as queried
func NewGetResourcesIDMeasuresOK ¶ added in v0.14.0
func NewGetResourcesIDMeasuresOK() *GetResourcesIDMeasuresOK
NewGetResourcesIDMeasuresOK creates a GetResourcesIDMeasuresOK with default headers values
func (*GetResourcesIDMeasuresOK) Error ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresOK) Error() string
type GetResourcesIDMeasuresParams ¶ added in v0.14.0
type GetResourcesIDMeasuresParams struct { /*ID ID of a Resource object, stored as a base32 encoded 18 byte identifier. */ ID string /*PeriodEnd The end of a billing period, must be the end of a month inclusive. */ PeriodEnd *strfmt.DateTime /*PeriodStart The start of a billing period, must be the start of a month. */ PeriodStart *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourcesIDMeasuresParams contains all the parameters to send to the API endpoint for the get resources ID measures operation typically these are written to a http.Request
func NewGetResourcesIDMeasuresParams ¶ added in v0.14.0
func NewGetResourcesIDMeasuresParams() *GetResourcesIDMeasuresParams
NewGetResourcesIDMeasuresParams creates a new GetResourcesIDMeasuresParams object with the default values initialized.
func NewGetResourcesIDMeasuresParamsWithContext ¶ added in v0.14.0
func NewGetResourcesIDMeasuresParamsWithContext(ctx context.Context) *GetResourcesIDMeasuresParams
NewGetResourcesIDMeasuresParamsWithContext creates a new GetResourcesIDMeasuresParams object with the default values initialized, and the ability to set a context for a request
func NewGetResourcesIDMeasuresParamsWithHTTPClient ¶ added in v0.14.0
func NewGetResourcesIDMeasuresParamsWithHTTPClient(client *http.Client) *GetResourcesIDMeasuresParams
NewGetResourcesIDMeasuresParamsWithHTTPClient creates a new GetResourcesIDMeasuresParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetResourcesIDMeasuresParamsWithTimeout ¶ added in v0.14.0
func NewGetResourcesIDMeasuresParamsWithTimeout(timeout time.Duration) *GetResourcesIDMeasuresParams
NewGetResourcesIDMeasuresParamsWithTimeout creates a new GetResourcesIDMeasuresParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetResourcesIDMeasuresParams) SetContext ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) SetContext(ctx context.Context)
SetContext adds the context to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) SetHTTPClient ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) SetID ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) SetID(id string)
SetID adds the id to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) SetPeriodEnd ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) SetPeriodEnd(periodEnd *strfmt.DateTime)
SetPeriodEnd adds the periodEnd to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) SetPeriodStart ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) SetPeriodStart(periodStart *strfmt.DateTime)
SetPeriodStart adds the periodStart to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) SetTimeout ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WithContext ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) WithContext(ctx context.Context) *GetResourcesIDMeasuresParams
WithContext adds the context to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WithHTTPClient ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) WithHTTPClient(client *http.Client) *GetResourcesIDMeasuresParams
WithHTTPClient adds the HTTPClient to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WithID ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) WithID(id string) *GetResourcesIDMeasuresParams
WithID adds the id to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WithPeriodEnd ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) WithPeriodEnd(periodEnd *strfmt.DateTime) *GetResourcesIDMeasuresParams
WithPeriodEnd adds the periodEnd to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WithPeriodStart ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) WithPeriodStart(periodStart *strfmt.DateTime) *GetResourcesIDMeasuresParams
WithPeriodStart adds the periodStart to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WithTimeout ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) WithTimeout(timeout time.Duration) *GetResourcesIDMeasuresParams
WithTimeout adds the timeout to the get resources ID measures params
func (*GetResourcesIDMeasuresParams) WriteToRequest ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourcesIDMeasuresReader ¶ added in v0.14.0
type GetResourcesIDMeasuresReader struct {
// contains filtered or unexported fields
}
GetResourcesIDMeasuresReader is a Reader for the GetResourcesIDMeasures structure.
func (*GetResourcesIDMeasuresReader) ReadResponse ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourcesIDMeasuresUnauthorized ¶ added in v0.14.0
type GetResourcesIDMeasuresUnauthorized struct {
}GetResourcesIDMeasuresUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewGetResourcesIDMeasuresUnauthorized ¶ added in v0.14.0
func NewGetResourcesIDMeasuresUnauthorized() *GetResourcesIDMeasuresUnauthorized
NewGetResourcesIDMeasuresUnauthorized creates a GetResourcesIDMeasuresUnauthorized with default headers values
func (*GetResourcesIDMeasuresUnauthorized) Error ¶ added in v0.14.0
func (o *GetResourcesIDMeasuresUnauthorized) Error() string
type GetResourcesIDMeasuresUnauthorizedBody ¶ added in v0.14.0
type GetResourcesIDMeasuresUnauthorizedBody struct { // Required: true Message []string `json:"message"` // Required: true Type *string `json:"type"` }
GetResourcesIDMeasuresUnauthorizedBody get resources ID measures unauthorized body swagger:model GetResourcesIDMeasuresUnauthorizedBody
type GetResourcesIDNotFound ¶
type GetResourcesIDNotFound struct {
Payload GetResourcesIDNotFoundBody
}
GetResourcesIDNotFound handles this case with default header values.
Request denied as the requested resource does not exist.
func NewGetResourcesIDNotFound ¶
func NewGetResourcesIDNotFound() *GetResourcesIDNotFound
NewGetResourcesIDNotFound creates a GetResourcesIDNotFound with default headers values
func (*GetResourcesIDNotFound) Error ¶
func (o *GetResourcesIDNotFound) Error() string
type GetResourcesIDNotFoundBody ¶
type GetResourcesIDNotFoundBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetResourcesIDNotFoundBody get resources ID not found body swagger:model GetResourcesIDNotFoundBody
type GetResourcesIDOK ¶
GetResourcesIDOK handles this case with default header values.
A resource.
func NewGetResourcesIDOK ¶
func NewGetResourcesIDOK() *GetResourcesIDOK
NewGetResourcesIDOK creates a GetResourcesIDOK with default headers values
func (*GetResourcesIDOK) Error ¶
func (o *GetResourcesIDOK) Error() string
type GetResourcesIDParams ¶
type GetResourcesIDParams struct { /*ID ID of a Resource object, stored as a base32 encoded 18 byte identifier. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourcesIDParams contains all the parameters to send to the API endpoint for the get resources ID operation typically these are written to a http.Request
func NewGetResourcesIDParams ¶
func NewGetResourcesIDParams() *GetResourcesIDParams
NewGetResourcesIDParams creates a new GetResourcesIDParams object with the default values initialized.
func NewGetResourcesIDParamsWithContext ¶
func NewGetResourcesIDParamsWithContext(ctx context.Context) *GetResourcesIDParams
NewGetResourcesIDParamsWithContext creates a new GetResourcesIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetResourcesIDParamsWithHTTPClient ¶
func NewGetResourcesIDParamsWithHTTPClient(client *http.Client) *GetResourcesIDParams
NewGetResourcesIDParamsWithHTTPClient creates a new GetResourcesIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetResourcesIDParamsWithTimeout ¶
func NewGetResourcesIDParamsWithTimeout(timeout time.Duration) *GetResourcesIDParams
NewGetResourcesIDParamsWithTimeout creates a new GetResourcesIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetResourcesIDParams) SetContext ¶
func (o *GetResourcesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get resources ID params
func (*GetResourcesIDParams) SetHTTPClient ¶
func (o *GetResourcesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resources ID params
func (*GetResourcesIDParams) SetID ¶
func (o *GetResourcesIDParams) SetID(id string)
SetID adds the id to the get resources ID params
func (*GetResourcesIDParams) SetTimeout ¶
func (o *GetResourcesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resources ID params
func (*GetResourcesIDParams) WithContext ¶
func (o *GetResourcesIDParams) WithContext(ctx context.Context) *GetResourcesIDParams
WithContext adds the context to the get resources ID params
func (*GetResourcesIDParams) WithHTTPClient ¶
func (o *GetResourcesIDParams) WithHTTPClient(client *http.Client) *GetResourcesIDParams
WithHTTPClient adds the HTTPClient to the get resources ID params
func (*GetResourcesIDParams) WithID ¶
func (o *GetResourcesIDParams) WithID(id string) *GetResourcesIDParams
WithID adds the id to the get resources ID params
func (*GetResourcesIDParams) WithTimeout ¶
func (o *GetResourcesIDParams) WithTimeout(timeout time.Duration) *GetResourcesIDParams
WithTimeout adds the timeout to the get resources ID params
func (*GetResourcesIDParams) WriteToRequest ¶
func (o *GetResourcesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourcesIDReader ¶
type GetResourcesIDReader struct {
// contains filtered or unexported fields
}
GetResourcesIDReader is a Reader for the GetResourcesID structure.
func (*GetResourcesIDReader) ReadResponse ¶
func (o *GetResourcesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourcesIDUnauthorized ¶
type GetResourcesIDUnauthorized struct {
}GetResourcesIDUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewGetResourcesIDUnauthorized ¶
func NewGetResourcesIDUnauthorized() *GetResourcesIDUnauthorized
NewGetResourcesIDUnauthorized creates a GetResourcesIDUnauthorized with default headers values
func (*GetResourcesIDUnauthorized) Error ¶
func (o *GetResourcesIDUnauthorized) Error() string
type GetResourcesIDUnauthorizedBody ¶
type GetResourcesIDUnauthorizedBody struct { // Required: true Message []string `json:"message"` // Required: true Type *string `json:"type"` }
GetResourcesIDUnauthorizedBody get resources ID unauthorized body swagger:model GetResourcesIDUnauthorizedBody
type GetResourcesIDUsersBadRequest ¶
type GetResourcesIDUsersBadRequest struct {
Payload GetResourcesIDUsersBadRequestBody
}
GetResourcesIDUsersBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewGetResourcesIDUsersBadRequest ¶
func NewGetResourcesIDUsersBadRequest() *GetResourcesIDUsersBadRequest
NewGetResourcesIDUsersBadRequest creates a GetResourcesIDUsersBadRequest with default headers values
func (*GetResourcesIDUsersBadRequest) Error ¶
func (o *GetResourcesIDUsersBadRequest) Error() string
type GetResourcesIDUsersBadRequestBody ¶
type GetResourcesIDUsersBadRequestBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetResourcesIDUsersBadRequestBody get resources ID users bad request body swagger:model GetResourcesIDUsersBadRequestBody
type GetResourcesIDUsersInternalServerError ¶
type GetResourcesIDUsersInternalServerError struct {
Payload GetResourcesIDUsersInternalServerErrorBody
}
GetResourcesIDUsersInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewGetResourcesIDUsersInternalServerError ¶
func NewGetResourcesIDUsersInternalServerError() *GetResourcesIDUsersInternalServerError
NewGetResourcesIDUsersInternalServerError creates a GetResourcesIDUsersInternalServerError with default headers values
func (*GetResourcesIDUsersInternalServerError) Error ¶
func (o *GetResourcesIDUsersInternalServerError) Error() string
type GetResourcesIDUsersInternalServerErrorBody ¶
type GetResourcesIDUsersInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetResourcesIDUsersInternalServerErrorBody get resources ID users internal server error body swagger:model GetResourcesIDUsersInternalServerErrorBody
type GetResourcesIDUsersNotFound ¶
type GetResourcesIDUsersNotFound struct {
Payload GetResourcesIDUsersNotFoundBody
}
GetResourcesIDUsersNotFound handles this case with default header values.
Request denied as the requested resource does not exist.
func NewGetResourcesIDUsersNotFound ¶
func NewGetResourcesIDUsersNotFound() *GetResourcesIDUsersNotFound
NewGetResourcesIDUsersNotFound creates a GetResourcesIDUsersNotFound with default headers values
func (*GetResourcesIDUsersNotFound) Error ¶
func (o *GetResourcesIDUsersNotFound) Error() string
type GetResourcesIDUsersNotFoundBody ¶
type GetResourcesIDUsersNotFoundBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
GetResourcesIDUsersNotFoundBody get resources ID users not found body swagger:model GetResourcesIDUsersNotFoundBody
type GetResourcesIDUsersOK ¶
GetResourcesIDUsersOK handles this case with default header values.
A list of users who have access to the Resource.
func NewGetResourcesIDUsersOK ¶
func NewGetResourcesIDUsersOK() *GetResourcesIDUsersOK
NewGetResourcesIDUsersOK creates a GetResourcesIDUsersOK with default headers values
func (*GetResourcesIDUsersOK) Error ¶
func (o *GetResourcesIDUsersOK) Error() string
type GetResourcesIDUsersParams ¶
type GetResourcesIDUsersParams struct { /*ID ID of a Resource object, stored as a base32 encoded 18 byte identifier. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourcesIDUsersParams contains all the parameters to send to the API endpoint for the get resources ID users operation typically these are written to a http.Request
func NewGetResourcesIDUsersParams ¶
func NewGetResourcesIDUsersParams() *GetResourcesIDUsersParams
NewGetResourcesIDUsersParams creates a new GetResourcesIDUsersParams object with the default values initialized.
func NewGetResourcesIDUsersParamsWithContext ¶
func NewGetResourcesIDUsersParamsWithContext(ctx context.Context) *GetResourcesIDUsersParams
NewGetResourcesIDUsersParamsWithContext creates a new GetResourcesIDUsersParams object with the default values initialized, and the ability to set a context for a request
func NewGetResourcesIDUsersParamsWithHTTPClient ¶
func NewGetResourcesIDUsersParamsWithHTTPClient(client *http.Client) *GetResourcesIDUsersParams
NewGetResourcesIDUsersParamsWithHTTPClient creates a new GetResourcesIDUsersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetResourcesIDUsersParamsWithTimeout ¶
func NewGetResourcesIDUsersParamsWithTimeout(timeout time.Duration) *GetResourcesIDUsersParams
NewGetResourcesIDUsersParamsWithTimeout creates a new GetResourcesIDUsersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetResourcesIDUsersParams) SetContext ¶
func (o *GetResourcesIDUsersParams) SetContext(ctx context.Context)
SetContext adds the context to the get resources ID users params
func (*GetResourcesIDUsersParams) SetHTTPClient ¶
func (o *GetResourcesIDUsersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resources ID users params
func (*GetResourcesIDUsersParams) SetID ¶
func (o *GetResourcesIDUsersParams) SetID(id string)
SetID adds the id to the get resources ID users params
func (*GetResourcesIDUsersParams) SetTimeout ¶
func (o *GetResourcesIDUsersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resources ID users params
func (*GetResourcesIDUsersParams) WithContext ¶
func (o *GetResourcesIDUsersParams) WithContext(ctx context.Context) *GetResourcesIDUsersParams
WithContext adds the context to the get resources ID users params
func (*GetResourcesIDUsersParams) WithHTTPClient ¶
func (o *GetResourcesIDUsersParams) WithHTTPClient(client *http.Client) *GetResourcesIDUsersParams
WithHTTPClient adds the HTTPClient to the get resources ID users params
func (*GetResourcesIDUsersParams) WithID ¶
func (o *GetResourcesIDUsersParams) WithID(id string) *GetResourcesIDUsersParams
WithID adds the id to the get resources ID users params
func (*GetResourcesIDUsersParams) WithTimeout ¶
func (o *GetResourcesIDUsersParams) WithTimeout(timeout time.Duration) *GetResourcesIDUsersParams
WithTimeout adds the timeout to the get resources ID users params
func (*GetResourcesIDUsersParams) WriteToRequest ¶
func (o *GetResourcesIDUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourcesIDUsersReader ¶
type GetResourcesIDUsersReader struct {
// contains filtered or unexported fields
}
GetResourcesIDUsersReader is a Reader for the GetResourcesIDUsers structure.
func (*GetResourcesIDUsersReader) ReadResponse ¶
func (o *GetResourcesIDUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourcesIDUsersUnauthorized ¶
type GetResourcesIDUsersUnauthorized struct {
}GetResourcesIDUsersUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewGetResourcesIDUsersUnauthorized ¶
func NewGetResourcesIDUsersUnauthorized() *GetResourcesIDUsersUnauthorized
NewGetResourcesIDUsersUnauthorized creates a GetResourcesIDUsersUnauthorized with default headers values
func (*GetResourcesIDUsersUnauthorized) Error ¶
func (o *GetResourcesIDUsersUnauthorized) Error() string
type GetResourcesIDUsersUnauthorizedBody ¶
type GetResourcesIDUsersUnauthorizedBody struct { // Required: true Message []string `json:"message"` // Required: true Type *string `json:"type"` }
GetResourcesIDUsersUnauthorizedBody get resources ID users unauthorized body swagger:model GetResourcesIDUsersUnauthorizedBody
type PutResourcesIDMeasuresBadRequest ¶ added in v0.14.0
type PutResourcesIDMeasuresBadRequest struct {
Payload PutResourcesIDMeasuresBadRequestBody
}
PutResourcesIDMeasuresBadRequest handles this case with default header values.
Request denied due to invalid request body, path, or headers.
func NewPutResourcesIDMeasuresBadRequest ¶ added in v0.14.0
func NewPutResourcesIDMeasuresBadRequest() *PutResourcesIDMeasuresBadRequest
NewPutResourcesIDMeasuresBadRequest creates a PutResourcesIDMeasuresBadRequest with default headers values
func (*PutResourcesIDMeasuresBadRequest) Error ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresBadRequest) Error() string
type PutResourcesIDMeasuresBadRequestBody ¶ added in v0.14.0
type PutResourcesIDMeasuresBadRequestBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
PutResourcesIDMeasuresBadRequestBody put resources ID measures bad request body swagger:model PutResourcesIDMeasuresBadRequestBody
type PutResourcesIDMeasuresInternalServerError ¶ added in v0.14.0
type PutResourcesIDMeasuresInternalServerError struct {
Payload PutResourcesIDMeasuresInternalServerErrorBody
}
PutResourcesIDMeasuresInternalServerError handles this case with default header values.
Request failed due to an internal server error.
func NewPutResourcesIDMeasuresInternalServerError ¶ added in v0.14.0
func NewPutResourcesIDMeasuresInternalServerError() *PutResourcesIDMeasuresInternalServerError
NewPutResourcesIDMeasuresInternalServerError creates a PutResourcesIDMeasuresInternalServerError with default headers values
func (*PutResourcesIDMeasuresInternalServerError) Error ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresInternalServerError) Error() string
type PutResourcesIDMeasuresInternalServerErrorBody ¶ added in v0.14.0
type PutResourcesIDMeasuresInternalServerErrorBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
PutResourcesIDMeasuresInternalServerErrorBody put resources ID measures internal server error body swagger:model PutResourcesIDMeasuresInternalServerErrorBody
type PutResourcesIDMeasuresNoContent ¶ added in v0.14.0
type PutResourcesIDMeasuresNoContent struct { }
PutResourcesIDMeasuresNoContent handles this case with default header values.
Empty response
func NewPutResourcesIDMeasuresNoContent ¶ added in v0.14.0
func NewPutResourcesIDMeasuresNoContent() *PutResourcesIDMeasuresNoContent
NewPutResourcesIDMeasuresNoContent creates a PutResourcesIDMeasuresNoContent with default headers values
func (*PutResourcesIDMeasuresNoContent) Error ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresNoContent) Error() string
type PutResourcesIDMeasuresNotFound ¶ added in v0.14.0
type PutResourcesIDMeasuresNotFound struct {
Payload PutResourcesIDMeasuresNotFoundBody
}
PutResourcesIDMeasuresNotFound handles this case with default header values.
Request denied as the requested resource does not exist.
func NewPutResourcesIDMeasuresNotFound ¶ added in v0.14.0
func NewPutResourcesIDMeasuresNotFound() *PutResourcesIDMeasuresNotFound
NewPutResourcesIDMeasuresNotFound creates a PutResourcesIDMeasuresNotFound with default headers values
func (*PutResourcesIDMeasuresNotFound) Error ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresNotFound) Error() string
type PutResourcesIDMeasuresNotFoundBody ¶ added in v0.14.0
type PutResourcesIDMeasuresNotFoundBody struct { // Explanation of the errors // Required: true Message []string `json:"message"` // The error type // Required: true Type *string `json:"type"` }
PutResourcesIDMeasuresNotFoundBody put resources ID measures not found body swagger:model PutResourcesIDMeasuresNotFoundBody
type PutResourcesIDMeasuresParams ¶ added in v0.14.0
type PutResourcesIDMeasuresParams struct { /*Body*/ Body *models.ResourceMeasures /*ID ID of a Resource object, stored as a base32 encoded 18 byte identifier. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutResourcesIDMeasuresParams contains all the parameters to send to the API endpoint for the put resources ID measures operation typically these are written to a http.Request
func NewPutResourcesIDMeasuresParams ¶ added in v0.14.0
func NewPutResourcesIDMeasuresParams() *PutResourcesIDMeasuresParams
NewPutResourcesIDMeasuresParams creates a new PutResourcesIDMeasuresParams object with the default values initialized.
func NewPutResourcesIDMeasuresParamsWithContext ¶ added in v0.14.0
func NewPutResourcesIDMeasuresParamsWithContext(ctx context.Context) *PutResourcesIDMeasuresParams
NewPutResourcesIDMeasuresParamsWithContext creates a new PutResourcesIDMeasuresParams object with the default values initialized, and the ability to set a context for a request
func NewPutResourcesIDMeasuresParamsWithHTTPClient ¶ added in v0.14.0
func NewPutResourcesIDMeasuresParamsWithHTTPClient(client *http.Client) *PutResourcesIDMeasuresParams
NewPutResourcesIDMeasuresParamsWithHTTPClient creates a new PutResourcesIDMeasuresParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutResourcesIDMeasuresParamsWithTimeout ¶ added in v0.14.0
func NewPutResourcesIDMeasuresParamsWithTimeout(timeout time.Duration) *PutResourcesIDMeasuresParams
NewPutResourcesIDMeasuresParamsWithTimeout creates a new PutResourcesIDMeasuresParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutResourcesIDMeasuresParams) SetBody ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresParams) SetBody(body *models.ResourceMeasures)
SetBody adds the body to the put resources ID measures params
func (*PutResourcesIDMeasuresParams) SetContext ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresParams) SetContext(ctx context.Context)
SetContext adds the context to the put resources ID measures params
func (*PutResourcesIDMeasuresParams) SetHTTPClient ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put resources ID measures params
func (*PutResourcesIDMeasuresParams) SetID ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresParams) SetID(id string)
SetID adds the id to the put resources ID measures params
func (*PutResourcesIDMeasuresParams) SetTimeout ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put resources ID measures params
func (*PutResourcesIDMeasuresParams) WithBody ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresParams) WithBody(body *models.ResourceMeasures) *PutResourcesIDMeasuresParams
WithBody adds the body to the put resources ID measures params
func (*PutResourcesIDMeasuresParams) WithContext ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresParams) WithContext(ctx context.Context) *PutResourcesIDMeasuresParams
WithContext adds the context to the put resources ID measures params
func (*PutResourcesIDMeasuresParams) WithHTTPClient ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresParams) WithHTTPClient(client *http.Client) *PutResourcesIDMeasuresParams
WithHTTPClient adds the HTTPClient to the put resources ID measures params
func (*PutResourcesIDMeasuresParams) WithID ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresParams) WithID(id string) *PutResourcesIDMeasuresParams
WithID adds the id to the put resources ID measures params
func (*PutResourcesIDMeasuresParams) WithTimeout ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresParams) WithTimeout(timeout time.Duration) *PutResourcesIDMeasuresParams
WithTimeout adds the timeout to the put resources ID measures params
func (*PutResourcesIDMeasuresParams) WriteToRequest ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutResourcesIDMeasuresReader ¶ added in v0.14.0
type PutResourcesIDMeasuresReader struct {
// contains filtered or unexported fields
}
PutResourcesIDMeasuresReader is a Reader for the PutResourcesIDMeasures structure.
func (*PutResourcesIDMeasuresReader) ReadResponse ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutResourcesIDMeasuresUnauthorized ¶ added in v0.14.0
type PutResourcesIDMeasuresUnauthorized struct {
}PutResourcesIDMeasuresUnauthorized handles this case with default header values.
Request denied as the provided credentials are no longer valid.
func NewPutResourcesIDMeasuresUnauthorized ¶ added in v0.14.0
func NewPutResourcesIDMeasuresUnauthorized() *PutResourcesIDMeasuresUnauthorized
NewPutResourcesIDMeasuresUnauthorized creates a PutResourcesIDMeasuresUnauthorized with default headers values
func (*PutResourcesIDMeasuresUnauthorized) Error ¶ added in v0.14.0
func (o *PutResourcesIDMeasuresUnauthorized) Error() string
type PutResourcesIDMeasuresUnauthorizedBody ¶ added in v0.14.0
type PutResourcesIDMeasuresUnauthorizedBody struct { // Required: true Message []string `json:"message"` // Required: true Type *string `json:"type"` }
PutResourcesIDMeasuresUnauthorizedBody put resources ID measures unauthorized body swagger:model PutResourcesIDMeasuresUnauthorizedBody
Source Files ¶
- get_resources_id_credentials_parameters.go
- get_resources_id_credentials_responses.go
- get_resources_id_measures_parameters.go
- get_resources_id_measures_responses.go
- get_resources_id_parameters.go
- get_resources_id_responses.go
- get_resources_id_users_parameters.go
- get_resources_id_users_responses.go
- put_resources_id_measures_parameters.go
- put_resources_id_measures_responses.go
- resource_client.go