provider_resource_types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 provider resource types API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new provider resource types API client.

func (*Client) GetProviderResourceTypeUsingGET

func (a *Client) GetProviderResourceTypeUsingGET(params *GetProviderResourceTypeUsingGETParams) (*GetProviderResourceTypeUsingGETOK, error)

GetProviderResourceTypeUsingGET returns provider resource type details

func (*Client) ListProviderResourceTypesUsingGET

func (a *Client) ListProviderResourceTypesUsingGET(params *ListProviderResourceTypesUsingGETParams) (*ListProviderResourceTypesUsingGETOK, error)

ListProviderResourceTypesUsingGET lists provider resource types

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetProviderResourceTypeUsingGETForbidden

type GetProviderResourceTypeUsingGETForbidden struct {
}

GetProviderResourceTypeUsingGETForbidden handles this case with default header values.

Forbidden

func NewGetProviderResourceTypeUsingGETForbidden

func NewGetProviderResourceTypeUsingGETForbidden() *GetProviderResourceTypeUsingGETForbidden

NewGetProviderResourceTypeUsingGETForbidden creates a GetProviderResourceTypeUsingGETForbidden with default headers values

func (*GetProviderResourceTypeUsingGETForbidden) Error

type GetProviderResourceTypeUsingGETNotFound

type GetProviderResourceTypeUsingGETNotFound struct {
}

GetProviderResourceTypeUsingGETNotFound handles this case with default header values.

Not Found

func NewGetProviderResourceTypeUsingGETNotFound

func NewGetProviderResourceTypeUsingGETNotFound() *GetProviderResourceTypeUsingGETNotFound

NewGetProviderResourceTypeUsingGETNotFound creates a GetProviderResourceTypeUsingGETNotFound with default headers values

func (*GetProviderResourceTypeUsingGETNotFound) Error

type GetProviderResourceTypeUsingGETOK

type GetProviderResourceTypeUsingGETOK struct {
	Payload *models.ProviderResourceType
}

GetProviderResourceTypeUsingGETOK handles this case with default header values.

OK

func NewGetProviderResourceTypeUsingGETOK

func NewGetProviderResourceTypeUsingGETOK() *GetProviderResourceTypeUsingGETOK

NewGetProviderResourceTypeUsingGETOK creates a GetProviderResourceTypeUsingGETOK with default headers values

func (*GetProviderResourceTypeUsingGETOK) Error

func (*GetProviderResourceTypeUsingGETOK) GetPayload

type GetProviderResourceTypeUsingGETParams

type GetProviderResourceTypeUsingGETParams struct {

	/*ResourceTypeID
	  resourceTypeId

	*/
	ResourceTypeID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetProviderResourceTypeUsingGETParams contains all the parameters to send to the API endpoint for the get provider resource type using g e t operation typically these are written to a http.Request

func NewGetProviderResourceTypeUsingGETParams

func NewGetProviderResourceTypeUsingGETParams() *GetProviderResourceTypeUsingGETParams

NewGetProviderResourceTypeUsingGETParams creates a new GetProviderResourceTypeUsingGETParams object with the default values initialized.

func NewGetProviderResourceTypeUsingGETParamsWithContext

func NewGetProviderResourceTypeUsingGETParamsWithContext(ctx context.Context) *GetProviderResourceTypeUsingGETParams

NewGetProviderResourceTypeUsingGETParamsWithContext creates a new GetProviderResourceTypeUsingGETParams object with the default values initialized, and the ability to set a context for a request

func NewGetProviderResourceTypeUsingGETParamsWithHTTPClient

func NewGetProviderResourceTypeUsingGETParamsWithHTTPClient(client *http.Client) *GetProviderResourceTypeUsingGETParams

NewGetProviderResourceTypeUsingGETParamsWithHTTPClient creates a new GetProviderResourceTypeUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetProviderResourceTypeUsingGETParamsWithTimeout

func NewGetProviderResourceTypeUsingGETParamsWithTimeout(timeout time.Duration) *GetProviderResourceTypeUsingGETParams

NewGetProviderResourceTypeUsingGETParamsWithTimeout creates a new GetProviderResourceTypeUsingGETParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetProviderResourceTypeUsingGETParams) SetContext

SetContext adds the context to the get provider resource type using get params

func (*GetProviderResourceTypeUsingGETParams) SetHTTPClient

func (o *GetProviderResourceTypeUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get provider resource type using get params

func (*GetProviderResourceTypeUsingGETParams) SetResourceTypeID

func (o *GetProviderResourceTypeUsingGETParams) SetResourceTypeID(resourceTypeID strfmt.UUID)

SetResourceTypeID adds the resourceTypeId to the get provider resource type using get params

func (*GetProviderResourceTypeUsingGETParams) SetTimeout

func (o *GetProviderResourceTypeUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get provider resource type using get params

func (*GetProviderResourceTypeUsingGETParams) WithContext

WithContext adds the context to the get provider resource type using get params

func (*GetProviderResourceTypeUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get provider resource type using get params

func (*GetProviderResourceTypeUsingGETParams) WithResourceTypeID

WithResourceTypeID adds the resourceTypeID to the get provider resource type using get params

func (*GetProviderResourceTypeUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get provider resource type using get params

func (*GetProviderResourceTypeUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProviderResourceTypeUsingGETReader

type GetProviderResourceTypeUsingGETReader struct {
	// contains filtered or unexported fields
}

GetProviderResourceTypeUsingGETReader is a Reader for the GetProviderResourceTypeUsingGET structure.

func (*GetProviderResourceTypeUsingGETReader) ReadResponse

func (o *GetProviderResourceTypeUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetProviderResourceTypeUsingGETUnauthorized

type GetProviderResourceTypeUsingGETUnauthorized struct {
}

GetProviderResourceTypeUsingGETUnauthorized handles this case with default header values.

Unauthorized

func NewGetProviderResourceTypeUsingGETUnauthorized

func NewGetProviderResourceTypeUsingGETUnauthorized() *GetProviderResourceTypeUsingGETUnauthorized

NewGetProviderResourceTypeUsingGETUnauthorized creates a GetProviderResourceTypeUsingGETUnauthorized with default headers values

func (*GetProviderResourceTypeUsingGETUnauthorized) Error

type ListProviderResourceTypesUsingGETForbidden

type ListProviderResourceTypesUsingGETForbidden struct {
}

ListProviderResourceTypesUsingGETForbidden handles this case with default header values.

Forbidden

func NewListProviderResourceTypesUsingGETForbidden

func NewListProviderResourceTypesUsingGETForbidden() *ListProviderResourceTypesUsingGETForbidden

NewListProviderResourceTypesUsingGETForbidden creates a ListProviderResourceTypesUsingGETForbidden with default headers values

func (*ListProviderResourceTypesUsingGETForbidden) Error

type ListProviderResourceTypesUsingGETNotFound

type ListProviderResourceTypesUsingGETNotFound struct {
}

ListProviderResourceTypesUsingGETNotFound handles this case with default header values.

Not Found

func NewListProviderResourceTypesUsingGETNotFound

func NewListProviderResourceTypesUsingGETNotFound() *ListProviderResourceTypesUsingGETNotFound

NewListProviderResourceTypesUsingGETNotFound creates a ListProviderResourceTypesUsingGETNotFound with default headers values

func (*ListProviderResourceTypesUsingGETNotFound) Error

type ListProviderResourceTypesUsingGETOK

type ListProviderResourceTypesUsingGETOK struct {
	Payload *models.ProviderResourceTypeQueryResult
}

ListProviderResourceTypesUsingGETOK handles this case with default header values.

OK

func NewListProviderResourceTypesUsingGETOK

func NewListProviderResourceTypesUsingGETOK() *ListProviderResourceTypesUsingGETOK

NewListProviderResourceTypesUsingGETOK creates a ListProviderResourceTypesUsingGETOK with default headers values

func (*ListProviderResourceTypesUsingGETOK) Error

func (*ListProviderResourceTypesUsingGETOK) GetPayload

type ListProviderResourceTypesUsingGETParams

type ListProviderResourceTypesUsingGETParams struct {

	/*Expand
	  Expand with content

	*/
	Expand *bool
	/*Name
	  Filter by name

	*/
	Name *string
	/*OrderBy
	  Sorts resource types (e.g. 'name ASC').

	*/
	OrderBy *string
	/*Page
	  Page index

	*/
	Page *int32
	/*ProviderID
	  Filter by provider ID

	*/
	ProviderID *string
	/*Search
	  Search by name and description

	*/
	Search *string
	/*Size
	  Page size

	*/
	Size *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListProviderResourceTypesUsingGETParams contains all the parameters to send to the API endpoint for the list provider resource types using g e t operation typically these are written to a http.Request

func NewListProviderResourceTypesUsingGETParams

func NewListProviderResourceTypesUsingGETParams() *ListProviderResourceTypesUsingGETParams

NewListProviderResourceTypesUsingGETParams creates a new ListProviderResourceTypesUsingGETParams object with the default values initialized.

func NewListProviderResourceTypesUsingGETParamsWithContext

func NewListProviderResourceTypesUsingGETParamsWithContext(ctx context.Context) *ListProviderResourceTypesUsingGETParams

NewListProviderResourceTypesUsingGETParamsWithContext creates a new ListProviderResourceTypesUsingGETParams object with the default values initialized, and the ability to set a context for a request

func NewListProviderResourceTypesUsingGETParamsWithHTTPClient

func NewListProviderResourceTypesUsingGETParamsWithHTTPClient(client *http.Client) *ListProviderResourceTypesUsingGETParams

NewListProviderResourceTypesUsingGETParamsWithHTTPClient creates a new ListProviderResourceTypesUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListProviderResourceTypesUsingGETParamsWithTimeout

func NewListProviderResourceTypesUsingGETParamsWithTimeout(timeout time.Duration) *ListProviderResourceTypesUsingGETParams

NewListProviderResourceTypesUsingGETParamsWithTimeout creates a new ListProviderResourceTypesUsingGETParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListProviderResourceTypesUsingGETParams) SetContext

SetContext adds the context to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) SetExpand

func (o *ListProviderResourceTypesUsingGETParams) SetExpand(expand *bool)

SetExpand adds the expand to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) SetHTTPClient

func (o *ListProviderResourceTypesUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) SetName

SetName adds the name to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) SetOrderBy

func (o *ListProviderResourceTypesUsingGETParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) SetPage

SetPage adds the page to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) SetProviderID

func (o *ListProviderResourceTypesUsingGETParams) SetProviderID(providerID *string)

SetProviderID adds the providerId to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) SetSearch

func (o *ListProviderResourceTypesUsingGETParams) SetSearch(search *string)

SetSearch adds the search to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) SetSize

SetSize adds the size to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) SetTimeout

func (o *ListProviderResourceTypesUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) WithContext

WithContext adds the context to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) WithExpand

WithExpand adds the expand to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) WithName

WithName adds the name to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) WithOrderBy

WithOrderBy adds the orderBy to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) WithPage

WithPage adds the page to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) WithProviderID

WithProviderID adds the providerID to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) WithSearch

WithSearch adds the search to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) WithSize

WithSize adds the size to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) WithTimeout

WithTimeout adds the timeout to the list provider resource types using get params

func (*ListProviderResourceTypesUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListProviderResourceTypesUsingGETReader

type ListProviderResourceTypesUsingGETReader struct {
	// contains filtered or unexported fields
}

ListProviderResourceTypesUsingGETReader is a Reader for the ListProviderResourceTypesUsingGET structure.

func (*ListProviderResourceTypesUsingGETReader) ReadResponse

func (o *ListProviderResourceTypesUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListProviderResourceTypesUsingGETUnauthorized

type ListProviderResourceTypesUsingGETUnauthorized struct {
}

ListProviderResourceTypesUsingGETUnauthorized handles this case with default header values.

Unauthorized

func NewListProviderResourceTypesUsingGETUnauthorized

func NewListProviderResourceTypesUsingGETUnauthorized() *ListProviderResourceTypesUsingGETUnauthorized

NewListProviderResourceTypesUsingGETUnauthorized creates a ListProviderResourceTypesUsingGETUnauthorized with default headers values

func (*ListProviderResourceTypesUsingGETUnauthorized) Error

Jump to

Keyboard shortcuts

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