Documentation ¶
Index ¶
- type Client
- func (a *Client) PutGameRecordConcurrentHandlerV1(params *PutGameRecordConcurrentHandlerV1Params, ...) (*PutGameRecordConcurrentHandlerV1NoContent, ...)
- func (a *Client) PutGameRecordConcurrentHandlerV1Short(params *PutGameRecordConcurrentHandlerV1Params, ...) (*PutGameRecordConcurrentHandlerV1NoContent, error)
- func (a *Client) PutPlayerPublicRecordConcurrentHandlerV1(params *PutPlayerPublicRecordConcurrentHandlerV1Params, ...) (*PutPlayerPublicRecordConcurrentHandlerV1NoContent, ...)
- func (a *Client) PutPlayerPublicRecordConcurrentHandlerV1Short(params *PutPlayerPublicRecordConcurrentHandlerV1Params, ...) (*PutPlayerPublicRecordConcurrentHandlerV1NoContent, error)
- func (a *Client) PutPlayerRecordConcurrentHandlerV1(params *PutPlayerRecordConcurrentHandlerV1Params, ...) (*PutPlayerRecordConcurrentHandlerV1NoContent, ...)
- func (a *Client) PutPlayerRecordConcurrentHandlerV1Short(params *PutPlayerRecordConcurrentHandlerV1Params, ...) (*PutPlayerRecordConcurrentHandlerV1NoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PutGameRecordConcurrentHandlerV1BadRequest
- type PutGameRecordConcurrentHandlerV1InternalServerError
- type PutGameRecordConcurrentHandlerV1NoContent
- type PutGameRecordConcurrentHandlerV1Params
- func NewPutGameRecordConcurrentHandlerV1Params() *PutGameRecordConcurrentHandlerV1Params
- func NewPutGameRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *PutGameRecordConcurrentHandlerV1Params
- func NewPutGameRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *PutGameRecordConcurrentHandlerV1Params
- func NewPutGameRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *PutGameRecordConcurrentHandlerV1Params
- func (o *PutGameRecordConcurrentHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PutGameRecordConcurrentHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsConcurrentRecordRequest)
- func (o *PutGameRecordConcurrentHandlerV1Params) SetContext(ctx context.Context)
- func (o *PutGameRecordConcurrentHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PutGameRecordConcurrentHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PutGameRecordConcurrentHandlerV1Params) SetKey(key string)
- func (o *PutGameRecordConcurrentHandlerV1Params) SetNamespace(namespace string)
- func (o *PutGameRecordConcurrentHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PutGameRecordConcurrentHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsConcurrentRecordRequest) *PutGameRecordConcurrentHandlerV1Params
- func (o *PutGameRecordConcurrentHandlerV1Params) WithContext(ctx context.Context) *PutGameRecordConcurrentHandlerV1Params
- func (o *PutGameRecordConcurrentHandlerV1Params) WithHTTPClient(client *http.Client) *PutGameRecordConcurrentHandlerV1Params
- func (o *PutGameRecordConcurrentHandlerV1Params) WithKey(key string) *PutGameRecordConcurrentHandlerV1Params
- func (o *PutGameRecordConcurrentHandlerV1Params) WithNamespace(namespace string) *PutGameRecordConcurrentHandlerV1Params
- func (o *PutGameRecordConcurrentHandlerV1Params) WithTimeout(timeout time.Duration) *PutGameRecordConcurrentHandlerV1Params
- func (o *PutGameRecordConcurrentHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutGameRecordConcurrentHandlerV1PreconditionFailed
- type PutGameRecordConcurrentHandlerV1Reader
- type PutGameRecordConcurrentHandlerV1Unauthorized
- type PutPlayerPublicRecordConcurrentHandlerV1BadRequest
- type PutPlayerPublicRecordConcurrentHandlerV1InternalServerError
- type PutPlayerPublicRecordConcurrentHandlerV1NoContent
- type PutPlayerPublicRecordConcurrentHandlerV1Params
- func NewPutPlayerPublicRecordConcurrentHandlerV1Params() *PutPlayerPublicRecordConcurrentHandlerV1Params
- func NewPutPlayerPublicRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *PutPlayerPublicRecordConcurrentHandlerV1Params
- func NewPutPlayerPublicRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *PutPlayerPublicRecordConcurrentHandlerV1Params
- func NewPutPlayerPublicRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *PutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsConcurrentRecordRequest)
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetContext(ctx context.Context)
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetKey(key string)
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetNamespace(namespace string)
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetUserID(userID string)
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsConcurrentRecordRequest) *PutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithContext(ctx context.Context) *PutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithHTTPClient(client *http.Client) *PutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithKey(key string) *PutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithNamespace(namespace string) *PutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithTimeout(timeout time.Duration) *PutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithUserID(userID string) *PutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed
- type PutPlayerPublicRecordConcurrentHandlerV1Reader
- type PutPlayerPublicRecordConcurrentHandlerV1Unauthorized
- type PutPlayerRecordConcurrentHandlerV1BadRequest
- type PutPlayerRecordConcurrentHandlerV1InternalServerError
- type PutPlayerRecordConcurrentHandlerV1NoContent
- type PutPlayerRecordConcurrentHandlerV1Params
- func NewPutPlayerRecordConcurrentHandlerV1Params() *PutPlayerRecordConcurrentHandlerV1Params
- func NewPutPlayerRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *PutPlayerRecordConcurrentHandlerV1Params
- func NewPutPlayerRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *PutPlayerRecordConcurrentHandlerV1Params
- func NewPutPlayerRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *PutPlayerRecordConcurrentHandlerV1Params
- func (o *PutPlayerRecordConcurrentHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PutPlayerRecordConcurrentHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsConcurrentRecordRequest)
- func (o *PutPlayerRecordConcurrentHandlerV1Params) SetContext(ctx context.Context)
- func (o *PutPlayerRecordConcurrentHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PutPlayerRecordConcurrentHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PutPlayerRecordConcurrentHandlerV1Params) SetKey(key string)
- func (o *PutPlayerRecordConcurrentHandlerV1Params) SetNamespace(namespace string)
- func (o *PutPlayerRecordConcurrentHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PutPlayerRecordConcurrentHandlerV1Params) SetUserID(userID string)
- func (o *PutPlayerRecordConcurrentHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsConcurrentRecordRequest) *PutPlayerRecordConcurrentHandlerV1Params
- func (o *PutPlayerRecordConcurrentHandlerV1Params) WithContext(ctx context.Context) *PutPlayerRecordConcurrentHandlerV1Params
- func (o *PutPlayerRecordConcurrentHandlerV1Params) WithHTTPClient(client *http.Client) *PutPlayerRecordConcurrentHandlerV1Params
- func (o *PutPlayerRecordConcurrentHandlerV1Params) WithKey(key string) *PutPlayerRecordConcurrentHandlerV1Params
- func (o *PutPlayerRecordConcurrentHandlerV1Params) WithNamespace(namespace string) *PutPlayerRecordConcurrentHandlerV1Params
- func (o *PutPlayerRecordConcurrentHandlerV1Params) WithTimeout(timeout time.Duration) *PutPlayerRecordConcurrentHandlerV1Params
- func (o *PutPlayerRecordConcurrentHandlerV1Params) WithUserID(userID string) *PutPlayerRecordConcurrentHandlerV1Params
- func (o *PutPlayerRecordConcurrentHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutPlayerRecordConcurrentHandlerV1PreconditionFailed
- type PutPlayerRecordConcurrentHandlerV1Reader
- type PutPlayerRecordConcurrentHandlerV1Unauthorized
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 ¶
func (a *Client) PutGameRecordConcurrentHandlerV1(params *PutGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameRecordConcurrentHandlerV1NoContent, *PutGameRecordConcurrentHandlerV1BadRequest, *PutGameRecordConcurrentHandlerV1Unauthorized, *PutGameRecordConcurrentHandlerV1PreconditionFailed, *PutGameRecordConcurrentHandlerV1InternalServerError, error)
PutGameRecordConcurrentHandlerV1 creates or replace game record <table> <tr> <td>Required Permission</td> <td><code>NAMESPACE:{namespace}:CLOUDSAVE:RECORD [UPDATE]</code></td> </tr> <tr> <td>Required Scope</td> <td><code>social</code></td> </tr>
</table> <br/>
<h2>Description</h2>
This endpoints will create new game record or replace the existing game record.
<b>Replace behaviour:</b> The existing value will be replaced completely with the new value.
Example
- Existing JSON: <pre>{ "data1": "value" }</pre>
- New JSON: <pre>{ "data2": "new value" }</pre>
- Result: <pre>{ "data2": "new value" }</pre>
<h2>Reserved Word</h2>
Reserved Word List: <b>__META</b>
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.
<h2>Optimistic Concurrency Control</h2>
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 ¶ added in v0.8.0
func (a *Client) PutGameRecordConcurrentHandlerV1Short(params *PutGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameRecordConcurrentHandlerV1NoContent, error)
func (*Client) PutPlayerPublicRecordConcurrentHandlerV1 ¶
func (a *Client) PutPlayerPublicRecordConcurrentHandlerV1(params *PutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordConcurrentHandlerV1NoContent, *PutPlayerPublicRecordConcurrentHandlerV1BadRequest, *PutPlayerPublicRecordConcurrentHandlerV1Unauthorized, *PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed, *PutPlayerPublicRecordConcurrentHandlerV1InternalServerError, error)
PutPlayerPublicRecordConcurrentHandlerV1 creates or replace player public record <table> <tr> <td>Required Permission</td> <td><code>NAMESPACE:{namespace}:USER:{userId}:PUBLIC:CLOUDSAVE:RECORD [UPDATE]</code></td> </tr> <tr> <td>Required Scope</td> <td><code>social</code></td> </tr>
</table> <br/>
<h2>Description</h2>
This endpoints will create new player public record or replace the existing player public record.
<b>Replace behaviour:</b> The existing value will be replaced completely with the new value.
Example
- Existing JSON: <pre>{ "data1": "value" }</pre>
- New JSON: <pre>{ "data2": "new value" }</pre>
- Result: <pre>{ "data2": "new value" }</pre>
<h2>Reserved Word</h2>
Reserved Word List: <b>__META</b>
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.
<h2>Optimistic Concurrency Control</h2>
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 ¶ added in v0.8.0
func (a *Client) PutPlayerPublicRecordConcurrentHandlerV1Short(params *PutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordConcurrentHandlerV1NoContent, error)
func (*Client) PutPlayerRecordConcurrentHandlerV1 ¶ added in v0.21.0
func (a *Client) PutPlayerRecordConcurrentHandlerV1(params *PutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordConcurrentHandlerV1NoContent, *PutPlayerRecordConcurrentHandlerV1BadRequest, *PutPlayerRecordConcurrentHandlerV1Unauthorized, *PutPlayerRecordConcurrentHandlerV1PreconditionFailed, *PutPlayerRecordConcurrentHandlerV1InternalServerError, error)
PutPlayerRecordConcurrentHandlerV1 creates or replace player private record <table> <tr> <td>Required Permission</td> <td><code>NAMESPACE:{namespace}:USER:{userId}:CLOUDSAVE:RECORD [UPDATE]</code></td> </tr> <tr> <td>Required Scope</td> <td><code>social</code></td> </tr>
</table> <br/>
<h2>Description</h2>
This endpoints will create new player record or replace the existing player record.
<b>Replace behaviour:</b> The existing value will be replaced completely with the new value.
Example
- Existing JSON: <pre>{ "data1": "value" }</pre>
- New JSON: <pre>{ "data2": "new value" }</pre>
- Result: <pre>{ "data2": "new value" }</pre>
<h2>Reserved Word</h2>
Reserved Word List: <b>__META</b>
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.
<h2>Optimistic Concurrency Control</h2>
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 ¶ added in v0.21.0
func (a *Client) PutPlayerRecordConcurrentHandlerV1Short(params *PutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordConcurrentHandlerV1NoContent, error)
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, *PutGameRecordConcurrentHandlerV1PreconditionFailed, *PutGameRecordConcurrentHandlerV1InternalServerError, error) PutGameRecordConcurrentHandlerV1Short(params *PutGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameRecordConcurrentHandlerV1NoContent, error) PutPlayerPublicRecordConcurrentHandlerV1(params *PutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordConcurrentHandlerV1NoContent, *PutPlayerPublicRecordConcurrentHandlerV1BadRequest, *PutPlayerPublicRecordConcurrentHandlerV1Unauthorized, *PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed, *PutPlayerPublicRecordConcurrentHandlerV1InternalServerError, error) PutPlayerPublicRecordConcurrentHandlerV1Short(params *PutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordConcurrentHandlerV1NoContent, error) PutPlayerRecordConcurrentHandlerV1(params *PutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordConcurrentHandlerV1NoContent, *PutPlayerRecordConcurrentHandlerV1BadRequest, *PutPlayerRecordConcurrentHandlerV1Unauthorized, *PutPlayerRecordConcurrentHandlerV1PreconditionFailed, *PutPlayerRecordConcurrentHandlerV1InternalServerError, error) PutPlayerRecordConcurrentHandlerV1Short(params *PutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordConcurrentHandlerV1NoContent, 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></table>
func NewPutGameRecordConcurrentHandlerV1BadRequest ¶
func NewPutGameRecordConcurrentHandlerV1BadRequest() *PutGameRecordConcurrentHandlerV1BadRequest
NewPutGameRecordConcurrentHandlerV1BadRequest creates a PutGameRecordConcurrentHandlerV1BadRequest with default headers values
func (*PutGameRecordConcurrentHandlerV1BadRequest) Error ¶
func (o *PutGameRecordConcurrentHandlerV1BadRequest) Error() string
func (*PutGameRecordConcurrentHandlerV1BadRequest) GetPayload ¶
func (o *PutGameRecordConcurrentHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type PutGameRecordConcurrentHandlerV1InternalServerError ¶
type PutGameRecordConcurrentHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutGameRecordConcurrentHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewPutGameRecordConcurrentHandlerV1InternalServerError ¶
func NewPutGameRecordConcurrentHandlerV1InternalServerError() *PutGameRecordConcurrentHandlerV1InternalServerError
NewPutGameRecordConcurrentHandlerV1InternalServerError creates a PutGameRecordConcurrentHandlerV1InternalServerError with default headers values
func (*PutGameRecordConcurrentHandlerV1InternalServerError) Error ¶
func (o *PutGameRecordConcurrentHandlerV1InternalServerError) Error() string
func (*PutGameRecordConcurrentHandlerV1InternalServerError) GetPayload ¶
func (o *PutGameRecordConcurrentHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
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 ¶
func (o *PutGameRecordConcurrentHandlerV1NoContent) Error() string
type PutGameRecordConcurrentHandlerV1Params ¶
type PutGameRecordConcurrentHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *cloudsaveclientmodels.ModelsConcurrentRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶ added in v0.17.0
func (o *PutGameRecordConcurrentHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the put game record concurrent handler v1 params
func (*PutGameRecordConcurrentHandlerV1Params) SetBody ¶
func (o *PutGameRecordConcurrentHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsConcurrentRecordRequest)
SetBody adds the body to the put game record concurrent handler v1 params
func (*PutGameRecordConcurrentHandlerV1Params) SetContext ¶
func (o *PutGameRecordConcurrentHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the put game record concurrent handler v1 params
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 ¶ added in v0.19.0
func (o *PutGameRecordConcurrentHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the put game record concurrent handler v1 params
func (*PutGameRecordConcurrentHandlerV1Params) SetKey ¶
func (o *PutGameRecordConcurrentHandlerV1Params) SetKey(key string)
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 ¶
func (o *PutGameRecordConcurrentHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsConcurrentRecordRequest) *PutGameRecordConcurrentHandlerV1Params
WithBody adds the body to the put game record concurrent handler v1 params
func (*PutGameRecordConcurrentHandlerV1Params) WithContext ¶
func (o *PutGameRecordConcurrentHandlerV1Params) WithContext(ctx context.Context) *PutGameRecordConcurrentHandlerV1Params
WithContext adds the context to the put game record concurrent handler v1 params
func (*PutGameRecordConcurrentHandlerV1Params) WithHTTPClient ¶
func (o *PutGameRecordConcurrentHandlerV1Params) WithHTTPClient(client *http.Client) *PutGameRecordConcurrentHandlerV1Params
WithHTTPClient adds the HTTPClient to the put game record concurrent handler v1 params
func (*PutGameRecordConcurrentHandlerV1Params) WithKey ¶
func (o *PutGameRecordConcurrentHandlerV1Params) WithKey(key string) *PutGameRecordConcurrentHandlerV1Params
WithKey adds the key to the put game record concurrent handler v1 params
func (*PutGameRecordConcurrentHandlerV1Params) WithNamespace ¶
func (o *PutGameRecordConcurrentHandlerV1Params) WithNamespace(namespace string) *PutGameRecordConcurrentHandlerV1Params
WithNamespace adds the namespace to the put game record concurrent handler v1 params
func (*PutGameRecordConcurrentHandlerV1Params) WithTimeout ¶
func (o *PutGameRecordConcurrentHandlerV1Params) WithTimeout(timeout time.Duration) *PutGameRecordConcurrentHandlerV1Params
WithTimeout adds the timeout to the put game record concurrent handler v1 params
func (*PutGameRecordConcurrentHandlerV1Params) WriteToRequest ¶
func (o *PutGameRecordConcurrentHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutGameRecordConcurrentHandlerV1PreconditionFailed ¶
type PutGameRecordConcurrentHandlerV1PreconditionFailed struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutGameRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.
Precondition Failed
func NewPutGameRecordConcurrentHandlerV1PreconditionFailed ¶
func NewPutGameRecordConcurrentHandlerV1PreconditionFailed() *PutGameRecordConcurrentHandlerV1PreconditionFailed
NewPutGameRecordConcurrentHandlerV1PreconditionFailed creates a PutGameRecordConcurrentHandlerV1PreconditionFailed with default headers values
func (*PutGameRecordConcurrentHandlerV1PreconditionFailed) Error ¶
func (o *PutGameRecordConcurrentHandlerV1PreconditionFailed) Error() string
func (*PutGameRecordConcurrentHandlerV1PreconditionFailed) GetPayload ¶
func (o *PutGameRecordConcurrentHandlerV1PreconditionFailed) GetPayload() *cloudsaveclientmodels.ModelsResponseError
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 ¶ added in v0.7.0
type PutGameRecordConcurrentHandlerV1Unauthorized struct {
}PutGameRecordConcurrentHandlerV1Unauthorized handles this case with default header values.
Unauthorized
func NewPutGameRecordConcurrentHandlerV1Unauthorized ¶ added in v0.7.0
func NewPutGameRecordConcurrentHandlerV1Unauthorized() *PutGameRecordConcurrentHandlerV1Unauthorized
NewPutGameRecordConcurrentHandlerV1Unauthorized creates a PutGameRecordConcurrentHandlerV1Unauthorized with default headers values
func (*PutGameRecordConcurrentHandlerV1Unauthorized) Error ¶ added in v0.7.0
func (o *PutGameRecordConcurrentHandlerV1Unauthorized) Error() string
func (*PutGameRecordConcurrentHandlerV1Unauthorized) GetPayload ¶ added in v0.7.0
func (o *PutGameRecordConcurrentHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
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></table>
func NewPutPlayerPublicRecordConcurrentHandlerV1BadRequest ¶
func NewPutPlayerPublicRecordConcurrentHandlerV1BadRequest() *PutPlayerPublicRecordConcurrentHandlerV1BadRequest
NewPutPlayerPublicRecordConcurrentHandlerV1BadRequest creates a PutPlayerPublicRecordConcurrentHandlerV1BadRequest with default headers values
func (*PutPlayerPublicRecordConcurrentHandlerV1BadRequest) Error ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1BadRequest) Error() string
func (*PutPlayerPublicRecordConcurrentHandlerV1BadRequest) GetPayload ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type PutPlayerPublicRecordConcurrentHandlerV1InternalServerError ¶
type PutPlayerPublicRecordConcurrentHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutPlayerPublicRecordConcurrentHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewPutPlayerPublicRecordConcurrentHandlerV1InternalServerError ¶
func NewPutPlayerPublicRecordConcurrentHandlerV1InternalServerError() *PutPlayerPublicRecordConcurrentHandlerV1InternalServerError
NewPutPlayerPublicRecordConcurrentHandlerV1InternalServerError creates a PutPlayerPublicRecordConcurrentHandlerV1InternalServerError with default headers values
func (*PutPlayerPublicRecordConcurrentHandlerV1InternalServerError) Error ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1InternalServerError) Error() string
func (*PutPlayerPublicRecordConcurrentHandlerV1InternalServerError) GetPayload ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
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 ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1NoContent) Error() string
type PutPlayerPublicRecordConcurrentHandlerV1Params ¶
type PutPlayerPublicRecordConcurrentHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *cloudsaveclientmodels.ModelsConcurrentRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game */ Namespace string /*UserID user ID who own the record */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶ added in v0.17.0
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetBody ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsConcurrentRecordRequest)
SetBody adds the body to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetContext ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClient ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClientTransport ¶ added in v0.19.0
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 ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetKey(key string)
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) SetTimeout ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) SetUserID ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithBody ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsConcurrentRecordRequest) *PutPlayerPublicRecordConcurrentHandlerV1Params
WithBody adds the body to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithContext ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithContext(ctx context.Context) *PutPlayerPublicRecordConcurrentHandlerV1Params
WithContext adds the context to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithHTTPClient ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithHTTPClient(client *http.Client) *PutPlayerPublicRecordConcurrentHandlerV1Params
WithHTTPClient adds the HTTPClient to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithKey ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithKey(key string) *PutPlayerPublicRecordConcurrentHandlerV1Params
WithKey adds the key to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithNamespace ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithNamespace(namespace string) *PutPlayerPublicRecordConcurrentHandlerV1Params
WithNamespace adds the namespace to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithTimeout ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithTimeout(timeout time.Duration) *PutPlayerPublicRecordConcurrentHandlerV1Params
WithTimeout adds the timeout to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WithUserID ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WithUserID(userID string) *PutPlayerPublicRecordConcurrentHandlerV1Params
WithUserID adds the userID to the put player public record concurrent handler v1 params
func (*PutPlayerPublicRecordConcurrentHandlerV1Params) WriteToRequest ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed ¶
type PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.
Precondition Failed
func NewPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed ¶
func NewPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed() *PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed
NewPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed creates a PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed with default headers values
func (*PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) Error ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) Error() string
func (*PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) GetPayload ¶
func (o *PutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) GetPayload() *cloudsaveclientmodels.ModelsResponseError
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 ¶ added in v0.7.0
type PutPlayerPublicRecordConcurrentHandlerV1Unauthorized struct {
}PutPlayerPublicRecordConcurrentHandlerV1Unauthorized handles this case with default header values.
Unauthorized
func NewPutPlayerPublicRecordConcurrentHandlerV1Unauthorized ¶ added in v0.7.0
func NewPutPlayerPublicRecordConcurrentHandlerV1Unauthorized() *PutPlayerPublicRecordConcurrentHandlerV1Unauthorized
NewPutPlayerPublicRecordConcurrentHandlerV1Unauthorized creates a PutPlayerPublicRecordConcurrentHandlerV1Unauthorized with default headers values
func (*PutPlayerPublicRecordConcurrentHandlerV1Unauthorized) Error ¶ added in v0.7.0
func (o *PutPlayerPublicRecordConcurrentHandlerV1Unauthorized) Error() string
func (*PutPlayerPublicRecordConcurrentHandlerV1Unauthorized) GetPayload ¶ added in v0.7.0
func (o *PutPlayerPublicRecordConcurrentHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type PutPlayerRecordConcurrentHandlerV1BadRequest ¶ added in v0.21.0
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></table>
func NewPutPlayerRecordConcurrentHandlerV1BadRequest ¶ added in v0.21.0
func NewPutPlayerRecordConcurrentHandlerV1BadRequest() *PutPlayerRecordConcurrentHandlerV1BadRequest
NewPutPlayerRecordConcurrentHandlerV1BadRequest creates a PutPlayerRecordConcurrentHandlerV1BadRequest with default headers values
func (*PutPlayerRecordConcurrentHandlerV1BadRequest) Error ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1BadRequest) Error() string
func (*PutPlayerRecordConcurrentHandlerV1BadRequest) GetPayload ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type PutPlayerRecordConcurrentHandlerV1InternalServerError ¶ added in v0.21.0
type PutPlayerRecordConcurrentHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutPlayerRecordConcurrentHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewPutPlayerRecordConcurrentHandlerV1InternalServerError ¶ added in v0.21.0
func NewPutPlayerRecordConcurrentHandlerV1InternalServerError() *PutPlayerRecordConcurrentHandlerV1InternalServerError
NewPutPlayerRecordConcurrentHandlerV1InternalServerError creates a PutPlayerRecordConcurrentHandlerV1InternalServerError with default headers values
func (*PutPlayerRecordConcurrentHandlerV1InternalServerError) Error ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1InternalServerError) Error() string
func (*PutPlayerRecordConcurrentHandlerV1InternalServerError) GetPayload ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type PutPlayerRecordConcurrentHandlerV1NoContent ¶ added in v0.21.0
type PutPlayerRecordConcurrentHandlerV1NoContent struct { }
PutPlayerRecordConcurrentHandlerV1NoContent handles this case with default header values.
Record saved
func NewPutPlayerRecordConcurrentHandlerV1NoContent ¶ added in v0.21.0
func NewPutPlayerRecordConcurrentHandlerV1NoContent() *PutPlayerRecordConcurrentHandlerV1NoContent
NewPutPlayerRecordConcurrentHandlerV1NoContent creates a PutPlayerRecordConcurrentHandlerV1NoContent with default headers values
func (*PutPlayerRecordConcurrentHandlerV1NoContent) Error ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1NoContent) Error() string
type PutPlayerRecordConcurrentHandlerV1Params ¶ added in v0.21.0
type PutPlayerRecordConcurrentHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *cloudsaveclientmodels.ModelsConcurrentRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game */ Namespace string /*UserID user ID who own the record */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶ added in v0.21.0
func NewPutPlayerRecordConcurrentHandlerV1Params() *PutPlayerRecordConcurrentHandlerV1Params
NewPutPlayerRecordConcurrentHandlerV1Params creates a new PutPlayerRecordConcurrentHandlerV1Params object with the default values initialized.
func NewPutPlayerRecordConcurrentHandlerV1ParamsWithContext ¶ added in v0.21.0
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 ¶ added in v0.21.0
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 ¶ added in v0.21.0
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 ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) SetBody ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsConcurrentRecordRequest)
SetBody adds the body to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) SetContext ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) SetHTTPClient ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) SetHTTPClientTransport ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) SetKey ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) SetKey(key string)
SetKey adds the key to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) SetNamespace ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) SetTimeout ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) SetUserID ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) WithBody ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsConcurrentRecordRequest) *PutPlayerRecordConcurrentHandlerV1Params
WithBody adds the body to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) WithContext ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) WithContext(ctx context.Context) *PutPlayerRecordConcurrentHandlerV1Params
WithContext adds the context to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) WithHTTPClient ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) WithHTTPClient(client *http.Client) *PutPlayerRecordConcurrentHandlerV1Params
WithHTTPClient adds the HTTPClient to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) WithKey ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) WithKey(key string) *PutPlayerRecordConcurrentHandlerV1Params
WithKey adds the key to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) WithNamespace ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) WithNamespace(namespace string) *PutPlayerRecordConcurrentHandlerV1Params
WithNamespace adds the namespace to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) WithTimeout ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) WithTimeout(timeout time.Duration) *PutPlayerRecordConcurrentHandlerV1Params
WithTimeout adds the timeout to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) WithUserID ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) WithUserID(userID string) *PutPlayerRecordConcurrentHandlerV1Params
WithUserID adds the userID to the put player record concurrent handler v1 params
func (*PutPlayerRecordConcurrentHandlerV1Params) WriteToRequest ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutPlayerRecordConcurrentHandlerV1PreconditionFailed ¶ added in v0.21.0
type PutPlayerRecordConcurrentHandlerV1PreconditionFailed struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutPlayerRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.
Precondition Failed
func NewPutPlayerRecordConcurrentHandlerV1PreconditionFailed ¶ added in v0.21.0
func NewPutPlayerRecordConcurrentHandlerV1PreconditionFailed() *PutPlayerRecordConcurrentHandlerV1PreconditionFailed
NewPutPlayerRecordConcurrentHandlerV1PreconditionFailed creates a PutPlayerRecordConcurrentHandlerV1PreconditionFailed with default headers values
func (*PutPlayerRecordConcurrentHandlerV1PreconditionFailed) Error ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1PreconditionFailed) Error() string
func (*PutPlayerRecordConcurrentHandlerV1PreconditionFailed) GetPayload ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1PreconditionFailed) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type PutPlayerRecordConcurrentHandlerV1Reader ¶ added in v0.21.0
type PutPlayerRecordConcurrentHandlerV1Reader struct {
// contains filtered or unexported fields
}
PutPlayerRecordConcurrentHandlerV1Reader is a Reader for the PutPlayerRecordConcurrentHandlerV1 structure.
func (*PutPlayerRecordConcurrentHandlerV1Reader) ReadResponse ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutPlayerRecordConcurrentHandlerV1Unauthorized ¶ added in v0.21.0
type PutPlayerRecordConcurrentHandlerV1Unauthorized struct {
}PutPlayerRecordConcurrentHandlerV1Unauthorized handles this case with default header values.
Unauthorized
func NewPutPlayerRecordConcurrentHandlerV1Unauthorized ¶ added in v0.21.0
func NewPutPlayerRecordConcurrentHandlerV1Unauthorized() *PutPlayerRecordConcurrentHandlerV1Unauthorized
NewPutPlayerRecordConcurrentHandlerV1Unauthorized creates a PutPlayerRecordConcurrentHandlerV1Unauthorized with default headers values
func (*PutPlayerRecordConcurrentHandlerV1Unauthorized) Error ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Unauthorized) Error() string
func (*PutPlayerRecordConcurrentHandlerV1Unauthorized) GetPayload ¶ added in v0.21.0
func (o *PutPlayerRecordConcurrentHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
Source Files ¶
- concurrent_record_client.go
- put_game_record_concurrent_handler_v1_parameters.go
- put_game_record_concurrent_handler_v1_responses.go
- put_player_public_record_concurrent_handler_v1_parameters.go
- put_player_public_record_concurrent_handler_v1_responses.go
- put_player_record_concurrent_handler_v1_parameters.go
- put_player_record_concurrent_handler_v1_responses.go