admin_game_record

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 AdminDeleteGameRecordHandlerV1BadRequest

type AdminDeleteGameRecordHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminDeleteGameRecordHandlerV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr></table>

func NewAdminDeleteGameRecordHandlerV1BadRequest

func NewAdminDeleteGameRecordHandlerV1BadRequest() *AdminDeleteGameRecordHandlerV1BadRequest

NewAdminDeleteGameRecordHandlerV1BadRequest creates a AdminDeleteGameRecordHandlerV1BadRequest with default headers values

func (*AdminDeleteGameRecordHandlerV1BadRequest) Error

func (*AdminDeleteGameRecordHandlerV1BadRequest) GetPayload

func (*AdminDeleteGameRecordHandlerV1BadRequest) ToJSONString

type AdminDeleteGameRecordHandlerV1Forbidden

type AdminDeleteGameRecordHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminDeleteGameRecordHandlerV1Forbidden 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 NewAdminDeleteGameRecordHandlerV1Forbidden

func NewAdminDeleteGameRecordHandlerV1Forbidden() *AdminDeleteGameRecordHandlerV1Forbidden

NewAdminDeleteGameRecordHandlerV1Forbidden creates a AdminDeleteGameRecordHandlerV1Forbidden with default headers values

func (*AdminDeleteGameRecordHandlerV1Forbidden) Error

func (*AdminDeleteGameRecordHandlerV1Forbidden) GetPayload

func (*AdminDeleteGameRecordHandlerV1Forbidden) ToJSONString

type AdminDeleteGameRecordHandlerV1InternalServerError

type AdminDeleteGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminDeleteGameRecordHandlerV1InternalServerError 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>18040</td><td>unable to delete record</td></tr></table>

func NewAdminDeleteGameRecordHandlerV1InternalServerError

func NewAdminDeleteGameRecordHandlerV1InternalServerError() *AdminDeleteGameRecordHandlerV1InternalServerError

NewAdminDeleteGameRecordHandlerV1InternalServerError creates a AdminDeleteGameRecordHandlerV1InternalServerError with default headers values

func (*AdminDeleteGameRecordHandlerV1InternalServerError) Error

func (*AdminDeleteGameRecordHandlerV1InternalServerError) GetPayload

func (*AdminDeleteGameRecordHandlerV1InternalServerError) ToJSONString

type AdminDeleteGameRecordHandlerV1NoContent

type AdminDeleteGameRecordHandlerV1NoContent struct {
}

AdminDeleteGameRecordHandlerV1NoContent handles this case with default header values.

Record deleted

func NewAdminDeleteGameRecordHandlerV1NoContent

func NewAdminDeleteGameRecordHandlerV1NoContent() *AdminDeleteGameRecordHandlerV1NoContent

NewAdminDeleteGameRecordHandlerV1NoContent creates a AdminDeleteGameRecordHandlerV1NoContent with default headers values

func (*AdminDeleteGameRecordHandlerV1NoContent) Error

type AdminDeleteGameRecordHandlerV1Params

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

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

func NewAdminDeleteGameRecordHandlerV1Params

func NewAdminDeleteGameRecordHandlerV1Params() *AdminDeleteGameRecordHandlerV1Params

NewAdminDeleteGameRecordHandlerV1Params creates a new AdminDeleteGameRecordHandlerV1Params object with the default values initialized.

func NewAdminDeleteGameRecordHandlerV1ParamsWithContext

func NewAdminDeleteGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminDeleteGameRecordHandlerV1Params

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

func NewAdminDeleteGameRecordHandlerV1ParamsWithHTTPClient

func NewAdminDeleteGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminDeleteGameRecordHandlerV1Params

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

func NewAdminDeleteGameRecordHandlerV1ParamsWithTimeout

func NewAdminDeleteGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminDeleteGameRecordHandlerV1Params

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

func (*AdminDeleteGameRecordHandlerV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) SetContext

SetContext adds the context to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) SetFlightId

func (o *AdminDeleteGameRecordHandlerV1Params) SetFlightId(flightId string)

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

func (*AdminDeleteGameRecordHandlerV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) SetKey

SetKey adds the key to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) SetNamespace

func (o *AdminDeleteGameRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) WithContext

WithContext adds the context to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) WithKey

WithKey adds the key to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) WithNamespace

WithNamespace adds the namespace to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) WithTimeout

WithTimeout adds the timeout to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteGameRecordHandlerV1Reader

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

AdminDeleteGameRecordHandlerV1Reader is a Reader for the AdminDeleteGameRecordHandlerV1 structure.

func (*AdminDeleteGameRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteGameRecordHandlerV1Unauthorized

type AdminDeleteGameRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminDeleteGameRecordHandlerV1Unauthorized 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 NewAdminDeleteGameRecordHandlerV1Unauthorized

func NewAdminDeleteGameRecordHandlerV1Unauthorized() *AdminDeleteGameRecordHandlerV1Unauthorized

NewAdminDeleteGameRecordHandlerV1Unauthorized creates a AdminDeleteGameRecordHandlerV1Unauthorized with default headers values

func (*AdminDeleteGameRecordHandlerV1Unauthorized) Error

func (*AdminDeleteGameRecordHandlerV1Unauthorized) GetPayload

func (*AdminDeleteGameRecordHandlerV1Unauthorized) ToJSONString

type AdminGetGameRecordHandlerV1Forbidden

type AdminGetGameRecordHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminGetGameRecordHandlerV1Forbidden 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 NewAdminGetGameRecordHandlerV1Forbidden

func NewAdminGetGameRecordHandlerV1Forbidden() *AdminGetGameRecordHandlerV1Forbidden

NewAdminGetGameRecordHandlerV1Forbidden creates a AdminGetGameRecordHandlerV1Forbidden with default headers values

func (*AdminGetGameRecordHandlerV1Forbidden) Error

func (*AdminGetGameRecordHandlerV1Forbidden) GetPayload

func (*AdminGetGameRecordHandlerV1Forbidden) ToJSONString

func (o *AdminGetGameRecordHandlerV1Forbidden) ToJSONString() string

type AdminGetGameRecordHandlerV1InternalServerError

type AdminGetGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminGetGameRecordHandlerV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18001</td><td>unable to get record</td></tr><tr><td>18005</td><td>unable to decode record</td></tr></table>

func NewAdminGetGameRecordHandlerV1InternalServerError

func NewAdminGetGameRecordHandlerV1InternalServerError() *AdminGetGameRecordHandlerV1InternalServerError

NewAdminGetGameRecordHandlerV1InternalServerError creates a AdminGetGameRecordHandlerV1InternalServerError with default headers values

func (*AdminGetGameRecordHandlerV1InternalServerError) Error

func (*AdminGetGameRecordHandlerV1InternalServerError) GetPayload

func (*AdminGetGameRecordHandlerV1InternalServerError) ToJSONString

type AdminGetGameRecordHandlerV1NotFound

type AdminGetGameRecordHandlerV1NotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminGetGameRecordHandlerV1NotFound 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 NewAdminGetGameRecordHandlerV1NotFound

func NewAdminGetGameRecordHandlerV1NotFound() *AdminGetGameRecordHandlerV1NotFound

NewAdminGetGameRecordHandlerV1NotFound creates a AdminGetGameRecordHandlerV1NotFound with default headers values

func (*AdminGetGameRecordHandlerV1NotFound) Error

func (*AdminGetGameRecordHandlerV1NotFound) GetPayload

func (*AdminGetGameRecordHandlerV1NotFound) ToJSONString

func (o *AdminGetGameRecordHandlerV1NotFound) ToJSONString() string

type AdminGetGameRecordHandlerV1OK

type AdminGetGameRecordHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsGameRecordAdminResponse
}

AdminGetGameRecordHandlerV1OK handles this case with default header values.

Record in namespace-level retrieved

func NewAdminGetGameRecordHandlerV1OK

func NewAdminGetGameRecordHandlerV1OK() *AdminGetGameRecordHandlerV1OK

NewAdminGetGameRecordHandlerV1OK creates a AdminGetGameRecordHandlerV1OK with default headers values

func (*AdminGetGameRecordHandlerV1OK) Error

func (*AdminGetGameRecordHandlerV1OK) GetPayload

func (*AdminGetGameRecordHandlerV1OK) ToJSONString

func (o *AdminGetGameRecordHandlerV1OK) ToJSONString() string

type AdminGetGameRecordHandlerV1Params

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

AdminGetGameRecordHandlerV1Params contains all the parameters to send to the API endpoint for the admin get game record handler v1 operation typically these are written to a http.Request

func NewAdminGetGameRecordHandlerV1Params

func NewAdminGetGameRecordHandlerV1Params() *AdminGetGameRecordHandlerV1Params

NewAdminGetGameRecordHandlerV1Params creates a new AdminGetGameRecordHandlerV1Params object with the default values initialized.

func NewAdminGetGameRecordHandlerV1ParamsWithContext

func NewAdminGetGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminGetGameRecordHandlerV1Params

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

func NewAdminGetGameRecordHandlerV1ParamsWithHTTPClient

func NewAdminGetGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminGetGameRecordHandlerV1Params

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

func NewAdminGetGameRecordHandlerV1ParamsWithTimeout

func NewAdminGetGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminGetGameRecordHandlerV1Params

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

func (*AdminGetGameRecordHandlerV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) SetContext

SetContext adds the context to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) SetFlightId

func (o *AdminGetGameRecordHandlerV1Params) SetFlightId(flightId string)

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

func (*AdminGetGameRecordHandlerV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) SetKey

SetKey adds the key to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) SetNamespace

func (o *AdminGetGameRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) WithContext

WithContext adds the context to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) WithKey

WithKey adds the key to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) WithNamespace

WithNamespace adds the namespace to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) WithTimeout

WithTimeout adds the timeout to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetGameRecordHandlerV1Reader

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

AdminGetGameRecordHandlerV1Reader is a Reader for the AdminGetGameRecordHandlerV1 structure.

func (*AdminGetGameRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetGameRecordHandlerV1Unauthorized

type AdminGetGameRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminGetGameRecordHandlerV1Unauthorized 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 NewAdminGetGameRecordHandlerV1Unauthorized

func NewAdminGetGameRecordHandlerV1Unauthorized() *AdminGetGameRecordHandlerV1Unauthorized

NewAdminGetGameRecordHandlerV1Unauthorized creates a AdminGetGameRecordHandlerV1Unauthorized with default headers values

func (*AdminGetGameRecordHandlerV1Unauthorized) Error

func (*AdminGetGameRecordHandlerV1Unauthorized) GetPayload

func (*AdminGetGameRecordHandlerV1Unauthorized) ToJSONString

type AdminPostGameRecordHandlerV1BadRequest

type AdminPostGameRecordHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPostGameRecordHandlerV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18011</td><td>invalid request body</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>18015</td><td>invalid request body: size of the request body must be less than [%d]MB</td></tr></table>

func NewAdminPostGameRecordHandlerV1BadRequest

func NewAdminPostGameRecordHandlerV1BadRequest() *AdminPostGameRecordHandlerV1BadRequest

NewAdminPostGameRecordHandlerV1BadRequest creates a AdminPostGameRecordHandlerV1BadRequest with default headers values

func (*AdminPostGameRecordHandlerV1BadRequest) Error

func (*AdminPostGameRecordHandlerV1BadRequest) GetPayload

func (*AdminPostGameRecordHandlerV1BadRequest) ToJSONString

type AdminPostGameRecordHandlerV1Created

type AdminPostGameRecordHandlerV1Created struct {
	Payload *cloudsaveclientmodels.ModelsGameRecordAdminResponse
}

AdminPostGameRecordHandlerV1Created handles this case with default header values.

Record in namespace-level saved

func NewAdminPostGameRecordHandlerV1Created

func NewAdminPostGameRecordHandlerV1Created() *AdminPostGameRecordHandlerV1Created

NewAdminPostGameRecordHandlerV1Created creates a AdminPostGameRecordHandlerV1Created with default headers values

func (*AdminPostGameRecordHandlerV1Created) Error

func (*AdminPostGameRecordHandlerV1Created) GetPayload

func (*AdminPostGameRecordHandlerV1Created) ToJSONString

func (o *AdminPostGameRecordHandlerV1Created) ToJSONString() string

type AdminPostGameRecordHandlerV1Forbidden

type AdminPostGameRecordHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPostGameRecordHandlerV1Forbidden 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 NewAdminPostGameRecordHandlerV1Forbidden

func NewAdminPostGameRecordHandlerV1Forbidden() *AdminPostGameRecordHandlerV1Forbidden

NewAdminPostGameRecordHandlerV1Forbidden creates a AdminPostGameRecordHandlerV1Forbidden with default headers values

func (*AdminPostGameRecordHandlerV1Forbidden) Error

func (*AdminPostGameRecordHandlerV1Forbidden) GetPayload

func (*AdminPostGameRecordHandlerV1Forbidden) ToJSONString

type AdminPostGameRecordHandlerV1InternalServerError

type AdminPostGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPostGameRecordHandlerV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18012</td><td>unable to marshal request body</td></tr><tr><td>20000</td><td>internal server error</td></tr><tr><td>18013</td><td>unable to save record</td></tr><tr><td>18005</td><td>unable to decode record</td></tr></table>

func NewAdminPostGameRecordHandlerV1InternalServerError

func NewAdminPostGameRecordHandlerV1InternalServerError() *AdminPostGameRecordHandlerV1InternalServerError

NewAdminPostGameRecordHandlerV1InternalServerError creates a AdminPostGameRecordHandlerV1InternalServerError with default headers values

func (*AdminPostGameRecordHandlerV1InternalServerError) Error

func (*AdminPostGameRecordHandlerV1InternalServerError) GetPayload

func (*AdminPostGameRecordHandlerV1InternalServerError) ToJSONString

type AdminPostGameRecordHandlerV1Params

type AdminPostGameRecordHandlerV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body cloudsaveclientmodels.ModelsGameRecordRequest
	/*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
}

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

func NewAdminPostGameRecordHandlerV1Params

func NewAdminPostGameRecordHandlerV1Params() *AdminPostGameRecordHandlerV1Params

NewAdminPostGameRecordHandlerV1Params creates a new AdminPostGameRecordHandlerV1Params object with the default values initialized.

func NewAdminPostGameRecordHandlerV1ParamsWithContext

func NewAdminPostGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminPostGameRecordHandlerV1Params

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

func NewAdminPostGameRecordHandlerV1ParamsWithHTTPClient

func NewAdminPostGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPostGameRecordHandlerV1Params

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

func NewAdminPostGameRecordHandlerV1ParamsWithTimeout

func NewAdminPostGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPostGameRecordHandlerV1Params

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

func (*AdminPostGameRecordHandlerV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) SetBody

SetBody adds the body to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) SetContext

SetContext adds the context to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) SetFlightId

func (o *AdminPostGameRecordHandlerV1Params) SetFlightId(flightId string)

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

func (*AdminPostGameRecordHandlerV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) SetKey

SetKey adds the key to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) SetNamespace

func (o *AdminPostGameRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) WithBody

WithBody adds the body to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) WithContext

WithContext adds the context to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) WithKey

WithKey adds the key to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) WithNamespace

WithNamespace adds the namespace to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) WithTimeout

WithTimeout adds the timeout to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminPostGameRecordHandlerV1Reader

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

AdminPostGameRecordHandlerV1Reader is a Reader for the AdminPostGameRecordHandlerV1 structure.

func (*AdminPostGameRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminPostGameRecordHandlerV1Unauthorized

type AdminPostGameRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPostGameRecordHandlerV1Unauthorized 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 NewAdminPostGameRecordHandlerV1Unauthorized

func NewAdminPostGameRecordHandlerV1Unauthorized() *AdminPostGameRecordHandlerV1Unauthorized

NewAdminPostGameRecordHandlerV1Unauthorized creates a AdminPostGameRecordHandlerV1Unauthorized with default headers values

func (*AdminPostGameRecordHandlerV1Unauthorized) Error

func (*AdminPostGameRecordHandlerV1Unauthorized) GetPayload

func (*AdminPostGameRecordHandlerV1Unauthorized) ToJSONString

type AdminPutGameRecordHandlerV1BadRequest

type AdminPutGameRecordHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordHandlerV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18050</td><td>invalid request body</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>18052</td><td>invalid request body: size of the request body must be less than [%d]MB</td></tr></table>

func NewAdminPutGameRecordHandlerV1BadRequest

func NewAdminPutGameRecordHandlerV1BadRequest() *AdminPutGameRecordHandlerV1BadRequest

NewAdminPutGameRecordHandlerV1BadRequest creates a AdminPutGameRecordHandlerV1BadRequest with default headers values

func (*AdminPutGameRecordHandlerV1BadRequest) Error

func (*AdminPutGameRecordHandlerV1BadRequest) GetPayload

func (*AdminPutGameRecordHandlerV1BadRequest) ToJSONString

type AdminPutGameRecordHandlerV1Forbidden

type AdminPutGameRecordHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordHandlerV1Forbidden 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 NewAdminPutGameRecordHandlerV1Forbidden

func NewAdminPutGameRecordHandlerV1Forbidden() *AdminPutGameRecordHandlerV1Forbidden

NewAdminPutGameRecordHandlerV1Forbidden creates a AdminPutGameRecordHandlerV1Forbidden with default headers values

func (*AdminPutGameRecordHandlerV1Forbidden) Error

func (*AdminPutGameRecordHandlerV1Forbidden) GetPayload

func (*AdminPutGameRecordHandlerV1Forbidden) ToJSONString

func (o *AdminPutGameRecordHandlerV1Forbidden) ToJSONString() string

type AdminPutGameRecordHandlerV1InternalServerError

type AdminPutGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordHandlerV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18051</td><td>unable to marshal request body</td></tr><tr><td>20000</td><td>internal server error</td></tr><tr><td>18053</td><td>unable to update record</td></tr><tr><td>18005</td><td>unable to decode record</td></tr></table>

func NewAdminPutGameRecordHandlerV1InternalServerError

func NewAdminPutGameRecordHandlerV1InternalServerError() *AdminPutGameRecordHandlerV1InternalServerError

NewAdminPutGameRecordHandlerV1InternalServerError creates a AdminPutGameRecordHandlerV1InternalServerError with default headers values

func (*AdminPutGameRecordHandlerV1InternalServerError) Error

func (*AdminPutGameRecordHandlerV1InternalServerError) GetPayload

func (*AdminPutGameRecordHandlerV1InternalServerError) ToJSONString

type AdminPutGameRecordHandlerV1OK

type AdminPutGameRecordHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsGameRecordAdminResponse
}

AdminPutGameRecordHandlerV1OK handles this case with default header values.

Record saved

func NewAdminPutGameRecordHandlerV1OK

func NewAdminPutGameRecordHandlerV1OK() *AdminPutGameRecordHandlerV1OK

NewAdminPutGameRecordHandlerV1OK creates a AdminPutGameRecordHandlerV1OK with default headers values

func (*AdminPutGameRecordHandlerV1OK) Error

func (*AdminPutGameRecordHandlerV1OK) GetPayload

func (*AdminPutGameRecordHandlerV1OK) ToJSONString

func (o *AdminPutGameRecordHandlerV1OK) ToJSONString() string

type AdminPutGameRecordHandlerV1Params

type AdminPutGameRecordHandlerV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body cloudsaveclientmodels.ModelsGameRecordRequest
	/*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
}

AdminPutGameRecordHandlerV1Params contains all the parameters to send to the API endpoint for the admin put game record handler v1 operation typically these are written to a http.Request

func NewAdminPutGameRecordHandlerV1Params

func NewAdminPutGameRecordHandlerV1Params() *AdminPutGameRecordHandlerV1Params

NewAdminPutGameRecordHandlerV1Params creates a new AdminPutGameRecordHandlerV1Params object with the default values initialized.

func NewAdminPutGameRecordHandlerV1ParamsWithContext

func NewAdminPutGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminPutGameRecordHandlerV1Params

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

func NewAdminPutGameRecordHandlerV1ParamsWithHTTPClient

func NewAdminPutGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutGameRecordHandlerV1Params

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

func NewAdminPutGameRecordHandlerV1ParamsWithTimeout

func NewAdminPutGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutGameRecordHandlerV1Params

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

func (*AdminPutGameRecordHandlerV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) SetBody

SetBody adds the body to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) SetContext

SetContext adds the context to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) SetFlightId

func (o *AdminPutGameRecordHandlerV1Params) SetFlightId(flightId string)

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

func (*AdminPutGameRecordHandlerV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) SetKey

SetKey adds the key to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) SetNamespace

func (o *AdminPutGameRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) WithBody

WithBody adds the body to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) WithContext

WithContext adds the context to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) WithKey

WithKey adds the key to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) WithNamespace

WithNamespace adds the namespace to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) WithTimeout

WithTimeout adds the timeout to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminPutGameRecordHandlerV1Reader

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

AdminPutGameRecordHandlerV1Reader is a Reader for the AdminPutGameRecordHandlerV1 structure.

func (*AdminPutGameRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminPutGameRecordHandlerV1Unauthorized

type AdminPutGameRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordHandlerV1Unauthorized 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 NewAdminPutGameRecordHandlerV1Unauthorized

func NewAdminPutGameRecordHandlerV1Unauthorized() *AdminPutGameRecordHandlerV1Unauthorized

NewAdminPutGameRecordHandlerV1Unauthorized creates a AdminPutGameRecordHandlerV1Unauthorized with default headers values

func (*AdminPutGameRecordHandlerV1Unauthorized) Error

func (*AdminPutGameRecordHandlerV1Unauthorized) GetPayload

func (*AdminPutGameRecordHandlerV1Unauthorized) ToJSONString

type Client

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

Client for admin game record API

func (*Client) AdminDeleteGameRecordHandlerV1 deprecated

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

AdminDeleteGameRecordHandlerV1 delete game record This endpoints delete game record in namespace-level

func (*Client) AdminDeleteGameRecordHandlerV1Short

func (a *Client) AdminDeleteGameRecordHandlerV1Short(params *AdminDeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGameRecordHandlerV1NoContent, error)

AdminDeleteGameRecordHandlerV1Short delete game record This endpoints delete game record in namespace-level

func (*Client) AdminGetGameRecordHandlerV1 deprecated

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

AdminGetGameRecordHandlerV1 get game record Get a record by its key in namespace-level.

func (*Client) AdminGetGameRecordHandlerV1Short

func (a *Client) AdminGetGameRecordHandlerV1Short(params *AdminGetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGameRecordHandlerV1OK, error)

AdminGetGameRecordHandlerV1Short get game record Get a record by its key in namespace-level.

func (*Client) AdminPostGameRecordHandlerV1 deprecated

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

AdminPostGameRecordHandlerV1 create or append game record ## Description

This endpoints will create new game record or append the existing game record.

**Append example:**

Example 1 - Existing JSON:

`{ "data1": "value" }`

- New JSON:

`{ "data2": "new value" }`

- Result:

`{ "data1": "value", "data2": "new value" }`

Example 2 - Existing JSON:

`{ "data1": { "data2": "value" }`

- New JSON:

`{ "data1": { "data3": "new value" }`

- Result:

`{ "data1": { "data2": "value", "data3": "new value" }`

## Restriction This is the restriction of Key Naming for the record: 1. Cannot use **"."** as the key name - `{ "data.2": "value" }` 2. Cannot use **"$"** as the prefix in key names - `{ "$data": "value" }` 3. Cannot use empty string in key names - `{ "": "value" }`

## Record Metadata

Metadata allows user to define the behaviour of the record. Metadata can be defined in request body with field name **__META**. When creating record, if **__META** field is not defined, the metadata value will use the default value. When updating record, if **__META** field is not defined, the existing metadata value will stay as is.

**Metadata List:** 1. set_by (default: CLIENT, type: string) Indicate which party that could modify the game record. SERVER: record can be modified by server only. CLIENT: record can be modified by client and server. 2. ttl_config (default: *empty*, type: object) Indicate the TTL configuration for the game record. action: - DELETE: record will be deleted after TTL is reached 3. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record.

**Request Body Example:** ``` { "__META": { "set_by": "SERVER", "ttl_config": { "expires_at": "2026-01-02T15:04:05Z", // should be in RFC3339 format "action": "DELETE" }, "tags": ["tag1", "tag2"] } ... } ```

func (*Client) AdminPostGameRecordHandlerV1Short

func (a *Client) AdminPostGameRecordHandlerV1Short(params *AdminPostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPostGameRecordHandlerV1Created, error)

AdminPostGameRecordHandlerV1Short create or append game record ## Description

This endpoints will create new game record or append the existing game record.

**Append example:**

Example 1 - Existing JSON:

`{ "data1": "value" }`

- New JSON:

`{ "data2": "new value" }`

- Result:

`{ "data1": "value", "data2": "new value" }`

Example 2 - Existing JSON:

`{ "data1": { "data2": "value" }`

- New JSON:

`{ "data1": { "data3": "new value" }`

- Result:

`{ "data1": { "data2": "value", "data3": "new value" }`

## Restriction This is the restriction of Key Naming for the record: 1. Cannot use **"."** as the key name - `{ "data.2": "value" }` 2. Cannot use **"$"** as the prefix in key names - `{ "$data": "value" }` 3. Cannot use empty string in key names - `{ "": "value" }`

## Record Metadata

Metadata allows user to define the behaviour of the record. Metadata can be defined in request body with field name **__META**. When creating record, if **__META** field is not defined, the metadata value will use the default value. When updating record, if **__META** field is not defined, the existing metadata value will stay as is.

**Metadata List:** 1. set_by (default: CLIENT, type: string) Indicate which party that could modify the game record. SERVER: record can be modified by server only. CLIENT: record can be modified by client and server. 2. ttl_config (default: *empty*, type: object) Indicate the TTL configuration for the game record. action: - DELETE: record will be deleted after TTL is reached 3. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record.

**Request Body Example:** ``` { "__META": { "set_by": "SERVER", "ttl_config": { "expires_at": "2026-01-02T15:04:05Z", // should be in RFC3339 format "action": "DELETE" }, "tags": ["tag1", "tag2"] } ... } ```

func (*Client) AdminPutGameRecordHandlerV1 deprecated

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

AdminPutGameRecordHandlerV1 create or replace game record ## Description

This endpoints will create new game record or replace the existing game record.

**Replace behaviour:** The existing value will be replaced completely with the new value.

Example - Existing JSON:

`{ "data1": "value" }`

- New JSON:

`{ "data2": "new value" }`

- Result:

`{ "data2": "new value" }`

## Restriction This is the restriction of Key Naming for the record: 1. Cannot use **"."** as the key name - `{ "data.2": "value" }` 2. Cannot use **"$"** as the prefix in key names - `{ "$data": "value" }` 3. Cannot use empty string in key names - `{ "": "value" }`

## Record Metadata

Metadata allows user to define the behaviour of the record. Metadata can be defined in request body with field name **__META**. When creating record, if **__META** field is not defined, the metadata value will use the default value. When updating record, if **__META** field is not defined, the existing metadata value will stay as is.

**Metadata List:** 1. set_by (default: CLIENT, type: string) Indicate which party that could modify the game record. SERVER: record can be modified by server only. CLIENT: record can be modified by client and server. 2. ttl_config (default: *empty*, type: object) Indicate the TTL configuration for the game record. action: - DELETE: record will be deleted after TTL is reached 3. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record.

**Request Body Example:** ``` { "__META": { "set_by": "SERVER", "ttl_config": { "expires_at": "2026-01-02T15:04:05Z", // should be in RFC3339 format "action": "DELETE" }, "tags": ["tag1", "tag2"] } ... } ```

func (*Client) AdminPutGameRecordHandlerV1Short

func (a *Client) AdminPutGameRecordHandlerV1Short(params *AdminPutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordHandlerV1OK, error)

AdminPutGameRecordHandlerV1Short create or replace game record ## Description

This endpoints will create new game record or replace the existing game record.

**Replace behaviour:** The existing value will be replaced completely with the new value.

Example - Existing JSON:

`{ "data1": "value" }`

- New JSON:

`{ "data2": "new value" }`

- Result:

`{ "data2": "new value" }`

## Restriction This is the restriction of Key Naming for the record: 1. Cannot use **"."** as the key name - `{ "data.2": "value" }` 2. Cannot use **"$"** as the prefix in key names - `{ "$data": "value" }` 3. Cannot use empty string in key names - `{ "": "value" }`

## Record Metadata

Metadata allows user to define the behaviour of the record. Metadata can be defined in request body with field name **__META**. When creating record, if **__META** field is not defined, the metadata value will use the default value. When updating record, if **__META** field is not defined, the existing metadata value will stay as is.

**Metadata List:** 1. set_by (default: CLIENT, type: string) Indicate which party that could modify the game record. SERVER: record can be modified by server only. CLIENT: record can be modified by client and server. 2. ttl_config (default: *empty*, type: object) Indicate the TTL configuration for the game record. action: - DELETE: record will be deleted after TTL is reached 3. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record.

**Request Body Example:** ``` { "__META": { "set_by": "SERVER", "ttl_config": { "expires_at": "2026-01-02T15:04:05Z", // should be in RFC3339 format "action": "DELETE" }, "tags": ["tag1", "tag2"] } ... } ```

func (*Client) ListGameRecordsHandlerV1 deprecated

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

ListGameRecordsHandlerV1 query game records Retrieve list of records key by namespace

func (*Client) ListGameRecordsHandlerV1Short

func (a *Client) ListGameRecordsHandlerV1Short(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, error)

ListGameRecordsHandlerV1Short query game records Retrieve list of records key by namespace

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ListGameRecordsHandlerV1(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, *ListGameRecordsHandlerV1BadRequest, *ListGameRecordsHandlerV1Unauthorized, *ListGameRecordsHandlerV1Forbidden, *ListGameRecordsHandlerV1InternalServerError, error)
	ListGameRecordsHandlerV1Short(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, error)
	AdminGetGameRecordHandlerV1(params *AdminGetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGameRecordHandlerV1OK, *AdminGetGameRecordHandlerV1Unauthorized, *AdminGetGameRecordHandlerV1Forbidden, *AdminGetGameRecordHandlerV1NotFound, *AdminGetGameRecordHandlerV1InternalServerError, error)
	AdminGetGameRecordHandlerV1Short(params *AdminGetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGameRecordHandlerV1OK, error)
	AdminPutGameRecordHandlerV1(params *AdminPutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordHandlerV1OK, *AdminPutGameRecordHandlerV1BadRequest, *AdminPutGameRecordHandlerV1Unauthorized, *AdminPutGameRecordHandlerV1Forbidden, *AdminPutGameRecordHandlerV1InternalServerError, error)
	AdminPutGameRecordHandlerV1Short(params *AdminPutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordHandlerV1OK, error)
	AdminPostGameRecordHandlerV1(params *AdminPostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPostGameRecordHandlerV1Created, *AdminPostGameRecordHandlerV1BadRequest, *AdminPostGameRecordHandlerV1Unauthorized, *AdminPostGameRecordHandlerV1Forbidden, *AdminPostGameRecordHandlerV1InternalServerError, error)
	AdminPostGameRecordHandlerV1Short(params *AdminPostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPostGameRecordHandlerV1Created, error)
	AdminDeleteGameRecordHandlerV1(params *AdminDeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGameRecordHandlerV1NoContent, *AdminDeleteGameRecordHandlerV1BadRequest, *AdminDeleteGameRecordHandlerV1Unauthorized, *AdminDeleteGameRecordHandlerV1Forbidden, *AdminDeleteGameRecordHandlerV1InternalServerError, error)
	AdminDeleteGameRecordHandlerV1Short(params *AdminDeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGameRecordHandlerV1NoContent, 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 admin game record API client.

type ListGameRecordsHandlerV1BadRequest

type ListGameRecordsHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

ListGameRecordsHandlerV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18004</td><td>unable to retrieve list of key records</td></tr></table>

func NewListGameRecordsHandlerV1BadRequest

func NewListGameRecordsHandlerV1BadRequest() *ListGameRecordsHandlerV1BadRequest

NewListGameRecordsHandlerV1BadRequest creates a ListGameRecordsHandlerV1BadRequest with default headers values

func (*ListGameRecordsHandlerV1BadRequest) Error

func (*ListGameRecordsHandlerV1BadRequest) GetPayload

func (*ListGameRecordsHandlerV1BadRequest) ToJSONString

func (o *ListGameRecordsHandlerV1BadRequest) ToJSONString() string

type ListGameRecordsHandlerV1Forbidden

type ListGameRecordsHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

ListGameRecordsHandlerV1Forbidden 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 NewListGameRecordsHandlerV1Forbidden

func NewListGameRecordsHandlerV1Forbidden() *ListGameRecordsHandlerV1Forbidden

NewListGameRecordsHandlerV1Forbidden creates a ListGameRecordsHandlerV1Forbidden with default headers values

func (*ListGameRecordsHandlerV1Forbidden) Error

func (*ListGameRecordsHandlerV1Forbidden) GetPayload

func (*ListGameRecordsHandlerV1Forbidden) ToJSONString

func (o *ListGameRecordsHandlerV1Forbidden) ToJSONString() string

type ListGameRecordsHandlerV1InternalServerError

type ListGameRecordsHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

ListGameRecordsHandlerV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18001</td><td>unable to get record</td></tr></table>

func NewListGameRecordsHandlerV1InternalServerError

func NewListGameRecordsHandlerV1InternalServerError() *ListGameRecordsHandlerV1InternalServerError

NewListGameRecordsHandlerV1InternalServerError creates a ListGameRecordsHandlerV1InternalServerError with default headers values

func (*ListGameRecordsHandlerV1InternalServerError) Error

func (*ListGameRecordsHandlerV1InternalServerError) GetPayload

func (*ListGameRecordsHandlerV1InternalServerError) ToJSONString

type ListGameRecordsHandlerV1OK

type ListGameRecordsHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsListGameRecordKeysResponse
}

ListGameRecordsHandlerV1OK handles this case with default header values.

Retrieve list of records key by namespace

func NewListGameRecordsHandlerV1OK

func NewListGameRecordsHandlerV1OK() *ListGameRecordsHandlerV1OK

NewListGameRecordsHandlerV1OK creates a ListGameRecordsHandlerV1OK with default headers values

func (*ListGameRecordsHandlerV1OK) Error

func (*ListGameRecordsHandlerV1OK) GetPayload

func (*ListGameRecordsHandlerV1OK) ToJSONString

func (o *ListGameRecordsHandlerV1OK) ToJSONString() string

type ListGameRecordsHandlerV1Params

type ListGameRecordsHandlerV1Params struct {

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

	*/
	Namespace string
	/*Query
	  query, search game records by key

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

ListGameRecordsHandlerV1Params contains all the parameters to send to the API endpoint for the list game records handler v1 operation typically these are written to a http.Request

func NewListGameRecordsHandlerV1Params

func NewListGameRecordsHandlerV1Params() *ListGameRecordsHandlerV1Params

NewListGameRecordsHandlerV1Params creates a new ListGameRecordsHandlerV1Params object with the default values initialized.

func NewListGameRecordsHandlerV1ParamsWithContext

func NewListGameRecordsHandlerV1ParamsWithContext(ctx context.Context) *ListGameRecordsHandlerV1Params

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

func NewListGameRecordsHandlerV1ParamsWithHTTPClient

func NewListGameRecordsHandlerV1ParamsWithHTTPClient(client *http.Client) *ListGameRecordsHandlerV1Params

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

func NewListGameRecordsHandlerV1ParamsWithTimeout

func NewListGameRecordsHandlerV1ParamsWithTimeout(timeout time.Duration) *ListGameRecordsHandlerV1Params

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

func (*ListGameRecordsHandlerV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) SetContext

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

SetContext adds the context to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) SetFlightId

func (o *ListGameRecordsHandlerV1Params) SetFlightId(flightId string)

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

func (*ListGameRecordsHandlerV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) SetLimit

func (o *ListGameRecordsHandlerV1Params) SetLimit(limit int64)

SetLimit adds the limit to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) SetNamespace

func (o *ListGameRecordsHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) SetOffset

func (o *ListGameRecordsHandlerV1Params) SetOffset(offset int64)

SetOffset adds the offset to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) SetQuery

func (o *ListGameRecordsHandlerV1Params) SetQuery(query *string)

SetQuery adds the query to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) WithContext

WithContext adds the context to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) WithLimit

WithLimit adds the limit to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) WithNamespace

WithNamespace adds the namespace to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) WithOffset

WithOffset adds the offset to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) WithQuery

WithQuery adds the query to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) WithTimeout

WithTimeout adds the timeout to the list game records handler v1 params

func (*ListGameRecordsHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGameRecordsHandlerV1Reader

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

ListGameRecordsHandlerV1Reader is a Reader for the ListGameRecordsHandlerV1 structure.

func (*ListGameRecordsHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListGameRecordsHandlerV1Unauthorized

type ListGameRecordsHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

ListGameRecordsHandlerV1Unauthorized 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 NewListGameRecordsHandlerV1Unauthorized

func NewListGameRecordsHandlerV1Unauthorized() *ListGameRecordsHandlerV1Unauthorized

NewListGameRecordsHandlerV1Unauthorized creates a ListGameRecordsHandlerV1Unauthorized with default headers values

func (*ListGameRecordsHandlerV1Unauthorized) Error

func (*ListGameRecordsHandlerV1Unauthorized) GetPayload

func (*ListGameRecordsHandlerV1Unauthorized) ToJSONString

func (o *ListGameRecordsHandlerV1Unauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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