Documentation ¶
Index ¶
- type AdminPutGameRecordConcurrentHandlerV1BadRequest
- type AdminPutGameRecordConcurrentHandlerV1InternalServerError
- type AdminPutGameRecordConcurrentHandlerV1NoContent
- type AdminPutGameRecordConcurrentHandlerV1Params
- func NewAdminPutGameRecordConcurrentHandlerV1Params() *AdminPutGameRecordConcurrentHandlerV1Params
- func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *AdminPutGameRecordConcurrentHandlerV1Params
- func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutGameRecordConcurrentHandlerV1Params
- func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutGameRecordConcurrentHandlerV1Params
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest)
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetContext(ctx context.Context)
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetKey(key string)
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetNamespace(namespace string)
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest) *AdminPutGameRecordConcurrentHandlerV1Params
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) WithContext(ctx context.Context) *AdminPutGameRecordConcurrentHandlerV1Params
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) WithHTTPClient(client *http.Client) *AdminPutGameRecordConcurrentHandlerV1Params
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) WithKey(key string) *AdminPutGameRecordConcurrentHandlerV1Params
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) WithNamespace(namespace string) *AdminPutGameRecordConcurrentHandlerV1Params
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) WithTimeout(timeout time.Duration) *AdminPutGameRecordConcurrentHandlerV1Params
- func (o *AdminPutGameRecordConcurrentHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminPutGameRecordConcurrentHandlerV1PreconditionFailed
- type AdminPutGameRecordConcurrentHandlerV1Reader
- type AdminPutGameRecordConcurrentHandlerV1Unauthorized
- type AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest
- type AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError
- type AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent
- type AdminPutPlayerPublicRecordConcurrentHandlerV1Params
- func NewAdminPutPlayerPublicRecordConcurrentHandlerV1Params() *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
- func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
- func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
- func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest)
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetContext(ctx context.Context)
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetKey(key string)
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetNamespace(namespace string)
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetUserID(userID string)
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithContext(ctx context.Context) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithHTTPClient(client *http.Client) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithKey(key string) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithNamespace(namespace string) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithTimeout(timeout time.Duration) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithUserID(userID string) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed
- type AdminPutPlayerPublicRecordConcurrentHandlerV1Reader
- type AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized
- type AdminPutPlayerRecordConcurrentHandlerV1BadRequest
- type AdminPutPlayerRecordConcurrentHandlerV1InternalServerError
- type AdminPutPlayerRecordConcurrentHandlerV1NoContent
- type AdminPutPlayerRecordConcurrentHandlerV1Params
- func NewAdminPutPlayerRecordConcurrentHandlerV1Params() *AdminPutPlayerRecordConcurrentHandlerV1Params
- func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *AdminPutPlayerRecordConcurrentHandlerV1Params
- func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutPlayerRecordConcurrentHandlerV1Params
- func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutPlayerRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest)
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetContext(ctx context.Context)
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetKey(key string)
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetNamespace(namespace string)
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetUserID(userID string)
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest) *AdminPutPlayerRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithContext(ctx context.Context) *AdminPutPlayerRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithHTTPClient(client *http.Client) *AdminPutPlayerRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithKey(key string) *AdminPutPlayerRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithNamespace(namespace string) *AdminPutPlayerRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithTimeout(timeout time.Duration) *AdminPutPlayerRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithUserID(userID string) *AdminPutPlayerRecordConcurrentHandlerV1Params
- func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed
- type AdminPutPlayerRecordConcurrentHandlerV1Reader
- type AdminPutPlayerRecordConcurrentHandlerV1Unauthorized
- type Client
- func (a *Client) AdminPutGameRecordConcurrentHandlerV1(params *AdminPutGameRecordConcurrentHandlerV1Params, ...) (*AdminPutGameRecordConcurrentHandlerV1NoContent, ...)
- func (a *Client) AdminPutGameRecordConcurrentHandlerV1Short(params *AdminPutGameRecordConcurrentHandlerV1Params, ...) (*AdminPutGameRecordConcurrentHandlerV1NoContent, error)
- func (a *Client) AdminPutPlayerPublicRecordConcurrentHandlerV1(params *AdminPutPlayerPublicRecordConcurrentHandlerV1Params, ...) (*AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent, ...)
- func (a *Client) AdminPutPlayerPublicRecordConcurrentHandlerV1Short(params *AdminPutPlayerPublicRecordConcurrentHandlerV1Params, ...) (*AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent, error)
- func (a *Client) AdminPutPlayerRecordConcurrentHandlerV1(params *AdminPutPlayerRecordConcurrentHandlerV1Params, ...) (*AdminPutPlayerRecordConcurrentHandlerV1NoContent, ...)
- func (a *Client) AdminPutPlayerRecordConcurrentHandlerV1Short(params *AdminPutPlayerRecordConcurrentHandlerV1Params, ...) (*AdminPutPlayerRecordConcurrentHandlerV1NoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminPutGameRecordConcurrentHandlerV1BadRequest ¶
type AdminPutGameRecordConcurrentHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPutGameRecordConcurrentHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr></table>
func NewAdminPutGameRecordConcurrentHandlerV1BadRequest ¶
func NewAdminPutGameRecordConcurrentHandlerV1BadRequest() *AdminPutGameRecordConcurrentHandlerV1BadRequest
NewAdminPutGameRecordConcurrentHandlerV1BadRequest creates a AdminPutGameRecordConcurrentHandlerV1BadRequest with default headers values
func (*AdminPutGameRecordConcurrentHandlerV1BadRequest) Error ¶
func (o *AdminPutGameRecordConcurrentHandlerV1BadRequest) Error() string
func (*AdminPutGameRecordConcurrentHandlerV1BadRequest) GetPayload ¶
func (o *AdminPutGameRecordConcurrentHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type AdminPutGameRecordConcurrentHandlerV1InternalServerError ¶
type AdminPutGameRecordConcurrentHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPutGameRecordConcurrentHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewAdminPutGameRecordConcurrentHandlerV1InternalServerError ¶
func NewAdminPutGameRecordConcurrentHandlerV1InternalServerError() *AdminPutGameRecordConcurrentHandlerV1InternalServerError
NewAdminPutGameRecordConcurrentHandlerV1InternalServerError creates a AdminPutGameRecordConcurrentHandlerV1InternalServerError with default headers values
func (*AdminPutGameRecordConcurrentHandlerV1InternalServerError) Error ¶
func (o *AdminPutGameRecordConcurrentHandlerV1InternalServerError) Error() string
func (*AdminPutGameRecordConcurrentHandlerV1InternalServerError) GetPayload ¶
func (o *AdminPutGameRecordConcurrentHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type AdminPutGameRecordConcurrentHandlerV1NoContent ¶
type AdminPutGameRecordConcurrentHandlerV1NoContent struct { }
AdminPutGameRecordConcurrentHandlerV1NoContent handles this case with default header values.
Record saved
func NewAdminPutGameRecordConcurrentHandlerV1NoContent ¶
func NewAdminPutGameRecordConcurrentHandlerV1NoContent() *AdminPutGameRecordConcurrentHandlerV1NoContent
NewAdminPutGameRecordConcurrentHandlerV1NoContent creates a AdminPutGameRecordConcurrentHandlerV1NoContent with default headers values
func (*AdminPutGameRecordConcurrentHandlerV1NoContent) Error ¶
func (o *AdminPutGameRecordConcurrentHandlerV1NoContent) Error() string
type AdminPutGameRecordConcurrentHandlerV1Params ¶
type AdminPutGameRecordConcurrentHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest /*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 }
AdminPutGameRecordConcurrentHandlerV1Params contains all the parameters to send to the API endpoint for the admin put game record concurrent handler v1 operation typically these are written to a http.Request
func NewAdminPutGameRecordConcurrentHandlerV1Params ¶
func NewAdminPutGameRecordConcurrentHandlerV1Params() *AdminPutGameRecordConcurrentHandlerV1Params
NewAdminPutGameRecordConcurrentHandlerV1Params creates a new AdminPutGameRecordConcurrentHandlerV1Params object with the default values initialized.
func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithContext ¶
func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *AdminPutGameRecordConcurrentHandlerV1Params
NewAdminPutGameRecordConcurrentHandlerV1ParamsWithContext creates a new AdminPutGameRecordConcurrentHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithHTTPClient ¶
func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutGameRecordConcurrentHandlerV1Params
NewAdminPutGameRecordConcurrentHandlerV1ParamsWithHTTPClient creates a new AdminPutGameRecordConcurrentHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithTimeout ¶
func NewAdminPutGameRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutGameRecordConcurrentHandlerV1Params
NewAdminPutGameRecordConcurrentHandlerV1ParamsWithTimeout creates a new AdminPutGameRecordConcurrentHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminPutGameRecordConcurrentHandlerV1Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) SetBody ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest)
SetBody adds the body to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) SetContext ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) SetHTTPClient ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) SetKey ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetKey(key string)
SetKey adds the key to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) SetNamespace ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) SetTimeout ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) WithBody ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest) *AdminPutGameRecordConcurrentHandlerV1Params
WithBody adds the body to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) WithContext ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) WithContext(ctx context.Context) *AdminPutGameRecordConcurrentHandlerV1Params
WithContext adds the context to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) WithHTTPClient ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) WithHTTPClient(client *http.Client) *AdminPutGameRecordConcurrentHandlerV1Params
WithHTTPClient adds the HTTPClient to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) WithKey ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) WithKey(key string) *AdminPutGameRecordConcurrentHandlerV1Params
WithKey adds the key to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) WithNamespace ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) WithNamespace(namespace string) *AdminPutGameRecordConcurrentHandlerV1Params
WithNamespace adds the namespace to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) WithTimeout ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) WithTimeout(timeout time.Duration) *AdminPutGameRecordConcurrentHandlerV1Params
WithTimeout adds the timeout to the admin put game record concurrent handler v1 params
func (*AdminPutGameRecordConcurrentHandlerV1Params) WriteToRequest ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminPutGameRecordConcurrentHandlerV1PreconditionFailed ¶
type AdminPutGameRecordConcurrentHandlerV1PreconditionFailed struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPutGameRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.
Precondition Failed
func NewAdminPutGameRecordConcurrentHandlerV1PreconditionFailed ¶
func NewAdminPutGameRecordConcurrentHandlerV1PreconditionFailed() *AdminPutGameRecordConcurrentHandlerV1PreconditionFailed
NewAdminPutGameRecordConcurrentHandlerV1PreconditionFailed creates a AdminPutGameRecordConcurrentHandlerV1PreconditionFailed with default headers values
func (*AdminPutGameRecordConcurrentHandlerV1PreconditionFailed) Error ¶
func (o *AdminPutGameRecordConcurrentHandlerV1PreconditionFailed) Error() string
func (*AdminPutGameRecordConcurrentHandlerV1PreconditionFailed) GetPayload ¶
func (o *AdminPutGameRecordConcurrentHandlerV1PreconditionFailed) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type AdminPutGameRecordConcurrentHandlerV1Reader ¶
type AdminPutGameRecordConcurrentHandlerV1Reader struct {
// contains filtered or unexported fields
}
AdminPutGameRecordConcurrentHandlerV1Reader is a Reader for the AdminPutGameRecordConcurrentHandlerV1 structure.
func (*AdminPutGameRecordConcurrentHandlerV1Reader) ReadResponse ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminPutGameRecordConcurrentHandlerV1Unauthorized ¶
type AdminPutGameRecordConcurrentHandlerV1Unauthorized struct {
}AdminPutGameRecordConcurrentHandlerV1Unauthorized handles this case with default header values.
Unauthorized
func NewAdminPutGameRecordConcurrentHandlerV1Unauthorized ¶
func NewAdminPutGameRecordConcurrentHandlerV1Unauthorized() *AdminPutGameRecordConcurrentHandlerV1Unauthorized
NewAdminPutGameRecordConcurrentHandlerV1Unauthorized creates a AdminPutGameRecordConcurrentHandlerV1Unauthorized with default headers values
func (*AdminPutGameRecordConcurrentHandlerV1Unauthorized) Error ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Unauthorized) Error() string
func (*AdminPutGameRecordConcurrentHandlerV1Unauthorized) GetPayload ¶
func (o *AdminPutGameRecordConcurrentHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest ¶
type AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr></table>
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest ¶
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest() *AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest
NewAdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest creates a AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest with default headers values
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest) Error ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest) Error() string
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest) GetPayload ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError ¶
type AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError ¶
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError() *AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError
NewAdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError creates a AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError with default headers values
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError) Error ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError) Error() string
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError) GetPayload ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent ¶
type AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent struct { }
AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent handles this case with default header values.
Record saved
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1NoContent ¶
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1NoContent() *AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent
NewAdminPutPlayerPublicRecordConcurrentHandlerV1NoContent creates a AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent with default headers values
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent) Error ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent) Error() string
type AdminPutPlayerPublicRecordConcurrentHandlerV1Params ¶
type AdminPutPlayerPublicRecordConcurrentHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest /*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 }
AdminPutPlayerPublicRecordConcurrentHandlerV1Params contains all the parameters to send to the API endpoint for the admin put player public record concurrent handler v1 operation typically these are written to a http.Request
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1Params ¶
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1Params() *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
NewAdminPutPlayerPublicRecordConcurrentHandlerV1Params creates a new AdminPutPlayerPublicRecordConcurrentHandlerV1Params object with the default values initialized.
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithContext ¶
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithContext creates a new AdminPutPlayerPublicRecordConcurrentHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithHTTPClient ¶
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithHTTPClient creates a new AdminPutPlayerPublicRecordConcurrentHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithTimeout ¶
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
NewAdminPutPlayerPublicRecordConcurrentHandlerV1ParamsWithTimeout creates a new AdminPutPlayerPublicRecordConcurrentHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetBody ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest)
SetBody adds the body to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetContext ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClient ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetKey ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetKey(key string)
SetKey adds the key to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetNamespace ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetTimeout ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetUserID ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithBody ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
WithBody adds the body to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithContext ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithContext(ctx context.Context) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
WithContext adds the context to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithHTTPClient ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithHTTPClient(client *http.Client) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
WithHTTPClient adds the HTTPClient to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithKey ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithKey(key string) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
WithKey adds the key to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithNamespace ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithNamespace(namespace string) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
WithNamespace adds the namespace to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithTimeout ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithTimeout(timeout time.Duration) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
WithTimeout adds the timeout to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithUserID ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithUserID(userID string) *AdminPutPlayerPublicRecordConcurrentHandlerV1Params
WithUserID adds the userID to the admin put player public record concurrent handler v1 params
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WriteToRequest ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed ¶
type AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.
Precondition Failed
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed ¶
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed() *AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed
NewAdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed creates a AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed with default headers values
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) Error ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) Error() string
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) GetPayload ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type AdminPutPlayerPublicRecordConcurrentHandlerV1Reader ¶
type AdminPutPlayerPublicRecordConcurrentHandlerV1Reader struct {
// contains filtered or unexported fields
}
AdminPutPlayerPublicRecordConcurrentHandlerV1Reader is a Reader for the AdminPutPlayerPublicRecordConcurrentHandlerV1 structure.
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Reader) ReadResponse ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized ¶
type AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized struct {
}AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized handles this case with default header values.
Unauthorized
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized ¶
func NewAdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized() *AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized
NewAdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized creates a AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized with default headers values
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized) Error ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized) Error() string
func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized) GetPayload ¶
func (o *AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type AdminPutPlayerRecordConcurrentHandlerV1BadRequest ¶ added in v0.21.0
type AdminPutPlayerRecordConcurrentHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPutPlayerRecordConcurrentHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr></table>
func NewAdminPutPlayerRecordConcurrentHandlerV1BadRequest ¶ added in v0.21.0
func NewAdminPutPlayerRecordConcurrentHandlerV1BadRequest() *AdminPutPlayerRecordConcurrentHandlerV1BadRequest
NewAdminPutPlayerRecordConcurrentHandlerV1BadRequest creates a AdminPutPlayerRecordConcurrentHandlerV1BadRequest with default headers values
func (*AdminPutPlayerRecordConcurrentHandlerV1BadRequest) Error ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1BadRequest) Error() string
func (*AdminPutPlayerRecordConcurrentHandlerV1BadRequest) GetPayload ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type AdminPutPlayerRecordConcurrentHandlerV1InternalServerError ¶ added in v0.21.0
type AdminPutPlayerRecordConcurrentHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPutPlayerRecordConcurrentHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewAdminPutPlayerRecordConcurrentHandlerV1InternalServerError ¶ added in v0.21.0
func NewAdminPutPlayerRecordConcurrentHandlerV1InternalServerError() *AdminPutPlayerRecordConcurrentHandlerV1InternalServerError
NewAdminPutPlayerRecordConcurrentHandlerV1InternalServerError creates a AdminPutPlayerRecordConcurrentHandlerV1InternalServerError with default headers values
func (*AdminPutPlayerRecordConcurrentHandlerV1InternalServerError) Error ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1InternalServerError) Error() string
func (*AdminPutPlayerRecordConcurrentHandlerV1InternalServerError) GetPayload ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type AdminPutPlayerRecordConcurrentHandlerV1NoContent ¶ added in v0.21.0
type AdminPutPlayerRecordConcurrentHandlerV1NoContent struct { }
AdminPutPlayerRecordConcurrentHandlerV1NoContent handles this case with default header values.
Record saved
func NewAdminPutPlayerRecordConcurrentHandlerV1NoContent ¶ added in v0.21.0
func NewAdminPutPlayerRecordConcurrentHandlerV1NoContent() *AdminPutPlayerRecordConcurrentHandlerV1NoContent
NewAdminPutPlayerRecordConcurrentHandlerV1NoContent creates a AdminPutPlayerRecordConcurrentHandlerV1NoContent with default headers values
func (*AdminPutPlayerRecordConcurrentHandlerV1NoContent) Error ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1NoContent) Error() string
type AdminPutPlayerRecordConcurrentHandlerV1Params ¶ added in v0.21.0
type AdminPutPlayerRecordConcurrentHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game */ 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 }
AdminPutPlayerRecordConcurrentHandlerV1Params contains all the parameters to send to the API endpoint for the admin put player record concurrent handler v1 operation typically these are written to a http.Request
func NewAdminPutPlayerRecordConcurrentHandlerV1Params ¶ added in v0.21.0
func NewAdminPutPlayerRecordConcurrentHandlerV1Params() *AdminPutPlayerRecordConcurrentHandlerV1Params
NewAdminPutPlayerRecordConcurrentHandlerV1Params creates a new AdminPutPlayerRecordConcurrentHandlerV1Params object with the default values initialized.
func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithContext ¶ added in v0.21.0
func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithContext(ctx context.Context) *AdminPutPlayerRecordConcurrentHandlerV1Params
NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithContext creates a new AdminPutPlayerRecordConcurrentHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithHTTPClient ¶ added in v0.21.0
func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutPlayerRecordConcurrentHandlerV1Params
NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithHTTPClient creates a new AdminPutPlayerRecordConcurrentHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithTimeout ¶ added in v0.21.0
func NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutPlayerRecordConcurrentHandlerV1Params
NewAdminPutPlayerRecordConcurrentHandlerV1ParamsWithTimeout creates a new AdminPutPlayerRecordConcurrentHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetAuthInfoWriter ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetBody ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest)
SetBody adds the body to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetContext ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetHTTPClient ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetHTTPClientTransport ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetKey ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetKey(key string)
SetKey adds the key to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetNamespace ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetTimeout ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetUserID ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithBody ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsAdminConcurrentRecordRequest) *AdminPutPlayerRecordConcurrentHandlerV1Params
WithBody adds the body to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithContext ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithContext(ctx context.Context) *AdminPutPlayerRecordConcurrentHandlerV1Params
WithContext adds the context to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithHTTPClient ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithHTTPClient(client *http.Client) *AdminPutPlayerRecordConcurrentHandlerV1Params
WithHTTPClient adds the HTTPClient to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithKey ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithKey(key string) *AdminPutPlayerRecordConcurrentHandlerV1Params
WithKey adds the key to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithNamespace ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithNamespace(namespace string) *AdminPutPlayerRecordConcurrentHandlerV1Params
WithNamespace adds the namespace to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithTimeout ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithTimeout(timeout time.Duration) *AdminPutPlayerRecordConcurrentHandlerV1Params
WithTimeout adds the timeout to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithUserID ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WithUserID(userID string) *AdminPutPlayerRecordConcurrentHandlerV1Params
WithUserID adds the userID to the admin put player record concurrent handler v1 params
func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WriteToRequest ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed ¶ added in v0.21.0
type AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.
Precondition Failed
func NewAdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed ¶ added in v0.21.0
func NewAdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed() *AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed
NewAdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed creates a AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed with default headers values
func (*AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed) Error ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed) Error() string
func (*AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed) GetPayload ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type AdminPutPlayerRecordConcurrentHandlerV1Reader ¶ added in v0.21.0
type AdminPutPlayerRecordConcurrentHandlerV1Reader struct {
// contains filtered or unexported fields
}
AdminPutPlayerRecordConcurrentHandlerV1Reader is a Reader for the AdminPutPlayerRecordConcurrentHandlerV1 structure.
func (*AdminPutPlayerRecordConcurrentHandlerV1Reader) ReadResponse ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminPutPlayerRecordConcurrentHandlerV1Unauthorized ¶ added in v0.21.0
type AdminPutPlayerRecordConcurrentHandlerV1Unauthorized struct {
}AdminPutPlayerRecordConcurrentHandlerV1Unauthorized handles this case with default header values.
Unauthorized
func NewAdminPutPlayerRecordConcurrentHandlerV1Unauthorized ¶ added in v0.21.0
func NewAdminPutPlayerRecordConcurrentHandlerV1Unauthorized() *AdminPutPlayerRecordConcurrentHandlerV1Unauthorized
NewAdminPutPlayerRecordConcurrentHandlerV1Unauthorized creates a AdminPutPlayerRecordConcurrentHandlerV1Unauthorized with default headers values
func (*AdminPutPlayerRecordConcurrentHandlerV1Unauthorized) Error ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Unauthorized) Error() string
func (*AdminPutPlayerRecordConcurrentHandlerV1Unauthorized) GetPayload ¶ added in v0.21.0
func (o *AdminPutPlayerRecordConcurrentHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin concurrent record API
func (*Client) AdminPutGameRecordConcurrentHandlerV1 ¶
func (a *Client) AdminPutGameRecordConcurrentHandlerV1(params *AdminPutGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordConcurrentHandlerV1NoContent, *AdminPutGameRecordConcurrentHandlerV1BadRequest, *AdminPutGameRecordConcurrentHandlerV1Unauthorized, *AdminPutGameRecordConcurrentHandlerV1PreconditionFailed, *AdminPutGameRecordConcurrentHandlerV1InternalServerError, error)
AdminPutGameRecordConcurrentHandlerV1 creates or replace game record <table> <tr> <td>Required Permission</td> <td><code>ADMIN: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>Parameters Notes </h2>
- set_by (default: CLIENT, type: string) Indicate which party that could modify the game record. SERVER: record can be modified by server only. CLIENT: record can be modified by client and server.
- updatedAt (required: true) Time format style: RFC3339
- value Json
<b>Request Body Example:</b> <pre>
{ "set_by": "SERVER", "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z" }
</pre>
<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) AdminPutGameRecordConcurrentHandlerV1Short ¶
func (a *Client) AdminPutGameRecordConcurrentHandlerV1Short(params *AdminPutGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordConcurrentHandlerV1NoContent, error)
func (*Client) AdminPutPlayerPublicRecordConcurrentHandlerV1 ¶
func (a *Client) AdminPutPlayerPublicRecordConcurrentHandlerV1(params *AdminPutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent, *AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest, *AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized, *AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed, *AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError, error)
AdminPutPlayerPublicRecordConcurrentHandlerV1 creates or replace player public record <table> <tr> <td>Required Permission</td> <td><code>ADMIN: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>Parameters Notes </h2>
- set_by (default: CLIENT, type: string) Indicate which party that could modify the game record. SERVER: record can be modified by server only. CLIENT: record can be modified by client and server.
- updatedAt (required: true) Time format style: RFC3339
- value Json
<b>Request Body Example:</b> <pre>
{ "set_by": "SERVER", "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z" }
</pre>
<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) AdminPutPlayerPublicRecordConcurrentHandlerV1Short ¶
func (a *Client) AdminPutPlayerPublicRecordConcurrentHandlerV1Short(params *AdminPutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent, error)
func (*Client) AdminPutPlayerRecordConcurrentHandlerV1 ¶ added in v0.21.0
func (a *Client) AdminPutPlayerRecordConcurrentHandlerV1(params *AdminPutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerRecordConcurrentHandlerV1NoContent, *AdminPutPlayerRecordConcurrentHandlerV1BadRequest, *AdminPutPlayerRecordConcurrentHandlerV1Unauthorized, *AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed, *AdminPutPlayerRecordConcurrentHandlerV1InternalServerError, error)
AdminPutPlayerRecordConcurrentHandlerV1 creates or replace player private record <table> <tr> <td>Required Permission</td> <td><code>ADMIN: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>Parameters Notes </h2>
- set_by (default: CLIENT, type: string) Indicate which party that could modify the game record. SERVER: record can be modified by server only. CLIENT: record can be modified by client and server.
- updatedAt (required: true) Time format style: RFC3339
- value Json
<b>Request Body Example:</b> <pre>
{ "set_by": "SERVER", "value": {}, "updatedAt": "2022-03-17T10:42:15.444Z" }
</pre>
<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) AdminPutPlayerRecordConcurrentHandlerV1Short ¶ added in v0.21.0
func (a *Client) AdminPutPlayerRecordConcurrentHandlerV1Short(params *AdminPutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerRecordConcurrentHandlerV1NoContent, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminPutGameRecordConcurrentHandlerV1(params *AdminPutGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordConcurrentHandlerV1NoContent, *AdminPutGameRecordConcurrentHandlerV1BadRequest, *AdminPutGameRecordConcurrentHandlerV1Unauthorized, *AdminPutGameRecordConcurrentHandlerV1PreconditionFailed, *AdminPutGameRecordConcurrentHandlerV1InternalServerError, error) AdminPutGameRecordConcurrentHandlerV1Short(params *AdminPutGameRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordConcurrentHandlerV1NoContent, error) AdminPutPlayerPublicRecordConcurrentHandlerV1(params *AdminPutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent, *AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest, *AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized, *AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed, *AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError, error) AdminPutPlayerPublicRecordConcurrentHandlerV1Short(params *AdminPutPlayerPublicRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent, error) AdminPutPlayerRecordConcurrentHandlerV1(params *AdminPutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerRecordConcurrentHandlerV1NoContent, *AdminPutPlayerRecordConcurrentHandlerV1BadRequest, *AdminPutPlayerRecordConcurrentHandlerV1Unauthorized, *AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed, *AdminPutPlayerRecordConcurrentHandlerV1InternalServerError, error) AdminPutPlayerRecordConcurrentHandlerV1Short(params *AdminPutPlayerRecordConcurrentHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutPlayerRecordConcurrentHandlerV1NoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new admin concurrent record API client.
Source Files ¶
- admin_concurrent_record_client.go
- admin_put_game_record_concurrent_handler_v1_parameters.go
- admin_put_game_record_concurrent_handler_v1_responses.go
- admin_put_player_public_record_concurrent_handler_v1_parameters.go
- admin_put_player_public_record_concurrent_handler_v1_responses.go
- admin_put_player_record_concurrent_handler_v1_parameters.go
- admin_put_player_record_concurrent_handler_v1_responses.go