Documentation ¶
Index ¶
- type AdminDeleteGameRecordHandlerV1BadRequest
- type AdminDeleteGameRecordHandlerV1Forbidden
- type AdminDeleteGameRecordHandlerV1InternalServerError
- type AdminDeleteGameRecordHandlerV1NoContent
- type AdminDeleteGameRecordHandlerV1Params
- func NewAdminDeleteGameRecordHandlerV1Params() *AdminDeleteGameRecordHandlerV1Params
- func NewAdminDeleteGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminDeleteGameRecordHandlerV1Params
- func NewAdminDeleteGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminDeleteGameRecordHandlerV1Params
- func NewAdminDeleteGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminDeleteGameRecordHandlerV1Params
- func (o *AdminDeleteGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteGameRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *AdminDeleteGameRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *AdminDeleteGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteGameRecordHandlerV1Params) SetKey(key string)
- func (o *AdminDeleteGameRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *AdminDeleteGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteGameRecordHandlerV1Params) WithContext(ctx context.Context) *AdminDeleteGameRecordHandlerV1Params
- func (o *AdminDeleteGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *AdminDeleteGameRecordHandlerV1Params
- func (o *AdminDeleteGameRecordHandlerV1Params) WithKey(key string) *AdminDeleteGameRecordHandlerV1Params
- func (o *AdminDeleteGameRecordHandlerV1Params) WithNamespace(namespace string) *AdminDeleteGameRecordHandlerV1Params
- func (o *AdminDeleteGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *AdminDeleteGameRecordHandlerV1Params
- func (o *AdminDeleteGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteGameRecordHandlerV1Reader
- type AdminDeleteGameRecordHandlerV1Unauthorized
- type AdminGetGameRecordHandlerV1Forbidden
- type AdminGetGameRecordHandlerV1InternalServerError
- type AdminGetGameRecordHandlerV1NotFound
- type AdminGetGameRecordHandlerV1OK
- type AdminGetGameRecordHandlerV1Params
- func NewAdminGetGameRecordHandlerV1Params() *AdminGetGameRecordHandlerV1Params
- func NewAdminGetGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminGetGameRecordHandlerV1Params
- func NewAdminGetGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminGetGameRecordHandlerV1Params
- func NewAdminGetGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminGetGameRecordHandlerV1Params
- func (o *AdminGetGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetGameRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *AdminGetGameRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *AdminGetGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *AdminGetGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetGameRecordHandlerV1Params) SetKey(key string)
- func (o *AdminGetGameRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *AdminGetGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *AdminGetGameRecordHandlerV1Params) WithContext(ctx context.Context) *AdminGetGameRecordHandlerV1Params
- func (o *AdminGetGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *AdminGetGameRecordHandlerV1Params
- func (o *AdminGetGameRecordHandlerV1Params) WithKey(key string) *AdminGetGameRecordHandlerV1Params
- func (o *AdminGetGameRecordHandlerV1Params) WithNamespace(namespace string) *AdminGetGameRecordHandlerV1Params
- func (o *AdminGetGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *AdminGetGameRecordHandlerV1Params
- func (o *AdminGetGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetGameRecordHandlerV1Reader
- type AdminGetGameRecordHandlerV1Unauthorized
- type AdminPostGameRecordHandlerV1BadRequest
- type AdminPostGameRecordHandlerV1Created
- type AdminPostGameRecordHandlerV1Forbidden
- type AdminPostGameRecordHandlerV1InternalServerError
- type AdminPostGameRecordHandlerV1Params
- func NewAdminPostGameRecordHandlerV1Params() *AdminPostGameRecordHandlerV1Params
- func NewAdminPostGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminPostGameRecordHandlerV1Params
- func NewAdminPostGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPostGameRecordHandlerV1Params
- func NewAdminPostGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPostGameRecordHandlerV1Params
- func (o *AdminPostGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminPostGameRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsGameRecordRequest)
- func (o *AdminPostGameRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *AdminPostGameRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *AdminPostGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *AdminPostGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminPostGameRecordHandlerV1Params) SetKey(key string)
- func (o *AdminPostGameRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *AdminPostGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *AdminPostGameRecordHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsGameRecordRequest) *AdminPostGameRecordHandlerV1Params
- func (o *AdminPostGameRecordHandlerV1Params) WithContext(ctx context.Context) *AdminPostGameRecordHandlerV1Params
- func (o *AdminPostGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *AdminPostGameRecordHandlerV1Params
- func (o *AdminPostGameRecordHandlerV1Params) WithKey(key string) *AdminPostGameRecordHandlerV1Params
- func (o *AdminPostGameRecordHandlerV1Params) WithNamespace(namespace string) *AdminPostGameRecordHandlerV1Params
- func (o *AdminPostGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *AdminPostGameRecordHandlerV1Params
- func (o *AdminPostGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminPostGameRecordHandlerV1Reader
- type AdminPostGameRecordHandlerV1Unauthorized
- type AdminPutGameRecordHandlerV1BadRequest
- type AdminPutGameRecordHandlerV1Forbidden
- type AdminPutGameRecordHandlerV1InternalServerError
- type AdminPutGameRecordHandlerV1OK
- type AdminPutGameRecordHandlerV1Params
- func NewAdminPutGameRecordHandlerV1Params() *AdminPutGameRecordHandlerV1Params
- func NewAdminPutGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminPutGameRecordHandlerV1Params
- func NewAdminPutGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutGameRecordHandlerV1Params
- func NewAdminPutGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutGameRecordHandlerV1Params
- func (o *AdminPutGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminPutGameRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsGameRecordRequest)
- func (o *AdminPutGameRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *AdminPutGameRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *AdminPutGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *AdminPutGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminPutGameRecordHandlerV1Params) SetKey(key string)
- func (o *AdminPutGameRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *AdminPutGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *AdminPutGameRecordHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsGameRecordRequest) *AdminPutGameRecordHandlerV1Params
- func (o *AdminPutGameRecordHandlerV1Params) WithContext(ctx context.Context) *AdminPutGameRecordHandlerV1Params
- func (o *AdminPutGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *AdminPutGameRecordHandlerV1Params
- func (o *AdminPutGameRecordHandlerV1Params) WithKey(key string) *AdminPutGameRecordHandlerV1Params
- func (o *AdminPutGameRecordHandlerV1Params) WithNamespace(namespace string) *AdminPutGameRecordHandlerV1Params
- func (o *AdminPutGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *AdminPutGameRecordHandlerV1Params
- func (o *AdminPutGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminPutGameRecordHandlerV1Reader
- type AdminPutGameRecordHandlerV1Unauthorized
- type Client
- func (a *Client) AdminDeleteGameRecordHandlerV1(params *AdminDeleteGameRecordHandlerV1Params, ...) (*AdminDeleteGameRecordHandlerV1NoContent, ...)deprecated
- func (a *Client) AdminDeleteGameRecordHandlerV1Short(params *AdminDeleteGameRecordHandlerV1Params, ...) (*AdminDeleteGameRecordHandlerV1NoContent, error)
- func (a *Client) AdminGetGameRecordHandlerV1(params *AdminGetGameRecordHandlerV1Params, ...) (*AdminGetGameRecordHandlerV1OK, *AdminGetGameRecordHandlerV1Unauthorized, ...)deprecated
- func (a *Client) AdminGetGameRecordHandlerV1Short(params *AdminGetGameRecordHandlerV1Params, ...) (*AdminGetGameRecordHandlerV1OK, error)
- func (a *Client) AdminPostGameRecordHandlerV1(params *AdminPostGameRecordHandlerV1Params, ...) (*AdminPostGameRecordHandlerV1Created, *AdminPostGameRecordHandlerV1BadRequest, ...)deprecated
- func (a *Client) AdminPostGameRecordHandlerV1Short(params *AdminPostGameRecordHandlerV1Params, ...) (*AdminPostGameRecordHandlerV1Created, error)
- func (a *Client) AdminPutGameRecordHandlerV1(params *AdminPutGameRecordHandlerV1Params, ...) (*AdminPutGameRecordHandlerV1OK, *AdminPutGameRecordHandlerV1BadRequest, ...)deprecated
- func (a *Client) AdminPutGameRecordHandlerV1Short(params *AdminPutGameRecordHandlerV1Params, ...) (*AdminPutGameRecordHandlerV1OK, error)
- func (a *Client) ListGameRecordsHandlerV1(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, *ListGameRecordsHandlerV1BadRequest, ...)deprecated
- func (a *Client) ListGameRecordsHandlerV1Short(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ListGameRecordsHandlerV1BadRequest
- type ListGameRecordsHandlerV1Forbidden
- type ListGameRecordsHandlerV1InternalServerError
- type ListGameRecordsHandlerV1OK
- type ListGameRecordsHandlerV1Params
- func NewListGameRecordsHandlerV1Params() *ListGameRecordsHandlerV1Params
- func NewListGameRecordsHandlerV1ParamsWithContext(ctx context.Context) *ListGameRecordsHandlerV1Params
- func NewListGameRecordsHandlerV1ParamsWithHTTPClient(client *http.Client) *ListGameRecordsHandlerV1Params
- func NewListGameRecordsHandlerV1ParamsWithTimeout(timeout time.Duration) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListGameRecordsHandlerV1Params) SetContext(ctx context.Context)
- func (o *ListGameRecordsHandlerV1Params) SetFlightId(flightId string)
- func (o *ListGameRecordsHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *ListGameRecordsHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListGameRecordsHandlerV1Params) SetLimit(limit int64)
- func (o *ListGameRecordsHandlerV1Params) SetNamespace(namespace string)
- func (o *ListGameRecordsHandlerV1Params) SetOffset(offset int64)
- func (o *ListGameRecordsHandlerV1Params) SetQuery(query *string)
- func (o *ListGameRecordsHandlerV1Params) SetTags(tags []string)
- func (o *ListGameRecordsHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *ListGameRecordsHandlerV1Params) WithContext(ctx context.Context) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WithHTTPClient(client *http.Client) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WithLimit(limit int64) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WithNamespace(namespace string) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WithOffset(offset int64) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WithQuery(query *string) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WithTags(tags []string) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WithTimeout(timeout time.Duration) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGameRecordsHandlerV1Reader
- type ListGameRecordsHandlerV1Unauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminDeleteGameRecordHandlerV1BadRequest ¶ added in v0.58.0
type AdminDeleteGameRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminDeleteGameRecordHandlerV1BadRequest 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 NewAdminDeleteGameRecordHandlerV1BadRequest ¶ added in v0.58.0
func NewAdminDeleteGameRecordHandlerV1BadRequest() *AdminDeleteGameRecordHandlerV1BadRequest
NewAdminDeleteGameRecordHandlerV1BadRequest creates a AdminDeleteGameRecordHandlerV1BadRequest with default headers values
func (*AdminDeleteGameRecordHandlerV1BadRequest) Error ¶ added in v0.58.0
func (o *AdminDeleteGameRecordHandlerV1BadRequest) Error() string
func (*AdminDeleteGameRecordHandlerV1BadRequest) GetPayload ¶ added in v0.58.0
func (o *AdminDeleteGameRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminDeleteGameRecordHandlerV1BadRequest) ToJSONString ¶ added in v0.58.0
func (o *AdminDeleteGameRecordHandlerV1BadRequest) ToJSONString() string
type AdminDeleteGameRecordHandlerV1Forbidden ¶ added in v0.58.0
type AdminDeleteGameRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminDeleteGameRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminDeleteGameRecordHandlerV1Forbidden ¶ added in v0.58.0
func NewAdminDeleteGameRecordHandlerV1Forbidden() *AdminDeleteGameRecordHandlerV1Forbidden
NewAdminDeleteGameRecordHandlerV1Forbidden creates a AdminDeleteGameRecordHandlerV1Forbidden with default headers values
func (*AdminDeleteGameRecordHandlerV1Forbidden) Error ¶ added in v0.58.0
func (o *AdminDeleteGameRecordHandlerV1Forbidden) Error() string
func (*AdminDeleteGameRecordHandlerV1Forbidden) GetPayload ¶ added in v0.58.0
func (o *AdminDeleteGameRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminDeleteGameRecordHandlerV1Forbidden) ToJSONString ¶ added in v0.58.0
func (o *AdminDeleteGameRecordHandlerV1Forbidden) ToJSONString() string
type AdminDeleteGameRecordHandlerV1InternalServerError ¶ added in v0.7.0
type AdminDeleteGameRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminDeleteGameRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr><tr><td>18040</td><td>unable to delete record</td></tr></table>
func NewAdminDeleteGameRecordHandlerV1InternalServerError ¶ added in v0.7.0
func NewAdminDeleteGameRecordHandlerV1InternalServerError() *AdminDeleteGameRecordHandlerV1InternalServerError
NewAdminDeleteGameRecordHandlerV1InternalServerError creates a AdminDeleteGameRecordHandlerV1InternalServerError with default headers values
func (*AdminDeleteGameRecordHandlerV1InternalServerError) Error ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1InternalServerError) Error() string
func (*AdminDeleteGameRecordHandlerV1InternalServerError) GetPayload ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminDeleteGameRecordHandlerV1InternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminDeleteGameRecordHandlerV1InternalServerError) ToJSONString() string
type AdminDeleteGameRecordHandlerV1NoContent ¶ added in v0.7.0
type AdminDeleteGameRecordHandlerV1NoContent struct { }
AdminDeleteGameRecordHandlerV1NoContent handles this case with default header values.
Record deleted
func NewAdminDeleteGameRecordHandlerV1NoContent ¶ added in v0.7.0
func NewAdminDeleteGameRecordHandlerV1NoContent() *AdminDeleteGameRecordHandlerV1NoContent
NewAdminDeleteGameRecordHandlerV1NoContent creates a AdminDeleteGameRecordHandlerV1NoContent with default headers values
func (*AdminDeleteGameRecordHandlerV1NoContent) Error ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1NoContent) Error() string
type AdminDeleteGameRecordHandlerV1Params ¶ added in v0.7.0
type AdminDeleteGameRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminDeleteGameRecordHandlerV1Params contains all the parameters to send to the API endpoint for the admin delete game record handler v1 operation typically these are written to a http.Request
func NewAdminDeleteGameRecordHandlerV1Params ¶ added in v0.7.0
func NewAdminDeleteGameRecordHandlerV1Params() *AdminDeleteGameRecordHandlerV1Params
NewAdminDeleteGameRecordHandlerV1Params creates a new AdminDeleteGameRecordHandlerV1Params object with the default values initialized.
func NewAdminDeleteGameRecordHandlerV1ParamsWithContext ¶ added in v0.7.0
func NewAdminDeleteGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminDeleteGameRecordHandlerV1Params
NewAdminDeleteGameRecordHandlerV1ParamsWithContext creates a new AdminDeleteGameRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewAdminDeleteGameRecordHandlerV1ParamsWithHTTPClient ¶ added in v0.7.0
func NewAdminDeleteGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminDeleteGameRecordHandlerV1Params
NewAdminDeleteGameRecordHandlerV1ParamsWithHTTPClient creates a new AdminDeleteGameRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeleteGameRecordHandlerV1ParamsWithTimeout ¶ added in v0.7.0
func NewAdminDeleteGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminDeleteGameRecordHandlerV1Params
NewAdminDeleteGameRecordHandlerV1ParamsWithTimeout creates a new AdminDeleteGameRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeleteGameRecordHandlerV1Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminDeleteGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin delete game record handler v1 params
func (*AdminDeleteGameRecordHandlerV1Params) SetContext ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the admin delete game record handler v1 params
func (*AdminDeleteGameRecordHandlerV1Params) SetFlightId ¶ added in v0.63.0
func (o *AdminDeleteGameRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminDeleteGameRecordHandlerV1Params) SetHTTPClient ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete game record handler v1 params
func (*AdminDeleteGameRecordHandlerV1Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminDeleteGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin delete game record handler v1 params
func (*AdminDeleteGameRecordHandlerV1Params) SetKey ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the admin delete game record handler v1 params
func (*AdminDeleteGameRecordHandlerV1Params) SetNamespace ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete game record handler v1 params
func (*AdminDeleteGameRecordHandlerV1Params) SetTimeout ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete game record handler v1 params
func (*AdminDeleteGameRecordHandlerV1Params) WithContext ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Params) WithContext(ctx context.Context) *AdminDeleteGameRecordHandlerV1Params
WithContext adds the context to the admin delete game record handler v1 params
func (*AdminDeleteGameRecordHandlerV1Params) WithHTTPClient ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *AdminDeleteGameRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the admin delete game record handler v1 params
func (*AdminDeleteGameRecordHandlerV1Params) WithKey ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Params) WithKey(key string) *AdminDeleteGameRecordHandlerV1Params
WithKey adds the key to the admin delete game record handler v1 params
func (*AdminDeleteGameRecordHandlerV1Params) WithNamespace ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Params) WithNamespace(namespace string) *AdminDeleteGameRecordHandlerV1Params
WithNamespace adds the namespace to the admin delete game record handler v1 params
func (*AdminDeleteGameRecordHandlerV1Params) WithTimeout ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *AdminDeleteGameRecordHandlerV1Params
WithTimeout adds the timeout to the admin delete game record handler v1 params
func (*AdminDeleteGameRecordHandlerV1Params) WriteToRequest ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteGameRecordHandlerV1Reader ¶ added in v0.7.0
type AdminDeleteGameRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
AdminDeleteGameRecordHandlerV1Reader is a Reader for the AdminDeleteGameRecordHandlerV1 structure.
func (*AdminDeleteGameRecordHandlerV1Reader) ReadResponse ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteGameRecordHandlerV1Unauthorized ¶ added in v0.7.0
type AdminDeleteGameRecordHandlerV1Unauthorized struct {
}AdminDeleteGameRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminDeleteGameRecordHandlerV1Unauthorized ¶ added in v0.7.0
func NewAdminDeleteGameRecordHandlerV1Unauthorized() *AdminDeleteGameRecordHandlerV1Unauthorized
NewAdminDeleteGameRecordHandlerV1Unauthorized creates a AdminDeleteGameRecordHandlerV1Unauthorized with default headers values
func (*AdminDeleteGameRecordHandlerV1Unauthorized) Error ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Unauthorized) Error() string
func (*AdminDeleteGameRecordHandlerV1Unauthorized) GetPayload ¶ added in v0.7.0
func (o *AdminDeleteGameRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminDeleteGameRecordHandlerV1Unauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminDeleteGameRecordHandlerV1Unauthorized) ToJSONString() string
type AdminGetGameRecordHandlerV1Forbidden ¶ added in v0.58.0
type AdminGetGameRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminGetGameRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminGetGameRecordHandlerV1Forbidden ¶ added in v0.58.0
func NewAdminGetGameRecordHandlerV1Forbidden() *AdminGetGameRecordHandlerV1Forbidden
NewAdminGetGameRecordHandlerV1Forbidden creates a AdminGetGameRecordHandlerV1Forbidden with default headers values
func (*AdminGetGameRecordHandlerV1Forbidden) Error ¶ added in v0.58.0
func (o *AdminGetGameRecordHandlerV1Forbidden) Error() string
func (*AdminGetGameRecordHandlerV1Forbidden) GetPayload ¶ added in v0.58.0
func (o *AdminGetGameRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminGetGameRecordHandlerV1Forbidden) ToJSONString ¶ added in v0.58.0
func (o *AdminGetGameRecordHandlerV1Forbidden) ToJSONString() string
type AdminGetGameRecordHandlerV1InternalServerError ¶ added in v0.7.0
type AdminGetGameRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminGetGameRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18001</td><td>unable to get record</td></tr><tr><td>18005</td><td>unable to decode record</td></tr></table>
func NewAdminGetGameRecordHandlerV1InternalServerError ¶ added in v0.7.0
func NewAdminGetGameRecordHandlerV1InternalServerError() *AdminGetGameRecordHandlerV1InternalServerError
NewAdminGetGameRecordHandlerV1InternalServerError creates a AdminGetGameRecordHandlerV1InternalServerError with default headers values
func (*AdminGetGameRecordHandlerV1InternalServerError) Error ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1InternalServerError) Error() string
func (*AdminGetGameRecordHandlerV1InternalServerError) GetPayload ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminGetGameRecordHandlerV1InternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminGetGameRecordHandlerV1InternalServerError) ToJSONString() string
type AdminGetGameRecordHandlerV1NotFound ¶ added in v0.7.0
type AdminGetGameRecordHandlerV1NotFound struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminGetGameRecordHandlerV1NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18003</td><td>record not found</td></tr></table>
func NewAdminGetGameRecordHandlerV1NotFound ¶ added in v0.7.0
func NewAdminGetGameRecordHandlerV1NotFound() *AdminGetGameRecordHandlerV1NotFound
NewAdminGetGameRecordHandlerV1NotFound creates a AdminGetGameRecordHandlerV1NotFound with default headers values
func (*AdminGetGameRecordHandlerV1NotFound) Error ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1NotFound) Error() string
func (*AdminGetGameRecordHandlerV1NotFound) GetPayload ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1NotFound) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminGetGameRecordHandlerV1NotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminGetGameRecordHandlerV1NotFound) ToJSONString() string
type AdminGetGameRecordHandlerV1OK ¶ added in v0.7.0
type AdminGetGameRecordHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsGameRecordAdminResponse
}
AdminGetGameRecordHandlerV1OK handles this case with default header values.
Record in namespace-level retrieved
func NewAdminGetGameRecordHandlerV1OK ¶ added in v0.7.0
func NewAdminGetGameRecordHandlerV1OK() *AdminGetGameRecordHandlerV1OK
NewAdminGetGameRecordHandlerV1OK creates a AdminGetGameRecordHandlerV1OK with default headers values
func (*AdminGetGameRecordHandlerV1OK) Error ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1OK) Error() string
func (*AdminGetGameRecordHandlerV1OK) GetPayload ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsGameRecordAdminResponse
func (*AdminGetGameRecordHandlerV1OK) ToJSONString ¶ added in v0.25.0
func (o *AdminGetGameRecordHandlerV1OK) ToJSONString() string
type AdminGetGameRecordHandlerV1Params ¶ added in v0.7.0
type AdminGetGameRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetGameRecordHandlerV1Params contains all the parameters to send to the API endpoint for the admin get game record handler v1 operation typically these are written to a http.Request
func NewAdminGetGameRecordHandlerV1Params ¶ added in v0.7.0
func NewAdminGetGameRecordHandlerV1Params() *AdminGetGameRecordHandlerV1Params
NewAdminGetGameRecordHandlerV1Params creates a new AdminGetGameRecordHandlerV1Params object with the default values initialized.
func NewAdminGetGameRecordHandlerV1ParamsWithContext ¶ added in v0.7.0
func NewAdminGetGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminGetGameRecordHandlerV1Params
NewAdminGetGameRecordHandlerV1ParamsWithContext creates a new AdminGetGameRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewAdminGetGameRecordHandlerV1ParamsWithHTTPClient ¶ added in v0.7.0
func NewAdminGetGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminGetGameRecordHandlerV1Params
NewAdminGetGameRecordHandlerV1ParamsWithHTTPClient creates a new AdminGetGameRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetGameRecordHandlerV1ParamsWithTimeout ¶ added in v0.7.0
func NewAdminGetGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminGetGameRecordHandlerV1Params
NewAdminGetGameRecordHandlerV1ParamsWithTimeout creates a new AdminGetGameRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetGameRecordHandlerV1Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminGetGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get game record handler v1 params
func (*AdminGetGameRecordHandlerV1Params) SetContext ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the admin get game record handler v1 params
func (*AdminGetGameRecordHandlerV1Params) SetFlightId ¶ added in v0.63.0
func (o *AdminGetGameRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetGameRecordHandlerV1Params) SetHTTPClient ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get game record handler v1 params
func (*AdminGetGameRecordHandlerV1Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminGetGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get game record handler v1 params
func (*AdminGetGameRecordHandlerV1Params) SetKey ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the admin get game record handler v1 params
func (*AdminGetGameRecordHandlerV1Params) SetNamespace ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get game record handler v1 params
func (*AdminGetGameRecordHandlerV1Params) SetTimeout ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get game record handler v1 params
func (*AdminGetGameRecordHandlerV1Params) WithContext ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Params) WithContext(ctx context.Context) *AdminGetGameRecordHandlerV1Params
WithContext adds the context to the admin get game record handler v1 params
func (*AdminGetGameRecordHandlerV1Params) WithHTTPClient ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *AdminGetGameRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the admin get game record handler v1 params
func (*AdminGetGameRecordHandlerV1Params) WithKey ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Params) WithKey(key string) *AdminGetGameRecordHandlerV1Params
WithKey adds the key to the admin get game record handler v1 params
func (*AdminGetGameRecordHandlerV1Params) WithNamespace ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Params) WithNamespace(namespace string) *AdminGetGameRecordHandlerV1Params
WithNamespace adds the namespace to the admin get game record handler v1 params
func (*AdminGetGameRecordHandlerV1Params) WithTimeout ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *AdminGetGameRecordHandlerV1Params
WithTimeout adds the timeout to the admin get game record handler v1 params
func (*AdminGetGameRecordHandlerV1Params) WriteToRequest ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetGameRecordHandlerV1Reader ¶ added in v0.7.0
type AdminGetGameRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
AdminGetGameRecordHandlerV1Reader is a Reader for the AdminGetGameRecordHandlerV1 structure.
func (*AdminGetGameRecordHandlerV1Reader) ReadResponse ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetGameRecordHandlerV1Unauthorized ¶ added in v0.7.0
type AdminGetGameRecordHandlerV1Unauthorized struct {
}AdminGetGameRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetGameRecordHandlerV1Unauthorized ¶ added in v0.7.0
func NewAdminGetGameRecordHandlerV1Unauthorized() *AdminGetGameRecordHandlerV1Unauthorized
NewAdminGetGameRecordHandlerV1Unauthorized creates a AdminGetGameRecordHandlerV1Unauthorized with default headers values
func (*AdminGetGameRecordHandlerV1Unauthorized) Error ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Unauthorized) Error() string
func (*AdminGetGameRecordHandlerV1Unauthorized) GetPayload ¶ added in v0.7.0
func (o *AdminGetGameRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminGetGameRecordHandlerV1Unauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminGetGameRecordHandlerV1Unauthorized) ToJSONString() string
type AdminPostGameRecordHandlerV1BadRequest ¶ added in v0.50.0
type AdminPostGameRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPostGameRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18011</td><td>invalid request body</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>18015</td><td>invalid request body: size of the request body must be less than [%d]MB</td></tr></table>
func NewAdminPostGameRecordHandlerV1BadRequest ¶ added in v0.50.0
func NewAdminPostGameRecordHandlerV1BadRequest() *AdminPostGameRecordHandlerV1BadRequest
NewAdminPostGameRecordHandlerV1BadRequest creates a AdminPostGameRecordHandlerV1BadRequest with default headers values
func (*AdminPostGameRecordHandlerV1BadRequest) Error ¶ added in v0.50.0
func (o *AdminPostGameRecordHandlerV1BadRequest) Error() string
func (*AdminPostGameRecordHandlerV1BadRequest) GetPayload ¶ added in v0.50.0
func (o *AdminPostGameRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminPostGameRecordHandlerV1BadRequest) ToJSONString ¶ added in v0.50.0
func (o *AdminPostGameRecordHandlerV1BadRequest) ToJSONString() string
type AdminPostGameRecordHandlerV1Created ¶ added in v0.7.0
type AdminPostGameRecordHandlerV1Created struct {
Payload *cloudsaveclientmodels.ModelsGameRecordAdminResponse
}
AdminPostGameRecordHandlerV1Created handles this case with default header values.
Record in namespace-level saved
func NewAdminPostGameRecordHandlerV1Created ¶ added in v0.7.0
func NewAdminPostGameRecordHandlerV1Created() *AdminPostGameRecordHandlerV1Created
NewAdminPostGameRecordHandlerV1Created creates a AdminPostGameRecordHandlerV1Created with default headers values
func (*AdminPostGameRecordHandlerV1Created) Error ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Created) Error() string
func (*AdminPostGameRecordHandlerV1Created) GetPayload ¶ added in v0.24.0
func (o *AdminPostGameRecordHandlerV1Created) GetPayload() *cloudsaveclientmodels.ModelsGameRecordAdminResponse
func (*AdminPostGameRecordHandlerV1Created) ToJSONString ¶ added in v0.25.0
func (o *AdminPostGameRecordHandlerV1Created) ToJSONString() string
type AdminPostGameRecordHandlerV1Forbidden ¶ added in v0.58.0
type AdminPostGameRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPostGameRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminPostGameRecordHandlerV1Forbidden ¶ added in v0.58.0
func NewAdminPostGameRecordHandlerV1Forbidden() *AdminPostGameRecordHandlerV1Forbidden
NewAdminPostGameRecordHandlerV1Forbidden creates a AdminPostGameRecordHandlerV1Forbidden with default headers values
func (*AdminPostGameRecordHandlerV1Forbidden) Error ¶ added in v0.58.0
func (o *AdminPostGameRecordHandlerV1Forbidden) Error() string
func (*AdminPostGameRecordHandlerV1Forbidden) GetPayload ¶ added in v0.58.0
func (o *AdminPostGameRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminPostGameRecordHandlerV1Forbidden) ToJSONString ¶ added in v0.58.0
func (o *AdminPostGameRecordHandlerV1Forbidden) ToJSONString() string
type AdminPostGameRecordHandlerV1InternalServerError ¶ added in v0.7.0
type AdminPostGameRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPostGameRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18012</td><td>unable to marshal request body</td></tr><tr><td>20000</td><td>internal server error</td></tr><tr><td>18013</td><td>unable to save record</td></tr><tr><td>18005</td><td>unable to decode record</td></tr></table>
func NewAdminPostGameRecordHandlerV1InternalServerError ¶ added in v0.7.0
func NewAdminPostGameRecordHandlerV1InternalServerError() *AdminPostGameRecordHandlerV1InternalServerError
NewAdminPostGameRecordHandlerV1InternalServerError creates a AdminPostGameRecordHandlerV1InternalServerError with default headers values
func (*AdminPostGameRecordHandlerV1InternalServerError) Error ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1InternalServerError) Error() string
func (*AdminPostGameRecordHandlerV1InternalServerError) GetPayload ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminPostGameRecordHandlerV1InternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminPostGameRecordHandlerV1InternalServerError) ToJSONString() string
type AdminPostGameRecordHandlerV1Params ¶ added in v0.7.0
type AdminPostGameRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body cloudsaveclientmodels.ModelsGameRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminPostGameRecordHandlerV1Params contains all the parameters to send to the API endpoint for the admin post game record handler v1 operation typically these are written to a http.Request
func NewAdminPostGameRecordHandlerV1Params ¶ added in v0.7.0
func NewAdminPostGameRecordHandlerV1Params() *AdminPostGameRecordHandlerV1Params
NewAdminPostGameRecordHandlerV1Params creates a new AdminPostGameRecordHandlerV1Params object with the default values initialized.
func NewAdminPostGameRecordHandlerV1ParamsWithContext ¶ added in v0.7.0
func NewAdminPostGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminPostGameRecordHandlerV1Params
NewAdminPostGameRecordHandlerV1ParamsWithContext creates a new AdminPostGameRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewAdminPostGameRecordHandlerV1ParamsWithHTTPClient ¶ added in v0.7.0
func NewAdminPostGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPostGameRecordHandlerV1Params
NewAdminPostGameRecordHandlerV1ParamsWithHTTPClient creates a new AdminPostGameRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminPostGameRecordHandlerV1ParamsWithTimeout ¶ added in v0.7.0
func NewAdminPostGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPostGameRecordHandlerV1Params
NewAdminPostGameRecordHandlerV1ParamsWithTimeout creates a new AdminPostGameRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminPostGameRecordHandlerV1Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminPostGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) SetBody ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsGameRecordRequest)
SetBody adds the body to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) SetContext ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) SetFlightId ¶ added in v0.63.0
func (o *AdminPostGameRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminPostGameRecordHandlerV1Params) SetHTTPClient ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminPostGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) SetKey ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) SetNamespace ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) SetTimeout ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) WithBody ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsGameRecordRequest) *AdminPostGameRecordHandlerV1Params
WithBody adds the body to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) WithContext ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) WithContext(ctx context.Context) *AdminPostGameRecordHandlerV1Params
WithContext adds the context to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) WithHTTPClient ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *AdminPostGameRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) WithKey ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) WithKey(key string) *AdminPostGameRecordHandlerV1Params
WithKey adds the key to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) WithNamespace ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) WithNamespace(namespace string) *AdminPostGameRecordHandlerV1Params
WithNamespace adds the namespace to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) WithTimeout ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *AdminPostGameRecordHandlerV1Params
WithTimeout adds the timeout to the admin post game record handler v1 params
func (*AdminPostGameRecordHandlerV1Params) WriteToRequest ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminPostGameRecordHandlerV1Reader ¶ added in v0.7.0
type AdminPostGameRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
AdminPostGameRecordHandlerV1Reader is a Reader for the AdminPostGameRecordHandlerV1 structure.
func (*AdminPostGameRecordHandlerV1Reader) ReadResponse ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminPostGameRecordHandlerV1Unauthorized ¶ added in v0.7.0
type AdminPostGameRecordHandlerV1Unauthorized struct {
}AdminPostGameRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminPostGameRecordHandlerV1Unauthorized ¶ added in v0.7.0
func NewAdminPostGameRecordHandlerV1Unauthorized() *AdminPostGameRecordHandlerV1Unauthorized
NewAdminPostGameRecordHandlerV1Unauthorized creates a AdminPostGameRecordHandlerV1Unauthorized with default headers values
func (*AdminPostGameRecordHandlerV1Unauthorized) Error ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Unauthorized) Error() string
func (*AdminPostGameRecordHandlerV1Unauthorized) GetPayload ¶ added in v0.7.0
func (o *AdminPostGameRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminPostGameRecordHandlerV1Unauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminPostGameRecordHandlerV1Unauthorized) ToJSONString() string
type AdminPutGameRecordHandlerV1BadRequest ¶ added in v0.58.0
type AdminPutGameRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPutGameRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18050</td><td>invalid request body</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>18052</td><td>invalid request body: size of the request body must be less than [%d]MB</td></tr></table>
func NewAdminPutGameRecordHandlerV1BadRequest ¶ added in v0.58.0
func NewAdminPutGameRecordHandlerV1BadRequest() *AdminPutGameRecordHandlerV1BadRequest
NewAdminPutGameRecordHandlerV1BadRequest creates a AdminPutGameRecordHandlerV1BadRequest with default headers values
func (*AdminPutGameRecordHandlerV1BadRequest) Error ¶ added in v0.58.0
func (o *AdminPutGameRecordHandlerV1BadRequest) Error() string
func (*AdminPutGameRecordHandlerV1BadRequest) GetPayload ¶ added in v0.58.0
func (o *AdminPutGameRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminPutGameRecordHandlerV1BadRequest) ToJSONString ¶ added in v0.58.0
func (o *AdminPutGameRecordHandlerV1BadRequest) ToJSONString() string
type AdminPutGameRecordHandlerV1Forbidden ¶ added in v0.58.0
type AdminPutGameRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPutGameRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminPutGameRecordHandlerV1Forbidden ¶ added in v0.58.0
func NewAdminPutGameRecordHandlerV1Forbidden() *AdminPutGameRecordHandlerV1Forbidden
NewAdminPutGameRecordHandlerV1Forbidden creates a AdminPutGameRecordHandlerV1Forbidden with default headers values
func (*AdminPutGameRecordHandlerV1Forbidden) Error ¶ added in v0.58.0
func (o *AdminPutGameRecordHandlerV1Forbidden) Error() string
func (*AdminPutGameRecordHandlerV1Forbidden) GetPayload ¶ added in v0.58.0
func (o *AdminPutGameRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminPutGameRecordHandlerV1Forbidden) ToJSONString ¶ added in v0.58.0
func (o *AdminPutGameRecordHandlerV1Forbidden) ToJSONString() string
type AdminPutGameRecordHandlerV1InternalServerError ¶ added in v0.7.0
type AdminPutGameRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
AdminPutGameRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18051</td><td>unable to marshal request body</td></tr><tr><td>20000</td><td>internal server error</td></tr><tr><td>18053</td><td>unable to update record</td></tr><tr><td>18005</td><td>unable to decode record</td></tr></table>
func NewAdminPutGameRecordHandlerV1InternalServerError ¶ added in v0.7.0
func NewAdminPutGameRecordHandlerV1InternalServerError() *AdminPutGameRecordHandlerV1InternalServerError
NewAdminPutGameRecordHandlerV1InternalServerError creates a AdminPutGameRecordHandlerV1InternalServerError with default headers values
func (*AdminPutGameRecordHandlerV1InternalServerError) Error ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1InternalServerError) Error() string
func (*AdminPutGameRecordHandlerV1InternalServerError) GetPayload ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminPutGameRecordHandlerV1InternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminPutGameRecordHandlerV1InternalServerError) ToJSONString() string
type AdminPutGameRecordHandlerV1OK ¶ added in v0.7.0
type AdminPutGameRecordHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsGameRecordAdminResponse
}
AdminPutGameRecordHandlerV1OK handles this case with default header values.
Record saved
func NewAdminPutGameRecordHandlerV1OK ¶ added in v0.7.0
func NewAdminPutGameRecordHandlerV1OK() *AdminPutGameRecordHandlerV1OK
NewAdminPutGameRecordHandlerV1OK creates a AdminPutGameRecordHandlerV1OK with default headers values
func (*AdminPutGameRecordHandlerV1OK) Error ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1OK) Error() string
func (*AdminPutGameRecordHandlerV1OK) GetPayload ¶ added in v0.24.0
func (o *AdminPutGameRecordHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsGameRecordAdminResponse
func (*AdminPutGameRecordHandlerV1OK) ToJSONString ¶ added in v0.25.0
func (o *AdminPutGameRecordHandlerV1OK) ToJSONString() string
type AdminPutGameRecordHandlerV1Params ¶ added in v0.7.0
type AdminPutGameRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body cloudsaveclientmodels.ModelsGameRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminPutGameRecordHandlerV1Params contains all the parameters to send to the API endpoint for the admin put game record handler v1 operation typically these are written to a http.Request
func NewAdminPutGameRecordHandlerV1Params ¶ added in v0.7.0
func NewAdminPutGameRecordHandlerV1Params() *AdminPutGameRecordHandlerV1Params
NewAdminPutGameRecordHandlerV1Params creates a new AdminPutGameRecordHandlerV1Params object with the default values initialized.
func NewAdminPutGameRecordHandlerV1ParamsWithContext ¶ added in v0.7.0
func NewAdminPutGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminPutGameRecordHandlerV1Params
NewAdminPutGameRecordHandlerV1ParamsWithContext creates a new AdminPutGameRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewAdminPutGameRecordHandlerV1ParamsWithHTTPClient ¶ added in v0.7.0
func NewAdminPutGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutGameRecordHandlerV1Params
NewAdminPutGameRecordHandlerV1ParamsWithHTTPClient creates a new AdminPutGameRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminPutGameRecordHandlerV1ParamsWithTimeout ¶ added in v0.7.0
func NewAdminPutGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutGameRecordHandlerV1Params
NewAdminPutGameRecordHandlerV1ParamsWithTimeout creates a new AdminPutGameRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminPutGameRecordHandlerV1Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminPutGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) SetBody ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsGameRecordRequest)
SetBody adds the body to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) SetContext ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) SetFlightId ¶ added in v0.63.0
func (o *AdminPutGameRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminPutGameRecordHandlerV1Params) SetHTTPClient ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminPutGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) SetKey ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) SetNamespace ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) SetTimeout ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) WithBody ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsGameRecordRequest) *AdminPutGameRecordHandlerV1Params
WithBody adds the body to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) WithContext ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) WithContext(ctx context.Context) *AdminPutGameRecordHandlerV1Params
WithContext adds the context to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) WithHTTPClient ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *AdminPutGameRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) WithKey ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) WithKey(key string) *AdminPutGameRecordHandlerV1Params
WithKey adds the key to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) WithNamespace ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) WithNamespace(namespace string) *AdminPutGameRecordHandlerV1Params
WithNamespace adds the namespace to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) WithTimeout ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *AdminPutGameRecordHandlerV1Params
WithTimeout adds the timeout to the admin put game record handler v1 params
func (*AdminPutGameRecordHandlerV1Params) WriteToRequest ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminPutGameRecordHandlerV1Reader ¶ added in v0.7.0
type AdminPutGameRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
AdminPutGameRecordHandlerV1Reader is a Reader for the AdminPutGameRecordHandlerV1 structure.
func (*AdminPutGameRecordHandlerV1Reader) ReadResponse ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminPutGameRecordHandlerV1Unauthorized ¶ added in v0.7.0
type AdminPutGameRecordHandlerV1Unauthorized struct {
}AdminPutGameRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminPutGameRecordHandlerV1Unauthorized ¶ added in v0.7.0
func NewAdminPutGameRecordHandlerV1Unauthorized() *AdminPutGameRecordHandlerV1Unauthorized
NewAdminPutGameRecordHandlerV1Unauthorized creates a AdminPutGameRecordHandlerV1Unauthorized with default headers values
func (*AdminPutGameRecordHandlerV1Unauthorized) Error ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Unauthorized) Error() string
func (*AdminPutGameRecordHandlerV1Unauthorized) GetPayload ¶ added in v0.7.0
func (o *AdminPutGameRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*AdminPutGameRecordHandlerV1Unauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminPutGameRecordHandlerV1Unauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin game record API
func (*Client) AdminDeleteGameRecordHandlerV1
deprecated
added in
v0.7.0
func (a *Client) AdminDeleteGameRecordHandlerV1(params *AdminDeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGameRecordHandlerV1NoContent, *AdminDeleteGameRecordHandlerV1BadRequest, *AdminDeleteGameRecordHandlerV1Unauthorized, *AdminDeleteGameRecordHandlerV1Forbidden, *AdminDeleteGameRecordHandlerV1InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeleteGameRecordHandlerV1Short instead.
AdminDeleteGameRecordHandlerV1 delete game record This endpoints delete game record in namespace-level
func (*Client) AdminDeleteGameRecordHandlerV1Short ¶ added in v0.8.0
func (a *Client) AdminDeleteGameRecordHandlerV1Short(params *AdminDeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGameRecordHandlerV1NoContent, error)
AdminDeleteGameRecordHandlerV1Short delete game record This endpoints delete game record in namespace-level
func (*Client) AdminGetGameRecordHandlerV1
deprecated
added in
v0.7.0
func (a *Client) AdminGetGameRecordHandlerV1(params *AdminGetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGameRecordHandlerV1OK, *AdminGetGameRecordHandlerV1Unauthorized, *AdminGetGameRecordHandlerV1Forbidden, *AdminGetGameRecordHandlerV1NotFound, *AdminGetGameRecordHandlerV1InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetGameRecordHandlerV1Short instead.
AdminGetGameRecordHandlerV1 get game record Get a record by its key in namespace-level.
func (*Client) AdminGetGameRecordHandlerV1Short ¶ added in v0.8.0
func (a *Client) AdminGetGameRecordHandlerV1Short(params *AdminGetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGameRecordHandlerV1OK, error)
AdminGetGameRecordHandlerV1Short get game record Get a record by its key in namespace-level.
func (*Client) AdminPostGameRecordHandlerV1
deprecated
added in
v0.7.0
func (a *Client) AdminPostGameRecordHandlerV1(params *AdminPostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPostGameRecordHandlerV1Created, *AdminPostGameRecordHandlerV1BadRequest, *AdminPostGameRecordHandlerV1Unauthorized, *AdminPostGameRecordHandlerV1Forbidden, *AdminPostGameRecordHandlerV1InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminPostGameRecordHandlerV1Short instead.
AdminPostGameRecordHandlerV1 create or append game record ## Description
This endpoints will create new game record or append the existing game record.
**Append example:**
Example 1 - Existing JSON:
`{ "data1": "value" }`
- New JSON:
`{ "data2": "new value" }`
- Result:
`{ "data1": "value", "data2": "new value" }`
Example 2 - Existing JSON:
`{ "data1": { "data2": "value" }`
- New JSON:
`{ "data1": { "data3": "new value" }`
- Result:
`{ "data1": { "data2": "value", "data3": "new value" }`
## Restriction This is the restriction of Key Naming for the record: 1. Cannot use **"."** as the key name - `{ "data.2": "value" }` 2. Cannot use **"$"** as the prefix in key names - `{ "$data": "value" }` 3. Cannot use empty string in key names - `{ "": "value" }`
## Record Metadata
Metadata allows user to define the behaviour of the record. Metadata can be defined in request body with field name **__META**. When creating record, if **__META** field is not defined, the metadata value will use the default value. When updating record, if **__META** field is not defined, the existing metadata value will stay as is.
**Metadata List:** 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. ttl_config (default: *empty*, type: object) Indicate the TTL configuration for the game record. action: - DELETE: record will be deleted after TTL is reached 3. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record.
**Request Body Example:** ``` { "__META": { "set_by": "SERVER", "ttl_config": { "expires_at": "2026-01-02T15:04:05Z", // should be in RFC3339 format "action": "DELETE" }, "tags": ["tag1", "tag2"] } ... } ```
func (*Client) AdminPostGameRecordHandlerV1Short ¶ added in v0.8.0
func (a *Client) AdminPostGameRecordHandlerV1Short(params *AdminPostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPostGameRecordHandlerV1Created, error)
AdminPostGameRecordHandlerV1Short create or append game record ## Description
This endpoints will create new game record or append the existing game record.
**Append example:**
Example 1 - Existing JSON:
`{ "data1": "value" }`
- New JSON:
`{ "data2": "new value" }`
- Result:
`{ "data1": "value", "data2": "new value" }`
Example 2 - Existing JSON:
`{ "data1": { "data2": "value" }`
- New JSON:
`{ "data1": { "data3": "new value" }`
- Result:
`{ "data1": { "data2": "value", "data3": "new value" }`
## Restriction This is the restriction of Key Naming for the record: 1. Cannot use **"."** as the key name - `{ "data.2": "value" }` 2. Cannot use **"$"** as the prefix in key names - `{ "$data": "value" }` 3. Cannot use empty string in key names - `{ "": "value" }`
## Record Metadata
Metadata allows user to define the behaviour of the record. Metadata can be defined in request body with field name **__META**. When creating record, if **__META** field is not defined, the metadata value will use the default value. When updating record, if **__META** field is not defined, the existing metadata value will stay as is.
**Metadata List:** 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. ttl_config (default: *empty*, type: object) Indicate the TTL configuration for the game record. action: - DELETE: record will be deleted after TTL is reached 3. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record.
**Request Body Example:** ``` { "__META": { "set_by": "SERVER", "ttl_config": { "expires_at": "2026-01-02T15:04:05Z", // should be in RFC3339 format "action": "DELETE" }, "tags": ["tag1", "tag2"] } ... } ```
func (*Client) AdminPutGameRecordHandlerV1
deprecated
added in
v0.7.0
func (a *Client) AdminPutGameRecordHandlerV1(params *AdminPutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordHandlerV1OK, *AdminPutGameRecordHandlerV1BadRequest, *AdminPutGameRecordHandlerV1Unauthorized, *AdminPutGameRecordHandlerV1Forbidden, *AdminPutGameRecordHandlerV1InternalServerError, error)
Deprecated: 2022-08-10 - Use AdminPutGameRecordHandlerV1Short instead.
AdminPutGameRecordHandlerV1 create or replace game record ## Description
This endpoints will create new game record or replace the existing game record.
**Replace behaviour:** The existing value will be replaced completely with the new value.
Example - Existing JSON:
`{ "data1": "value" }`
- New JSON:
`{ "data2": "new value" }`
- Result:
`{ "data2": "new value" }`
## Restriction This is the restriction of Key Naming for the record: 1. Cannot use **"."** as the key name - `{ "data.2": "value" }` 2. Cannot use **"$"** as the prefix in key names - `{ "$data": "value" }` 3. Cannot use empty string in key names - `{ "": "value" }`
## Record Metadata
Metadata allows user to define the behaviour of the record. Metadata can be defined in request body with field name **__META**. When creating record, if **__META** field is not defined, the metadata value will use the default value. When updating record, if **__META** field is not defined, the existing metadata value will stay as is.
**Metadata List:** 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. ttl_config (default: *empty*, type: object) Indicate the TTL configuration for the game record. action: - DELETE: record will be deleted after TTL is reached 3. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record.
**Request Body Example:** ``` { "__META": { "set_by": "SERVER", "ttl_config": { "expires_at": "2026-01-02T15:04:05Z", // should be in RFC3339 format "action": "DELETE" }, "tags": ["tag1", "tag2"] } ... } ```
func (*Client) AdminPutGameRecordHandlerV1Short ¶ added in v0.8.0
func (a *Client) AdminPutGameRecordHandlerV1Short(params *AdminPutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordHandlerV1OK, error)
AdminPutGameRecordHandlerV1Short create or replace game record ## Description
This endpoints will create new game record or replace the existing game record.
**Replace behaviour:** The existing value will be replaced completely with the new value.
Example - Existing JSON:
`{ "data1": "value" }`
- New JSON:
`{ "data2": "new value" }`
- Result:
`{ "data2": "new value" }`
## Restriction This is the restriction of Key Naming for the record: 1. Cannot use **"."** as the key name - `{ "data.2": "value" }` 2. Cannot use **"$"** as the prefix in key names - `{ "$data": "value" }` 3. Cannot use empty string in key names - `{ "": "value" }`
## Record Metadata
Metadata allows user to define the behaviour of the record. Metadata can be defined in request body with field name **__META**. When creating record, if **__META** field is not defined, the metadata value will use the default value. When updating record, if **__META** field is not defined, the existing metadata value will stay as is.
**Metadata List:** 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. ttl_config (default: *empty*, type: object) Indicate the TTL configuration for the game record. action: - DELETE: record will be deleted after TTL is reached 3. tags (default: *empty array*, type: array of string) Indicate the tagging for the game record.
**Request Body Example:** ``` { "__META": { "set_by": "SERVER", "ttl_config": { "expires_at": "2026-01-02T15:04:05Z", // should be in RFC3339 format "action": "DELETE" }, "tags": ["tag1", "tag2"] } ... } ```
func (*Client) ListGameRecordsHandlerV1
deprecated
func (a *Client) ListGameRecordsHandlerV1(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, *ListGameRecordsHandlerV1BadRequest, *ListGameRecordsHandlerV1Unauthorized, *ListGameRecordsHandlerV1Forbidden, *ListGameRecordsHandlerV1InternalServerError, error)
Deprecated: 2022-08-10 - Use ListGameRecordsHandlerV1Short instead.
ListGameRecordsHandlerV1 query game records Retrieve list of records key by namespace
func (*Client) ListGameRecordsHandlerV1Short ¶ added in v0.8.0
func (a *Client) ListGameRecordsHandlerV1Short(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, error)
ListGameRecordsHandlerV1Short query game records Retrieve list of records key by namespace
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListGameRecordsHandlerV1(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, *ListGameRecordsHandlerV1BadRequest, *ListGameRecordsHandlerV1Unauthorized, *ListGameRecordsHandlerV1Forbidden, *ListGameRecordsHandlerV1InternalServerError, error) ListGameRecordsHandlerV1Short(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, error) AdminGetGameRecordHandlerV1(params *AdminGetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGameRecordHandlerV1OK, *AdminGetGameRecordHandlerV1Unauthorized, *AdminGetGameRecordHandlerV1Forbidden, *AdminGetGameRecordHandlerV1NotFound, *AdminGetGameRecordHandlerV1InternalServerError, error) AdminGetGameRecordHandlerV1Short(params *AdminGetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGameRecordHandlerV1OK, error) AdminPutGameRecordHandlerV1(params *AdminPutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordHandlerV1OK, *AdminPutGameRecordHandlerV1BadRequest, *AdminPutGameRecordHandlerV1Unauthorized, *AdminPutGameRecordHandlerV1Forbidden, *AdminPutGameRecordHandlerV1InternalServerError, error) AdminPutGameRecordHandlerV1Short(params *AdminPutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordHandlerV1OK, error) AdminPostGameRecordHandlerV1(params *AdminPostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPostGameRecordHandlerV1Created, *AdminPostGameRecordHandlerV1BadRequest, *AdminPostGameRecordHandlerV1Unauthorized, *AdminPostGameRecordHandlerV1Forbidden, *AdminPostGameRecordHandlerV1InternalServerError, error) AdminPostGameRecordHandlerV1Short(params *AdminPostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPostGameRecordHandlerV1Created, error) AdminDeleteGameRecordHandlerV1(params *AdminDeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGameRecordHandlerV1NoContent, *AdminDeleteGameRecordHandlerV1BadRequest, *AdminDeleteGameRecordHandlerV1Unauthorized, *AdminDeleteGameRecordHandlerV1Forbidden, *AdminDeleteGameRecordHandlerV1InternalServerError, error) AdminDeleteGameRecordHandlerV1Short(params *AdminDeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGameRecordHandlerV1NoContent, 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 game record API client.
type ListGameRecordsHandlerV1BadRequest ¶ added in v0.58.0
type ListGameRecordsHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
ListGameRecordsHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18004</td><td>unable to retrieve list of key records</td></tr></table>
func NewListGameRecordsHandlerV1BadRequest ¶ added in v0.58.0
func NewListGameRecordsHandlerV1BadRequest() *ListGameRecordsHandlerV1BadRequest
NewListGameRecordsHandlerV1BadRequest creates a ListGameRecordsHandlerV1BadRequest with default headers values
func (*ListGameRecordsHandlerV1BadRequest) Error ¶ added in v0.58.0
func (o *ListGameRecordsHandlerV1BadRequest) Error() string
func (*ListGameRecordsHandlerV1BadRequest) GetPayload ¶ added in v0.58.0
func (o *ListGameRecordsHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*ListGameRecordsHandlerV1BadRequest) ToJSONString ¶ added in v0.58.0
func (o *ListGameRecordsHandlerV1BadRequest) ToJSONString() string
type ListGameRecordsHandlerV1Forbidden ¶ added in v0.58.0
type ListGameRecordsHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
ListGameRecordsHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewListGameRecordsHandlerV1Forbidden ¶ added in v0.58.0
func NewListGameRecordsHandlerV1Forbidden() *ListGameRecordsHandlerV1Forbidden
NewListGameRecordsHandlerV1Forbidden creates a ListGameRecordsHandlerV1Forbidden with default headers values
func (*ListGameRecordsHandlerV1Forbidden) Error ¶ added in v0.58.0
func (o *ListGameRecordsHandlerV1Forbidden) Error() string
func (*ListGameRecordsHandlerV1Forbidden) GetPayload ¶ added in v0.58.0
func (o *ListGameRecordsHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*ListGameRecordsHandlerV1Forbidden) ToJSONString ¶ added in v0.58.0
func (o *ListGameRecordsHandlerV1Forbidden) ToJSONString() string
type ListGameRecordsHandlerV1InternalServerError ¶
type ListGameRecordsHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
ListGameRecordsHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18001</td><td>unable to get record</td></tr></table>
func NewListGameRecordsHandlerV1InternalServerError ¶
func NewListGameRecordsHandlerV1InternalServerError() *ListGameRecordsHandlerV1InternalServerError
NewListGameRecordsHandlerV1InternalServerError creates a ListGameRecordsHandlerV1InternalServerError with default headers values
func (*ListGameRecordsHandlerV1InternalServerError) Error ¶
func (o *ListGameRecordsHandlerV1InternalServerError) Error() string
func (*ListGameRecordsHandlerV1InternalServerError) GetPayload ¶
func (o *ListGameRecordsHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*ListGameRecordsHandlerV1InternalServerError) ToJSONString ¶ added in v0.25.0
func (o *ListGameRecordsHandlerV1InternalServerError) ToJSONString() string
type ListGameRecordsHandlerV1OK ¶
type ListGameRecordsHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsListGameRecordKeysResponse
}
ListGameRecordsHandlerV1OK handles this case with default header values.
Retrieve list of records key by namespace
func NewListGameRecordsHandlerV1OK ¶
func NewListGameRecordsHandlerV1OK() *ListGameRecordsHandlerV1OK
NewListGameRecordsHandlerV1OK creates a ListGameRecordsHandlerV1OK with default headers values
func (*ListGameRecordsHandlerV1OK) Error ¶
func (o *ListGameRecordsHandlerV1OK) Error() string
func (*ListGameRecordsHandlerV1OK) GetPayload ¶
func (o *ListGameRecordsHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsListGameRecordKeysResponse
func (*ListGameRecordsHandlerV1OK) ToJSONString ¶ added in v0.25.0
func (o *ListGameRecordsHandlerV1OK) ToJSONString() string
type ListGameRecordsHandlerV1Params ¶
type ListGameRecordsHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string /*Query query, search game records by key */ Query *string /*Tags filter list by tags, max 5 tags per request */ Tags []string /*Limit the number of data retrieved in a page, default 25 */ Limit int64 /*Offset the number of offset, default 0 */ Offset int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
ListGameRecordsHandlerV1Params contains all the parameters to send to the API endpoint for the list game records handler v1 operation typically these are written to a http.Request
func NewListGameRecordsHandlerV1Params ¶
func NewListGameRecordsHandlerV1Params() *ListGameRecordsHandlerV1Params
NewListGameRecordsHandlerV1Params creates a new ListGameRecordsHandlerV1Params object with the default values initialized.
func NewListGameRecordsHandlerV1ParamsWithContext ¶
func NewListGameRecordsHandlerV1ParamsWithContext(ctx context.Context) *ListGameRecordsHandlerV1Params
NewListGameRecordsHandlerV1ParamsWithContext creates a new ListGameRecordsHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewListGameRecordsHandlerV1ParamsWithHTTPClient ¶
func NewListGameRecordsHandlerV1ParamsWithHTTPClient(client *http.Client) *ListGameRecordsHandlerV1Params
NewListGameRecordsHandlerV1ParamsWithHTTPClient creates a new ListGameRecordsHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListGameRecordsHandlerV1ParamsWithTimeout ¶
func NewListGameRecordsHandlerV1ParamsWithTimeout(timeout time.Duration) *ListGameRecordsHandlerV1Params
NewListGameRecordsHandlerV1ParamsWithTimeout creates a new ListGameRecordsHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*ListGameRecordsHandlerV1Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ListGameRecordsHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) SetContext ¶
func (o *ListGameRecordsHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) SetFlightId ¶ added in v0.63.0
func (o *ListGameRecordsHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*ListGameRecordsHandlerV1Params) SetHTTPClient ¶
func (o *ListGameRecordsHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ListGameRecordsHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) SetLimit ¶
func (o *ListGameRecordsHandlerV1Params) SetLimit(limit int64)
SetLimit adds the limit to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) SetNamespace ¶
func (o *ListGameRecordsHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) SetOffset ¶
func (o *ListGameRecordsHandlerV1Params) SetOffset(offset int64)
SetOffset adds the offset to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) SetQuery ¶ added in v0.10.0
func (o *ListGameRecordsHandlerV1Params) SetQuery(query *string)
SetQuery adds the query to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) SetTags ¶ added in v0.68.0
func (o *ListGameRecordsHandlerV1Params) SetTags(tags []string)
SetTags adds the tags to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) SetTimeout ¶
func (o *ListGameRecordsHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithContext ¶
func (o *ListGameRecordsHandlerV1Params) WithContext(ctx context.Context) *ListGameRecordsHandlerV1Params
WithContext adds the context to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithHTTPClient ¶
func (o *ListGameRecordsHandlerV1Params) WithHTTPClient(client *http.Client) *ListGameRecordsHandlerV1Params
WithHTTPClient adds the HTTPClient to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithLimit ¶
func (o *ListGameRecordsHandlerV1Params) WithLimit(limit int64) *ListGameRecordsHandlerV1Params
WithLimit adds the limit to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithNamespace ¶
func (o *ListGameRecordsHandlerV1Params) WithNamespace(namespace string) *ListGameRecordsHandlerV1Params
WithNamespace adds the namespace to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithOffset ¶
func (o *ListGameRecordsHandlerV1Params) WithOffset(offset int64) *ListGameRecordsHandlerV1Params
WithOffset adds the offset to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithQuery ¶ added in v0.10.0
func (o *ListGameRecordsHandlerV1Params) WithQuery(query *string) *ListGameRecordsHandlerV1Params
WithQuery adds the query to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithTags ¶ added in v0.68.0
func (o *ListGameRecordsHandlerV1Params) WithTags(tags []string) *ListGameRecordsHandlerV1Params
WithTags adds the tags to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithTimeout ¶
func (o *ListGameRecordsHandlerV1Params) WithTimeout(timeout time.Duration) *ListGameRecordsHandlerV1Params
WithTimeout adds the timeout to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WriteToRequest ¶
func (o *ListGameRecordsHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListGameRecordsHandlerV1Reader ¶
type ListGameRecordsHandlerV1Reader struct {
// contains filtered or unexported fields
}
ListGameRecordsHandlerV1Reader is a Reader for the ListGameRecordsHandlerV1 structure.
func (*ListGameRecordsHandlerV1Reader) ReadResponse ¶
func (o *ListGameRecordsHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListGameRecordsHandlerV1Unauthorized ¶ added in v0.7.0
type ListGameRecordsHandlerV1Unauthorized struct {
}ListGameRecordsHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewListGameRecordsHandlerV1Unauthorized ¶ added in v0.7.0
func NewListGameRecordsHandlerV1Unauthorized() *ListGameRecordsHandlerV1Unauthorized
NewListGameRecordsHandlerV1Unauthorized creates a ListGameRecordsHandlerV1Unauthorized with default headers values
func (*ListGameRecordsHandlerV1Unauthorized) Error ¶ added in v0.7.0
func (o *ListGameRecordsHandlerV1Unauthorized) Error() string
func (*ListGameRecordsHandlerV1Unauthorized) GetPayload ¶ added in v0.7.0
func (o *ListGameRecordsHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*ListGameRecordsHandlerV1Unauthorized) ToJSONString ¶ added in v0.25.0
func (o *ListGameRecordsHandlerV1Unauthorized) ToJSONString() string
Source Files ¶
- admin_delete_game_record_handler_v1_parameters.go
- admin_delete_game_record_handler_v1_responses.go
- admin_game_record_client.go
- admin_get_game_record_handler_v1_parameters.go
- admin_get_game_record_handler_v1_responses.go
- admin_post_game_record_handler_v1_parameters.go
- admin_post_game_record_handler_v1_responses.go
- admin_put_game_record_handler_v1_parameters.go
- admin_put_game_record_handler_v1_responses.go
- list_game_records_handler_v1_parameters.go
- list_game_records_handler_v1_responses.go