resource

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2018 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GetResourcesIDBadRequestBodyTypeBadRequest captures enum value "bad_request"
	GetResourcesIDBadRequestBodyTypeBadRequest string = "bad_request"
	// GetResourcesIDBadRequestBodyTypeUnauthorized captures enum value "unauthorized"
	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"
)
View Source
const (
	// GetResourcesIDInternalServerErrorBodyTypeBadRequest captures enum value "bad_request"
	GetResourcesIDInternalServerErrorBodyTypeBadRequest string = "bad_request"
	// GetResourcesIDInternalServerErrorBodyTypeUnauthorized captures enum value "unauthorized"
	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"
)
View Source
const (
	// GetResourcesIDNotFoundBodyTypeBadRequest captures enum value "bad_request"
	GetResourcesIDNotFoundBodyTypeBadRequest string = "bad_request"
	// GetResourcesIDNotFoundBodyTypeUnauthorized captures enum value "unauthorized"
	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"
)
View Source
const (
	// GetResourcesIDUnauthorizedBodyTypeBadRequest captures enum value "bad_request"
	GetResourcesIDUnauthorizedBodyTypeBadRequest string = "bad_request"
	// GetResourcesIDUnauthorizedBodyTypeUnauthorized captures enum value "unauthorized"
	GetResourcesIDUnauthorizedBodyTypeUnauthorized string = "unauthorized"
	// GetResourcesIDUnauthorizedBodyTypeNotFound captures enum value "not_found"
	GetResourcesIDUnauthorizedBodyTypeNotFound string = "not_found"
	// GetResourcesIDUnauthorizedBodyTypeInternal captures enum value "internal"
	GetResourcesIDUnauthorizedBodyTypeInternal string = "internal"
	// GetResourcesIDUnauthorizedBodyTypeInvalidGrant captures enum value "invalid_grant"
	GetResourcesIDUnauthorizedBodyTypeInvalidGrant string = "invalid_grant"
	// GetResourcesIDUnauthorizedBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type"
	GetResourcesIDUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type"
)
View Source
const (
	// GetResourcesIDUsersBadRequestBodyTypeBadRequest captures enum value "bad_request"
	GetResourcesIDUsersBadRequestBodyTypeBadRequest string = "bad_request"
	// GetResourcesIDUsersBadRequestBodyTypeUnauthorized captures enum value "unauthorized"
	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"
)
View Source
const (
	// GetResourcesIDUsersInternalServerErrorBodyTypeBadRequest captures enum value "bad_request"
	GetResourcesIDUsersInternalServerErrorBodyTypeBadRequest string = "bad_request"
	// GetResourcesIDUsersInternalServerErrorBodyTypeUnauthorized captures enum value "unauthorized"
	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"
)
View Source
const (
	// GetResourcesIDUsersNotFoundBodyTypeBadRequest captures enum value "bad_request"
	GetResourcesIDUsersNotFoundBodyTypeBadRequest string = "bad_request"
	// GetResourcesIDUsersNotFoundBodyTypeUnauthorized captures enum value "unauthorized"
	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"
)
View Source
const (
	// GetResourcesIDUsersUnauthorizedBodyTypeBadRequest captures enum value "bad_request"
	GetResourcesIDUsersUnauthorizedBodyTypeBadRequest string = "bad_request"
	// GetResourcesIDUsersUnauthorizedBodyTypeUnauthorized captures enum value "unauthorized"
	GetResourcesIDUsersUnauthorizedBodyTypeUnauthorized string = "unauthorized"
	// GetResourcesIDUsersUnauthorizedBodyTypeNotFound captures enum value "not_found"
	GetResourcesIDUsersUnauthorizedBodyTypeNotFound string = "not_found"
	// GetResourcesIDUsersUnauthorizedBodyTypeInternal captures enum value "internal"
	GetResourcesIDUsersUnauthorizedBodyTypeInternal string = "internal"
	// GetResourcesIDUsersUnauthorizedBodyTypeInvalidGrant captures enum value "invalid_grant"
	GetResourcesIDUsersUnauthorizedBodyTypeInvalidGrant string = "invalid_grant"
	// GetResourcesIDUsersUnauthorizedBodyTypeUnsupportedGrantType captures enum value "unsupported_grant_type"
	GetResourcesIDUsersUnauthorizedBodyTypeUnsupportedGrantType string = "unsupported_grant_type"
)

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

func (*GetResourcesIDBadRequestBody) Validate

func (o *GetResourcesIDBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this get resources ID bad request body

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

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

func (*GetResourcesIDInternalServerErrorBody) Validate

Validate validates this get resources ID internal server error body

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

func (*GetResourcesIDNotFoundBody) Validate

func (o *GetResourcesIDNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get resources ID not found body

type GetResourcesIDOK

type GetResourcesIDOK struct {
	Payload *models.Resource
}

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

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

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 {
	Payload GetResourcesIDUnauthorizedBody
}

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

type GetResourcesIDUnauthorizedBody

type GetResourcesIDUnauthorizedBody struct {

	// Explanation of the errors
	// Required: true
	Message []string `json:"message"`

	// The error type
	// Required: true
	Type *string `json:"type"`
}

GetResourcesIDUnauthorizedBody get resources ID unauthorized body swagger:model GetResourcesIDUnauthorizedBody

func (*GetResourcesIDUnauthorizedBody) Validate

func (o *GetResourcesIDUnauthorizedBody) Validate(formats strfmt.Registry) error

Validate validates this get resources ID unauthorized body

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

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

func (*GetResourcesIDUsersBadRequestBody) Validate

Validate validates this get resources ID users bad request body

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

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

func (*GetResourcesIDUsersInternalServerErrorBody) Validate

Validate validates this get resources ID users internal server error body

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

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

func (*GetResourcesIDUsersNotFoundBody) Validate

Validate validates this get resources ID users not found body

type GetResourcesIDUsersOK

type GetResourcesIDUsersOK struct {
	Payload []*models.Profile
}

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

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

WithID adds the id to the get resources ID users params

func (*GetResourcesIDUsersParams) WithTimeout

WithTimeout adds the timeout to the get resources ID users params

func (*GetResourcesIDUsersParams) WriteToRequest

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 {
	Payload GetResourcesIDUsersUnauthorizedBody
}

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

type GetResourcesIDUsersUnauthorizedBody

type GetResourcesIDUsersUnauthorizedBody struct {

	// Explanation of the errors
	// Required: true
	Message []string `json:"message"`

	// The error type
	// Required: true
	Type *string `json:"type"`
}

GetResourcesIDUsersUnauthorizedBody get resources ID users unauthorized body swagger:model GetResourcesIDUsersUnauthorizedBody

func (*GetResourcesIDUsersUnauthorizedBody) Validate

Validate validates this get resources ID users unauthorized body

Jump to

Keyboard shortcuts

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