admin_tag

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 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 AdminCreateTagBadRequest

type AdminCreateTagBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminCreateTagBadRequest handles this case with default header values.

Bad Request

func NewAdminCreateTagBadRequest

func NewAdminCreateTagBadRequest() *AdminCreateTagBadRequest

NewAdminCreateTagBadRequest creates a AdminCreateTagBadRequest with default headers values

func (*AdminCreateTagBadRequest) Error

func (o *AdminCreateTagBadRequest) Error() string

func (*AdminCreateTagBadRequest) GetPayload

func (*AdminCreateTagBadRequest) ToJSONString added in v0.25.0

func (o *AdminCreateTagBadRequest) ToJSONString() string

type AdminCreateTagConflict

type AdminCreateTagConflict struct {
	Payload *ugcclientmodels.ResponseError
}

AdminCreateTagConflict handles this case with default header values.

Conflict

func NewAdminCreateTagConflict

func NewAdminCreateTagConflict() *AdminCreateTagConflict

NewAdminCreateTagConflict creates a AdminCreateTagConflict with default headers values

func (*AdminCreateTagConflict) Error

func (o *AdminCreateTagConflict) Error() string

func (*AdminCreateTagConflict) GetPayload

func (*AdminCreateTagConflict) ToJSONString added in v0.25.0

func (o *AdminCreateTagConflict) ToJSONString() string

type AdminCreateTagCreated

type AdminCreateTagCreated struct {
	Payload *ugcclientmodels.ModelsCreateTagResponse
}

AdminCreateTagCreated handles this case with default header values.

Created

func NewAdminCreateTagCreated

func NewAdminCreateTagCreated() *AdminCreateTagCreated

NewAdminCreateTagCreated creates a AdminCreateTagCreated with default headers values

func (*AdminCreateTagCreated) Error

func (o *AdminCreateTagCreated) Error() string

func (*AdminCreateTagCreated) GetPayload

func (*AdminCreateTagCreated) ToJSONString added in v0.25.0

func (o *AdminCreateTagCreated) ToJSONString() string

type AdminCreateTagInternalServerError

type AdminCreateTagInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminCreateTagInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminCreateTagInternalServerError

func NewAdminCreateTagInternalServerError() *AdminCreateTagInternalServerError

NewAdminCreateTagInternalServerError creates a AdminCreateTagInternalServerError with default headers values

func (*AdminCreateTagInternalServerError) Error

func (*AdminCreateTagInternalServerError) GetPayload

func (*AdminCreateTagInternalServerError) ToJSONString added in v0.25.0

func (o *AdminCreateTagInternalServerError) ToJSONString() string

type AdminCreateTagParams

type AdminCreateTagParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsCreateTagRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

AdminCreateTagParams contains all the parameters to send to the API endpoint for the admin create tag operation typically these are written to a http.Request

func NewAdminCreateTagParams

func NewAdminCreateTagParams() *AdminCreateTagParams

NewAdminCreateTagParams creates a new AdminCreateTagParams object with the default values initialized.

func NewAdminCreateTagParamsWithContext

func NewAdminCreateTagParamsWithContext(ctx context.Context) *AdminCreateTagParams

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

func NewAdminCreateTagParamsWithHTTPClient

func NewAdminCreateTagParamsWithHTTPClient(client *http.Client) *AdminCreateTagParams

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

func NewAdminCreateTagParamsWithTimeout

func NewAdminCreateTagParamsWithTimeout(timeout time.Duration) *AdminCreateTagParams

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

func (*AdminCreateTagParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin create tag params

func (*AdminCreateTagParams) SetBody

SetBody adds the body to the admin create tag params

func (*AdminCreateTagParams) SetContext

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

SetContext adds the context to the admin create tag params

func (*AdminCreateTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create tag params

func (*AdminCreateTagParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin create tag params

func (*AdminCreateTagParams) SetNamespace

func (o *AdminCreateTagParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin create tag params

func (*AdminCreateTagParams) SetTimeout

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

SetTimeout adds the timeout to the admin create tag params

func (*AdminCreateTagParams) WithBody

WithBody adds the body to the admin create tag params

func (*AdminCreateTagParams) WithContext

WithContext adds the context to the admin create tag params

func (*AdminCreateTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin create tag params

func (*AdminCreateTagParams) WithNamespace

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

WithNamespace adds the namespace to the admin create tag params

func (*AdminCreateTagParams) WithTimeout

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

WithTimeout adds the timeout to the admin create tag params

func (*AdminCreateTagParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminCreateTagReader

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

AdminCreateTagReader is a Reader for the AdminCreateTag structure.

func (*AdminCreateTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateTagUnauthorized

type AdminCreateTagUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminCreateTagUnauthorized handles this case with default header values.

Unauthorized

func NewAdminCreateTagUnauthorized

func NewAdminCreateTagUnauthorized() *AdminCreateTagUnauthorized

NewAdminCreateTagUnauthorized creates a AdminCreateTagUnauthorized with default headers values

func (*AdminCreateTagUnauthorized) Error

func (*AdminCreateTagUnauthorized) GetPayload

func (*AdminCreateTagUnauthorized) ToJSONString added in v0.25.0

func (o *AdminCreateTagUnauthorized) ToJSONString() string

type AdminDeleteTagInternalServerError

type AdminDeleteTagInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteTagInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminDeleteTagInternalServerError

func NewAdminDeleteTagInternalServerError() *AdminDeleteTagInternalServerError

NewAdminDeleteTagInternalServerError creates a AdminDeleteTagInternalServerError with default headers values

func (*AdminDeleteTagInternalServerError) Error

func (*AdminDeleteTagInternalServerError) GetPayload

func (*AdminDeleteTagInternalServerError) ToJSONString added in v0.25.0

func (o *AdminDeleteTagInternalServerError) ToJSONString() string

type AdminDeleteTagNoContent

type AdminDeleteTagNoContent struct {
}

AdminDeleteTagNoContent handles this case with default header values.

No Content

func NewAdminDeleteTagNoContent

func NewAdminDeleteTagNoContent() *AdminDeleteTagNoContent

NewAdminDeleteTagNoContent creates a AdminDeleteTagNoContent with default headers values

func (*AdminDeleteTagNoContent) Error

func (o *AdminDeleteTagNoContent) Error() string

type AdminDeleteTagNotFound

type AdminDeleteTagNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteTagNotFound handles this case with default header values.

Not Found

func NewAdminDeleteTagNotFound

func NewAdminDeleteTagNotFound() *AdminDeleteTagNotFound

NewAdminDeleteTagNotFound creates a AdminDeleteTagNotFound with default headers values

func (*AdminDeleteTagNotFound) Error

func (o *AdminDeleteTagNotFound) Error() string

func (*AdminDeleteTagNotFound) GetPayload

func (*AdminDeleteTagNotFound) ToJSONString added in v0.25.0

func (o *AdminDeleteTagNotFound) ToJSONString() string

type AdminDeleteTagParams

type AdminDeleteTagParams struct {

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

	*/
	Namespace string
	/*TagID
	  tag ID

	*/
	TagID string

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

AdminDeleteTagParams contains all the parameters to send to the API endpoint for the admin delete tag operation typically these are written to a http.Request

func NewAdminDeleteTagParams

func NewAdminDeleteTagParams() *AdminDeleteTagParams

NewAdminDeleteTagParams creates a new AdminDeleteTagParams object with the default values initialized.

func NewAdminDeleteTagParamsWithContext

func NewAdminDeleteTagParamsWithContext(ctx context.Context) *AdminDeleteTagParams

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

func NewAdminDeleteTagParamsWithHTTPClient

func NewAdminDeleteTagParamsWithHTTPClient(client *http.Client) *AdminDeleteTagParams

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

func NewAdminDeleteTagParamsWithTimeout

func NewAdminDeleteTagParamsWithTimeout(timeout time.Duration) *AdminDeleteTagParams

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

func (*AdminDeleteTagParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete tag params

func (*AdminDeleteTagParams) SetContext

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

SetContext adds the context to the admin delete tag params

func (*AdminDeleteTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete tag params

func (*AdminDeleteTagParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin delete tag params

func (*AdminDeleteTagParams) SetNamespace

func (o *AdminDeleteTagParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete tag params

func (*AdminDeleteTagParams) SetTagID

func (o *AdminDeleteTagParams) SetTagID(tagID string)

SetTagID adds the tagId to the admin delete tag params

func (*AdminDeleteTagParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete tag params

func (*AdminDeleteTagParams) WithContext

WithContext adds the context to the admin delete tag params

func (*AdminDeleteTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin delete tag params

func (*AdminDeleteTagParams) WithNamespace

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

WithNamespace adds the namespace to the admin delete tag params

func (*AdminDeleteTagParams) WithTagID

func (o *AdminDeleteTagParams) WithTagID(tagID string) *AdminDeleteTagParams

WithTagID adds the tagID to the admin delete tag params

func (*AdminDeleteTagParams) WithTimeout

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

WithTimeout adds the timeout to the admin delete tag params

func (*AdminDeleteTagParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminDeleteTagReader

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

AdminDeleteTagReader is a Reader for the AdminDeleteTag structure.

func (*AdminDeleteTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteTagUnauthorized

type AdminDeleteTagUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminDeleteTagUnauthorized handles this case with default header values.

Unauthorized

func NewAdminDeleteTagUnauthorized

func NewAdminDeleteTagUnauthorized() *AdminDeleteTagUnauthorized

NewAdminDeleteTagUnauthorized creates a AdminDeleteTagUnauthorized with default headers values

func (*AdminDeleteTagUnauthorized) Error

func (*AdminDeleteTagUnauthorized) GetPayload

func (*AdminDeleteTagUnauthorized) ToJSONString added in v0.25.0

func (o *AdminDeleteTagUnauthorized) ToJSONString() string

type AdminGetTagInternalServerError

type AdminGetTagInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetTagInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetTagInternalServerError

func NewAdminGetTagInternalServerError() *AdminGetTagInternalServerError

NewAdminGetTagInternalServerError creates a AdminGetTagInternalServerError with default headers values

func (*AdminGetTagInternalServerError) Error

func (*AdminGetTagInternalServerError) GetPayload

func (*AdminGetTagInternalServerError) ToJSONString added in v0.25.0

func (o *AdminGetTagInternalServerError) ToJSONString() string

type AdminGetTagNotFound

type AdminGetTagNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetTagNotFound handles this case with default header values.

Not Found

func NewAdminGetTagNotFound

func NewAdminGetTagNotFound() *AdminGetTagNotFound

NewAdminGetTagNotFound creates a AdminGetTagNotFound with default headers values

func (*AdminGetTagNotFound) Error

func (o *AdminGetTagNotFound) Error() string

func (*AdminGetTagNotFound) GetPayload

func (*AdminGetTagNotFound) ToJSONString added in v0.25.0

func (o *AdminGetTagNotFound) ToJSONString() string

type AdminGetTagOK

type AdminGetTagOK struct {
	Payload *ugcclientmodels.ModelsPaginatedGetTagResponse
}

AdminGetTagOK handles this case with default header values.

OK

func NewAdminGetTagOK

func NewAdminGetTagOK() *AdminGetTagOK

NewAdminGetTagOK creates a AdminGetTagOK with default headers values

func (*AdminGetTagOK) Error

func (o *AdminGetTagOK) Error() string

func (*AdminGetTagOK) GetPayload

func (*AdminGetTagOK) ToJSONString added in v0.25.0

func (o *AdminGetTagOK) ToJSONString() string

type AdminGetTagParams

type AdminGetTagParams 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
}

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

func NewAdminGetTagParams

func NewAdminGetTagParams() *AdminGetTagParams

NewAdminGetTagParams creates a new AdminGetTagParams object with the default values initialized.

func NewAdminGetTagParamsWithContext

func NewAdminGetTagParamsWithContext(ctx context.Context) *AdminGetTagParams

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

func NewAdminGetTagParamsWithHTTPClient

func NewAdminGetTagParamsWithHTTPClient(client *http.Client) *AdminGetTagParams

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

func NewAdminGetTagParamsWithTimeout

func NewAdminGetTagParamsWithTimeout(timeout time.Duration) *AdminGetTagParams

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

func (*AdminGetTagParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get tag params

func (*AdminGetTagParams) SetContext

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

SetContext adds the context to the admin get tag params

func (*AdminGetTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get tag params

func (*AdminGetTagParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin get tag params

func (*AdminGetTagParams) SetLimit

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

SetLimit adds the limit to the admin get tag params

func (*AdminGetTagParams) SetNamespace

func (o *AdminGetTagParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get tag params

func (*AdminGetTagParams) SetOffset

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

SetOffset adds the offset to the admin get tag params

func (*AdminGetTagParams) SetTimeout

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

SetTimeout adds the timeout to the admin get tag params

func (*AdminGetTagParams) WithContext

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

WithContext adds the context to the admin get tag params

func (*AdminGetTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get tag params

func (*AdminGetTagParams) WithLimit

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

WithLimit adds the limit to the admin get tag params

func (*AdminGetTagParams) WithNamespace

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

WithNamespace adds the namespace to the admin get tag params

func (*AdminGetTagParams) WithOffset

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

WithOffset adds the offset to the admin get tag params

func (*AdminGetTagParams) WithTimeout

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

WithTimeout adds the timeout to the admin get tag params

func (*AdminGetTagParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminGetTagReader

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

AdminGetTagReader is a Reader for the AdminGetTag structure.

func (*AdminGetTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetTagUnauthorized

type AdminGetTagUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminGetTagUnauthorized handles this case with default header values.

Unauthorized

func NewAdminGetTagUnauthorized

func NewAdminGetTagUnauthorized() *AdminGetTagUnauthorized

NewAdminGetTagUnauthorized creates a AdminGetTagUnauthorized with default headers values

func (*AdminGetTagUnauthorized) Error

func (o *AdminGetTagUnauthorized) Error() string

func (*AdminGetTagUnauthorized) GetPayload

func (*AdminGetTagUnauthorized) ToJSONString added in v0.25.0

func (o *AdminGetTagUnauthorized) ToJSONString() string

type AdminUpdateTagBadRequest

type AdminUpdateTagBadRequest struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateTagBadRequest handles this case with default header values.

Bad Request

func NewAdminUpdateTagBadRequest

func NewAdminUpdateTagBadRequest() *AdminUpdateTagBadRequest

NewAdminUpdateTagBadRequest creates a AdminUpdateTagBadRequest with default headers values

func (*AdminUpdateTagBadRequest) Error

func (o *AdminUpdateTagBadRequest) Error() string

func (*AdminUpdateTagBadRequest) GetPayload

func (*AdminUpdateTagBadRequest) ToJSONString added in v0.25.0

func (o *AdminUpdateTagBadRequest) ToJSONString() string

type AdminUpdateTagConflict

type AdminUpdateTagConflict struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateTagConflict handles this case with default header values.

Conflict

func NewAdminUpdateTagConflict

func NewAdminUpdateTagConflict() *AdminUpdateTagConflict

NewAdminUpdateTagConflict creates a AdminUpdateTagConflict with default headers values

func (*AdminUpdateTagConflict) Error

func (o *AdminUpdateTagConflict) Error() string

func (*AdminUpdateTagConflict) GetPayload

func (*AdminUpdateTagConflict) ToJSONString added in v0.25.0

func (o *AdminUpdateTagConflict) ToJSONString() string

type AdminUpdateTagInternalServerError

type AdminUpdateTagInternalServerError struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateTagInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUpdateTagInternalServerError

func NewAdminUpdateTagInternalServerError() *AdminUpdateTagInternalServerError

NewAdminUpdateTagInternalServerError creates a AdminUpdateTagInternalServerError with default headers values

func (*AdminUpdateTagInternalServerError) Error

func (*AdminUpdateTagInternalServerError) GetPayload

func (*AdminUpdateTagInternalServerError) ToJSONString added in v0.25.0

func (o *AdminUpdateTagInternalServerError) ToJSONString() string

type AdminUpdateTagNotFound

type AdminUpdateTagNotFound struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateTagNotFound handles this case with default header values.

Not Found

func NewAdminUpdateTagNotFound

func NewAdminUpdateTagNotFound() *AdminUpdateTagNotFound

NewAdminUpdateTagNotFound creates a AdminUpdateTagNotFound with default headers values

func (*AdminUpdateTagNotFound) Error

func (o *AdminUpdateTagNotFound) Error() string

func (*AdminUpdateTagNotFound) GetPayload

func (*AdminUpdateTagNotFound) ToJSONString added in v0.25.0

func (o *AdminUpdateTagNotFound) ToJSONString() string

type AdminUpdateTagOK

type AdminUpdateTagOK struct {
	Payload *ugcclientmodels.ModelsCreateTagResponse
}

AdminUpdateTagOK handles this case with default header values.

OK

func NewAdminUpdateTagOK

func NewAdminUpdateTagOK() *AdminUpdateTagOK

NewAdminUpdateTagOK creates a AdminUpdateTagOK with default headers values

func (*AdminUpdateTagOK) Error

func (o *AdminUpdateTagOK) Error() string

func (*AdminUpdateTagOK) GetPayload

func (*AdminUpdateTagOK) ToJSONString added in v0.25.0

func (o *AdminUpdateTagOK) ToJSONString() string

type AdminUpdateTagParams

type AdminUpdateTagParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *ugcclientmodels.ModelsCreateTagRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*TagID
	  tag ID

	*/
	TagID string

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

AdminUpdateTagParams contains all the parameters to send to the API endpoint for the admin update tag operation typically these are written to a http.Request

func NewAdminUpdateTagParams

func NewAdminUpdateTagParams() *AdminUpdateTagParams

NewAdminUpdateTagParams creates a new AdminUpdateTagParams object with the default values initialized.

func NewAdminUpdateTagParamsWithContext

func NewAdminUpdateTagParamsWithContext(ctx context.Context) *AdminUpdateTagParams

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

func NewAdminUpdateTagParamsWithHTTPClient

func NewAdminUpdateTagParamsWithHTTPClient(client *http.Client) *AdminUpdateTagParams

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

func NewAdminUpdateTagParamsWithTimeout

func NewAdminUpdateTagParamsWithTimeout(timeout time.Duration) *AdminUpdateTagParams

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

func (*AdminUpdateTagParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin update tag params

func (*AdminUpdateTagParams) SetBody

SetBody adds the body to the admin update tag params

func (*AdminUpdateTagParams) SetContext

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

SetContext adds the context to the admin update tag params

func (*AdminUpdateTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update tag params

func (*AdminUpdateTagParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin update tag params

func (*AdminUpdateTagParams) SetNamespace

func (o *AdminUpdateTagParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update tag params

func (*AdminUpdateTagParams) SetTagID

func (o *AdminUpdateTagParams) SetTagID(tagID string)

SetTagID adds the tagId to the admin update tag params

func (*AdminUpdateTagParams) SetTimeout

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

SetTimeout adds the timeout to the admin update tag params

func (*AdminUpdateTagParams) WithBody

WithBody adds the body to the admin update tag params

func (*AdminUpdateTagParams) WithContext

WithContext adds the context to the admin update tag params

func (*AdminUpdateTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin update tag params

func (*AdminUpdateTagParams) WithNamespace

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

WithNamespace adds the namespace to the admin update tag params

func (*AdminUpdateTagParams) WithTagID

func (o *AdminUpdateTagParams) WithTagID(tagID string) *AdminUpdateTagParams

WithTagID adds the tagID to the admin update tag params

func (*AdminUpdateTagParams) WithTimeout

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

WithTimeout adds the timeout to the admin update tag params

func (*AdminUpdateTagParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminUpdateTagReader

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

AdminUpdateTagReader is a Reader for the AdminUpdateTag structure.

func (*AdminUpdateTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateTagUnauthorized

type AdminUpdateTagUnauthorized struct {
	Payload *ugcclientmodels.ResponseError
}

AdminUpdateTagUnauthorized handles this case with default header values.

Unauthorized

func NewAdminUpdateTagUnauthorized

func NewAdminUpdateTagUnauthorized() *AdminUpdateTagUnauthorized

NewAdminUpdateTagUnauthorized creates a AdminUpdateTagUnauthorized with default headers values

func (*AdminUpdateTagUnauthorized) Error

func (*AdminUpdateTagUnauthorized) GetPayload

func (*AdminUpdateTagUnauthorized) ToJSONString added in v0.25.0

func (o *AdminUpdateTagUnauthorized) ToJSONString() string

type Client

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

Client for admin tag API

func (*Client) AdminCreateTag deprecated

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

AdminCreateTag create tags Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [CREATE] creates a new tag

func (*Client) AdminCreateTagShort

func (a *Client) AdminCreateTagShort(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, error)

AdminCreateTagShort create tags Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [CREATE] creates a new tag

func (*Client) AdminDeleteTag deprecated

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

AdminDeleteTag delete tags Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [DELETE]

func (*Client) AdminDeleteTagShort

func (a *Client) AdminDeleteTagShort(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, error)

AdminDeleteTagShort delete tags Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [DELETE]

func (*Client) AdminGetTag deprecated

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

AdminGetTag get tags Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [READ]

func (*Client) AdminGetTagShort

func (a *Client) AdminGetTagShort(params *AdminGetTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTagOK, error)

AdminGetTagShort get tags Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [READ]

func (*Client) AdminUpdateTag deprecated

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

AdminUpdateTag update tag Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [UPDATE] updates a tag

func (*Client) AdminUpdateTagShort

func (a *Client) AdminUpdateTagShort(params *AdminUpdateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTagOK, error)

AdminUpdateTagShort update tag Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [UPDATE] updates a tag

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 admin tag API client.

Jump to

Keyboard shortcuts

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