admin_concurrent_record

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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 (*AdminPutGameRecordConcurrentHandlerV1BadRequest) GetPayload

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 (*AdminPutGameRecordConcurrentHandlerV1InternalServerError) GetPayload

type AdminPutGameRecordConcurrentHandlerV1NoContent

type AdminPutGameRecordConcurrentHandlerV1NoContent struct {
}

AdminPutGameRecordConcurrentHandlerV1NoContent handles this case with default header values.

Record saved

func NewAdminPutGameRecordConcurrentHandlerV1NoContent

func NewAdminPutGameRecordConcurrentHandlerV1NoContent() *AdminPutGameRecordConcurrentHandlerV1NoContent

NewAdminPutGameRecordConcurrentHandlerV1NoContent creates a AdminPutGameRecordConcurrentHandlerV1NoContent with default headers values

func (*AdminPutGameRecordConcurrentHandlerV1NoContent) Error

type AdminPutGameRecordConcurrentHandlerV1Params

type AdminPutGameRecordConcurrentHandlerV1Params struct {

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

	*/
	Key string
	/*Namespace
	  namespace of the game

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

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetContext

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetHTTPClient

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

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetKey

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetNamespace

func (o *AdminPutGameRecordConcurrentHandlerV1Params) SetNamespace(namespace string)

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) SetTimeout

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WithBody

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WithContext

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WithHTTPClient

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WithKey

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WithNamespace

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WithTimeout

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

func (*AdminPutGameRecordConcurrentHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminPutGameRecordConcurrentHandlerV1PreconditionFailed

type AdminPutGameRecordConcurrentHandlerV1PreconditionFailed struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.

Precondition Failed

func NewAdminPutGameRecordConcurrentHandlerV1PreconditionFailed

func NewAdminPutGameRecordConcurrentHandlerV1PreconditionFailed() *AdminPutGameRecordConcurrentHandlerV1PreconditionFailed

NewAdminPutGameRecordConcurrentHandlerV1PreconditionFailed creates a AdminPutGameRecordConcurrentHandlerV1PreconditionFailed with default headers values

func (*AdminPutGameRecordConcurrentHandlerV1PreconditionFailed) Error

func (*AdminPutGameRecordConcurrentHandlerV1PreconditionFailed) GetPayload

type AdminPutGameRecordConcurrentHandlerV1Reader

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

AdminPutGameRecordConcurrentHandlerV1Reader is a Reader for the AdminPutGameRecordConcurrentHandlerV1 structure.

func (*AdminPutGameRecordConcurrentHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminPutGameRecordConcurrentHandlerV1Unauthorized

type AdminPutGameRecordConcurrentHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordConcurrentHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminPutGameRecordConcurrentHandlerV1Unauthorized

func NewAdminPutGameRecordConcurrentHandlerV1Unauthorized() *AdminPutGameRecordConcurrentHandlerV1Unauthorized

NewAdminPutGameRecordConcurrentHandlerV1Unauthorized creates a AdminPutGameRecordConcurrentHandlerV1Unauthorized with default headers values

func (*AdminPutGameRecordConcurrentHandlerV1Unauthorized) Error

func (*AdminPutGameRecordConcurrentHandlerV1Unauthorized) GetPayload

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 (*AdminPutPlayerPublicRecordConcurrentHandlerV1BadRequest) GetPayload

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 (*AdminPutPlayerPublicRecordConcurrentHandlerV1InternalServerError) GetPayload

type AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent

type AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent struct {
}

AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent handles this case with default header values.

Record saved

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1NoContent

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1NoContent() *AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent

NewAdminPutPlayerPublicRecordConcurrentHandlerV1NoContent creates a AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent with default headers values

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1NoContent) Error

type 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

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetBody

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetContext

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClient

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetKey

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetNamespace

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetTimeout

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) SetUserID

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithBody

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithContext

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithHTTPClient

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithKey

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithNamespace

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithTimeout

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WithUserID

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

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed

type AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.

Precondition Failed

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed() *AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed

NewAdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed creates a AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed with default headers values

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) Error

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1PreconditionFailed) GetPayload

type AdminPutPlayerPublicRecordConcurrentHandlerV1Reader

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

AdminPutPlayerPublicRecordConcurrentHandlerV1Reader is a Reader for the AdminPutPlayerPublicRecordConcurrentHandlerV1 structure.

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized

type AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized

func NewAdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized() *AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized

NewAdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized creates a AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized with default headers values

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized) Error

func (*AdminPutPlayerPublicRecordConcurrentHandlerV1Unauthorized) GetPayload

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 (*AdminPutPlayerRecordConcurrentHandlerV1BadRequest) GetPayload added in v0.21.0

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 (*AdminPutPlayerRecordConcurrentHandlerV1InternalServerError) GetPayload added in v0.21.0

type AdminPutPlayerRecordConcurrentHandlerV1NoContent added in v0.21.0

type AdminPutPlayerRecordConcurrentHandlerV1NoContent struct {
}

AdminPutPlayerRecordConcurrentHandlerV1NoContent handles this case with default header values.

Record saved

func NewAdminPutPlayerRecordConcurrentHandlerV1NoContent added in v0.21.0

func NewAdminPutPlayerRecordConcurrentHandlerV1NoContent() *AdminPutPlayerRecordConcurrentHandlerV1NoContent

NewAdminPutPlayerRecordConcurrentHandlerV1NoContent creates a AdminPutPlayerRecordConcurrentHandlerV1NoContent with default headers values

func (*AdminPutPlayerRecordConcurrentHandlerV1NoContent) Error added in v0.21.0

type 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

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetContext added in v0.21.0

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetHTTPClient added in v0.21.0

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

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetHTTPClientTransport added in v0.21.0

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

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetKey added in v0.21.0

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetNamespace added in v0.21.0

func (o *AdminPutPlayerRecordConcurrentHandlerV1Params) SetNamespace(namespace string)

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetTimeout added in v0.21.0

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) SetUserID added in v0.21.0

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithBody added in v0.21.0

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithContext added in v0.21.0

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithHTTPClient added in v0.21.0

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithKey added in v0.21.0

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithNamespace added in v0.21.0

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithTimeout added in v0.21.0

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WithUserID added in v0.21.0

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

func (*AdminPutPlayerRecordConcurrentHandlerV1Params) WriteToRequest added in v0.21.0

WriteToRequest writes these params to a swagger request

type AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed added in v0.21.0

type AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed handles this case with default header values.

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 (*AdminPutPlayerRecordConcurrentHandlerV1PreconditionFailed) GetPayload added in v0.21.0

type AdminPutPlayerRecordConcurrentHandlerV1Reader added in v0.21.0

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

AdminPutPlayerRecordConcurrentHandlerV1Reader is a Reader for the AdminPutPlayerRecordConcurrentHandlerV1 structure.

func (*AdminPutPlayerRecordConcurrentHandlerV1Reader) ReadResponse added in v0.21.0

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

ReadResponse reads a server response into the received o.

type AdminPutPlayerRecordConcurrentHandlerV1Unauthorized added in v0.21.0

type AdminPutPlayerRecordConcurrentHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutPlayerRecordConcurrentHandlerV1Unauthorized handles this case with default header values.

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 (*AdminPutPlayerRecordConcurrentHandlerV1Unauthorized) GetPayload added in v0.21.0

type Client

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

Client for admin concurrent record API

func (*Client) AdminPutGameRecordConcurrentHandlerV1

  AdminPutGameRecordConcurrentHandlerV1 creates or replace game record

  &lt;table&gt;
	&lt;tr&gt;
		&lt;td&gt;Required Permission&lt;/td&gt;
		&lt;td&gt;&lt;code&gt;ADMIN:NAMESPACE:{namespace}:CLOUDSAVE:RECORD [UPDATE]&lt;/code&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;Required Scope&lt;/td&gt;
		&lt;td&gt;&lt;code&gt;social&lt;/code&gt;&lt;/td&gt;
	&lt;/tr&gt;

&lt;/table&gt; &lt;br/&gt;

&lt;h2&gt;Description&lt;/h2&gt;

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

&lt;b&gt;Replace behaviour:&lt;/b&gt; The existing value will be replaced completely with the new value.

Example

  • Existing JSON: &lt;pre&gt;{ &#34;data1&#34;: &#34;value&#34; }&lt;/pre&gt;
  • New JSON: &lt;pre&gt;{ &#34;data2&#34;: &#34;new value&#34; }&lt;/pre&gt;
  • Result: &lt;pre&gt;{ &#34;data2&#34;: &#34;new value&#34; }&lt;/pre&gt;

&lt;h2&gt;Reserved Word&lt;/h2&gt;

Reserved Word List: &lt;b&gt;__META&lt;/b&gt;

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.

&lt;h2&gt;Parameters Notes &lt;/h2&gt;

  1. set_by (default: CLIENT, type: string) Indicate which party that could modify the game record. SERVER: record can be modified by server only. CLIENT: record can be modified by client and server.
  2. updatedAt (required: true) Time format style: RFC3339
  3. value Json

&lt;b&gt;Request Body Example:&lt;/b&gt; &lt;pre&gt;

{
	&#34;set_by&#34;: &#34;SERVER&#34;,
	&#34;value&#34;: {},
	&#34;updatedAt&#34;: &#34;2022-03-17T10:42:15.444Z&#34;
}

&lt;/pre&gt;

&lt;h2&gt;Optimistic Concurrency Control&lt;/h2&gt;

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

func (*Client) AdminPutPlayerPublicRecordConcurrentHandlerV1

  AdminPutPlayerPublicRecordConcurrentHandlerV1 creates or replace player public record

  &lt;table&gt;
	&lt;tr&gt;
		&lt;td&gt;Required Permission&lt;/td&gt;
		&lt;td&gt;&lt;code&gt;ADMIN:NAMESPACE:{namespace}:USER:{userId}:PUBLIC:CLOUDSAVE:RECORD [UPDATE]&lt;/code&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;Required Scope&lt;/td&gt;
		&lt;td&gt;&lt;code&gt;social&lt;/code&gt;&lt;/td&gt;
	&lt;/tr&gt;

&lt;/table&gt; &lt;br/&gt;

&lt;h2&gt;Description&lt;/h2&gt;

This endpoints will create new player public record or replace the existing player public record.

&lt;b&gt;Replace behaviour:&lt;/b&gt; The existing value will be replaced completely with the new value.

Example

  • Existing JSON: &lt;pre&gt;{ &#34;data1&#34;: &#34;value&#34; }&lt;/pre&gt;
  • New JSON: &lt;pre&gt;{ &#34;data2&#34;: &#34;new value&#34; }&lt;/pre&gt;
  • Result: &lt;pre&gt;{ &#34;data2&#34;: &#34;new value&#34; }&lt;/pre&gt;

&lt;h2&gt;Reserved Word&lt;/h2&gt;

Reserved Word List: &lt;b&gt;__META&lt;/b&gt;

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.

&lt;h2&gt;Parameters Notes &lt;/h2&gt;

  1. set_by (default: CLIENT, type: string) Indicate which party that could modify the game record. SERVER: record can be modified by server only. CLIENT: record can be modified by client and server.
  2. updatedAt (required: true) Time format style: RFC3339
  3. value Json

&lt;b&gt;Request Body Example:&lt;/b&gt; &lt;pre&gt;

{
	&#34;set_by&#34;: &#34;SERVER&#34;,
	&#34;value&#34;: {},
	&#34;updatedAt&#34;: &#34;2022-03-17T10:42:15.444Z&#34;
}

&lt;/pre&gt;

&lt;h2&gt;Optimistic Concurrency Control&lt;/h2&gt;

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

func (*Client) AdminPutPlayerRecordConcurrentHandlerV1 added in v0.21.0

  AdminPutPlayerRecordConcurrentHandlerV1 creates or replace player private record

  &lt;table&gt;
	&lt;tr&gt;
		&lt;td&gt;Required Permission&lt;/td&gt;
		&lt;td&gt;&lt;code&gt;ADMIN:NAMESPACE:{namespace}:USER:{userId}:CLOUDSAVE:RECORD [UPDATE]&lt;/code&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;Required Scope&lt;/td&gt;
		&lt;td&gt;&lt;code&gt;social&lt;/code&gt;&lt;/td&gt;
	&lt;/tr&gt;

&lt;/table&gt; &lt;br/&gt;

&lt;h2&gt;Description&lt;/h2&gt;

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

&lt;b&gt;Replace behaviour:&lt;/b&gt; The existing value will be replaced completely with the new value.

Example

  • Existing JSON: &lt;pre&gt;{ &#34;data1&#34;: &#34;value&#34; }&lt;/pre&gt;
  • New JSON: &lt;pre&gt;{ &#34;data2&#34;: &#34;new value&#34; }&lt;/pre&gt;
  • Result: &lt;pre&gt;{ &#34;data2&#34;: &#34;new value&#34; }&lt;/pre&gt;

&lt;h2&gt;Reserved Word&lt;/h2&gt;

Reserved Word List: &lt;b&gt;__META&lt;/b&gt;

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.

&lt;h2&gt;Parameters Notes &lt;/h2&gt;

  1. set_by (default: CLIENT, type: string) Indicate which party that could modify the game record. SERVER: record can be modified by server only. CLIENT: record can be modified by client and server.
  2. updatedAt (required: true) Time format style: RFC3339
  3. value Json

&lt;b&gt;Request Body Example:&lt;/b&gt; &lt;pre&gt;

{
	&#34;set_by&#34;: &#34;SERVER&#34;,
	&#34;value&#34;: {},
	&#34;updatedAt&#34;: &#34;2022-03-17T10:42:15.444Z&#34;
}

&lt;/pre&gt;

&lt;h2&gt;Optimistic Concurrency Control&lt;/h2&gt;

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 (*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.

Jump to

Keyboard shortcuts

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