tags

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: Apache-2.0 Imports: 10 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 tags API

func New

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

New creates a new tags API client.

func (*Client) GetTags

func (a *Client) GetTags(params *GetTagsParams) (*GetTagsOK, error)

GetTags gets tags

Get all tags

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetTagsForbidden

type GetTagsForbidden struct {
}

GetTagsForbidden handles this case with default header values.

Forbidden

func NewGetTagsForbidden

func NewGetTagsForbidden() *GetTagsForbidden

NewGetTagsForbidden creates a GetTagsForbidden with default headers values

func (*GetTagsForbidden) Error

func (o *GetTagsForbidden) Error() string

type GetTagsOK

type GetTagsOK struct {
	Payload *models.TagResult
}

GetTagsOK handles this case with default header values.

successful operation

func NewGetTagsOK

func NewGetTagsOK() *GetTagsOK

NewGetTagsOK creates a GetTagsOK with default headers values

func (*GetTagsOK) Error

func (o *GetTagsOK) Error() string

func (*GetTagsOK) GetPayload

func (o *GetTagsOK) GetPayload() *models.TagResult

type GetTagsParams

type GetTagsParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

	*/
	APIVersion string

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

GetTagsParams contains all the parameters to send to the API endpoint for the get tags operation typically these are written to a http.Request

func NewGetTagsParams

func NewGetTagsParams() *GetTagsParams

NewGetTagsParams creates a new GetTagsParams object with the default values initialized.

func NewGetTagsParamsWithContext

func NewGetTagsParamsWithContext(ctx context.Context) *GetTagsParams

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

func NewGetTagsParamsWithHTTPClient

func NewGetTagsParamsWithHTTPClient(client *http.Client) *GetTagsParams

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

func NewGetTagsParamsWithTimeout

func NewGetTagsParamsWithTimeout(timeout time.Duration) *GetTagsParams

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

func (*GetTagsParams) SetAPIVersion

func (o *GetTagsParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the get tags params

func (*GetTagsParams) SetContext

func (o *GetTagsParams) SetContext(ctx context.Context)

SetContext adds the context to the get tags params

func (*GetTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get tags params

func (*GetTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get tags params

func (*GetTagsParams) WithAPIVersion

func (o *GetTagsParams) WithAPIVersion(aPIVersion string) *GetTagsParams

WithAPIVersion adds the aPIVersion to the get tags params

func (*GetTagsParams) WithContext

func (o *GetTagsParams) WithContext(ctx context.Context) *GetTagsParams

WithContext adds the context to the get tags params

func (*GetTagsParams) WithHTTPClient

func (o *GetTagsParams) WithHTTPClient(client *http.Client) *GetTagsParams

WithHTTPClient adds the HTTPClient to the get tags params

func (*GetTagsParams) WithTimeout

func (o *GetTagsParams) WithTimeout(timeout time.Duration) *GetTagsParams

WithTimeout adds the timeout to the get tags params

func (*GetTagsParams) WriteToRequest

func (o *GetTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetTagsReader

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

GetTagsReader is a Reader for the GetTags structure.

func (*GetTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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