public_tag

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 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 tag API

func (*Client) GetTag deprecated

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

GetTag get tags Publicly accessible

func (*Client) GetTagShort

func (a *Client) GetTagShort(params *GetTagParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagOK, error)

GetTagShort get tags Publicly accessible

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetTag(params *GetTagParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagOK, *GetTagUnauthorized, *GetTagNotFound, *GetTagInternalServerError, error)
	GetTagShort(params *GetTagParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new public tag API client.

type GetTagInternalServerError

type GetTagInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

GetTagInternalServerError handles this case with default header values.

Internal Server Error

func NewGetTagInternalServerError

func NewGetTagInternalServerError() *GetTagInternalServerError

NewGetTagInternalServerError creates a GetTagInternalServerError with default headers values

func (*GetTagInternalServerError) Error

func (o *GetTagInternalServerError) Error() string

func (*GetTagInternalServerError) GetPayload

func (*GetTagInternalServerError) ToJSONString added in v0.25.0

func (o *GetTagInternalServerError) ToJSONString() string

type GetTagNotFound

type GetTagNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

GetTagNotFound handles this case with default header values.

Not Found

func NewGetTagNotFound

func NewGetTagNotFound() *GetTagNotFound

NewGetTagNotFound creates a GetTagNotFound with default headers values

func (*GetTagNotFound) Error

func (o *GetTagNotFound) Error() string

func (*GetTagNotFound) GetPayload

func (o *GetTagNotFound) GetPayload() *ugcclientmodels.ResponseError

func (*GetTagNotFound) ToJSONString added in v0.25.0

func (o *GetTagNotFound) ToJSONString() string

type GetTagOK

type GetTagOK struct {
	Payload *ugcclientmodels.ModelsPaginatedGetTagResponse
}

GetTagOK handles this case with default header values.

OK

func NewGetTagOK

func NewGetTagOK() *GetTagOK

NewGetTagOK creates a GetTagOK with default headers values

func (*GetTagOK) Error

func (o *GetTagOK) Error() string

func (*GetTagOK) GetPayload

func (*GetTagOK) ToJSONString added in v0.25.0

func (o *GetTagOK) ToJSONString() string

type GetTagParams

type GetTagParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Limit
	  number of content per page

	*/
	Limit *int64
	/*Offset
	  the offset number to retrieve

	*/
	Offset *int64

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

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

func NewGetTagParams

func NewGetTagParams() *GetTagParams

NewGetTagParams creates a new GetTagParams object with the default values initialized.

func NewGetTagParamsWithContext

func NewGetTagParamsWithContext(ctx context.Context) *GetTagParams

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

func NewGetTagParamsWithHTTPClient

func NewGetTagParamsWithHTTPClient(client *http.Client) *GetTagParams

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

func NewGetTagParamsWithTimeout

func NewGetTagParamsWithTimeout(timeout time.Duration) *GetTagParams

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

func (*GetTagParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get tag params

func (*GetTagParams) SetContext

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

SetContext adds the context to the get tag params

func (*GetTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get tag params

func (*GetTagParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get tag params

func (*GetTagParams) SetLimit

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

SetLimit adds the limit to the get tag params

func (*GetTagParams) SetNamespace

func (o *GetTagParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get tag params

func (*GetTagParams) SetOffset

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

SetOffset adds the offset to the get tag params

func (*GetTagParams) SetTimeout

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

SetTimeout adds the timeout to the get tag params

func (*GetTagParams) WithContext

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

WithContext adds the context to the get tag params

func (*GetTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get tag params

func (*GetTagParams) WithLimit

func (o *GetTagParams) WithLimit(limit *int64) *GetTagParams

WithLimit adds the limit to the get tag params

func (*GetTagParams) WithNamespace

func (o *GetTagParams) WithNamespace(namespace string) *GetTagParams

WithNamespace adds the namespace to the get tag params

func (*GetTagParams) WithOffset

func (o *GetTagParams) WithOffset(offset *int64) *GetTagParams

WithOffset adds the offset to the get tag params

func (*GetTagParams) WithTimeout

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

WithTimeout adds the timeout to the get tag params

func (*GetTagParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTagReader

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

GetTagReader is a Reader for the GetTag structure.

func (*GetTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTagUnauthorized

type GetTagUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

GetTagUnauthorized handles this case with default header values.

Unauthorized

func NewGetTagUnauthorized

func NewGetTagUnauthorized() *GetTagUnauthorized

NewGetTagUnauthorized creates a GetTagUnauthorized with default headers values

func (*GetTagUnauthorized) Error

func (o *GetTagUnauthorized) Error() string

func (*GetTagUnauthorized) GetPayload

func (*GetTagUnauthorized) ToJSONString added in v0.25.0

func (o *GetTagUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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