concurrent_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 Client

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

Client for concurrent record API

func (*Client) PutGameRecordConcurrentHandlerV1 deprecated

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

PutGameRecordConcurrentHandlerV1 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.

## 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) PutGameRecordConcurrentHandlerV1Short

func (a *Client) PutGameRecordConcurrentHandlerV1Short(params *PutGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameRecordConcurrentHandlerV1NoContent, error)

PutGameRecordConcurrentHandlerV1Short 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.

## 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) PutPlayerPublicRecordConcurrentHandlerV1 deprecated

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

PutPlayerPublicRecordConcurrentHandlerV1 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.

## 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) PutPlayerPublicRecordConcurrentHandlerV1Short

func (a *Client) PutPlayerPublicRecordConcurrentHandlerV1Short(params *PutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordConcurrentHandlerV1OK, error)

PutPlayerPublicRecordConcurrentHandlerV1Short 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.

## 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) PutPlayerRecordConcurrentHandlerV1 deprecated

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

PutPlayerRecordConcurrentHandlerV1 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.

## 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) PutPlayerRecordConcurrentHandlerV1Short

func (a *Client) PutPlayerRecordConcurrentHandlerV1Short(params *PutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordConcurrentHandlerV1OK, error)

PutPlayerRecordConcurrentHandlerV1Short 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.

## 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 {
	PutGameRecordConcurrentHandlerV1(params *PutGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameRecordConcurrentHandlerV1NoContent, *PutGameRecordConcurrentHandlerV1BadRequest, *PutGameRecordConcurrentHandlerV1Unauthorized, *PutGameRecordConcurrentHandlerV1Forbidden, *PutGameRecordConcurrentHandlerV1PreconditionFailed, *PutGameRecordConcurrentHandlerV1InternalServerError, error)
	PutGameRecordConcurrentHandlerV1Short(params *PutGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameRecordConcurrentHandlerV1NoContent, error)
	PutPlayerRecordConcurrentHandlerV1(params *PutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordConcurrentHandlerV1OK, *PutPlayerRecordConcurrentHandlerV1NoContent, *PutPlayerRecordConcurrentHandlerV1BadRequest, *PutPlayerRecordConcurrentHandlerV1Unauthorized, *PutPlayerRecordConcurrentHandlerV1Forbidden, *PutPlayerRecordConcurrentHandlerV1PreconditionFailed, *PutPlayerRecordConcurrentHandlerV1InternalServerError, error)
	PutPlayerRecordConcurrentHandlerV1Short(params *PutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordConcurrentHandlerV1OK, error)
	PutPlayerPublicRecordConcurrentHandlerV1(params *PutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordConcurrentHandlerV1OK, *PutPlayerPublicRecordConcurrentHandlerV1NoContent, *PutPlayerPublicRecordConcurrentHandlerV1BadRequest, *PutPlayerPublicRecordConcurrentHandlerV1Unauthorized, *PutPlayerPublicRecordConcurrentHandlerV1Forbidden, *PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed, *PutPlayerPublicRecordConcurrentHandlerV1InternalServerError, error)
	PutPlayerPublicRecordConcurrentHandlerV1Short(params *PutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordConcurrentHandlerV1OK, 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 concurrent record API client.

type PutGameRecordConcurrentHandlerV1BadRequest

type PutGameRecordConcurrentHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutGameRecordConcurrentHandlerV1BadRequest 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 NewPutGameRecordConcurrentHandlerV1BadRequest

func NewPutGameRecordConcurrentHandlerV1BadRequest() *PutGameRecordConcurrentHandlerV1BadRequest

NewPutGameRecordConcurrentHandlerV1BadRequest creates a PutGameRecordConcurrentHandlerV1BadRequest with default headers values

func (*PutGameRecordConcurrentHandlerV1BadRequest) Error

func (*PutGameRecordConcurrentHandlerV1BadRequest) GetPayload

func (*PutGameRecordConcurrentHandlerV1BadRequest) ToJSONString

type PutGameRecordConcurrentHandlerV1Forbidden

type PutGameRecordConcurrentHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutGameRecordConcurrentHandlerV1Forbidden 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 NewPutGameRecordConcurrentHandlerV1Forbidden

func NewPutGameRecordConcurrentHandlerV1Forbidden() *PutGameRecordConcurrentHandlerV1Forbidden

NewPutGameRecordConcurrentHandlerV1Forbidden creates a PutGameRecordConcurrentHandlerV1Forbidden with default headers values

func (*PutGameRecordConcurrentHandlerV1Forbidden) Error

func (*PutGameRecordConcurrentHandlerV1Forbidden) GetPayload

func (*PutGameRecordConcurrentHandlerV1Forbidden) ToJSONString

type PutGameRecordConcurrentHandlerV1InternalServerError

type PutGameRecordConcurrentHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutGameRecordConcurrentHandlerV1InternalServerError 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 NewPutGameRecordConcurrentHandlerV1InternalServerError

func NewPutGameRecordConcurrentHandlerV1InternalServerError() *PutGameRecordConcurrentHandlerV1InternalServerError

NewPutGameRecordConcurrentHandlerV1InternalServerError creates a PutGameRecordConcurrentHandlerV1InternalServerError with default headers values

func (*PutGameRecordConcurrentHandlerV1InternalServerError) Error

func (*PutGameRecordConcurrentHandlerV1InternalServerError) GetPayload

func (*PutGameRecordConcurrentHandlerV1InternalServerError) ToJSONString

type PutGameRecordConcurrentHandlerV1NoContent

type PutGameRecordConcurrentHandlerV1NoContent struct {
}

PutGameRecordConcurrentHandlerV1NoContent handles this case with default header values.

Record saved

func NewPutGameRecordConcurrentHandlerV1NoContent

func NewPutGameRecordConcurrentHandlerV1NoContent() *PutGameRecordConcurrentHandlerV1NoContent

NewPutGameRecordConcurrentHandlerV1NoContent creates a PutGameRecordConcurrentHandlerV1NoContent with default headers values

func (*PutGameRecordConcurrentHandlerV1NoContent) Error

type PutGameRecordConcurrentHandlerV1Params

type PutGameRecordConcurrentHandlerV1Params struct {

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

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

func NewPutGameRecordConcurrentHandlerV1Params

func NewPutGameRecordConcurrentHandlerV1Params() *PutGameRecordConcurrentHandlerV1Params

NewPutGameRecordConcurrentHandlerV1Params creates a new PutGameRecordConcurrentHandlerV1Params object with the default values initialized.

func NewPutGameRecordConcurrentHandlerV1ParamsWithContext

func NewPutGameRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *PutGameRecordConcurrentHandlerV1Params

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

func NewPutGameRecordConcurrentHandlerV1ParamsWithHTTPClient

func NewPutGameRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *PutGameRecordConcurrentHandlerV1Params

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

func NewPutGameRecordConcurrentHandlerV1ParamsWithTimeout

func NewPutGameRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *PutGameRecordConcurrentHandlerV1Params

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

func (*PutGameRecordConcurrentHandlerV1Params) SetAuthInfoWriter

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

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

func (*PutGameRecordConcurrentHandlerV1Params) SetBody

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

func (*PutGameRecordConcurrentHandlerV1Params) SetContext

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

func (*PutGameRecordConcurrentHandlerV1Params) SetFlightId

func (o *PutGameRecordConcurrentHandlerV1Params) SetFlightId(flightId string)

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

func (*PutGameRecordConcurrentHandlerV1Params) SetHTTPClient

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

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

func (*PutGameRecordConcurrentHandlerV1Params) SetHTTPClientTransport

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

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

func (*PutGameRecordConcurrentHandlerV1Params) SetKey

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

func (*PutGameRecordConcurrentHandlerV1Params) SetNamespace

func (o *PutGameRecordConcurrentHandlerV1Params) SetNamespace(namespace string)

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

func (*PutGameRecordConcurrentHandlerV1Params) SetTimeout

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

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

func (*PutGameRecordConcurrentHandlerV1Params) WithBody

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

func (*PutGameRecordConcurrentHandlerV1Params) WithContext

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

func (*PutGameRecordConcurrentHandlerV1Params) WithHTTPClient

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

func (*PutGameRecordConcurrentHandlerV1Params) WithKey

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

func (*PutGameRecordConcurrentHandlerV1Params) WithNamespace

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

func (*PutGameRecordConcurrentHandlerV1Params) WithTimeout

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

func (*PutGameRecordConcurrentHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutGameRecordConcurrentHandlerV1PreconditionFailed

type PutGameRecordConcurrentHandlerV1PreconditionFailed struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutGameRecordConcurrentHandlerV1PreconditionFailed 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 NewPutGameRecordConcurrentHandlerV1PreconditionFailed

func NewPutGameRecordConcurrentHandlerV1PreconditionFailed() *PutGameRecordConcurrentHandlerV1PreconditionFailed

NewPutGameRecordConcurrentHandlerV1PreconditionFailed creates a PutGameRecordConcurrentHandlerV1PreconditionFailed with default headers values

func (*PutGameRecordConcurrentHandlerV1PreconditionFailed) Error

func (*PutGameRecordConcurrentHandlerV1PreconditionFailed) GetPayload

func (*PutGameRecordConcurrentHandlerV1PreconditionFailed) ToJSONString

type PutGameRecordConcurrentHandlerV1Reader

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

PutGameRecordConcurrentHandlerV1Reader is a Reader for the PutGameRecordConcurrentHandlerV1 structure.

func (*PutGameRecordConcurrentHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutGameRecordConcurrentHandlerV1Unauthorized

type PutGameRecordConcurrentHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutGameRecordConcurrentHandlerV1Unauthorized 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 NewPutGameRecordConcurrentHandlerV1Unauthorized

func NewPutGameRecordConcurrentHandlerV1Unauthorized() *PutGameRecordConcurrentHandlerV1Unauthorized

NewPutGameRecordConcurrentHandlerV1Unauthorized creates a PutGameRecordConcurrentHandlerV1Unauthorized with default headers values

func (*PutGameRecordConcurrentHandlerV1Unauthorized) Error

func (*PutGameRecordConcurrentHandlerV1Unauthorized) GetPayload

func (*PutGameRecordConcurrentHandlerV1Unauthorized) ToJSONString

type PutPlayerPublicRecordConcurrentHandlerV1BadRequest

type PutPlayerPublicRecordConcurrentHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerPublicRecordConcurrentHandlerV1BadRequest 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 NewPutPlayerPublicRecordConcurrentHandlerV1BadRequest

func NewPutPlayerPublicRecordConcurrentHandlerV1BadRequest() *PutPlayerPublicRecordConcurrentHandlerV1BadRequest

NewPutPlayerPublicRecordConcurrentHandlerV1BadRequest creates a PutPlayerPublicRecordConcurrentHandlerV1BadRequest with default headers values

func (*PutPlayerPublicRecordConcurrentHandlerV1BadRequest) Error

func (*PutPlayerPublicRecordConcurrentHandlerV1BadRequest) GetPayload

func (*PutPlayerPublicRecordConcurrentHandlerV1BadRequest) ToJSONString

type PutPlayerPublicRecordConcurrentHandlerV1Forbidden

type PutPlayerPublicRecordConcurrentHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerPublicRecordConcurrentHandlerV1Forbidden 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 NewPutPlayerPublicRecordConcurrentHandlerV1Forbidden

func NewPutPlayerPublicRecordConcurrentHandlerV1Forbidden() *PutPlayerPublicRecordConcurrentHandlerV1Forbidden

NewPutPlayerPublicRecordConcurrentHandlerV1Forbidden creates a PutPlayerPublicRecordConcurrentHandlerV1Forbidden with default headers values

func (*PutPlayerPublicRecordConcurrentHandlerV1Forbidden) Error

func (*PutPlayerPublicRecordConcurrentHandlerV1Forbidden) GetPayload

func (*PutPlayerPublicRecordConcurrentHandlerV1Forbidden) ToJSONString

type PutPlayerPublicRecordConcurrentHandlerV1InternalServerError

type PutPlayerPublicRecordConcurrentHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerPublicRecordConcurrentHandlerV1InternalServerError 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 NewPutPlayerPublicRecordConcurrentHandlerV1InternalServerError

func NewPutPlayerPublicRecordConcurrentHandlerV1InternalServerError() *PutPlayerPublicRecordConcurrentHandlerV1InternalServerError

NewPutPlayerPublicRecordConcurrentHandlerV1InternalServerError creates a PutPlayerPublicRecordConcurrentHandlerV1InternalServerError with default headers values

func (*PutPlayerPublicRecordConcurrentHandlerV1InternalServerError) Error

func (*PutPlayerPublicRecordConcurrentHandlerV1InternalServerError) GetPayload

func (*PutPlayerPublicRecordConcurrentHandlerV1InternalServerError) ToJSONString

type PutPlayerPublicRecordConcurrentHandlerV1NoContent

type PutPlayerPublicRecordConcurrentHandlerV1NoContent struct {
}

PutPlayerPublicRecordConcurrentHandlerV1NoContent handles this case with default header values.

Record saved

func NewPutPlayerPublicRecordConcurrentHandlerV1NoContent

func NewPutPlayerPublicRecordConcurrentHandlerV1NoContent() *PutPlayerPublicRecordConcurrentHandlerV1NoContent

NewPutPlayerPublicRecordConcurrentHandlerV1NoContent creates a PutPlayerPublicRecordConcurrentHandlerV1NoContent with default headers values

func (*PutPlayerPublicRecordConcurrentHandlerV1NoContent) Error

type PutPlayerPublicRecordConcurrentHandlerV1OK

type PutPlayerPublicRecordConcurrentHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsPlayerRecordConcurrentUpdateResponse
}

PutPlayerPublicRecordConcurrentHandlerV1OK handles this case with default header values.

Record saved

func NewPutPlayerPublicRecordConcurrentHandlerV1OK

func NewPutPlayerPublicRecordConcurrentHandlerV1OK() *PutPlayerPublicRecordConcurrentHandlerV1OK

NewPutPlayerPublicRecordConcurrentHandlerV1OK creates a PutPlayerPublicRecordConcurrentHandlerV1OK with default headers values

func (*PutPlayerPublicRecordConcurrentHandlerV1OK) Error

func (*PutPlayerPublicRecordConcurrentHandlerV1OK) GetPayload

func (*PutPlayerPublicRecordConcurrentHandlerV1OK) ToJSONString

type PutPlayerPublicRecordConcurrentHandlerV1Params

type PutPlayerPublicRecordConcurrentHandlerV1Params struct {

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

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

func NewPutPlayerPublicRecordConcurrentHandlerV1Params

func NewPutPlayerPublicRecordConcurrentHandlerV1Params() *PutPlayerPublicRecordConcurrentHandlerV1Params

NewPutPlayerPublicRecordConcurrentHandlerV1Params creates a new PutPlayerPublicRecordConcurrentHandlerV1Params object with the default values initialized.

func NewPutPlayerPublicRecordConcurrentHandlerV1ParamsWithContext

func NewPutPlayerPublicRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *PutPlayerPublicRecordConcurrentHandlerV1Params

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

func NewPutPlayerPublicRecordConcurrentHandlerV1ParamsWithHTTPClient

func NewPutPlayerPublicRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *PutPlayerPublicRecordConcurrentHandlerV1Params

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

func NewPutPlayerPublicRecordConcurrentHandlerV1ParamsWithTimeout

func NewPutPlayerPublicRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *PutPlayerPublicRecordConcurrentHandlerV1Params

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetAuthInfoWriter

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetBody

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetContext

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetFlightId

func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetFlightId(flightId string)

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClient

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClientTransport

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

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetKey

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetNamespace

func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetNamespace(namespace string)

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetResponseBody

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

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetTimeout

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetUserID

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithBody

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithContext

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithHTTPClient

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithKey

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithNamespace

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithResponseBody

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithTimeout

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithUserID

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

func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed

type PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed 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 NewPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed

func NewPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed() *PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed

NewPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed creates a PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed with default headers values

func (*PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) Error

func (*PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) GetPayload

func (*PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) ToJSONString

type PutPlayerPublicRecordConcurrentHandlerV1Reader

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

PutPlayerPublicRecordConcurrentHandlerV1Reader is a Reader for the PutPlayerPublicRecordConcurrentHandlerV1 structure.

func (*PutPlayerPublicRecordConcurrentHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutPlayerPublicRecordConcurrentHandlerV1Unauthorized

type PutPlayerPublicRecordConcurrentHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerPublicRecordConcurrentHandlerV1Unauthorized 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 NewPutPlayerPublicRecordConcurrentHandlerV1Unauthorized

func NewPutPlayerPublicRecordConcurrentHandlerV1Unauthorized() *PutPlayerPublicRecordConcurrentHandlerV1Unauthorized

NewPutPlayerPublicRecordConcurrentHandlerV1Unauthorized creates a PutPlayerPublicRecordConcurrentHandlerV1Unauthorized with default headers values

func (*PutPlayerPublicRecordConcurrentHandlerV1Unauthorized) Error

func (*PutPlayerPublicRecordConcurrentHandlerV1Unauthorized) GetPayload

func (*PutPlayerPublicRecordConcurrentHandlerV1Unauthorized) ToJSONString

type PutPlayerRecordConcurrentHandlerV1BadRequest

type PutPlayerRecordConcurrentHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerRecordConcurrentHandlerV1BadRequest 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 NewPutPlayerRecordConcurrentHandlerV1BadRequest

func NewPutPlayerRecordConcurrentHandlerV1BadRequest() *PutPlayerRecordConcurrentHandlerV1BadRequest

NewPutPlayerRecordConcurrentHandlerV1BadRequest creates a PutPlayerRecordConcurrentHandlerV1BadRequest with default headers values

func (*PutPlayerRecordConcurrentHandlerV1BadRequest) Error

func (*PutPlayerRecordConcurrentHandlerV1BadRequest) GetPayload

func (*PutPlayerRecordConcurrentHandlerV1BadRequest) ToJSONString

type PutPlayerRecordConcurrentHandlerV1Forbidden

type PutPlayerRecordConcurrentHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerRecordConcurrentHandlerV1Forbidden 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 NewPutPlayerRecordConcurrentHandlerV1Forbidden

func NewPutPlayerRecordConcurrentHandlerV1Forbidden() *PutPlayerRecordConcurrentHandlerV1Forbidden

NewPutPlayerRecordConcurrentHandlerV1Forbidden creates a PutPlayerRecordConcurrentHandlerV1Forbidden with default headers values

func (*PutPlayerRecordConcurrentHandlerV1Forbidden) Error

func (*PutPlayerRecordConcurrentHandlerV1Forbidden) GetPayload

func (*PutPlayerRecordConcurrentHandlerV1Forbidden) ToJSONString

type PutPlayerRecordConcurrentHandlerV1InternalServerError

type PutPlayerRecordConcurrentHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerRecordConcurrentHandlerV1InternalServerError 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 NewPutPlayerRecordConcurrentHandlerV1InternalServerError

func NewPutPlayerRecordConcurrentHandlerV1InternalServerError() *PutPlayerRecordConcurrentHandlerV1InternalServerError

NewPutPlayerRecordConcurrentHandlerV1InternalServerError creates a PutPlayerRecordConcurrentHandlerV1InternalServerError with default headers values

func (*PutPlayerRecordConcurrentHandlerV1InternalServerError) Error

func (*PutPlayerRecordConcurrentHandlerV1InternalServerError) GetPayload

func (*PutPlayerRecordConcurrentHandlerV1InternalServerError) ToJSONString

type PutPlayerRecordConcurrentHandlerV1NoContent

type PutPlayerRecordConcurrentHandlerV1NoContent struct {
}

PutPlayerRecordConcurrentHandlerV1NoContent handles this case with default header values.

Record saved

func NewPutPlayerRecordConcurrentHandlerV1NoContent

func NewPutPlayerRecordConcurrentHandlerV1NoContent() *PutPlayerRecordConcurrentHandlerV1NoContent

NewPutPlayerRecordConcurrentHandlerV1NoContent creates a PutPlayerRecordConcurrentHandlerV1NoContent with default headers values

func (*PutPlayerRecordConcurrentHandlerV1NoContent) Error

type PutPlayerRecordConcurrentHandlerV1OK

type PutPlayerRecordConcurrentHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsPlayerRecordConcurrentUpdateResponse
}

PutPlayerRecordConcurrentHandlerV1OK handles this case with default header values.

Record saved

func NewPutPlayerRecordConcurrentHandlerV1OK

func NewPutPlayerRecordConcurrentHandlerV1OK() *PutPlayerRecordConcurrentHandlerV1OK

NewPutPlayerRecordConcurrentHandlerV1OK creates a PutPlayerRecordConcurrentHandlerV1OK with default headers values

func (*PutPlayerRecordConcurrentHandlerV1OK) Error

func (*PutPlayerRecordConcurrentHandlerV1OK) GetPayload

func (*PutPlayerRecordConcurrentHandlerV1OK) ToJSONString

func (o *PutPlayerRecordConcurrentHandlerV1OK) ToJSONString() string

type PutPlayerRecordConcurrentHandlerV1Params

type PutPlayerRecordConcurrentHandlerV1Params struct {

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

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

func NewPutPlayerRecordConcurrentHandlerV1Params

func NewPutPlayerRecordConcurrentHandlerV1Params() *PutPlayerRecordConcurrentHandlerV1Params

NewPutPlayerRecordConcurrentHandlerV1Params creates a new PutPlayerRecordConcurrentHandlerV1Params object with the default values initialized.

func NewPutPlayerRecordConcurrentHandlerV1ParamsWithContext

func NewPutPlayerRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *PutPlayerRecordConcurrentHandlerV1Params

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

func NewPutPlayerRecordConcurrentHandlerV1ParamsWithHTTPClient

func NewPutPlayerRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *PutPlayerRecordConcurrentHandlerV1Params

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

func NewPutPlayerRecordConcurrentHandlerV1ParamsWithTimeout

func NewPutPlayerRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *PutPlayerRecordConcurrentHandlerV1Params

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

func (*PutPlayerRecordConcurrentHandlerV1Params) SetAuthInfoWriter

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

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

func (*PutPlayerRecordConcurrentHandlerV1Params) SetBody

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

func (*PutPlayerRecordConcurrentHandlerV1Params) SetContext

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

func (*PutPlayerRecordConcurrentHandlerV1Params) SetFlightId

func (o *PutPlayerRecordConcurrentHandlerV1Params) SetFlightId(flightId string)

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

func (*PutPlayerRecordConcurrentHandlerV1Params) SetHTTPClient

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

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

func (*PutPlayerRecordConcurrentHandlerV1Params) SetHTTPClientTransport

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

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

func (*PutPlayerRecordConcurrentHandlerV1Params) SetKey

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

func (*PutPlayerRecordConcurrentHandlerV1Params) SetNamespace

func (o *PutPlayerRecordConcurrentHandlerV1Params) SetNamespace(namespace string)

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

func (*PutPlayerRecordConcurrentHandlerV1Params) SetResponseBody

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

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

func (*PutPlayerRecordConcurrentHandlerV1Params) SetTimeout

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

func (*PutPlayerRecordConcurrentHandlerV1Params) SetUserID

func (o *PutPlayerRecordConcurrentHandlerV1Params) SetUserID(userID string)

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

func (*PutPlayerRecordConcurrentHandlerV1Params) WithBody

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

func (*PutPlayerRecordConcurrentHandlerV1Params) WithContext

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

func (*PutPlayerRecordConcurrentHandlerV1Params) WithHTTPClient

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

func (*PutPlayerRecordConcurrentHandlerV1Params) WithKey

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

func (*PutPlayerRecordConcurrentHandlerV1Params) WithNamespace

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

func (*PutPlayerRecordConcurrentHandlerV1Params) WithResponseBody

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

func (*PutPlayerRecordConcurrentHandlerV1Params) WithTimeout

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

func (*PutPlayerRecordConcurrentHandlerV1Params) WithUserID

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

func (*PutPlayerRecordConcurrentHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutPlayerRecordConcurrentHandlerV1PreconditionFailed

type PutPlayerRecordConcurrentHandlerV1PreconditionFailed struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerRecordConcurrentHandlerV1PreconditionFailed 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 NewPutPlayerRecordConcurrentHandlerV1PreconditionFailed

func NewPutPlayerRecordConcurrentHandlerV1PreconditionFailed() *PutPlayerRecordConcurrentHandlerV1PreconditionFailed

NewPutPlayerRecordConcurrentHandlerV1PreconditionFailed creates a PutPlayerRecordConcurrentHandlerV1PreconditionFailed with default headers values

func (*PutPlayerRecordConcurrentHandlerV1PreconditionFailed) Error

func (*PutPlayerRecordConcurrentHandlerV1PreconditionFailed) GetPayload

func (*PutPlayerRecordConcurrentHandlerV1PreconditionFailed) ToJSONString

type PutPlayerRecordConcurrentHandlerV1Reader

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

PutPlayerRecordConcurrentHandlerV1Reader is a Reader for the PutPlayerRecordConcurrentHandlerV1 structure.

func (*PutPlayerRecordConcurrentHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutPlayerRecordConcurrentHandlerV1Unauthorized

type PutPlayerRecordConcurrentHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerRecordConcurrentHandlerV1Unauthorized 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 NewPutPlayerRecordConcurrentHandlerV1Unauthorized

func NewPutPlayerRecordConcurrentHandlerV1Unauthorized() *PutPlayerRecordConcurrentHandlerV1Unauthorized

NewPutPlayerRecordConcurrentHandlerV1Unauthorized creates a PutPlayerRecordConcurrentHandlerV1Unauthorized with default headers values

func (*PutPlayerRecordConcurrentHandlerV1Unauthorized) Error

func (*PutPlayerRecordConcurrentHandlerV1Unauthorized) GetPayload

func (*PutPlayerRecordConcurrentHandlerV1Unauthorized) ToJSONString

Jump to

Keyboard shortcuts

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