admin_concurrent_record

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 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 AdminPutAdminGameRecordConcurrentHandlerV1BadRequest added in v0.49.0

type AdminPutAdminGameRecordConcurrentHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutAdminGameRecordConcurrentHandlerV1BadRequest handles this case with default header values.

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

func NewAdminPutAdminGameRecordConcurrentHandlerV1BadRequest added in v0.49.0

func NewAdminPutAdminGameRecordConcurrentHandlerV1BadRequest() *AdminPutAdminGameRecordConcurrentHandlerV1BadRequest

NewAdminPutAdminGameRecordConcurrentHandlerV1BadRequest creates a AdminPutAdminGameRecordConcurrentHandlerV1BadRequest with default headers values

func (*AdminPutAdminGameRecordConcurrentHandlerV1BadRequest) Error added in v0.49.0

func (*AdminPutAdminGameRecordConcurrentHandlerV1BadRequest) GetPayload added in v0.49.0

func (*AdminPutAdminGameRecordConcurrentHandlerV1BadRequest) ToJSONString added in v0.49.0

type AdminPutAdminGameRecordConcurrentHandlerV1Forbidden added in v0.58.0

type AdminPutAdminGameRecordConcurrentHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutAdminGameRecordConcurrentHandlerV1Forbidden 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 NewAdminPutAdminGameRecordConcurrentHandlerV1Forbidden added in v0.58.0

func NewAdminPutAdminGameRecordConcurrentHandlerV1Forbidden() *AdminPutAdminGameRecordConcurrentHandlerV1Forbidden

NewAdminPutAdminGameRecordConcurrentHandlerV1Forbidden creates a AdminPutAdminGameRecordConcurrentHandlerV1Forbidden with default headers values

func (*AdminPutAdminGameRecordConcurrentHandlerV1Forbidden) Error added in v0.58.0

func (*AdminPutAdminGameRecordConcurrentHandlerV1Forbidden) GetPayload added in v0.58.0

func (*AdminPutAdminGameRecordConcurrentHandlerV1Forbidden) ToJSONString added in v0.58.0

type AdminPutAdminGameRecordConcurrentHandlerV1InternalServerError added in v0.49.0

type AdminPutAdminGameRecordConcurrentHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutAdminGameRecordConcurrentHandlerV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18145</td><td>unable to marshal request body</td></tr><tr><td>20000</td><td>internal server error</td></tr><tr><td>18147</td><td>unable to update record</td></tr></table>

func NewAdminPutAdminGameRecordConcurrentHandlerV1InternalServerError added in v0.49.0

func NewAdminPutAdminGameRecordConcurrentHandlerV1InternalServerError() *AdminPutAdminGameRecordConcurrentHandlerV1InternalServerError

NewAdminPutAdminGameRecordConcurrentHandlerV1InternalServerError creates a AdminPutAdminGameRecordConcurrentHandlerV1InternalServerError with default headers values

func (*AdminPutAdminGameRecordConcurrentHandlerV1InternalServerError) Error added in v0.49.0

func (*AdminPutAdminGameRecordConcurrentHandlerV1InternalServerError) GetPayload added in v0.49.0

func (*AdminPutAdminGameRecordConcurrentHandlerV1InternalServerError) ToJSONString added in v0.49.0

type AdminPutAdminGameRecordConcurrentHandlerV1NoContent added in v0.49.0

type AdminPutAdminGameRecordConcurrentHandlerV1NoContent struct {
}

AdminPutAdminGameRecordConcurrentHandlerV1NoContent handles this case with default header values.

Record saved

func NewAdminPutAdminGameRecordConcurrentHandlerV1NoContent added in v0.49.0

func NewAdminPutAdminGameRecordConcurrentHandlerV1NoContent() *AdminPutAdminGameRecordConcurrentHandlerV1NoContent

NewAdminPutAdminGameRecordConcurrentHandlerV1NoContent creates a AdminPutAdminGameRecordConcurrentHandlerV1NoContent with default headers values

func (*AdminPutAdminGameRecordConcurrentHandlerV1NoContent) Error added in v0.49.0

type AdminPutAdminGameRecordConcurrentHandlerV1Params added in v0.49.0

type AdminPutAdminGameRecordConcurrentHandlerV1Params struct {

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

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

func NewAdminPutAdminGameRecordConcurrentHandlerV1Params added in v0.49.0

func NewAdminPutAdminGameRecordConcurrentHandlerV1Params() *AdminPutAdminGameRecordConcurrentHandlerV1Params

NewAdminPutAdminGameRecordConcurrentHandlerV1Params creates a new AdminPutAdminGameRecordConcurrentHandlerV1Params object with the default values initialized.

func NewAdminPutAdminGameRecordConcurrentHandlerV1ParamsWithContext added in v0.49.0

func NewAdminPutAdminGameRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *AdminPutAdminGameRecordConcurrentHandlerV1Params

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

func NewAdminPutAdminGameRecordConcurrentHandlerV1ParamsWithHTTPClient added in v0.49.0

func NewAdminPutAdminGameRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutAdminGameRecordConcurrentHandlerV1Params

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

func NewAdminPutAdminGameRecordConcurrentHandlerV1ParamsWithTimeout added in v0.49.0

func NewAdminPutAdminGameRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutAdminGameRecordConcurrentHandlerV1Params

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) SetAuthInfoWriter added in v0.49.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) SetBody added in v0.49.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) SetContext added in v0.49.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) SetFlightId added in v0.63.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) SetHTTPClient added in v0.49.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) SetHTTPClientTransport added in v0.49.0

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

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) SetKey added in v0.49.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) SetNamespace added in v0.49.0

func (o *AdminPutAdminGameRecordConcurrentHandlerV1Params) SetNamespace(namespace string)

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) SetTimeout added in v0.49.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) WithBody added in v0.49.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) WithContext added in v0.49.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) WithHTTPClient added in v0.49.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) WithKey added in v0.49.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) WithNamespace added in v0.49.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) WithTimeout added in v0.49.0

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

func (*AdminPutAdminGameRecordConcurrentHandlerV1Params) WriteToRequest added in v0.49.0

WriteToRequest writes these params to a swagger request

type AdminPutAdminGameRecordConcurrentHandlerV1PreconditionFailed added in v0.49.0

type AdminPutAdminGameRecordConcurrentHandlerV1PreconditionFailed struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutAdminGameRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18180</td><td>precondition failed: record has changed</td></tr></table>

func NewAdminPutAdminGameRecordConcurrentHandlerV1PreconditionFailed added in v0.49.0

func NewAdminPutAdminGameRecordConcurrentHandlerV1PreconditionFailed() *AdminPutAdminGameRecordConcurrentHandlerV1PreconditionFailed

NewAdminPutAdminGameRecordConcurrentHandlerV1PreconditionFailed creates a AdminPutAdminGameRecordConcurrentHandlerV1PreconditionFailed with default headers values

func (*AdminPutAdminGameRecordConcurrentHandlerV1PreconditionFailed) Error added in v0.49.0

func (*AdminPutAdminGameRecordConcurrentHandlerV1PreconditionFailed) GetPayload added in v0.49.0

func (*AdminPutAdminGameRecordConcurrentHandlerV1PreconditionFailed) ToJSONString added in v0.49.0

type AdminPutAdminGameRecordConcurrentHandlerV1Reader added in v0.49.0

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

AdminPutAdminGameRecordConcurrentHandlerV1Reader is a Reader for the AdminPutAdminGameRecordConcurrentHandlerV1 structure.

func (*AdminPutAdminGameRecordConcurrentHandlerV1Reader) ReadResponse added in v0.49.0

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

ReadResponse reads a server response into the received o.

type AdminPutAdminGameRecordConcurrentHandlerV1Unauthorized added in v0.49.0

type AdminPutAdminGameRecordConcurrentHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutAdminGameRecordConcurrentHandlerV1Unauthorized 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 NewAdminPutAdminGameRecordConcurrentHandlerV1Unauthorized added in v0.49.0

func NewAdminPutAdminGameRecordConcurrentHandlerV1Unauthorized() *AdminPutAdminGameRecordConcurrentHandlerV1Unauthorized

NewAdminPutAdminGameRecordConcurrentHandlerV1Unauthorized creates a AdminPutAdminGameRecordConcurrentHandlerV1Unauthorized with default headers values

func (*AdminPutAdminGameRecordConcurrentHandlerV1Unauthorized) Error added in v0.49.0

func (*AdminPutAdminGameRecordConcurrentHandlerV1Unauthorized) GetPayload added in v0.49.0

func (*AdminPutAdminGameRecordConcurrentHandlerV1Unauthorized) ToJSONString added in v0.49.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1BadRequest added in v0.49.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutAdminPlayerRecordConcurrentHandlerV1BadRequest 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><tr><td>18156</td><td>invalid request body</td></tr><tr><td>18181</td><td>validation error</td></tr></table>

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1BadRequest added in v0.49.0

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1BadRequest() *AdminPutAdminPlayerRecordConcurrentHandlerV1BadRequest

NewAdminPutAdminPlayerRecordConcurrentHandlerV1BadRequest creates a AdminPutAdminPlayerRecordConcurrentHandlerV1BadRequest with default headers values

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1BadRequest) Error added in v0.49.0

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1BadRequest) GetPayload added in v0.49.0

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1BadRequest) ToJSONString added in v0.49.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1Forbidden added in v0.58.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutAdminPlayerRecordConcurrentHandlerV1Forbidden 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 NewAdminPutAdminPlayerRecordConcurrentHandlerV1Forbidden added in v0.58.0

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1Forbidden() *AdminPutAdminPlayerRecordConcurrentHandlerV1Forbidden

NewAdminPutAdminPlayerRecordConcurrentHandlerV1Forbidden creates a AdminPutAdminPlayerRecordConcurrentHandlerV1Forbidden with default headers values

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Forbidden) Error added in v0.58.0

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Forbidden) GetPayload added in v0.58.0

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Forbidden) ToJSONString added in v0.58.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1InternalServerError added in v0.49.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

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

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1InternalServerError added in v0.49.0

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1InternalServerError() *AdminPutAdminPlayerRecordConcurrentHandlerV1InternalServerError

NewAdminPutAdminPlayerRecordConcurrentHandlerV1InternalServerError creates a AdminPutAdminPlayerRecordConcurrentHandlerV1InternalServerError with default headers values

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1InternalServerError) Error added in v0.49.0

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1InternalServerError) GetPayload added in v0.49.0

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1InternalServerError) ToJSONString added in v0.49.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1NoContent added in v0.49.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1NoContent struct {
}

AdminPutAdminPlayerRecordConcurrentHandlerV1NoContent handles this case with default header values.

Record saved

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1NoContent added in v0.49.0

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1NoContent() *AdminPutAdminPlayerRecordConcurrentHandlerV1NoContent

NewAdminPutAdminPlayerRecordConcurrentHandlerV1NoContent creates a AdminPutAdminPlayerRecordConcurrentHandlerV1NoContent with default headers values

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1NoContent) Error added in v0.49.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1OK added in v0.59.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsPlayerRecordConcurrentUpdateResponse
}

AdminPutAdminPlayerRecordConcurrentHandlerV1OK handles this case with default header values.

Record saved

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1OK added in v0.59.0

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1OK() *AdminPutAdminPlayerRecordConcurrentHandlerV1OK

NewAdminPutAdminPlayerRecordConcurrentHandlerV1OK creates a AdminPutAdminPlayerRecordConcurrentHandlerV1OK with default headers values

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1OK) Error added in v0.59.0

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1OK) GetPayload added in v0.59.0

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1OK) ToJSONString added in v0.59.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1Params added in v0.49.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *cloudsaveclientmodels.ModelsAdminPlayerConcurrentRecordRequest
	/*Key
	  key of record

	*/
	Key string
	/*Namespace
	  namespace of the game, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user ID who own the record, should follow UUID version 4 without hyphen format

	*/
	UserID string
	/*ResponseBody
	  flag to tell the service to return non empty response

	*/
	ResponseBody *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1Params added in v0.49.0

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1Params() *AdminPutAdminPlayerRecordConcurrentHandlerV1Params

NewAdminPutAdminPlayerRecordConcurrentHandlerV1Params creates a new AdminPutAdminPlayerRecordConcurrentHandlerV1Params object with the default values initialized.

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1ParamsWithContext added in v0.49.0

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *AdminPutAdminPlayerRecordConcurrentHandlerV1Params

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

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1ParamsWithHTTPClient added in v0.49.0

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutAdminPlayerRecordConcurrentHandlerV1Params

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

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1ParamsWithTimeout added in v0.49.0

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutAdminPlayerRecordConcurrentHandlerV1Params

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

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) SetAuthInfoWriter added in v0.49.0

SetAuthInfoWriter adds the authInfoWriter to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) SetBody added in v0.49.0

SetBody adds the body to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) SetContext added in v0.49.0

SetContext adds the context to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) SetFlightId added in v0.63.0

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

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) SetHTTPClient added in v0.49.0

SetHTTPClient adds the HTTPClient to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) SetHTTPClientTransport added in v0.49.0

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

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

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) SetKey added in v0.49.0

SetKey adds the key to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) SetNamespace added in v0.49.0

SetNamespace adds the namespace to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) SetResponseBody added in v0.59.0

func (o *AdminPutAdminPlayerRecordConcurrentHandlerV1Params) SetResponseBody(responseBody *bool)

SetResponseBody adds the responseBody to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) SetTimeout added in v0.49.0

SetTimeout adds the timeout to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) SetUserID added in v0.49.0

SetUserID adds the userId to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) WithBody added in v0.49.0

WithBody adds the body to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) WithContext added in v0.49.0

WithContext adds the context to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) WithHTTPClient added in v0.49.0

WithHTTPClient adds the HTTPClient to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) WithKey added in v0.49.0

WithKey adds the key to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) WithNamespace added in v0.49.0

WithNamespace adds the namespace to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) WithResponseBody added in v0.59.0

WithResponseBody adds the responseBody to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) WithTimeout added in v0.49.0

WithTimeout adds the timeout to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) WithUserID added in v0.49.0

WithUserID adds the userID to the admin put admin player record concurrent handler v1 params

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Params) WriteToRequest added in v0.49.0

WriteToRequest writes these params to a swagger request

type AdminPutAdminPlayerRecordConcurrentHandlerV1PreconditionFailed added in v0.49.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1PreconditionFailed struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutAdminPlayerRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18183</td><td>precondition failed: record has changed</td></tr></table>

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1PreconditionFailed added in v0.49.0

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1PreconditionFailed() *AdminPutAdminPlayerRecordConcurrentHandlerV1PreconditionFailed

NewAdminPutAdminPlayerRecordConcurrentHandlerV1PreconditionFailed creates a AdminPutAdminPlayerRecordConcurrentHandlerV1PreconditionFailed with default headers values

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1PreconditionFailed) Error added in v0.49.0

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1PreconditionFailed) GetPayload added in v0.49.0

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1PreconditionFailed) ToJSONString added in v0.49.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1Reader added in v0.49.0

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

AdminPutAdminPlayerRecordConcurrentHandlerV1Reader is a Reader for the AdminPutAdminPlayerRecordConcurrentHandlerV1 structure.

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Reader) ReadResponse added in v0.49.0

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

ReadResponse reads a server response into the received o.

type AdminPutAdminPlayerRecordConcurrentHandlerV1Unauthorized added in v0.49.0

type AdminPutAdminPlayerRecordConcurrentHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutAdminPlayerRecordConcurrentHandlerV1Unauthorized 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 NewAdminPutAdminPlayerRecordConcurrentHandlerV1Unauthorized added in v0.49.0

func NewAdminPutAdminPlayerRecordConcurrentHandlerV1Unauthorized() *AdminPutAdminPlayerRecordConcurrentHandlerV1Unauthorized

NewAdminPutAdminPlayerRecordConcurrentHandlerV1Unauthorized creates a AdminPutAdminPlayerRecordConcurrentHandlerV1Unauthorized with default headers values

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Unauthorized) Error added in v0.49.0

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Unauthorized) GetPayload added in v0.49.0

func (*AdminPutAdminPlayerRecordConcurrentHandlerV1Unauthorized) ToJSONString added in v0.49.0

type AdminPutGameRecordConcurrentHandlerV1BadRequest

type AdminPutGameRecordConcurrentHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordConcurrentHandlerV1BadRequest 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><tr><td>18060</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 NewAdminPutGameRecordConcurrentHandlerV1BadRequest

func NewAdminPutGameRecordConcurrentHandlerV1BadRequest() *AdminPutGameRecordConcurrentHandlerV1BadRequest

NewAdminPutGameRecordConcurrentHandlerV1BadRequest creates a AdminPutGameRecordConcurrentHandlerV1BadRequest with default headers values

func (*AdminPutGameRecordConcurrentHandlerV1BadRequest) Error

func (*AdminPutGameRecordConcurrentHandlerV1BadRequest) GetPayload

func (*AdminPutGameRecordConcurrentHandlerV1BadRequest) ToJSONString added in v0.25.0

type AdminPutGameRecordConcurrentHandlerV1Forbidden added in v0.58.0

type AdminPutGameRecordConcurrentHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordConcurrentHandlerV1Forbidden 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 NewAdminPutGameRecordConcurrentHandlerV1Forbidden added in v0.58.0

func NewAdminPutGameRecordConcurrentHandlerV1Forbidden() *AdminPutGameRecordConcurrentHandlerV1Forbidden

NewAdminPutGameRecordConcurrentHandlerV1Forbidden creates a AdminPutGameRecordConcurrentHandlerV1Forbidden with default headers values

func (*AdminPutGameRecordConcurrentHandlerV1Forbidden) Error added in v0.58.0

func (*AdminPutGameRecordConcurrentHandlerV1Forbidden) GetPayload added in v0.58.0

func (*AdminPutGameRecordConcurrentHandlerV1Forbidden) ToJSONString added in v0.58.0

type AdminPutGameRecordConcurrentHandlerV1InternalServerError

type AdminPutGameRecordConcurrentHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordConcurrentHandlerV1InternalServerError 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></table>

func NewAdminPutGameRecordConcurrentHandlerV1InternalServerError

func NewAdminPutGameRecordConcurrentHandlerV1InternalServerError() *AdminPutGameRecordConcurrentHandlerV1InternalServerError

NewAdminPutGameRecordConcurrentHandlerV1InternalServerError creates a AdminPutGameRecordConcurrentHandlerV1InternalServerError with default headers values

func (*AdminPutGameRecordConcurrentHandlerV1InternalServerError) Error

func (*AdminPutGameRecordConcurrentHandlerV1InternalServerError) GetPayload

func (*AdminPutGameRecordConcurrentHandlerV1InternalServerError) ToJSONString added in v0.25.0

type AdminPutGameRecordConcurrentHandlerV1NoContent

type AdminPutGameRecordConcurrentHandlerV1NoContent struct {
}

AdminPutGameRecordConcurrentHandlerV1NoContent handles this case with default header values.

Record saved

func NewAdminPutGameRecordConcurrentHandlerV1NoContent

func NewAdminPutGameRecordConcurrentHandlerV1NoContent() *AdminPutGameRecordConcurrentHandlerV1NoContent

NewAdminPutGameRecordConcurrentHandlerV1NoContent creates a AdminPutGameRecordConcurrentHandlerV1NoContent with default headers values

func (*AdminPutGameRecordConcurrentHandlerV1NoContent) Error

type AdminPutGameRecordConcurrentHandlerV1Params

type AdminPutGameRecordConcurrentHandlerV1Params struct {

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

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

func NewAdminPutGameRecordConcurrentHandlerV1Params

func NewAdminPutGameRecordConcurrentHandlerV1Params() *AdminPutGameRecordConcurrentHandlerV1Params

NewAdminPutGameRecordConcurrentHandlerV1Params creates a new AdminPutGameRecordConcurrentHandlerV1Params object with the default values initialized.

func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithContext

func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *AdminPutGameRecordConcurrentHandlerV1Params

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

func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithHTTPClient

func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutGameRecordConcurrentHandlerV1Params

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

func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithTimeout

func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutGameRecordConcurrentHandlerV1Params

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetAuthInfoWriter added in v0.17.0

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

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetBody

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetContext

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetFlightId added in v0.63.0

func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetFlightId(flightId string)

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetHTTPClient

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

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetKey

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetNamespace

func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetNamespace(namespace string)

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetTimeout

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WithBody

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WithContext

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WithHTTPClient

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WithKey

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WithNamespace

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WithTimeout

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminPutGameRecordConcurrentHandlerV1PreconditionFailed

type AdminPutGameRecordConcurrentHandlerV1PreconditionFailed struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18056</td><td>precondition failed: record has changed</td></tr></table>

func NewAdminPutGameRecordConcurrentHandlerV1PreconditionFailed

func NewAdminPutGameRecordConcurrentHandlerV1PreconditionFailed() *AdminPutGameRecordConcurrentHandlerV1PreconditionFailed

NewAdminPutGameRecordConcurrentHandlerV1PreconditionFailed creates a AdminPutGameRecordConcurrentHandlerV1PreconditionFailed with default headers values

func (*AdminPutGameRecordConcurrentHandlerV1PreconditionFailed) Error

func (*AdminPutGameRecordConcurrentHandlerV1PreconditionFailed) GetPayload

func (*AdminPutGameRecordConcurrentHandlerV1PreconditionFailed) ToJSONString added in v0.25.0

type AdminPutGameRecordConcurrentHandlerV1Reader

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

AdminPutGameRecordConcurrentHandlerV1Reader is a Reader for the AdminPutGameRecordConcurrentHandlerV1 structure.

func (*AdminPutGameRecordConcurrentHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminPutGameRecordConcurrentHandlerV1Unauthorized

type AdminPutGameRecordConcurrentHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordConcurrentHandlerV1Unauthorized 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 NewAdminPutGameRecordConcurrentHandlerV1Unauthorized

func NewAdminPutGameRecordConcurrentHandlerV1Unauthorized() *AdminPutGameRecordConcurrentHandlerV1Unauthorized

NewAdminPutGameRecordConcurrentHandlerV1Unauthorized creates a AdminPutGameRecordConcurrentHandlerV1Unauthorized with default headers values

func (*AdminPutGameRecordConcurrentHandlerV1Unauthorized) Error

func (*AdminPutGameRecordConcurrentHandlerV1Unauthorized) GetPayload

func (*AdminPutGameRecordConcurrentHandlerV1Unauthorized) ToJSONString added in v0.25.0

type AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest

type AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest 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><tr><td>18100</td><td>invalid request body</td></tr><tr><td>18102</td><td>validation error</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest() *AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest

NewAdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest creates a AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest with default headers values

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest) Error

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest) GetPayload

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest) ToJSONString added in v0.25.0

type AdminPutPlayerPublicRecordConcurrentHandlerV1Forbidden added in v0.58.0

type AdminPutPlayerPublicRecordConcurrentHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutPlayerPublicRecordConcurrentHandlerV1Forbidden 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 NewAdminPutPlayerPublicRecordConcurrentHandlerV1Forbidden added in v0.58.0

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1Forbidden() *AdminPutPlayerPublicRecordConcurrentHandlerV1Forbidden

NewAdminPutPlayerPublicRecordConcurrentHandlerV1Forbidden creates a AdminPutPlayerPublicRecordConcurrentHandlerV1Forbidden with default headers values

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Forbidden) Error added in v0.58.0

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Forbidden) GetPayload added in v0.58.0

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Forbidden) ToJSONString added in v0.58.0

type AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError

type AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

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

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError() *AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError

NewAdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError creates a AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError with default headers values

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError) Error

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError) GetPayload

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError) ToJSONString added in v0.25.0

type AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent

type AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent struct {
}

AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent handles this case with default header values.

Record saved

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1NoContent

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1NoContent() *AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent

NewAdminPutPlayerPublicRecordConcurrentHandlerV1NoContent creates a AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent with default headers values

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent) Error

type AdminPutPlayerPublicRecordConcurrentHandlerV1OK added in v0.59.0

type AdminPutPlayerPublicRecordConcurrentHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsPlayerRecordConcurrentUpdateResponse
}

AdminPutPlayerPublicRecordConcurrentHandlerV1OK handles this case with default header values.

Record saved

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1OK added in v0.59.0

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1OK() *AdminPutPlayerPublicRecordConcurrentHandlerV1OK

NewAdminPutPlayerPublicRecordConcurrentHandlerV1OK creates a AdminPutPlayerPublicRecordConcurrentHandlerV1OK with default headers values

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1OK) Error added in v0.59.0

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1OK) GetPayload added in v0.59.0

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1OK) ToJSONString added in v0.59.0

type AdminPutPlayerPublicRecordConcurrentHandlerV1Params

type AdminPutPlayerPublicRecordConcurrentHandlerV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest
	/*Key
	  key of record

	*/
	Key string
	/*Namespace
	  namespace of the game, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user ID who own the record, should follow UUID version 4 without hyphen format

	*/
	UserID string
	/*ResponseBody
	  flag to tell the service to return non empty response

	*/
	ResponseBody *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminPutPlayerPublicRecordConcurrentHandlerV1Params contains all the parameters to send to the API endpoint for the admin put player public record concurrent handler v1 operation typically these are written to a http.Request

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1Params

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1Params() *AdminPutPlayerPublicRecordConcurrentHandlerV1Params

NewAdminPutPlayerPublicRecordConcurrentHandlerV1Params creates a new AdminPutPlayerPublicRecordConcurrentHandlerV1Params object with the default values initialized.

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithContext

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params

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

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithHTTPClient

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params

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

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithTimeout

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetAuthInfoWriter added in v0.17.0

SetAuthInfoWriter adds the authInfoWriter to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetBody

SetBody adds the body to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetContext

SetContext adds the context to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetFlightId added in v0.63.0

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClient

SetHTTPClient adds the HTTPClient to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetKey

SetKey adds the key to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetNamespace

SetNamespace adds the namespace to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetResponseBody added in v0.59.0

func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetResponseBody(responseBody *bool)

SetResponseBody adds the responseBody to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetTimeout

SetTimeout adds the timeout to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetUserID

SetUserID adds the userId to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithBody

WithBody adds the body to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithContext

WithContext adds the context to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithKey

WithKey adds the key to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithNamespace

WithNamespace adds the namespace to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithResponseBody added in v0.59.0

WithResponseBody adds the responseBody to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithTimeout

WithTimeout adds the timeout to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithUserID

WithUserID adds the userID to the admin put player public record concurrent handler v1 params

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed

type AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18103</td><td>precondition failed: record has changed</td></tr></table>

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed() *AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed

NewAdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed creates a AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed with default headers values

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) Error

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) GetPayload

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) ToJSONString added in v0.25.0

type AdminPutPlayerPublicRecordConcurrentHandlerV1Reader

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

AdminPutPlayerPublicRecordConcurrentHandlerV1Reader is a Reader for the AdminPutPlayerPublicRecordConcurrentHandlerV1 structure.

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized

type AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized 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 NewAdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized() *AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized

NewAdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized creates a AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized with default headers values

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized) Error

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized) GetPayload

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized) ToJSONString added in v0.25.0

type AdminPutPlayerRecordConcurrentHandlerV1BadRequest added in v0.21.0

type AdminPutPlayerRecordConcurrentHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutPlayerRecordConcurrentHandlerV1BadRequest 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><tr><td>18060</td><td>invalid request body</td></tr><tr><td>18064</td><td>validation error</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>18065</td><td>unable to update record</td></tr></table>

func NewAdminPutPlayerRecordConcurrentHandlerV1BadRequest added in v0.21.0

func NewAdminPutPlayerRecordConcurrentHandlerV1BadRequest() *AdminPutPlayerRecordConcurrentHandlerV1BadRequest

NewAdminPutPlayerRecordConcurrentHandlerV1BadRequest creates a AdminPutPlayerRecordConcurrentHandlerV1BadRequest with default headers values

func (*AdminPutPlayerRecordConcurrentHandlerV1BadRequest) Error added in v0.21.0

func (*AdminPutPlayerRecordConcurrentHandlerV1BadRequest) GetPayload added in v0.21.0

func (*AdminPutPlayerRecordConcurrentHandlerV1BadRequest) ToJSONString added in v0.25.0

type AdminPutPlayerRecordConcurrentHandlerV1Forbidden added in v0.58.0

type AdminPutPlayerRecordConcurrentHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutPlayerRecordConcurrentHandlerV1Forbidden 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 NewAdminPutPlayerRecordConcurrentHandlerV1Forbidden added in v0.58.0

func NewAdminPutPlayerRecordConcurrentHandlerV1Forbidden() *AdminPutPlayerRecordConcurrentHandlerV1Forbidden

NewAdminPutPlayerRecordConcurrentHandlerV1Forbidden creates a AdminPutPlayerRecordConcurrentHandlerV1Forbidden with default headers values

func (*AdminPutPlayerRecordConcurrentHandlerV1Forbidden) Error added in v0.58.0

func (*AdminPutPlayerRecordConcurrentHandlerV1Forbidden) GetPayload added in v0.58.0

func (*AdminPutPlayerRecordConcurrentHandlerV1Forbidden) ToJSONString added in v0.58.0

type AdminPutPlayerRecordConcurrentHandlerV1InternalServerError added in v0.21.0

type AdminPutPlayerRecordConcurrentHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

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

func NewAdminPutPlayerRecordConcurrentHandlerV1InternalServerError added in v0.21.0

func NewAdminPutPlayerRecordConcurrentHandlerV1InternalServerError() *AdminPutPlayerRecordConcurrentHandlerV1InternalServerError

NewAdminPutPlayerRecordConcurrentHandlerV1InternalServerError creates a AdminPutPlayerRecordConcurrentHandlerV1InternalServerError with default headers values

func (*AdminPutPlayerRecordConcurrentHandlerV1InternalServerError) Error added in v0.21.0

func (*AdminPutPlayerRecordConcurrentHandlerV1InternalServerError) GetPayload added in v0.21.0

func (*AdminPutPlayerRecordConcurrentHandlerV1InternalServerError) ToJSONString added in v0.25.0

type AdminPutPlayerRecordConcurrentHandlerV1NoContent added in v0.21.0

type AdminPutPlayerRecordConcurrentHandlerV1NoContent struct {
}

AdminPutPlayerRecordConcurrentHandlerV1NoContent handles this case with default header values.

Record saved

func NewAdminPutPlayerRecordConcurrentHandlerV1NoContent added in v0.21.0

func NewAdminPutPlayerRecordConcurrentHandlerV1NoContent() *AdminPutPlayerRecordConcurrentHandlerV1NoContent

NewAdminPutPlayerRecordConcurrentHandlerV1NoContent creates a AdminPutPlayerRecordConcurrentHandlerV1NoContent with default headers values

func (*AdminPutPlayerRecordConcurrentHandlerV1NoContent) Error added in v0.21.0

type AdminPutPlayerRecordConcurrentHandlerV1OK added in v0.59.0

type AdminPutPlayerRecordConcurrentHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsPlayerRecordConcurrentUpdateResponse
}

AdminPutPlayerRecordConcurrentHandlerV1OK handles this case with default header values.

Record saved

func NewAdminPutPlayerRecordConcurrentHandlerV1OK added in v0.59.0

func NewAdminPutPlayerRecordConcurrentHandlerV1OK() *AdminPutPlayerRecordConcurrentHandlerV1OK

NewAdminPutPlayerRecordConcurrentHandlerV1OK creates a AdminPutPlayerRecordConcurrentHandlerV1OK with default headers values

func (*AdminPutPlayerRecordConcurrentHandlerV1OK) Error added in v0.59.0

func (*AdminPutPlayerRecordConcurrentHandlerV1OK) GetPayload added in v0.59.0

func (*AdminPutPlayerRecordConcurrentHandlerV1OK) ToJSONString added in v0.59.0

type AdminPutPlayerRecordConcurrentHandlerV1Params added in v0.21.0

type AdminPutPlayerRecordConcurrentHandlerV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest
	/*Key
	  key of record

	*/
	Key string
	/*Namespace
	  namespace of the game, only accept alphabet and numeric

	*/
	Namespace string
	/*UserID
	  user ID who own the record, should follow UUID version 4 without hyphen format

	*/
	UserID string
	/*ResponseBody
	  flag to tell the service to return non empty response

	*/
	ResponseBody *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewAdminPutPlayerRecordConcurrentHandlerV1Params added in v0.21.0

func NewAdminPutPlayerRecordConcurrentHandlerV1Params() *AdminPutPlayerRecordConcurrentHandlerV1Params

NewAdminPutPlayerRecordConcurrentHandlerV1Params creates a new AdminPutPlayerRecordConcurrentHandlerV1Params object with the default values initialized.

func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithContext added in v0.21.0

func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *AdminPutPlayerRecordConcurrentHandlerV1Params

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

func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithHTTPClient added in v0.21.0

func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutPlayerRecordConcurrentHandlerV1Params

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

func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithTimeout added in v0.21.0

func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutPlayerRecordConcurrentHandlerV1Params

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetAuthInfoWriter added in v0.21.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetBody added in v0.21.0

SetBody adds the body to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetContext added in v0.21.0

SetContext adds the context to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetFlightId added in v0.63.0

func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetFlightId(flightId string)

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetHTTPClient added in v0.21.0

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

SetHTTPClient adds the HTTPClient to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetHTTPClientTransport added in v0.21.0

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

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetKey added in v0.21.0

SetKey adds the key to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetNamespace added in v0.21.0

func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetResponseBody added in v0.59.0

func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetResponseBody(responseBody *bool)

SetResponseBody adds the responseBody to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetTimeout added in v0.21.0

SetTimeout adds the timeout to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetUserID added in v0.21.0

SetUserID adds the userId to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithBody added in v0.21.0

WithBody adds the body to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithContext added in v0.21.0

WithContext adds the context to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithHTTPClient added in v0.21.0

WithHTTPClient adds the HTTPClient to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithKey added in v0.21.0

WithKey adds the key to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithNamespace added in v0.21.0

WithNamespace adds the namespace to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithResponseBody added in v0.59.0

WithResponseBody adds the responseBody to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithTimeout added in v0.21.0

WithTimeout adds the timeout to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithUserID added in v0.21.0

WithUserID adds the userID to the admin put player record concurrent handler v1 params

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WriteToRequest added in v0.21.0

WriteToRequest writes these params to a swagger request

type AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed added in v0.21.0

type AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18066</td><td>precondition failed: record has changed</td></tr></table>

func NewAdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed added in v0.21.0

func NewAdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed() *AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed

NewAdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed creates a AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed with default headers values

func (*AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed) Error added in v0.21.0

func (*AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed) GetPayload added in v0.21.0

func (*AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed) ToJSONString added in v0.25.0

type AdminPutPlayerRecordConcurrentHandlerV1Reader added in v0.21.0

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

AdminPutPlayerRecordConcurrentHandlerV1Reader is a Reader for the AdminPutPlayerRecordConcurrentHandlerV1 structure.

func (*AdminPutPlayerRecordConcurrentHandlerV1Reader) ReadResponse added in v0.21.0

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

ReadResponse reads a server response into the received o.

type AdminPutPlayerRecordConcurrentHandlerV1Unauthorized added in v0.21.0

type AdminPutPlayerRecordConcurrentHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutPlayerRecordConcurrentHandlerV1Unauthorized 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 NewAdminPutPlayerRecordConcurrentHandlerV1Unauthorized added in v0.21.0

func NewAdminPutPlayerRecordConcurrentHandlerV1Unauthorized() *AdminPutPlayerRecordConcurrentHandlerV1Unauthorized

NewAdminPutPlayerRecordConcurrentHandlerV1Unauthorized creates a AdminPutPlayerRecordConcurrentHandlerV1Unauthorized with default headers values

func (*AdminPutPlayerRecordConcurrentHandlerV1Unauthorized) Error added in v0.21.0

func (*AdminPutPlayerRecordConcurrentHandlerV1Unauthorized) GetPayload added in v0.21.0

func (*AdminPutPlayerRecordConcurrentHandlerV1Unauthorized) ToJSONString added in v0.25.0

type Client

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

Client for admin concurrent record API

func (*Client) AdminPutAdminGameRecordConcurrentHandlerV1 deprecated added in v0.49.0

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

AdminPutAdminGameRecordConcurrentHandlerV1 create or replace admin 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" }`

## Reserved Word

Reserved Word List: **__META**

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

## Parameters Notes 1. updatedAt (required: true) Time format style: RFC3339 2. value Json 3. tags (default: *empty array*, type: array of string) Indicate the tagging for the admin record. **Request Body Example:** ``` { "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z", "tags": ["tag1", "tag2"] } ``` ## Optimistic Concurrency Control

This endpoint implement optimistic concurrency control to avoid race condition. If the record has been updated since the client fetch it, the server will return HTTP status code 412 (precondition failed) and client need to redo the operation (fetch data and do update). Otherwise, the server will process the request.

func (*Client) AdminPutAdminGameRecordConcurrentHandlerV1Short added in v0.49.0

AdminPutAdminGameRecordConcurrentHandlerV1Short create or replace admin 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" }`

## Reserved Word

Reserved Word List: **__META**

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

## Parameters Notes 1. updatedAt (required: true) Time format style: RFC3339 2. value Json 3. tags (default: *empty array*, type: array of string) Indicate the tagging for the admin record. **Request Body Example:** ``` { "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z", "tags": ["tag1", "tag2"] } ``` ## Optimistic Concurrency Control

This endpoint implement optimistic concurrency control to avoid race condition. If the record has been updated since the client fetch it, the server will return HTTP status code 412 (precondition failed) and client need to redo the operation (fetch data and do update). Otherwise, the server will process the request.

func (*Client) AdminPutAdminPlayerRecordConcurrentHandlerV1 deprecated added in v0.49.0

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

AdminPutAdminPlayerRecordConcurrentHandlerV1 create or replace admin player record ## Description

This endpoints will create new admin player record or replace the existing admin player 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" }`

## Reserved Word

Reserved Word List: **__META**

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

## Parameters Notes 1. updatedAt (required: true) Time format style: RFC3339 2. value Json 3. tags (default: *empty array*, type: array of string) Indicate the tagging for the admin record. **Request Body Example:** ``` { "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z", "tags": ["tag1", "tag2"] } ```

## Optimistic Concurrency Control

This endpoint implement optimistic concurrency control to avoid race condition. If the record has been updated since the client fetch it, the server will return HTTP status code 412 (precondition failed) and client need to redo the operation (fetch data and do update). Otherwise, the server will process the request.

func (*Client) AdminPutAdminPlayerRecordConcurrentHandlerV1Short added in v0.49.0

func (a *Client) AdminPutAdminPlayerRecordConcurrentHandlerV1Short(params *AdminPutAdminPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutAdminPlayerRecordConcurrentHandlerV1OK, error)

AdminPutAdminPlayerRecordConcurrentHandlerV1Short create or replace admin player record ## Description

This endpoints will create new admin player record or replace the existing admin player 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" }`

## Reserved Word

Reserved Word List: **__META**

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

## Parameters Notes 1. updatedAt (required: true) Time format style: RFC3339 2. value Json 3. tags (default: *empty array*, type: array of string) Indicate the tagging for the admin record. **Request Body Example:** ``` { "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z", "tags": ["tag1", "tag2"] } ```

## Optimistic Concurrency Control

This endpoint implement optimistic concurrency control to avoid race condition. If the record has been updated since the client fetch it, the server will return HTTP status code 412 (precondition failed) and client need to redo the operation (fetch data and do update). Otherwise, the server will process the request.

func (*Client) AdminPutGameRecordConcurrentHandlerV1 deprecated

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

AdminPutGameRecordConcurrentHandlerV1 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" }`

## Reserved Word

Reserved Word List: **__META**

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

## Parameters Notes 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. updatedAt (required: true) Time format style: RFC3339 3. value Json 4. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record. **Request Body Example:** ``` { "set_by": "SERVER", "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z", "tags": ["tag1", "tag2"] } ``` ## Optimistic Concurrency Control

This endpoint implement optimistic concurrency control to avoid race condition. If the record has been updated since the client fetch it, the server will return HTTP status code 412 (precondition failed) and client need to redo the operation (fetch data and do update). Otherwise, the server will process the request.

func (*Client) AdminPutGameRecordConcurrentHandlerV1Short

AdminPutGameRecordConcurrentHandlerV1Short 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" }`

## Reserved Word

Reserved Word List: **__META**

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

## Parameters Notes 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. updatedAt (required: true) Time format style: RFC3339 3. value Json 4. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record. **Request Body Example:** ``` { "set_by": "SERVER", "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z", "tags": ["tag1", "tag2"] } ``` ## Optimistic Concurrency Control

This endpoint implement optimistic concurrency control to avoid race condition. If the record has been updated since the client fetch it, the server will return HTTP status code 412 (precondition failed) and client need to redo the operation (fetch data and do update). Otherwise, the server will process the request.

func (*Client) AdminPutPlayerPublicRecordConcurrentHandlerV1 deprecated

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

AdminPutPlayerPublicRecordConcurrentHandlerV1 create or replace player public record ## Description

This endpoints will create new player public record or replace the existing player public 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" }`

## Reserved Word

Reserved Word List: **__META**

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

## Parameters Notes 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. updatedAt (required: true) Time format style: RFC3339 3. value Json 4. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record. **Request Body Example:** ``` { "set_by": "SERVER", "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z", "tags": ["tag1", "tag2"] } ```

## Optimistic Concurrency Control

This endpoint implement optimistic concurrency control to avoid race condition. If the record has been updated since the client fetch it, the server will return HTTP status code 412 (precondition failed) and client need to redo the operation (fetch data and do update). Otherwise, the server will process the request.

func (*Client) AdminPutPlayerPublicRecordConcurrentHandlerV1Short

func (a *Client) AdminPutPlayerPublicRecordConcurrentHandlerV1Short(params *AdminPutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerPublicRecordConcurrentHandlerV1OK, error)

AdminPutPlayerPublicRecordConcurrentHandlerV1Short create or replace player public record ## Description

This endpoints will create new player public record or replace the existing player public 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" }`

## Reserved Word

Reserved Word List: **__META**

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

## Parameters Notes 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. updatedAt (required: true) Time format style: RFC3339 3. value Json 4. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record. **Request Body Example:** ``` { "set_by": "SERVER", "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z", "tags": ["tag1", "tag2"] } ```

## Optimistic Concurrency Control

This endpoint implement optimistic concurrency control to avoid race condition. If the record has been updated since the client fetch it, the server will return HTTP status code 412 (precondition failed) and client need to redo the operation (fetch data and do update). Otherwise, the server will process the request.

func (*Client) AdminPutPlayerRecordConcurrentHandlerV1 deprecated added in v0.21.0

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

AdminPutPlayerRecordConcurrentHandlerV1 create or replace player private record ## Description

This endpoints will create new player record or replace the existing player 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" }`

## Reserved Word

Reserved Word List: **__META**

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

## Parameters Notes 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. updatedAt (required: true) Time format style: RFC3339 3. value Json 4. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record. **Request Body Example:** ``` { "set_by": "SERVER", "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z", "tags": ["tag1", "tag2"] } ```

## Optimistic Concurrency Control

This endpoint implement optimistic concurrency control to avoid race condition. If the record has been updated since the client fetch it, the server will return HTTP status code 412 (precondition failed) and client need to redo the operation (fetch data and do update). Otherwise, the server will process the request.

func (*Client) AdminPutPlayerRecordConcurrentHandlerV1Short added in v0.21.0

func (a *Client) AdminPutPlayerRecordConcurrentHandlerV1Short(params *AdminPutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerRecordConcurrentHandlerV1OK, error)

AdminPutPlayerRecordConcurrentHandlerV1Short create or replace player private record ## Description

This endpoints will create new player record or replace the existing player 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" }`

## Reserved Word

Reserved Word List: **__META**

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

## Parameters Notes 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. updatedAt (required: true) Time format style: RFC3339 3. value Json 4. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record. **Request Body Example:** ``` { "set_by": "SERVER", "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z", "tags": ["tag1", "tag2"] } ```

## Optimistic Concurrency Control

This endpoint implement optimistic concurrency control to avoid race condition. If the record has been updated since the client fetch it, the server will return HTTP status code 412 (precondition failed) and client need to redo the operation (fetch data and do update). Otherwise, the server will process the request.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminPutAdminGameRecordConcurrentHandlerV1(params *AdminPutAdminGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutAdminGameRecordConcurrentHandlerV1NoContent, *AdminPutAdminGameRecordConcurrentHandlerV1BadRequest, *AdminPutAdminGameRecordConcurrentHandlerV1Unauthorized, *AdminPutAdminGameRecordConcurrentHandlerV1Forbidden, *AdminPutAdminGameRecordConcurrentHandlerV1PreconditionFailed, *AdminPutAdminGameRecordConcurrentHandlerV1InternalServerError, error)
	AdminPutAdminGameRecordConcurrentHandlerV1Short(params *AdminPutAdminGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutAdminGameRecordConcurrentHandlerV1NoContent, error)
	AdminPutGameRecordConcurrentHandlerV1(params *AdminPutGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordConcurrentHandlerV1NoContent, *AdminPutGameRecordConcurrentHandlerV1BadRequest, *AdminPutGameRecordConcurrentHandlerV1Unauthorized, *AdminPutGameRecordConcurrentHandlerV1Forbidden, *AdminPutGameRecordConcurrentHandlerV1PreconditionFailed, *AdminPutGameRecordConcurrentHandlerV1InternalServerError, error)
	AdminPutGameRecordConcurrentHandlerV1Short(params *AdminPutGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordConcurrentHandlerV1NoContent, error)
	AdminPutAdminPlayerRecordConcurrentHandlerV1(params *AdminPutAdminPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutAdminPlayerRecordConcurrentHandlerV1OK, *AdminPutAdminPlayerRecordConcurrentHandlerV1NoContent, *AdminPutAdminPlayerRecordConcurrentHandlerV1BadRequest, *AdminPutAdminPlayerRecordConcurrentHandlerV1Unauthorized, *AdminPutAdminPlayerRecordConcurrentHandlerV1Forbidden, *AdminPutAdminPlayerRecordConcurrentHandlerV1PreconditionFailed, *AdminPutAdminPlayerRecordConcurrentHandlerV1InternalServerError, error)
	AdminPutAdminPlayerRecordConcurrentHandlerV1Short(params *AdminPutAdminPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutAdminPlayerRecordConcurrentHandlerV1OK, error)
	AdminPutPlayerRecordConcurrentHandlerV1(params *AdminPutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerRecordConcurrentHandlerV1OK, *AdminPutPlayerRecordConcurrentHandlerV1NoContent, *AdminPutPlayerRecordConcurrentHandlerV1BadRequest, *AdminPutPlayerRecordConcurrentHandlerV1Unauthorized, *AdminPutPlayerRecordConcurrentHandlerV1Forbidden, *AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed, *AdminPutPlayerRecordConcurrentHandlerV1InternalServerError, error)
	AdminPutPlayerRecordConcurrentHandlerV1Short(params *AdminPutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerRecordConcurrentHandlerV1OK, error)
	AdminPutPlayerPublicRecordConcurrentHandlerV1(params *AdminPutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerPublicRecordConcurrentHandlerV1OK, *AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent, *AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest, *AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized, *AdminPutPlayerPublicRecordConcurrentHandlerV1Forbidden, *AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed, *AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError, error)
	AdminPutPlayerPublicRecordConcurrentHandlerV1Short(params *AdminPutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerPublicRecordConcurrentHandlerV1OK, 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 concurrent record API client.

Jump to

Keyboard shortcuts

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