ttl_config

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 15 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 ttl config API

func (*Client) DeleteGameBinaryRecordTTLConfig deprecated

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

DeleteGameBinaryRecordTTLConfig delete game binary record ttl config ## Description

This endpoints will delete the ttl config of the game binary record

func (*Client) DeleteGameBinaryRecordTTLConfigShort

func (a *Client) DeleteGameBinaryRecordTTLConfigShort(params *DeleteGameBinaryRecordTTLConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameBinaryRecordTTLConfigNoContent, error)

DeleteGameBinaryRecordTTLConfigShort delete game binary record ttl config ## Description

This endpoints will delete the ttl config of the game binary record

func (*Client) DeleteGameRecordTTLConfig deprecated

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

DeleteGameRecordTTLConfig delete game record ttl config ## Description

This endpoints will delete the ttl config of the game record

func (*Client) DeleteGameRecordTTLConfigShort

func (a *Client) DeleteGameRecordTTLConfigShort(params *DeleteGameRecordTTLConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameRecordTTLConfigNoContent, error)

DeleteGameRecordTTLConfigShort delete game record ttl config ## Description

This endpoints will delete the ttl config of the game record

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteGameBinaryRecordTTLConfigBadRequest

type DeleteGameBinaryRecordTTLConfigBadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameBinaryRecordTTLConfigBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewDeleteGameBinaryRecordTTLConfigBadRequest

func NewDeleteGameBinaryRecordTTLConfigBadRequest() *DeleteGameBinaryRecordTTLConfigBadRequest

NewDeleteGameBinaryRecordTTLConfigBadRequest creates a DeleteGameBinaryRecordTTLConfigBadRequest with default headers values

func (*DeleteGameBinaryRecordTTLConfigBadRequest) Error

func (*DeleteGameBinaryRecordTTLConfigBadRequest) GetPayload

func (*DeleteGameBinaryRecordTTLConfigBadRequest) ToJSONString

type DeleteGameBinaryRecordTTLConfigForbidden

type DeleteGameBinaryRecordTTLConfigForbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameBinaryRecordTTLConfigForbidden 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 NewDeleteGameBinaryRecordTTLConfigForbidden

func NewDeleteGameBinaryRecordTTLConfigForbidden() *DeleteGameBinaryRecordTTLConfigForbidden

NewDeleteGameBinaryRecordTTLConfigForbidden creates a DeleteGameBinaryRecordTTLConfigForbidden with default headers values

func (*DeleteGameBinaryRecordTTLConfigForbidden) Error

func (*DeleteGameBinaryRecordTTLConfigForbidden) GetPayload

func (*DeleteGameBinaryRecordTTLConfigForbidden) ToJSONString

type DeleteGameBinaryRecordTTLConfigInternalServerError

type DeleteGameBinaryRecordTTLConfigInternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameBinaryRecordTTLConfigInternalServerError 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>18318</td><td>unable to update record</td></tr></table>

func NewDeleteGameBinaryRecordTTLConfigInternalServerError

func NewDeleteGameBinaryRecordTTLConfigInternalServerError() *DeleteGameBinaryRecordTTLConfigInternalServerError

NewDeleteGameBinaryRecordTTLConfigInternalServerError creates a DeleteGameBinaryRecordTTLConfigInternalServerError with default headers values

func (*DeleteGameBinaryRecordTTLConfigInternalServerError) Error

func (*DeleteGameBinaryRecordTTLConfigInternalServerError) GetPayload

func (*DeleteGameBinaryRecordTTLConfigInternalServerError) ToJSONString

type DeleteGameBinaryRecordTTLConfigNoContent

type DeleteGameBinaryRecordTTLConfigNoContent struct {
}

DeleteGameBinaryRecordTTLConfigNoContent handles this case with default header values.

TTL config deleted

func NewDeleteGameBinaryRecordTTLConfigNoContent

func NewDeleteGameBinaryRecordTTLConfigNoContent() *DeleteGameBinaryRecordTTLConfigNoContent

NewDeleteGameBinaryRecordTTLConfigNoContent creates a DeleteGameBinaryRecordTTLConfigNoContent with default headers values

func (*DeleteGameBinaryRecordTTLConfigNoContent) Error

type DeleteGameBinaryRecordTTLConfigNotFound

type DeleteGameBinaryRecordTTLConfigNotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameBinaryRecordTTLConfigNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18317</td><td>record not found</td></tr></table>

func NewDeleteGameBinaryRecordTTLConfigNotFound

func NewDeleteGameBinaryRecordTTLConfigNotFound() *DeleteGameBinaryRecordTTLConfigNotFound

NewDeleteGameBinaryRecordTTLConfigNotFound creates a DeleteGameBinaryRecordTTLConfigNotFound with default headers values

func (*DeleteGameBinaryRecordTTLConfigNotFound) Error

func (*DeleteGameBinaryRecordTTLConfigNotFound) GetPayload

func (*DeleteGameBinaryRecordTTLConfigNotFound) ToJSONString

type DeleteGameBinaryRecordTTLConfigParams

type DeleteGameBinaryRecordTTLConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Key
	  key of record

	*/
	Key string
	/*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
}

DeleteGameBinaryRecordTTLConfigParams contains all the parameters to send to the API endpoint for the delete game binary record ttl config operation typically these are written to a http.Request

func NewDeleteGameBinaryRecordTTLConfigParams

func NewDeleteGameBinaryRecordTTLConfigParams() *DeleteGameBinaryRecordTTLConfigParams

NewDeleteGameBinaryRecordTTLConfigParams creates a new DeleteGameBinaryRecordTTLConfigParams object with the default values initialized.

func NewDeleteGameBinaryRecordTTLConfigParamsWithContext

func NewDeleteGameBinaryRecordTTLConfigParamsWithContext(ctx context.Context) *DeleteGameBinaryRecordTTLConfigParams

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

func NewDeleteGameBinaryRecordTTLConfigParamsWithHTTPClient

func NewDeleteGameBinaryRecordTTLConfigParamsWithHTTPClient(client *http.Client) *DeleteGameBinaryRecordTTLConfigParams

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

func NewDeleteGameBinaryRecordTTLConfigParamsWithTimeout

func NewDeleteGameBinaryRecordTTLConfigParamsWithTimeout(timeout time.Duration) *DeleteGameBinaryRecordTTLConfigParams

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

func (*DeleteGameBinaryRecordTTLConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete game binary record ttl config params

func (*DeleteGameBinaryRecordTTLConfigParams) SetContext

SetContext adds the context to the delete game binary record ttl config params

func (*DeleteGameBinaryRecordTTLConfigParams) SetFlightId

func (o *DeleteGameBinaryRecordTTLConfigParams) SetFlightId(flightId string)

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

func (*DeleteGameBinaryRecordTTLConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete game binary record ttl config params

func (*DeleteGameBinaryRecordTTLConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete game binary record ttl config params

func (*DeleteGameBinaryRecordTTLConfigParams) SetKey

SetKey adds the key to the delete game binary record ttl config params

func (*DeleteGameBinaryRecordTTLConfigParams) SetNamespace

func (o *DeleteGameBinaryRecordTTLConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete game binary record ttl config params

func (*DeleteGameBinaryRecordTTLConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete game binary record ttl config params

func (*DeleteGameBinaryRecordTTLConfigParams) WithContext

WithContext adds the context to the delete game binary record ttl config params

func (*DeleteGameBinaryRecordTTLConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete game binary record ttl config params

func (*DeleteGameBinaryRecordTTLConfigParams) WithKey

WithKey adds the key to the delete game binary record ttl config params

func (*DeleteGameBinaryRecordTTLConfigParams) WithNamespace

WithNamespace adds the namespace to the delete game binary record ttl config params

func (*DeleteGameBinaryRecordTTLConfigParams) WithTimeout

WithTimeout adds the timeout to the delete game binary record ttl config params

func (*DeleteGameBinaryRecordTTLConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteGameBinaryRecordTTLConfigReader

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

DeleteGameBinaryRecordTTLConfigReader is a Reader for the DeleteGameBinaryRecordTTLConfig structure.

func (*DeleteGameBinaryRecordTTLConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGameBinaryRecordTTLConfigUnauthorized

type DeleteGameBinaryRecordTTLConfigUnauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameBinaryRecordTTLConfigUnauthorized 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 NewDeleteGameBinaryRecordTTLConfigUnauthorized

func NewDeleteGameBinaryRecordTTLConfigUnauthorized() *DeleteGameBinaryRecordTTLConfigUnauthorized

NewDeleteGameBinaryRecordTTLConfigUnauthorized creates a DeleteGameBinaryRecordTTLConfigUnauthorized with default headers values

func (*DeleteGameBinaryRecordTTLConfigUnauthorized) Error

func (*DeleteGameBinaryRecordTTLConfigUnauthorized) GetPayload

func (*DeleteGameBinaryRecordTTLConfigUnauthorized) ToJSONString

type DeleteGameRecordTTLConfigBadRequest

type DeleteGameRecordTTLConfigBadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameRecordTTLConfigBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewDeleteGameRecordTTLConfigBadRequest

func NewDeleteGameRecordTTLConfigBadRequest() *DeleteGameRecordTTLConfigBadRequest

NewDeleteGameRecordTTLConfigBadRequest creates a DeleteGameRecordTTLConfigBadRequest with default headers values

func (*DeleteGameRecordTTLConfigBadRequest) Error

func (*DeleteGameRecordTTLConfigBadRequest) GetPayload

func (*DeleteGameRecordTTLConfigBadRequest) ToJSONString

func (o *DeleteGameRecordTTLConfigBadRequest) ToJSONString() string

type DeleteGameRecordTTLConfigForbidden

type DeleteGameRecordTTLConfigForbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameRecordTTLConfigForbidden 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 NewDeleteGameRecordTTLConfigForbidden

func NewDeleteGameRecordTTLConfigForbidden() *DeleteGameRecordTTLConfigForbidden

NewDeleteGameRecordTTLConfigForbidden creates a DeleteGameRecordTTLConfigForbidden with default headers values

func (*DeleteGameRecordTTLConfigForbidden) Error

func (*DeleteGameRecordTTLConfigForbidden) GetPayload

func (*DeleteGameRecordTTLConfigForbidden) ToJSONString

func (o *DeleteGameRecordTTLConfigForbidden) ToJSONString() string

type DeleteGameRecordTTLConfigInternalServerError

type DeleteGameRecordTTLConfigInternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameRecordTTLConfigInternalServerError 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>18053</td><td>unable to update record</td></tr></table>

func NewDeleteGameRecordTTLConfigInternalServerError

func NewDeleteGameRecordTTLConfigInternalServerError() *DeleteGameRecordTTLConfigInternalServerError

NewDeleteGameRecordTTLConfigInternalServerError creates a DeleteGameRecordTTLConfigInternalServerError with default headers values

func (*DeleteGameRecordTTLConfigInternalServerError) Error

func (*DeleteGameRecordTTLConfigInternalServerError) GetPayload

func (*DeleteGameRecordTTLConfigInternalServerError) ToJSONString

type DeleteGameRecordTTLConfigNoContent

type DeleteGameRecordTTLConfigNoContent struct {
}

DeleteGameRecordTTLConfigNoContent handles this case with default header values.

TTL config deleted

func NewDeleteGameRecordTTLConfigNoContent

func NewDeleteGameRecordTTLConfigNoContent() *DeleteGameRecordTTLConfigNoContent

NewDeleteGameRecordTTLConfigNoContent creates a DeleteGameRecordTTLConfigNoContent with default headers values

func (*DeleteGameRecordTTLConfigNoContent) Error

type DeleteGameRecordTTLConfigNotFound

type DeleteGameRecordTTLConfigNotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameRecordTTLConfigNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18003</td><td>record not found</td></tr></table>

func NewDeleteGameRecordTTLConfigNotFound

func NewDeleteGameRecordTTLConfigNotFound() *DeleteGameRecordTTLConfigNotFound

NewDeleteGameRecordTTLConfigNotFound creates a DeleteGameRecordTTLConfigNotFound with default headers values

func (*DeleteGameRecordTTLConfigNotFound) Error

func (*DeleteGameRecordTTLConfigNotFound) GetPayload

func (*DeleteGameRecordTTLConfigNotFound) ToJSONString

func (o *DeleteGameRecordTTLConfigNotFound) ToJSONString() string

type DeleteGameRecordTTLConfigParams

type DeleteGameRecordTTLConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Key
	  key of record

	*/
	Key string
	/*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
}

DeleteGameRecordTTLConfigParams contains all the parameters to send to the API endpoint for the delete game record ttl config operation typically these are written to a http.Request

func NewDeleteGameRecordTTLConfigParams

func NewDeleteGameRecordTTLConfigParams() *DeleteGameRecordTTLConfigParams

NewDeleteGameRecordTTLConfigParams creates a new DeleteGameRecordTTLConfigParams object with the default values initialized.

func NewDeleteGameRecordTTLConfigParamsWithContext

func NewDeleteGameRecordTTLConfigParamsWithContext(ctx context.Context) *DeleteGameRecordTTLConfigParams

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

func NewDeleteGameRecordTTLConfigParamsWithHTTPClient

func NewDeleteGameRecordTTLConfigParamsWithHTTPClient(client *http.Client) *DeleteGameRecordTTLConfigParams

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

func NewDeleteGameRecordTTLConfigParamsWithTimeout

func NewDeleteGameRecordTTLConfigParamsWithTimeout(timeout time.Duration) *DeleteGameRecordTTLConfigParams

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

func (*DeleteGameRecordTTLConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete game record ttl config params

func (*DeleteGameRecordTTLConfigParams) SetContext

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

SetContext adds the context to the delete game record ttl config params

func (*DeleteGameRecordTTLConfigParams) SetFlightId

func (o *DeleteGameRecordTTLConfigParams) SetFlightId(flightId string)

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

func (*DeleteGameRecordTTLConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete game record ttl config params

func (*DeleteGameRecordTTLConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete game record ttl config params

func (*DeleteGameRecordTTLConfigParams) SetKey

func (o *DeleteGameRecordTTLConfigParams) SetKey(key string)

SetKey adds the key to the delete game record ttl config params

func (*DeleteGameRecordTTLConfigParams) SetNamespace

func (o *DeleteGameRecordTTLConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete game record ttl config params

func (*DeleteGameRecordTTLConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete game record ttl config params

func (*DeleteGameRecordTTLConfigParams) WithContext

WithContext adds the context to the delete game record ttl config params

func (*DeleteGameRecordTTLConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete game record ttl config params

func (*DeleteGameRecordTTLConfigParams) WithKey

WithKey adds the key to the delete game record ttl config params

func (*DeleteGameRecordTTLConfigParams) WithNamespace

WithNamespace adds the namespace to the delete game record ttl config params

func (*DeleteGameRecordTTLConfigParams) WithTimeout

WithTimeout adds the timeout to the delete game record ttl config params

func (*DeleteGameRecordTTLConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteGameRecordTTLConfigReader

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

DeleteGameRecordTTLConfigReader is a Reader for the DeleteGameRecordTTLConfig structure.

func (*DeleteGameRecordTTLConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGameRecordTTLConfigUnauthorized

type DeleteGameRecordTTLConfigUnauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameRecordTTLConfigUnauthorized 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 NewDeleteGameRecordTTLConfigUnauthorized

func NewDeleteGameRecordTTLConfigUnauthorized() *DeleteGameRecordTTLConfigUnauthorized

NewDeleteGameRecordTTLConfigUnauthorized creates a DeleteGameRecordTTLConfigUnauthorized with default headers values

func (*DeleteGameRecordTTLConfigUnauthorized) Error

func (*DeleteGameRecordTTLConfigUnauthorized) GetPayload

func (*DeleteGameRecordTTLConfigUnauthorized) ToJSONString

Jump to

Keyboard shortcuts

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