ttl_config

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 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) DeleteAdminGameRecordTTLConfig deprecated added in v0.75.0

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

DeleteAdminGameRecordTTLConfig delete admin game record ttl config ## Description

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

func (*Client) DeleteAdminGameRecordTTLConfigShort added in v0.75.0

func (a *Client) DeleteAdminGameRecordTTLConfigShort(params *DeleteAdminGameRecordTTLConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAdminGameRecordTTLConfigNoContent, error)

DeleteAdminGameRecordTTLConfigShort delete admin game record ttl config ## Description

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

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 ClientService

type ClientService interface {
	DeleteAdminGameRecordTTLConfig(params *DeleteAdminGameRecordTTLConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAdminGameRecordTTLConfigNoContent, *DeleteAdminGameRecordTTLConfigBadRequest, *DeleteAdminGameRecordTTLConfigUnauthorized, *DeleteAdminGameRecordTTLConfigForbidden, *DeleteAdminGameRecordTTLConfigNotFound, *DeleteAdminGameRecordTTLConfigInternalServerError, error)
	DeleteAdminGameRecordTTLConfigShort(params *DeleteAdminGameRecordTTLConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAdminGameRecordTTLConfigNoContent, error)
	DeleteGameBinaryRecordTTLConfig(params *DeleteGameBinaryRecordTTLConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameBinaryRecordTTLConfigNoContent, *DeleteGameBinaryRecordTTLConfigBadRequest, *DeleteGameBinaryRecordTTLConfigUnauthorized, *DeleteGameBinaryRecordTTLConfigForbidden, *DeleteGameBinaryRecordTTLConfigNotFound, *DeleteGameBinaryRecordTTLConfigInternalServerError, error)
	DeleteGameBinaryRecordTTLConfigShort(params *DeleteGameBinaryRecordTTLConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameBinaryRecordTTLConfigNoContent, error)
	DeleteGameRecordTTLConfig(params *DeleteGameRecordTTLConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameRecordTTLConfigNoContent, *DeleteGameRecordTTLConfigBadRequest, *DeleteGameRecordTTLConfigUnauthorized, *DeleteGameRecordTTLConfigForbidden, *DeleteGameRecordTTLConfigNotFound, *DeleteGameRecordTTLConfigInternalServerError, error)
	DeleteGameRecordTTLConfigShort(params *DeleteGameRecordTTLConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameRecordTTLConfigNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new ttl config API client.

type DeleteAdminGameRecordTTLConfigBadRequest added in v0.75.0

type DeleteAdminGameRecordTTLConfigBadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteAdminGameRecordTTLConfigBadRequest 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 NewDeleteAdminGameRecordTTLConfigBadRequest added in v0.75.0

func NewDeleteAdminGameRecordTTLConfigBadRequest() *DeleteAdminGameRecordTTLConfigBadRequest

NewDeleteAdminGameRecordTTLConfigBadRequest creates a DeleteAdminGameRecordTTLConfigBadRequest with default headers values

func (*DeleteAdminGameRecordTTLConfigBadRequest) Error added in v0.75.0

func (*DeleteAdminGameRecordTTLConfigBadRequest) GetPayload added in v0.75.0

func (*DeleteAdminGameRecordTTLConfigBadRequest) ToJSONString added in v0.75.0

type DeleteAdminGameRecordTTLConfigForbidden added in v0.75.0

type DeleteAdminGameRecordTTLConfigForbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteAdminGameRecordTTLConfigForbidden 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 NewDeleteAdminGameRecordTTLConfigForbidden added in v0.75.0

func NewDeleteAdminGameRecordTTLConfigForbidden() *DeleteAdminGameRecordTTLConfigForbidden

NewDeleteAdminGameRecordTTLConfigForbidden creates a DeleteAdminGameRecordTTLConfigForbidden with default headers values

func (*DeleteAdminGameRecordTTLConfigForbidden) Error added in v0.75.0

func (*DeleteAdminGameRecordTTLConfigForbidden) GetPayload added in v0.75.0

func (*DeleteAdminGameRecordTTLConfigForbidden) ToJSONString added in v0.75.0

type DeleteAdminGameRecordTTLConfigInternalServerError added in v0.75.0

type DeleteAdminGameRecordTTLConfigInternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteAdminGameRecordTTLConfigInternalServerError handles this case with default header values.

func NewDeleteAdminGameRecordTTLConfigInternalServerError added in v0.75.0

func NewDeleteAdminGameRecordTTLConfigInternalServerError() *DeleteAdminGameRecordTTLConfigInternalServerError

NewDeleteAdminGameRecordTTLConfigInternalServerError creates a DeleteAdminGameRecordTTLConfigInternalServerError with default headers values

func (*DeleteAdminGameRecordTTLConfigInternalServerError) Error added in v0.75.0

func (*DeleteAdminGameRecordTTLConfigInternalServerError) GetPayload added in v0.75.0

func (*DeleteAdminGameRecordTTLConfigInternalServerError) ToJSONString added in v0.75.0

type DeleteAdminGameRecordTTLConfigNoContent added in v0.75.0

type DeleteAdminGameRecordTTLConfigNoContent struct {
}

DeleteAdminGameRecordTTLConfigNoContent handles this case with default header values.

TTL config deleted

func NewDeleteAdminGameRecordTTLConfigNoContent added in v0.75.0

func NewDeleteAdminGameRecordTTLConfigNoContent() *DeleteAdminGameRecordTTLConfigNoContent

NewDeleteAdminGameRecordTTLConfigNoContent creates a DeleteAdminGameRecordTTLConfigNoContent with default headers values

func (*DeleteAdminGameRecordTTLConfigNoContent) Error added in v0.75.0

type DeleteAdminGameRecordTTLConfigNotFound added in v0.75.0

type DeleteAdminGameRecordTTLConfigNotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteAdminGameRecordTTLConfigNotFound handles this case with default header values.

func NewDeleteAdminGameRecordTTLConfigNotFound added in v0.75.0

func NewDeleteAdminGameRecordTTLConfigNotFound() *DeleteAdminGameRecordTTLConfigNotFound

NewDeleteAdminGameRecordTTLConfigNotFound creates a DeleteAdminGameRecordTTLConfigNotFound with default headers values

func (*DeleteAdminGameRecordTTLConfigNotFound) Error added in v0.75.0

func (*DeleteAdminGameRecordTTLConfigNotFound) GetPayload added in v0.75.0

func (*DeleteAdminGameRecordTTLConfigNotFound) ToJSONString added in v0.75.0

type DeleteAdminGameRecordTTLConfigParams added in v0.75.0

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

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

func NewDeleteAdminGameRecordTTLConfigParams added in v0.75.0

func NewDeleteAdminGameRecordTTLConfigParams() *DeleteAdminGameRecordTTLConfigParams

NewDeleteAdminGameRecordTTLConfigParams creates a new DeleteAdminGameRecordTTLConfigParams object with the default values initialized.

func NewDeleteAdminGameRecordTTLConfigParamsWithContext added in v0.75.0

func NewDeleteAdminGameRecordTTLConfigParamsWithContext(ctx context.Context) *DeleteAdminGameRecordTTLConfigParams

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

func NewDeleteAdminGameRecordTTLConfigParamsWithHTTPClient added in v0.75.0

func NewDeleteAdminGameRecordTTLConfigParamsWithHTTPClient(client *http.Client) *DeleteAdminGameRecordTTLConfigParams

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

func NewDeleteAdminGameRecordTTLConfigParamsWithTimeout added in v0.75.0

func NewDeleteAdminGameRecordTTLConfigParamsWithTimeout(timeout time.Duration) *DeleteAdminGameRecordTTLConfigParams

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

func (*DeleteAdminGameRecordTTLConfigParams) SetAuthInfoWriter added in v0.75.0

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

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

func (*DeleteAdminGameRecordTTLConfigParams) SetContext added in v0.75.0

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

func (*DeleteAdminGameRecordTTLConfigParams) SetFlightId added in v0.75.0

func (o *DeleteAdminGameRecordTTLConfigParams) SetFlightId(flightId string)

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

func (*DeleteAdminGameRecordTTLConfigParams) SetHTTPClient added in v0.75.0

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

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

func (*DeleteAdminGameRecordTTLConfigParams) SetHTTPClientTransport added in v0.75.0

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

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

func (*DeleteAdminGameRecordTTLConfigParams) SetKey added in v0.75.0

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

func (*DeleteAdminGameRecordTTLConfigParams) SetNamespace added in v0.75.0

func (o *DeleteAdminGameRecordTTLConfigParams) SetNamespace(namespace string)

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

func (*DeleteAdminGameRecordTTLConfigParams) SetTimeout added in v0.75.0

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

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

func (*DeleteAdminGameRecordTTLConfigParams) WithContext added in v0.75.0

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

func (*DeleteAdminGameRecordTTLConfigParams) WithHTTPClient added in v0.75.0

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

func (*DeleteAdminGameRecordTTLConfigParams) WithKey added in v0.75.0

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

func (*DeleteAdminGameRecordTTLConfigParams) WithNamespace added in v0.75.0

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

func (*DeleteAdminGameRecordTTLConfigParams) WithTimeout added in v0.75.0

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

func (*DeleteAdminGameRecordTTLConfigParams) WriteToRequest added in v0.75.0

WriteToRequest writes these params to a swagger request

type DeleteAdminGameRecordTTLConfigReader added in v0.75.0

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

DeleteAdminGameRecordTTLConfigReader is a Reader for the DeleteAdminGameRecordTTLConfig structure.

func (*DeleteAdminGameRecordTTLConfigReader) ReadResponse added in v0.75.0

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

ReadResponse reads a server response into the received o.

type DeleteAdminGameRecordTTLConfigUnauthorized added in v0.75.0

type DeleteAdminGameRecordTTLConfigUnauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteAdminGameRecordTTLConfigUnauthorized 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 NewDeleteAdminGameRecordTTLConfigUnauthorized added in v0.75.0

func NewDeleteAdminGameRecordTTLConfigUnauthorized() *DeleteAdminGameRecordTTLConfigUnauthorized

NewDeleteAdminGameRecordTTLConfigUnauthorized creates a DeleteAdminGameRecordTTLConfigUnauthorized with default headers values

func (*DeleteAdminGameRecordTTLConfigUnauthorized) Error added in v0.75.0

func (*DeleteAdminGameRecordTTLConfigUnauthorized) GetPayload added in v0.75.0

func (*DeleteAdminGameRecordTTLConfigUnauthorized) ToJSONString added in v0.75.0

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