public_tags

package
v0.1.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 16 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 public tags API

func (*Client) PublicListTagsHandlerV1 deprecated

Deprecated: 2022-08-10 - Use PublicListTagsHandlerV1Short instead.

PublicListTagsHandlerV1 list tags ## Description

Retrieve list of available tags by namespace

func (*Client) PublicListTagsHandlerV1Short

func (a *Client) PublicListTagsHandlerV1Short(params *PublicListTagsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsHandlerV1OK, error)

PublicListTagsHandlerV1Short list tags ## Description

Retrieve list of available tags by namespace

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new public tags API client.

type PublicListTagsHandlerV1BadRequest

type PublicListTagsHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PublicListTagsHandlerV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18503</td><td>unable to list tags</td></tr></table>

func NewPublicListTagsHandlerV1BadRequest

func NewPublicListTagsHandlerV1BadRequest() *PublicListTagsHandlerV1BadRequest

NewPublicListTagsHandlerV1BadRequest creates a PublicListTagsHandlerV1BadRequest with default headers values

func (*PublicListTagsHandlerV1BadRequest) Error

func (*PublicListTagsHandlerV1BadRequest) GetPayload

func (*PublicListTagsHandlerV1BadRequest) ToJSONString

func (o *PublicListTagsHandlerV1BadRequest) ToJSONString() string

type PublicListTagsHandlerV1Forbidden

type PublicListTagsHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PublicListTagsHandlerV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewPublicListTagsHandlerV1Forbidden

func NewPublicListTagsHandlerV1Forbidden() *PublicListTagsHandlerV1Forbidden

NewPublicListTagsHandlerV1Forbidden creates a PublicListTagsHandlerV1Forbidden with default headers values

func (*PublicListTagsHandlerV1Forbidden) Error

func (*PublicListTagsHandlerV1Forbidden) GetPayload

func (*PublicListTagsHandlerV1Forbidden) ToJSONString

func (o *PublicListTagsHandlerV1Forbidden) ToJSONString() string

type PublicListTagsHandlerV1InternalServerError

type PublicListTagsHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PublicListTagsHandlerV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18502</td><td>unable to list tags</td></tr></table>

func NewPublicListTagsHandlerV1InternalServerError

func NewPublicListTagsHandlerV1InternalServerError() *PublicListTagsHandlerV1InternalServerError

NewPublicListTagsHandlerV1InternalServerError creates a PublicListTagsHandlerV1InternalServerError with default headers values

func (*PublicListTagsHandlerV1InternalServerError) Error

func (*PublicListTagsHandlerV1InternalServerError) GetPayload

func (*PublicListTagsHandlerV1InternalServerError) ToJSONString

type PublicListTagsHandlerV1OK

type PublicListTagsHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsListTagsResponse
}

PublicListTagsHandlerV1OK handles this case with default header values.

Available tags retrieved

func NewPublicListTagsHandlerV1OK

func NewPublicListTagsHandlerV1OK() *PublicListTagsHandlerV1OK

NewPublicListTagsHandlerV1OK creates a PublicListTagsHandlerV1OK with default headers values

func (*PublicListTagsHandlerV1OK) Error

func (o *PublicListTagsHandlerV1OK) Error() string

func (*PublicListTagsHandlerV1OK) GetPayload

func (*PublicListTagsHandlerV1OK) ToJSONString

func (o *PublicListTagsHandlerV1OK) ToJSONString() string

type PublicListTagsHandlerV1Params

type PublicListTagsHandlerV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game, only accept alphabet and numeric

	*/
	Namespace string
	/*Limit
	  the number of data retrieved in a page, default 25

	*/
	Limit *int64
	/*Offset
	  the number of offset, default 0

	*/
	Offset *int64

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicListTagsHandlerV1Params contains all the parameters to send to the API endpoint for the public list tags handler v1 operation typically these are written to a http.Request

func NewPublicListTagsHandlerV1Params

func NewPublicListTagsHandlerV1Params() *PublicListTagsHandlerV1Params

NewPublicListTagsHandlerV1Params creates a new PublicListTagsHandlerV1Params object with the default values initialized.

func NewPublicListTagsHandlerV1ParamsWithContext

func NewPublicListTagsHandlerV1ParamsWithContext(ctx context.Context) *PublicListTagsHandlerV1Params

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

func NewPublicListTagsHandlerV1ParamsWithHTTPClient

func NewPublicListTagsHandlerV1ParamsWithHTTPClient(client *http.Client) *PublicListTagsHandlerV1Params

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

func NewPublicListTagsHandlerV1ParamsWithTimeout

func NewPublicListTagsHandlerV1ParamsWithTimeout(timeout time.Duration) *PublicListTagsHandlerV1Params

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

func (*PublicListTagsHandlerV1Params) SetAuthInfoWriter

func (o *PublicListTagsHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) SetContext

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

SetContext adds the context to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) SetFlightId

func (o *PublicListTagsHandlerV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicListTagsHandlerV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) SetHTTPClientTransport

func (o *PublicListTagsHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) SetLimit

func (o *PublicListTagsHandlerV1Params) SetLimit(limit *int64)

SetLimit adds the limit to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) SetNamespace

func (o *PublicListTagsHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) SetOffset

func (o *PublicListTagsHandlerV1Params) SetOffset(offset *int64)

SetOffset adds the offset to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) WithContext

WithContext adds the context to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) WithLimit

WithLimit adds the limit to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) WithNamespace

WithNamespace adds the namespace to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) WithOffset

WithOffset adds the offset to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) WithTimeout

WithTimeout adds the timeout to the public list tags handler v1 params

func (*PublicListTagsHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListTagsHandlerV1Reader

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

PublicListTagsHandlerV1Reader is a Reader for the PublicListTagsHandlerV1 structure.

func (*PublicListTagsHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListTagsHandlerV1Unauthorized

type PublicListTagsHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PublicListTagsHandlerV1Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewPublicListTagsHandlerV1Unauthorized

func NewPublicListTagsHandlerV1Unauthorized() *PublicListTagsHandlerV1Unauthorized

NewPublicListTagsHandlerV1Unauthorized creates a PublicListTagsHandlerV1Unauthorized with default headers values

func (*PublicListTagsHandlerV1Unauthorized) Error

func (*PublicListTagsHandlerV1Unauthorized) GetPayload

func (*PublicListTagsHandlerV1Unauthorized) ToJSONString

func (o *PublicListTagsHandlerV1Unauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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