tags

package
v0.1.0-alpha.2 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 AdminListTagsBadRequest

type AdminListTagsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListTagsBadRequest handles this case with default header values.

Bad Request

func NewAdminListTagsBadRequest

func NewAdminListTagsBadRequest() *AdminListTagsBadRequest

NewAdminListTagsBadRequest creates a AdminListTagsBadRequest with default headers values

func (*AdminListTagsBadRequest) Error

func (o *AdminListTagsBadRequest) Error() string

func (*AdminListTagsBadRequest) GetPayload

func (*AdminListTagsBadRequest) ToJSONString

func (o *AdminListTagsBadRequest) ToJSONString() string

type AdminListTagsInternalServerError

type AdminListTagsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListTagsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListTagsInternalServerError

func NewAdminListTagsInternalServerError() *AdminListTagsInternalServerError

NewAdminListTagsInternalServerError creates a AdminListTagsInternalServerError with default headers values

func (*AdminListTagsInternalServerError) Error

func (*AdminListTagsInternalServerError) GetPayload

func (*AdminListTagsInternalServerError) ToJSONString

func (o *AdminListTagsInternalServerError) ToJSONString() string

type AdminListTagsNotFound

type AdminListTagsNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListTagsNotFound handles this case with default header values.

Not Found

func NewAdminListTagsNotFound

func NewAdminListTagsNotFound() *AdminListTagsNotFound

NewAdminListTagsNotFound creates a AdminListTagsNotFound with default headers values

func (*AdminListTagsNotFound) Error

func (o *AdminListTagsNotFound) Error() string

func (*AdminListTagsNotFound) GetPayload

func (*AdminListTagsNotFound) ToJSONString

func (o *AdminListTagsNotFound) ToJSONString() string

type AdminListTagsOK

type AdminListTagsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedTagResponse
}

AdminListTagsOK handles this case with default header values.

OK

func NewAdminListTagsOK

func NewAdminListTagsOK() *AdminListTagsOK

NewAdminListTagsOK creates a AdminListTagsOK with default headers values

func (*AdminListTagsOK) Error

func (o *AdminListTagsOK) Error() string

func (*AdminListTagsOK) GetPayload

func (*AdminListTagsOK) ToJSONString

func (o *AdminListTagsOK) ToJSONString() string

type AdminListTagsParams

type AdminListTagsParams struct {

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

	*/
	Namespace string
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64
	/*Name
	  like's query by tag name

	*/
	Name *string
	/*Offset
	  offset

	*/
	Offset *int64
	/*SortBy
	  sort by, default is 'name:asc', allow values: [name, name:asc, name:desc, createdAt, createdAt:asc, createdAt:desc]

	*/
	SortBy *string

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

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

AdminListTagsParams contains all the parameters to send to the API endpoint for the admin list tags operation typically these are written to a http.Request

func NewAdminListTagsParams

func NewAdminListTagsParams() *AdminListTagsParams

NewAdminListTagsParams creates a new AdminListTagsParams object with the default values initialized.

func NewAdminListTagsParamsWithContext

func NewAdminListTagsParamsWithContext(ctx context.Context) *AdminListTagsParams

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

func NewAdminListTagsParamsWithHTTPClient

func NewAdminListTagsParamsWithHTTPClient(client *http.Client) *AdminListTagsParams

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

func NewAdminListTagsParamsWithTimeout

func NewAdminListTagsParamsWithTimeout(timeout time.Duration) *AdminListTagsParams

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

func (*AdminListTagsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin list tags params

func (*AdminListTagsParams) SetContext

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

SetContext adds the context to the admin list tags params

func (*AdminListTagsParams) SetFlightId

func (o *AdminListTagsParams) SetFlightId(flightId string)

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

func (*AdminListTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list tags params

func (*AdminListTagsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin list tags params

func (*AdminListTagsParams) SetLimit

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

SetLimit adds the limit to the admin list tags params

func (*AdminListTagsParams) SetName

func (o *AdminListTagsParams) SetName(name *string)

SetName adds the name to the admin list tags params

func (*AdminListTagsParams) SetNamespace

func (o *AdminListTagsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list tags params

func (*AdminListTagsParams) SetOffset

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

SetOffset adds the offset to the admin list tags params

func (*AdminListTagsParams) SetSortBy

func (o *AdminListTagsParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the admin list tags params

func (*AdminListTagsParams) SetTimeout

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

SetTimeout adds the timeout to the admin list tags params

func (*AdminListTagsParams) WithContext

WithContext adds the context to the admin list tags params

func (*AdminListTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin list tags params

func (*AdminListTagsParams) WithLimit

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

WithLimit adds the limit to the admin list tags params

func (*AdminListTagsParams) WithName

func (o *AdminListTagsParams) WithName(name *string) *AdminListTagsParams

WithName adds the name to the admin list tags params

func (*AdminListTagsParams) WithNamespace

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

WithNamespace adds the namespace to the admin list tags params

func (*AdminListTagsParams) WithOffset

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

WithOffset adds the offset to the admin list tags params

func (*AdminListTagsParams) WithSortBy

func (o *AdminListTagsParams) WithSortBy(sortBy *string) *AdminListTagsParams

WithSortBy adds the sortBy to the admin list tags params

func (*AdminListTagsParams) WithTimeout

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

WithTimeout adds the timeout to the admin list tags params

func (*AdminListTagsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminListTagsReader

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

AdminListTagsReader is a Reader for the AdminListTags structure.

func (*AdminListTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListTagsUnauthorized

type AdminListTagsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListTagsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminListTagsUnauthorized

func NewAdminListTagsUnauthorized() *AdminListTagsUnauthorized

NewAdminListTagsUnauthorized creates a AdminListTagsUnauthorized with default headers values

func (*AdminListTagsUnauthorized) Error

func (o *AdminListTagsUnauthorized) Error() string

func (*AdminListTagsUnauthorized) GetPayload

func (*AdminListTagsUnauthorized) ToJSONString

func (o *AdminListTagsUnauthorized) ToJSONString() string

type Client

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

Client for tags API

func (*Client) AdminListTags deprecated

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

AdminListTags query tags

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]` and scope `social`

func (*Client) AdminListTagsShort

func (a *Client) AdminListTagsShort(params *AdminListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListTagsOK, error)

AdminListTagsShort query tags

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]` and scope `social`

func (*Client) PublicListTags deprecated

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

PublicListTags query tags

Required permission `NAMESPACE:{namespace}:ACHIEVEMENT [READ]` and scope `social`

func (*Client) PublicListTagsShort

func (a *Client) PublicListTagsShort(params *PublicListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsOK, error)

PublicListTagsShort query tags

Required permission `NAMESPACE:{namespace}:ACHIEVEMENT [READ]` and scope `social`

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 tags API client.

type PublicListTagsBadRequest

type PublicListTagsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListTagsBadRequest handles this case with default header values.

Bad Request

func NewPublicListTagsBadRequest

func NewPublicListTagsBadRequest() *PublicListTagsBadRequest

NewPublicListTagsBadRequest creates a PublicListTagsBadRequest with default headers values

func (*PublicListTagsBadRequest) Error

func (o *PublicListTagsBadRequest) Error() string

func (*PublicListTagsBadRequest) GetPayload

func (*PublicListTagsBadRequest) ToJSONString

func (o *PublicListTagsBadRequest) ToJSONString() string

type PublicListTagsInternalServerError

type PublicListTagsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListTagsInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicListTagsInternalServerError

func NewPublicListTagsInternalServerError() *PublicListTagsInternalServerError

NewPublicListTagsInternalServerError creates a PublicListTagsInternalServerError with default headers values

func (*PublicListTagsInternalServerError) Error

func (*PublicListTagsInternalServerError) GetPayload

func (*PublicListTagsInternalServerError) ToJSONString

func (o *PublicListTagsInternalServerError) ToJSONString() string

type PublicListTagsNotFound

type PublicListTagsNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListTagsNotFound handles this case with default header values.

Not Found

func NewPublicListTagsNotFound

func NewPublicListTagsNotFound() *PublicListTagsNotFound

NewPublicListTagsNotFound creates a PublicListTagsNotFound with default headers values

func (*PublicListTagsNotFound) Error

func (o *PublicListTagsNotFound) Error() string

func (*PublicListTagsNotFound) GetPayload

func (*PublicListTagsNotFound) ToJSONString

func (o *PublicListTagsNotFound) ToJSONString() string

type PublicListTagsOK

type PublicListTagsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedTagResponse
}

PublicListTagsOK handles this case with default header values.

OK

func NewPublicListTagsOK

func NewPublicListTagsOK() *PublicListTagsOK

NewPublicListTagsOK creates a PublicListTagsOK with default headers values

func (*PublicListTagsOK) Error

func (o *PublicListTagsOK) Error() string

func (*PublicListTagsOK) GetPayload

func (*PublicListTagsOK) ToJSONString

func (o *PublicListTagsOK) ToJSONString() string

type PublicListTagsParams

type PublicListTagsParams struct {

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

	*/
	Namespace string
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64
	/*Name
	  like's query by tag name

	*/
	Name *string
	/*Offset
	  offset

	*/
	Offset *int64
	/*SortBy
	  sort by, default is 'name:asc', allow values: [name, name:asc, name:desc, createdAt, createdAt:asc, createdAt:desc]

	*/
	SortBy *string

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

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

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

func NewPublicListTagsParams

func NewPublicListTagsParams() *PublicListTagsParams

NewPublicListTagsParams creates a new PublicListTagsParams object with the default values initialized.

func NewPublicListTagsParamsWithContext

func NewPublicListTagsParamsWithContext(ctx context.Context) *PublicListTagsParams

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

func NewPublicListTagsParamsWithHTTPClient

func NewPublicListTagsParamsWithHTTPClient(client *http.Client) *PublicListTagsParams

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

func NewPublicListTagsParamsWithTimeout

func NewPublicListTagsParamsWithTimeout(timeout time.Duration) *PublicListTagsParams

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

func (*PublicListTagsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public list tags params

func (*PublicListTagsParams) SetContext

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

SetContext adds the context to the public list tags params

func (*PublicListTagsParams) SetFlightId

func (o *PublicListTagsParams) SetFlightId(flightId string)

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

func (*PublicListTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list tags params

func (*PublicListTagsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public list tags params

func (*PublicListTagsParams) SetLimit

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

SetLimit adds the limit to the public list tags params

func (*PublicListTagsParams) SetName

func (o *PublicListTagsParams) SetName(name *string)

SetName adds the name to the public list tags params

func (*PublicListTagsParams) SetNamespace

func (o *PublicListTagsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list tags params

func (*PublicListTagsParams) SetOffset

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

SetOffset adds the offset to the public list tags params

func (*PublicListTagsParams) SetSortBy

func (o *PublicListTagsParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the public list tags params

func (*PublicListTagsParams) SetTimeout

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

SetTimeout adds the timeout to the public list tags params

func (*PublicListTagsParams) WithContext

WithContext adds the context to the public list tags params

func (*PublicListTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public list tags params

func (*PublicListTagsParams) WithLimit

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

WithLimit adds the limit to the public list tags params

func (*PublicListTagsParams) WithName

func (o *PublicListTagsParams) WithName(name *string) *PublicListTagsParams

WithName adds the name to the public list tags params

func (*PublicListTagsParams) WithNamespace

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

WithNamespace adds the namespace to the public list tags params

func (*PublicListTagsParams) WithOffset

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

WithOffset adds the offset to the public list tags params

func (*PublicListTagsParams) WithSortBy

func (o *PublicListTagsParams) WithSortBy(sortBy *string) *PublicListTagsParams

WithSortBy adds the sortBy to the public list tags params

func (*PublicListTagsParams) WithTimeout

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

WithTimeout adds the timeout to the public list tags params

func (*PublicListTagsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PublicListTagsReader

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

PublicListTagsReader is a Reader for the PublicListTags structure.

func (*PublicListTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListTagsUnauthorized

type PublicListTagsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListTagsUnauthorized handles this case with default header values.

Unauthorized

func NewPublicListTagsUnauthorized

func NewPublicListTagsUnauthorized() *PublicListTagsUnauthorized

NewPublicListTagsUnauthorized creates a PublicListTagsUnauthorized with default headers values

func (*PublicListTagsUnauthorized) Error

func (*PublicListTagsUnauthorized) GetPayload

func (*PublicListTagsUnauthorized) ToJSONString

func (o *PublicListTagsUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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