Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) GetResourcesID(params *GetResourcesIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDOK, error)
- func (a *Client) GetResourcesIDUsers(params *GetResourcesIDUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesIDUsersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetResourcesIDBadRequest
- type GetResourcesIDBadRequestBody
- type GetResourcesIDInternalServerError
- type GetResourcesIDInternalServerErrorBody
- 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
Constants ¶
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
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) 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) 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 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 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