Documentation ¶
Index ¶
- type Client
- func (a *Client) GetResourceTypeUsingGET(params *GetResourceTypeUsingGETParams) (*GetResourceTypeUsingGETOK, error)
- func (a *Client) ListResourceTypesUsingGET(params *ListResourceTypesUsingGETParams) (*ListResourceTypesUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetResourceTypeUsingGETForbidden
- type GetResourceTypeUsingGETNotFound
- type GetResourceTypeUsingGETOK
- type GetResourceTypeUsingGETParams
- func NewGetResourceTypeUsingGETParams() *GetResourceTypeUsingGETParams
- func NewGetResourceTypeUsingGETParamsWithContext(ctx context.Context) *GetResourceTypeUsingGETParams
- func NewGetResourceTypeUsingGETParamsWithHTTPClient(client *http.Client) *GetResourceTypeUsingGETParams
- func NewGetResourceTypeUsingGETParamsWithTimeout(timeout time.Duration) *GetResourceTypeUsingGETParams
- func (o *GetResourceTypeUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *GetResourceTypeUsingGETParams) SetContext(ctx context.Context)
- func (o *GetResourceTypeUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetResourceTypeUsingGETParams) SetResourceTypeID(resourceTypeID strfmt.UUID)
- func (o *GetResourceTypeUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetResourceTypeUsingGETParams) WithAPIVersion(aPIVersion *string) *GetResourceTypeUsingGETParams
- func (o *GetResourceTypeUsingGETParams) WithContext(ctx context.Context) *GetResourceTypeUsingGETParams
- func (o *GetResourceTypeUsingGETParams) WithHTTPClient(client *http.Client) *GetResourceTypeUsingGETParams
- func (o *GetResourceTypeUsingGETParams) WithResourceTypeID(resourceTypeID strfmt.UUID) *GetResourceTypeUsingGETParams
- func (o *GetResourceTypeUsingGETParams) WithTimeout(timeout time.Duration) *GetResourceTypeUsingGETParams
- func (o *GetResourceTypeUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourceTypeUsingGETReader
- type GetResourceTypeUsingGETUnauthorized
- type ListResourceTypesUsingGETBadRequest
- type ListResourceTypesUsingGETForbidden
- type ListResourceTypesUsingGETOK
- type ListResourceTypesUsingGETParams
- func NewListResourceTypesUsingGETParams() *ListResourceTypesUsingGETParams
- func NewListResourceTypesUsingGETParamsWithContext(ctx context.Context) *ListResourceTypesUsingGETParams
- func NewListResourceTypesUsingGETParamsWithHTTPClient(client *http.Client) *ListResourceTypesUsingGETParams
- func NewListResourceTypesUsingGETParamsWithTimeout(timeout time.Duration) *ListResourceTypesUsingGETParams
- func (o *ListResourceTypesUsingGETParams) SetAPIVersion(aPIVersion *string)
- func (o *ListResourceTypesUsingGETParams) SetContext(ctx context.Context)
- func (o *ListResourceTypesUsingGETParams) SetDollarOrderby(dollarOrderby []string)
- func (o *ListResourceTypesUsingGETParams) SetDollarSkip(dollarSkip *int32)
- func (o *ListResourceTypesUsingGETParams) SetDollarTop(dollarTop *int32)
- func (o *ListResourceTypesUsingGETParams) SetExpand(expand *bool)
- func (o *ListResourceTypesUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *ListResourceTypesUsingGETParams) SetName(name *string)
- func (o *ListResourceTypesUsingGETParams) SetProviderID(providerID *string)
- func (o *ListResourceTypesUsingGETParams) SetSearch(search *string)
- func (o *ListResourceTypesUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *ListResourceTypesUsingGETParams) WithAPIVersion(aPIVersion *string) *ListResourceTypesUsingGETParams
- func (o *ListResourceTypesUsingGETParams) WithContext(ctx context.Context) *ListResourceTypesUsingGETParams
- func (o *ListResourceTypesUsingGETParams) WithDollarOrderby(dollarOrderby []string) *ListResourceTypesUsingGETParams
- func (o *ListResourceTypesUsingGETParams) WithDollarSkip(dollarSkip *int32) *ListResourceTypesUsingGETParams
- func (o *ListResourceTypesUsingGETParams) WithDollarTop(dollarTop *int32) *ListResourceTypesUsingGETParams
- func (o *ListResourceTypesUsingGETParams) WithExpand(expand *bool) *ListResourceTypesUsingGETParams
- func (o *ListResourceTypesUsingGETParams) WithHTTPClient(client *http.Client) *ListResourceTypesUsingGETParams
- func (o *ListResourceTypesUsingGETParams) WithName(name *string) *ListResourceTypesUsingGETParams
- func (o *ListResourceTypesUsingGETParams) WithProviderID(providerID *string) *ListResourceTypesUsingGETParams
- func (o *ListResourceTypesUsingGETParams) WithSearch(search *string) *ListResourceTypesUsingGETParams
- func (o *ListResourceTypesUsingGETParams) WithTimeout(timeout time.Duration) *ListResourceTypesUsingGETParams
- func (o *ListResourceTypesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListResourceTypesUsingGETReader
- type ListResourceTypesUsingGETUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for resource types API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new resource types API client.
func (*Client) GetResourceTypeUsingGET ¶
func (a *Client) GetResourceTypeUsingGET(params *GetResourceTypeUsingGETParams) (*GetResourceTypeUsingGETOK, error)
GetResourceTypeUsingGET returns resource type details
func (*Client) ListResourceTypesUsingGET ¶
func (a *Client) ListResourceTypesUsingGET(params *ListResourceTypesUsingGETParams) (*ListResourceTypesUsingGETOK, error)
ListResourceTypesUsingGET lists resource types
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetResourceTypeUsingGETForbidden ¶
type GetResourceTypeUsingGETForbidden struct { }
GetResourceTypeUsingGETForbidden handles this case with default header values.
Forbidden
func NewGetResourceTypeUsingGETForbidden ¶
func NewGetResourceTypeUsingGETForbidden() *GetResourceTypeUsingGETForbidden
NewGetResourceTypeUsingGETForbidden creates a GetResourceTypeUsingGETForbidden with default headers values
func (*GetResourceTypeUsingGETForbidden) Error ¶
func (o *GetResourceTypeUsingGETForbidden) Error() string
type GetResourceTypeUsingGETNotFound ¶
type GetResourceTypeUsingGETNotFound struct { }
GetResourceTypeUsingGETNotFound handles this case with default header values.
Not Found
func NewGetResourceTypeUsingGETNotFound ¶
func NewGetResourceTypeUsingGETNotFound() *GetResourceTypeUsingGETNotFound
NewGetResourceTypeUsingGETNotFound creates a GetResourceTypeUsingGETNotFound with default headers values
func (*GetResourceTypeUsingGETNotFound) Error ¶
func (o *GetResourceTypeUsingGETNotFound) Error() string
type GetResourceTypeUsingGETOK ¶
type GetResourceTypeUsingGETOK struct {
Payload *models.ResourceType
}
GetResourceTypeUsingGETOK handles this case with default header values.
OK
func NewGetResourceTypeUsingGETOK ¶
func NewGetResourceTypeUsingGETOK() *GetResourceTypeUsingGETOK
NewGetResourceTypeUsingGETOK creates a GetResourceTypeUsingGETOK with default headers values
func (*GetResourceTypeUsingGETOK) Error ¶
func (o *GetResourceTypeUsingGETOK) Error() string
func (*GetResourceTypeUsingGETOK) GetPayload ¶
func (o *GetResourceTypeUsingGETOK) GetPayload() *models.ResourceType
type GetResourceTypeUsingGETParams ¶
type GetResourceTypeUsingGETParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /blueprint/api/about */ APIVersion *string /*ResourceTypeID resourceTypeId */ ResourceTypeID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetResourceTypeUsingGETParams contains all the parameters to send to the API endpoint for the get resource type using g e t operation typically these are written to a http.Request
func NewGetResourceTypeUsingGETParams ¶
func NewGetResourceTypeUsingGETParams() *GetResourceTypeUsingGETParams
NewGetResourceTypeUsingGETParams creates a new GetResourceTypeUsingGETParams object with the default values initialized.
func NewGetResourceTypeUsingGETParamsWithContext ¶
func NewGetResourceTypeUsingGETParamsWithContext(ctx context.Context) *GetResourceTypeUsingGETParams
NewGetResourceTypeUsingGETParamsWithContext creates a new GetResourceTypeUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetResourceTypeUsingGETParamsWithHTTPClient ¶
func NewGetResourceTypeUsingGETParamsWithHTTPClient(client *http.Client) *GetResourceTypeUsingGETParams
NewGetResourceTypeUsingGETParamsWithHTTPClient creates a new GetResourceTypeUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetResourceTypeUsingGETParamsWithTimeout ¶
func NewGetResourceTypeUsingGETParamsWithTimeout(timeout time.Duration) *GetResourceTypeUsingGETParams
NewGetResourceTypeUsingGETParamsWithTimeout creates a new GetResourceTypeUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetResourceTypeUsingGETParams) SetAPIVersion ¶
func (o *GetResourceTypeUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get resource type using get params
func (*GetResourceTypeUsingGETParams) SetContext ¶
func (o *GetResourceTypeUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get resource type using get params
func (*GetResourceTypeUsingGETParams) SetHTTPClient ¶
func (o *GetResourceTypeUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resource type using get params
func (*GetResourceTypeUsingGETParams) SetResourceTypeID ¶
func (o *GetResourceTypeUsingGETParams) SetResourceTypeID(resourceTypeID strfmt.UUID)
SetResourceTypeID adds the resourceTypeId to the get resource type using get params
func (*GetResourceTypeUsingGETParams) SetTimeout ¶
func (o *GetResourceTypeUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resource type using get params
func (*GetResourceTypeUsingGETParams) WithAPIVersion ¶
func (o *GetResourceTypeUsingGETParams) WithAPIVersion(aPIVersion *string) *GetResourceTypeUsingGETParams
WithAPIVersion adds the aPIVersion to the get resource type using get params
func (*GetResourceTypeUsingGETParams) WithContext ¶
func (o *GetResourceTypeUsingGETParams) WithContext(ctx context.Context) *GetResourceTypeUsingGETParams
WithContext adds the context to the get resource type using get params
func (*GetResourceTypeUsingGETParams) WithHTTPClient ¶
func (o *GetResourceTypeUsingGETParams) WithHTTPClient(client *http.Client) *GetResourceTypeUsingGETParams
WithHTTPClient adds the HTTPClient to the get resource type using get params
func (*GetResourceTypeUsingGETParams) WithResourceTypeID ¶
func (o *GetResourceTypeUsingGETParams) WithResourceTypeID(resourceTypeID strfmt.UUID) *GetResourceTypeUsingGETParams
WithResourceTypeID adds the resourceTypeID to the get resource type using get params
func (*GetResourceTypeUsingGETParams) WithTimeout ¶
func (o *GetResourceTypeUsingGETParams) WithTimeout(timeout time.Duration) *GetResourceTypeUsingGETParams
WithTimeout adds the timeout to the get resource type using get params
func (*GetResourceTypeUsingGETParams) WriteToRequest ¶
func (o *GetResourceTypeUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourceTypeUsingGETReader ¶
type GetResourceTypeUsingGETReader struct {
// contains filtered or unexported fields
}
GetResourceTypeUsingGETReader is a Reader for the GetResourceTypeUsingGET structure.
func (*GetResourceTypeUsingGETReader) ReadResponse ¶
func (o *GetResourceTypeUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourceTypeUsingGETUnauthorized ¶
type GetResourceTypeUsingGETUnauthorized struct { }
GetResourceTypeUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetResourceTypeUsingGETUnauthorized ¶
func NewGetResourceTypeUsingGETUnauthorized() *GetResourceTypeUsingGETUnauthorized
NewGetResourceTypeUsingGETUnauthorized creates a GetResourceTypeUsingGETUnauthorized with default headers values
func (*GetResourceTypeUsingGETUnauthorized) Error ¶
func (o *GetResourceTypeUsingGETUnauthorized) Error() string
type ListResourceTypesUsingGETBadRequest ¶
type ListResourceTypesUsingGETBadRequest struct { }
ListResourceTypesUsingGETBadRequest handles this case with default header values.
Bad Request
func NewListResourceTypesUsingGETBadRequest ¶
func NewListResourceTypesUsingGETBadRequest() *ListResourceTypesUsingGETBadRequest
NewListResourceTypesUsingGETBadRequest creates a ListResourceTypesUsingGETBadRequest with default headers values
func (*ListResourceTypesUsingGETBadRequest) Error ¶
func (o *ListResourceTypesUsingGETBadRequest) Error() string
type ListResourceTypesUsingGETForbidden ¶
type ListResourceTypesUsingGETForbidden struct { }
ListResourceTypesUsingGETForbidden handles this case with default header values.
Forbidden
func NewListResourceTypesUsingGETForbidden ¶
func NewListResourceTypesUsingGETForbidden() *ListResourceTypesUsingGETForbidden
NewListResourceTypesUsingGETForbidden creates a ListResourceTypesUsingGETForbidden with default headers values
func (*ListResourceTypesUsingGETForbidden) Error ¶
func (o *ListResourceTypesUsingGETForbidden) Error() string
type ListResourceTypesUsingGETOK ¶
type ListResourceTypesUsingGETOK struct {
Payload *models.PageOfResourceType
}
ListResourceTypesUsingGETOK handles this case with default header values.
OK
func NewListResourceTypesUsingGETOK ¶
func NewListResourceTypesUsingGETOK() *ListResourceTypesUsingGETOK
NewListResourceTypesUsingGETOK creates a ListResourceTypesUsingGETOK with default headers values
func (*ListResourceTypesUsingGETOK) Error ¶
func (o *ListResourceTypesUsingGETOK) Error() string
func (*ListResourceTypesUsingGETOK) GetPayload ¶
func (o *ListResourceTypesUsingGETOK) GetPayload() *models.PageOfResourceType
type ListResourceTypesUsingGETParams ¶
type ListResourceTypesUsingGETParams struct { /*DollarOrderby Sorting criteria in the format: property (asc|desc). Default sort order is ascending on name. Sorting is supported on fields createdAt, updatedAt, createdBy, updatedBy, name. */ DollarOrderby []string /*DollarSkip Number of records you want to skip */ DollarSkip *int32 /*DollarTop Number of records you want */ DollarTop *int32 /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /blueprint/api/about */ APIVersion *string /*Expand Expand with content */ Expand *bool /*Name Filter by name */ Name *string /*ProviderID Filter by provider ID */ ProviderID *string /*Search Search by name and description */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListResourceTypesUsingGETParams contains all the parameters to send to the API endpoint for the list resource types using g e t operation typically these are written to a http.Request
func NewListResourceTypesUsingGETParams ¶
func NewListResourceTypesUsingGETParams() *ListResourceTypesUsingGETParams
NewListResourceTypesUsingGETParams creates a new ListResourceTypesUsingGETParams object with the default values initialized.
func NewListResourceTypesUsingGETParamsWithContext ¶
func NewListResourceTypesUsingGETParamsWithContext(ctx context.Context) *ListResourceTypesUsingGETParams
NewListResourceTypesUsingGETParamsWithContext creates a new ListResourceTypesUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewListResourceTypesUsingGETParamsWithHTTPClient ¶
func NewListResourceTypesUsingGETParamsWithHTTPClient(client *http.Client) *ListResourceTypesUsingGETParams
NewListResourceTypesUsingGETParamsWithHTTPClient creates a new ListResourceTypesUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListResourceTypesUsingGETParamsWithTimeout ¶
func NewListResourceTypesUsingGETParamsWithTimeout(timeout time.Duration) *ListResourceTypesUsingGETParams
NewListResourceTypesUsingGETParamsWithTimeout creates a new ListResourceTypesUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListResourceTypesUsingGETParams) SetAPIVersion ¶
func (o *ListResourceTypesUsingGETParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the list resource types using get params
func (*ListResourceTypesUsingGETParams) SetContext ¶
func (o *ListResourceTypesUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the list resource types using get params
func (*ListResourceTypesUsingGETParams) SetDollarOrderby ¶
func (o *ListResourceTypesUsingGETParams) SetDollarOrderby(dollarOrderby []string)
SetDollarOrderby adds the dollarOrderby to the list resource types using get params
func (*ListResourceTypesUsingGETParams) SetDollarSkip ¶
func (o *ListResourceTypesUsingGETParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the list resource types using get params
func (*ListResourceTypesUsingGETParams) SetDollarTop ¶
func (o *ListResourceTypesUsingGETParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the list resource types using get params
func (*ListResourceTypesUsingGETParams) SetExpand ¶
func (o *ListResourceTypesUsingGETParams) SetExpand(expand *bool)
SetExpand adds the expand to the list resource types using get params
func (*ListResourceTypesUsingGETParams) SetHTTPClient ¶
func (o *ListResourceTypesUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list resource types using get params
func (*ListResourceTypesUsingGETParams) SetName ¶
func (o *ListResourceTypesUsingGETParams) SetName(name *string)
SetName adds the name to the list resource types using get params
func (*ListResourceTypesUsingGETParams) SetProviderID ¶
func (o *ListResourceTypesUsingGETParams) SetProviderID(providerID *string)
SetProviderID adds the providerId to the list resource types using get params
func (*ListResourceTypesUsingGETParams) SetSearch ¶
func (o *ListResourceTypesUsingGETParams) SetSearch(search *string)
SetSearch adds the search to the list resource types using get params
func (*ListResourceTypesUsingGETParams) SetTimeout ¶
func (o *ListResourceTypesUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list resource types using get params
func (*ListResourceTypesUsingGETParams) WithAPIVersion ¶
func (o *ListResourceTypesUsingGETParams) WithAPIVersion(aPIVersion *string) *ListResourceTypesUsingGETParams
WithAPIVersion adds the aPIVersion to the list resource types using get params
func (*ListResourceTypesUsingGETParams) WithContext ¶
func (o *ListResourceTypesUsingGETParams) WithContext(ctx context.Context) *ListResourceTypesUsingGETParams
WithContext adds the context to the list resource types using get params
func (*ListResourceTypesUsingGETParams) WithDollarOrderby ¶
func (o *ListResourceTypesUsingGETParams) WithDollarOrderby(dollarOrderby []string) *ListResourceTypesUsingGETParams
WithDollarOrderby adds the dollarOrderby to the list resource types using get params
func (*ListResourceTypesUsingGETParams) WithDollarSkip ¶
func (o *ListResourceTypesUsingGETParams) WithDollarSkip(dollarSkip *int32) *ListResourceTypesUsingGETParams
WithDollarSkip adds the dollarSkip to the list resource types using get params
func (*ListResourceTypesUsingGETParams) WithDollarTop ¶
func (o *ListResourceTypesUsingGETParams) WithDollarTop(dollarTop *int32) *ListResourceTypesUsingGETParams
WithDollarTop adds the dollarTop to the list resource types using get params
func (*ListResourceTypesUsingGETParams) WithExpand ¶
func (o *ListResourceTypesUsingGETParams) WithExpand(expand *bool) *ListResourceTypesUsingGETParams
WithExpand adds the expand to the list resource types using get params
func (*ListResourceTypesUsingGETParams) WithHTTPClient ¶
func (o *ListResourceTypesUsingGETParams) WithHTTPClient(client *http.Client) *ListResourceTypesUsingGETParams
WithHTTPClient adds the HTTPClient to the list resource types using get params
func (*ListResourceTypesUsingGETParams) WithName ¶
func (o *ListResourceTypesUsingGETParams) WithName(name *string) *ListResourceTypesUsingGETParams
WithName adds the name to the list resource types using get params
func (*ListResourceTypesUsingGETParams) WithProviderID ¶
func (o *ListResourceTypesUsingGETParams) WithProviderID(providerID *string) *ListResourceTypesUsingGETParams
WithProviderID adds the providerID to the list resource types using get params
func (*ListResourceTypesUsingGETParams) WithSearch ¶
func (o *ListResourceTypesUsingGETParams) WithSearch(search *string) *ListResourceTypesUsingGETParams
WithSearch adds the search to the list resource types using get params
func (*ListResourceTypesUsingGETParams) WithTimeout ¶
func (o *ListResourceTypesUsingGETParams) WithTimeout(timeout time.Duration) *ListResourceTypesUsingGETParams
WithTimeout adds the timeout to the list resource types using get params
func (*ListResourceTypesUsingGETParams) WriteToRequest ¶
func (o *ListResourceTypesUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListResourceTypesUsingGETReader ¶
type ListResourceTypesUsingGETReader struct {
// contains filtered or unexported fields
}
ListResourceTypesUsingGETReader is a Reader for the ListResourceTypesUsingGET structure.
func (*ListResourceTypesUsingGETReader) ReadResponse ¶
func (o *ListResourceTypesUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListResourceTypesUsingGETUnauthorized ¶
type ListResourceTypesUsingGETUnauthorized struct { }
ListResourceTypesUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewListResourceTypesUsingGETUnauthorized ¶
func NewListResourceTypesUsingGETUnauthorized() *ListResourceTypesUsingGETUnauthorized
NewListResourceTypesUsingGETUnauthorized creates a ListResourceTypesUsingGETUnauthorized with default headers values
func (*ListResourceTypesUsingGETUnauthorized) Error ¶
func (o *ListResourceTypesUsingGETUnauthorized) Error() string