admin_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 AdminDeleteTagHandlerV1Forbidden

type AdminDeleteTagHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminDeleteTagHandlerV1Forbidden 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 NewAdminDeleteTagHandlerV1Forbidden

func NewAdminDeleteTagHandlerV1Forbidden() *AdminDeleteTagHandlerV1Forbidden

NewAdminDeleteTagHandlerV1Forbidden creates a AdminDeleteTagHandlerV1Forbidden with default headers values

func (*AdminDeleteTagHandlerV1Forbidden) Error

func (*AdminDeleteTagHandlerV1Forbidden) GetPayload

func (*AdminDeleteTagHandlerV1Forbidden) ToJSONString

func (o *AdminDeleteTagHandlerV1Forbidden) ToJSONString() string

type AdminDeleteTagHandlerV1InternalServerError

type AdminDeleteTagHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminDeleteTagHandlerV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18509</td><td>unable to delete tag</td></tr></table>

func NewAdminDeleteTagHandlerV1InternalServerError

func NewAdminDeleteTagHandlerV1InternalServerError() *AdminDeleteTagHandlerV1InternalServerError

NewAdminDeleteTagHandlerV1InternalServerError creates a AdminDeleteTagHandlerV1InternalServerError with default headers values

func (*AdminDeleteTagHandlerV1InternalServerError) Error

func (*AdminDeleteTagHandlerV1InternalServerError) GetPayload

func (*AdminDeleteTagHandlerV1InternalServerError) ToJSONString

type AdminDeleteTagHandlerV1NoContent

type AdminDeleteTagHandlerV1NoContent struct {
}

AdminDeleteTagHandlerV1NoContent handles this case with default header values.

Tag deleted

func NewAdminDeleteTagHandlerV1NoContent

func NewAdminDeleteTagHandlerV1NoContent() *AdminDeleteTagHandlerV1NoContent

NewAdminDeleteTagHandlerV1NoContent creates a AdminDeleteTagHandlerV1NoContent with default headers values

func (*AdminDeleteTagHandlerV1NoContent) Error

type AdminDeleteTagHandlerV1NotFound

type AdminDeleteTagHandlerV1NotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminDeleteTagHandlerV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18510</td><td>tag not found</td></tr></table>

func NewAdminDeleteTagHandlerV1NotFound

func NewAdminDeleteTagHandlerV1NotFound() *AdminDeleteTagHandlerV1NotFound

NewAdminDeleteTagHandlerV1NotFound creates a AdminDeleteTagHandlerV1NotFound with default headers values

func (*AdminDeleteTagHandlerV1NotFound) Error

func (*AdminDeleteTagHandlerV1NotFound) GetPayload

func (*AdminDeleteTagHandlerV1NotFound) ToJSONString

func (o *AdminDeleteTagHandlerV1NotFound) ToJSONString() string

type AdminDeleteTagHandlerV1Params

type AdminDeleteTagHandlerV1Params struct {

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

	*/
	Namespace string
	/*Tag
	  tag name

	*/
	Tag 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
}

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

func NewAdminDeleteTagHandlerV1Params

func NewAdminDeleteTagHandlerV1Params() *AdminDeleteTagHandlerV1Params

NewAdminDeleteTagHandlerV1Params creates a new AdminDeleteTagHandlerV1Params object with the default values initialized.

func NewAdminDeleteTagHandlerV1ParamsWithContext

func NewAdminDeleteTagHandlerV1ParamsWithContext(ctx context.Context) *AdminDeleteTagHandlerV1Params

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

func NewAdminDeleteTagHandlerV1ParamsWithHTTPClient

func NewAdminDeleteTagHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminDeleteTagHandlerV1Params

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

func NewAdminDeleteTagHandlerV1ParamsWithTimeout

func NewAdminDeleteTagHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminDeleteTagHandlerV1Params

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

func (*AdminDeleteTagHandlerV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete tag handler v1 params

func (*AdminDeleteTagHandlerV1Params) SetContext

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

SetContext adds the context to the admin delete tag handler v1 params

func (*AdminDeleteTagHandlerV1Params) SetFlightId

func (o *AdminDeleteTagHandlerV1Params) SetFlightId(flightId string)

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

func (*AdminDeleteTagHandlerV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete tag handler v1 params

func (*AdminDeleteTagHandlerV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin delete tag handler v1 params

func (*AdminDeleteTagHandlerV1Params) SetNamespace

func (o *AdminDeleteTagHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete tag handler v1 params

func (*AdminDeleteTagHandlerV1Params) SetTag

func (o *AdminDeleteTagHandlerV1Params) SetTag(tag string)

SetTag adds the tag to the admin delete tag handler v1 params

func (*AdminDeleteTagHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin delete tag handler v1 params

func (*AdminDeleteTagHandlerV1Params) WithContext

WithContext adds the context to the admin delete tag handler v1 params

func (*AdminDeleteTagHandlerV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete tag handler v1 params

func (*AdminDeleteTagHandlerV1Params) WithNamespace

WithNamespace adds the namespace to the admin delete tag handler v1 params

func (*AdminDeleteTagHandlerV1Params) WithTag

WithTag adds the tag to the admin delete tag handler v1 params

func (*AdminDeleteTagHandlerV1Params) WithTimeout

WithTimeout adds the timeout to the admin delete tag handler v1 params

func (*AdminDeleteTagHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteTagHandlerV1Reader

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

AdminDeleteTagHandlerV1Reader is a Reader for the AdminDeleteTagHandlerV1 structure.

func (*AdminDeleteTagHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteTagHandlerV1Unauthorized

type AdminDeleteTagHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminDeleteTagHandlerV1Unauthorized 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 NewAdminDeleteTagHandlerV1Unauthorized

func NewAdminDeleteTagHandlerV1Unauthorized() *AdminDeleteTagHandlerV1Unauthorized

NewAdminDeleteTagHandlerV1Unauthorized creates a AdminDeleteTagHandlerV1Unauthorized with default headers values

func (*AdminDeleteTagHandlerV1Unauthorized) Error

func (*AdminDeleteTagHandlerV1Unauthorized) GetPayload

func (*AdminDeleteTagHandlerV1Unauthorized) ToJSONString

func (o *AdminDeleteTagHandlerV1Unauthorized) ToJSONString() string

type AdminListTagsHandlerV1BadRequest

type AdminListTagsHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminListTagsHandlerV1BadRequest 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 NewAdminListTagsHandlerV1BadRequest

func NewAdminListTagsHandlerV1BadRequest() *AdminListTagsHandlerV1BadRequest

NewAdminListTagsHandlerV1BadRequest creates a AdminListTagsHandlerV1BadRequest with default headers values

func (*AdminListTagsHandlerV1BadRequest) Error

func (*AdminListTagsHandlerV1BadRequest) GetPayload

func (*AdminListTagsHandlerV1BadRequest) ToJSONString

func (o *AdminListTagsHandlerV1BadRequest) ToJSONString() string

type AdminListTagsHandlerV1Forbidden

type AdminListTagsHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminListTagsHandlerV1Forbidden 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 NewAdminListTagsHandlerV1Forbidden

func NewAdminListTagsHandlerV1Forbidden() *AdminListTagsHandlerV1Forbidden

NewAdminListTagsHandlerV1Forbidden creates a AdminListTagsHandlerV1Forbidden with default headers values

func (*AdminListTagsHandlerV1Forbidden) Error

func (*AdminListTagsHandlerV1Forbidden) GetPayload

func (*AdminListTagsHandlerV1Forbidden) ToJSONString

func (o *AdminListTagsHandlerV1Forbidden) ToJSONString() string

type AdminListTagsHandlerV1InternalServerError

type AdminListTagsHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminListTagsHandlerV1InternalServerError 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 NewAdminListTagsHandlerV1InternalServerError

func NewAdminListTagsHandlerV1InternalServerError() *AdminListTagsHandlerV1InternalServerError

NewAdminListTagsHandlerV1InternalServerError creates a AdminListTagsHandlerV1InternalServerError with default headers values

func (*AdminListTagsHandlerV1InternalServerError) Error

func (*AdminListTagsHandlerV1InternalServerError) GetPayload

func (*AdminListTagsHandlerV1InternalServerError) ToJSONString

type AdminListTagsHandlerV1OK

type AdminListTagsHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsListTagsResponse
}

AdminListTagsHandlerV1OK handles this case with default header values.

Available tags retrieved

func NewAdminListTagsHandlerV1OK

func NewAdminListTagsHandlerV1OK() *AdminListTagsHandlerV1OK

NewAdminListTagsHandlerV1OK creates a AdminListTagsHandlerV1OK with default headers values

func (*AdminListTagsHandlerV1OK) Error

func (o *AdminListTagsHandlerV1OK) Error() string

func (*AdminListTagsHandlerV1OK) GetPayload

func (*AdminListTagsHandlerV1OK) ToJSONString

func (o *AdminListTagsHandlerV1OK) ToJSONString() string

type AdminListTagsHandlerV1Params

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

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

func NewAdminListTagsHandlerV1Params

func NewAdminListTagsHandlerV1Params() *AdminListTagsHandlerV1Params

NewAdminListTagsHandlerV1Params creates a new AdminListTagsHandlerV1Params object with the default values initialized.

func NewAdminListTagsHandlerV1ParamsWithContext

func NewAdminListTagsHandlerV1ParamsWithContext(ctx context.Context) *AdminListTagsHandlerV1Params

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

func NewAdminListTagsHandlerV1ParamsWithHTTPClient

func NewAdminListTagsHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminListTagsHandlerV1Params

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

func NewAdminListTagsHandlerV1ParamsWithTimeout

func NewAdminListTagsHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminListTagsHandlerV1Params

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

func (*AdminListTagsHandlerV1Params) SetAuthInfoWriter

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

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

func (*AdminListTagsHandlerV1Params) SetContext

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

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

func (*AdminListTagsHandlerV1Params) SetFlightId

func (o *AdminListTagsHandlerV1Params) SetFlightId(flightId string)

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

func (*AdminListTagsHandlerV1Params) SetHTTPClient

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

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

func (*AdminListTagsHandlerV1Params) SetHTTPClientTransport

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

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

func (*AdminListTagsHandlerV1Params) SetLimit

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

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

func (*AdminListTagsHandlerV1Params) SetNamespace

func (o *AdminListTagsHandlerV1Params) SetNamespace(namespace string)

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

func (*AdminListTagsHandlerV1Params) SetOffset

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

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

func (*AdminListTagsHandlerV1Params) SetTimeout

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

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

func (*AdminListTagsHandlerV1Params) WithContext

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

func (*AdminListTagsHandlerV1Params) WithHTTPClient

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

func (*AdminListTagsHandlerV1Params) WithLimit

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

func (*AdminListTagsHandlerV1Params) WithNamespace

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

func (*AdminListTagsHandlerV1Params) WithOffset

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

func (*AdminListTagsHandlerV1Params) WithTimeout

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

func (*AdminListTagsHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListTagsHandlerV1Reader

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

AdminListTagsHandlerV1Reader is a Reader for the AdminListTagsHandlerV1 structure.

func (*AdminListTagsHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListTagsHandlerV1Unauthorized

type AdminListTagsHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminListTagsHandlerV1Unauthorized 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 NewAdminListTagsHandlerV1Unauthorized

func NewAdminListTagsHandlerV1Unauthorized() *AdminListTagsHandlerV1Unauthorized

NewAdminListTagsHandlerV1Unauthorized creates a AdminListTagsHandlerV1Unauthorized with default headers values

func (*AdminListTagsHandlerV1Unauthorized) Error

func (*AdminListTagsHandlerV1Unauthorized) GetPayload

func (*AdminListTagsHandlerV1Unauthorized) ToJSONString

func (o *AdminListTagsHandlerV1Unauthorized) ToJSONString() string

type AdminPostTagHandlerV1BadRequest

type AdminPostTagHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPostTagHandlerV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18505</td><td>invalid request body</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminPostTagHandlerV1BadRequest

func NewAdminPostTagHandlerV1BadRequest() *AdminPostTagHandlerV1BadRequest

NewAdminPostTagHandlerV1BadRequest creates a AdminPostTagHandlerV1BadRequest with default headers values

func (*AdminPostTagHandlerV1BadRequest) Error

func (*AdminPostTagHandlerV1BadRequest) GetPayload

func (*AdminPostTagHandlerV1BadRequest) ToJSONString

func (o *AdminPostTagHandlerV1BadRequest) ToJSONString() string

type AdminPostTagHandlerV1Conflict

type AdminPostTagHandlerV1Conflict struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPostTagHandlerV1Conflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18506</td><td>tag already exists</td></tr></table>

func NewAdminPostTagHandlerV1Conflict

func NewAdminPostTagHandlerV1Conflict() *AdminPostTagHandlerV1Conflict

NewAdminPostTagHandlerV1Conflict creates a AdminPostTagHandlerV1Conflict with default headers values

func (*AdminPostTagHandlerV1Conflict) Error

func (*AdminPostTagHandlerV1Conflict) GetPayload

func (*AdminPostTagHandlerV1Conflict) ToJSONString

func (o *AdminPostTagHandlerV1Conflict) ToJSONString() string

type AdminPostTagHandlerV1Created

type AdminPostTagHandlerV1Created struct {
}

AdminPostTagHandlerV1Created handles this case with default header values.

Tag created

func NewAdminPostTagHandlerV1Created

func NewAdminPostTagHandlerV1Created() *AdminPostTagHandlerV1Created

NewAdminPostTagHandlerV1Created creates a AdminPostTagHandlerV1Created with default headers values

func (*AdminPostTagHandlerV1Created) Error

type AdminPostTagHandlerV1Forbidden

type AdminPostTagHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPostTagHandlerV1Forbidden 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 NewAdminPostTagHandlerV1Forbidden

func NewAdminPostTagHandlerV1Forbidden() *AdminPostTagHandlerV1Forbidden

NewAdminPostTagHandlerV1Forbidden creates a AdminPostTagHandlerV1Forbidden with default headers values

func (*AdminPostTagHandlerV1Forbidden) Error

func (*AdminPostTagHandlerV1Forbidden) GetPayload

func (*AdminPostTagHandlerV1Forbidden) ToJSONString

func (o *AdminPostTagHandlerV1Forbidden) ToJSONString() string

type AdminPostTagHandlerV1InternalServerError

type AdminPostTagHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPostTagHandlerV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr><tr><td>18507</td><td>unable to create tag</td></tr></table>

func NewAdminPostTagHandlerV1InternalServerError

func NewAdminPostTagHandlerV1InternalServerError() *AdminPostTagHandlerV1InternalServerError

NewAdminPostTagHandlerV1InternalServerError creates a AdminPostTagHandlerV1InternalServerError with default headers values

func (*AdminPostTagHandlerV1InternalServerError) Error

func (*AdminPostTagHandlerV1InternalServerError) GetPayload

func (*AdminPostTagHandlerV1InternalServerError) ToJSONString

type AdminPostTagHandlerV1Params

type AdminPostTagHandlerV1Params struct {

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

	*/
	Namespace 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
}

AdminPostTagHandlerV1Params contains all the parameters to send to the API endpoint for the admin post tag handler v1 operation typically these are written to a http.Request

func NewAdminPostTagHandlerV1Params

func NewAdminPostTagHandlerV1Params() *AdminPostTagHandlerV1Params

NewAdminPostTagHandlerV1Params creates a new AdminPostTagHandlerV1Params object with the default values initialized.

func NewAdminPostTagHandlerV1ParamsWithContext

func NewAdminPostTagHandlerV1ParamsWithContext(ctx context.Context) *AdminPostTagHandlerV1Params

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

func NewAdminPostTagHandlerV1ParamsWithHTTPClient

func NewAdminPostTagHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPostTagHandlerV1Params

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

func NewAdminPostTagHandlerV1ParamsWithTimeout

func NewAdminPostTagHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPostTagHandlerV1Params

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

func (*AdminPostTagHandlerV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin post tag handler v1 params

func (*AdminPostTagHandlerV1Params) SetBody

SetBody adds the body to the admin post tag handler v1 params

func (*AdminPostTagHandlerV1Params) SetContext

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

SetContext adds the context to the admin post tag handler v1 params

func (*AdminPostTagHandlerV1Params) SetFlightId

func (o *AdminPostTagHandlerV1Params) SetFlightId(flightId string)

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

func (*AdminPostTagHandlerV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin post tag handler v1 params

func (*AdminPostTagHandlerV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin post tag handler v1 params

func (*AdminPostTagHandlerV1Params) SetNamespace

func (o *AdminPostTagHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin post tag handler v1 params

func (*AdminPostTagHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin post tag handler v1 params

func (*AdminPostTagHandlerV1Params) WithBody

WithBody adds the body to the admin post tag handler v1 params

func (*AdminPostTagHandlerV1Params) WithContext

WithContext adds the context to the admin post tag handler v1 params

func (*AdminPostTagHandlerV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin post tag handler v1 params

func (*AdminPostTagHandlerV1Params) WithNamespace

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

WithNamespace adds the namespace to the admin post tag handler v1 params

func (*AdminPostTagHandlerV1Params) WithTimeout

WithTimeout adds the timeout to the admin post tag handler v1 params

func (*AdminPostTagHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminPostTagHandlerV1Reader

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

AdminPostTagHandlerV1Reader is a Reader for the AdminPostTagHandlerV1 structure.

func (*AdminPostTagHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminPostTagHandlerV1Unauthorized

type AdminPostTagHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPostTagHandlerV1Unauthorized 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 NewAdminPostTagHandlerV1Unauthorized

func NewAdminPostTagHandlerV1Unauthorized() *AdminPostTagHandlerV1Unauthorized

NewAdminPostTagHandlerV1Unauthorized creates a AdminPostTagHandlerV1Unauthorized with default headers values

func (*AdminPostTagHandlerV1Unauthorized) Error

func (*AdminPostTagHandlerV1Unauthorized) GetPayload

func (*AdminPostTagHandlerV1Unauthorized) ToJSONString

func (o *AdminPostTagHandlerV1Unauthorized) ToJSONString() string

type Client

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

Client for admin tags API

func (*Client) AdminDeleteTagHandlerV1 deprecated

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

AdminDeleteTagHandlerV1 delete a tag ## Description

This endpoint will delete tag by name

func (*Client) AdminDeleteTagHandlerV1Short

func (a *Client) AdminDeleteTagHandlerV1Short(params *AdminDeleteTagHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagHandlerV1NoContent, error)

AdminDeleteTagHandlerV1Short delete a tag ## Description

This endpoint will delete tag by name

func (*Client) AdminListTagsHandlerV1 deprecated

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

AdminListTagsHandlerV1 list tags ## Description

Retrieve list of available tags by namespace

func (*Client) AdminListTagsHandlerV1Short

func (a *Client) AdminListTagsHandlerV1Short(params *AdminListTagsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminListTagsHandlerV1OK, error)

AdminListTagsHandlerV1Short list tags ## Description

Retrieve list of available tags by namespace

func (*Client) AdminPostTagHandlerV1 deprecated

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

AdminPostTagHandlerV1 create a tag ## Description

This endpoint will create new tags

func (*Client) AdminPostTagHandlerV1Short

func (a *Client) AdminPostTagHandlerV1Short(params *AdminPostTagHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPostTagHandlerV1Created, error)

AdminPostTagHandlerV1Short create a tag ## Description

This endpoint will create new tags

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

Jump to

Keyboard shortcuts

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