Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteGameRecordHandlerV1Short(params *DeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameRecordHandlerV1Response, error)
- func (a *Client) GetGameRecordHandlerV1Short(params *GetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordHandlerV1Response, error)
- func (a *Client) GetGameRecordsBulkShort(params *GetGameRecordsBulkParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordsBulkResponse, error)
- func (a *Client) PostGameRecordHandlerV1Short(params *PostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostGameRecordHandlerV1Response, error)
- func (a *Client) PutGameRecordHandlerV1Short(params *PutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameRecordHandlerV1Response, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteGameRecordHandlerV1BadRequest
- type DeleteGameRecordHandlerV1Forbidden
- type DeleteGameRecordHandlerV1InternalServerError
- type DeleteGameRecordHandlerV1NoContent
- type DeleteGameRecordHandlerV1Params
- func NewDeleteGameRecordHandlerV1Params() *DeleteGameRecordHandlerV1Params
- func NewDeleteGameRecordHandlerV1ParamsWithContext(ctx context.Context) *DeleteGameRecordHandlerV1Params
- func NewDeleteGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *DeleteGameRecordHandlerV1Params
- func NewDeleteGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *DeleteGameRecordHandlerV1Params
- func (o *DeleteGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteGameRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *DeleteGameRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *DeleteGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *DeleteGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteGameRecordHandlerV1Params) SetKey(key string)
- func (o *DeleteGameRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *DeleteGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *DeleteGameRecordHandlerV1Params) WithContext(ctx context.Context) *DeleteGameRecordHandlerV1Params
- func (o *DeleteGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *DeleteGameRecordHandlerV1Params
- func (o *DeleteGameRecordHandlerV1Params) WithKey(key string) *DeleteGameRecordHandlerV1Params
- func (o *DeleteGameRecordHandlerV1Params) WithNamespace(namespace string) *DeleteGameRecordHandlerV1Params
- func (o *DeleteGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *DeleteGameRecordHandlerV1Params
- func (o *DeleteGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGameRecordHandlerV1Reader
- type DeleteGameRecordHandlerV1Response
- type DeleteGameRecordHandlerV1Unauthorized
- type GetGameRecordHandlerV1BadRequest
- type GetGameRecordHandlerV1Forbidden
- type GetGameRecordHandlerV1InternalServerError
- type GetGameRecordHandlerV1NotFound
- type GetGameRecordHandlerV1OK
- type GetGameRecordHandlerV1Params
- func NewGetGameRecordHandlerV1Params() *GetGameRecordHandlerV1Params
- func NewGetGameRecordHandlerV1ParamsWithContext(ctx context.Context) *GetGameRecordHandlerV1Params
- func NewGetGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *GetGameRecordHandlerV1Params
- func NewGetGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *GetGameRecordHandlerV1Params
- func (o *GetGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetGameRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *GetGameRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *GetGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *GetGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetGameRecordHandlerV1Params) SetKey(key string)
- func (o *GetGameRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *GetGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *GetGameRecordHandlerV1Params) WithContext(ctx context.Context) *GetGameRecordHandlerV1Params
- func (o *GetGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *GetGameRecordHandlerV1Params
- func (o *GetGameRecordHandlerV1Params) WithKey(key string) *GetGameRecordHandlerV1Params
- func (o *GetGameRecordHandlerV1Params) WithNamespace(namespace string) *GetGameRecordHandlerV1Params
- func (o *GetGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *GetGameRecordHandlerV1Params
- func (o *GetGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGameRecordHandlerV1Reader
- type GetGameRecordHandlerV1Response
- type GetGameRecordHandlerV1Unauthorized
- type GetGameRecordsBulkBadRequest
- type GetGameRecordsBulkForbidden
- type GetGameRecordsBulkInternalServerError
- type GetGameRecordsBulkNotFound
- type GetGameRecordsBulkOK
- type GetGameRecordsBulkParams
- func NewGetGameRecordsBulkParams() *GetGameRecordsBulkParams
- func NewGetGameRecordsBulkParamsWithContext(ctx context.Context) *GetGameRecordsBulkParams
- func NewGetGameRecordsBulkParamsWithHTTPClient(client *http.Client) *GetGameRecordsBulkParams
- func NewGetGameRecordsBulkParamsWithTimeout(timeout time.Duration) *GetGameRecordsBulkParams
- func (o *GetGameRecordsBulkParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetGameRecordsBulkParams) SetBody(body *cloudsaveclientmodels.ModelsBulkGetGameRecordRequest)
- func (o *GetGameRecordsBulkParams) SetContext(ctx context.Context)
- func (o *GetGameRecordsBulkParams) SetFlightId(flightId string)
- func (o *GetGameRecordsBulkParams) SetHTTPClient(client *http.Client)
- func (o *GetGameRecordsBulkParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetGameRecordsBulkParams) SetNamespace(namespace string)
- func (o *GetGameRecordsBulkParams) SetTimeout(timeout time.Duration)
- func (o *GetGameRecordsBulkParams) WithBody(body *cloudsaveclientmodels.ModelsBulkGetGameRecordRequest) *GetGameRecordsBulkParams
- func (o *GetGameRecordsBulkParams) WithContext(ctx context.Context) *GetGameRecordsBulkParams
- func (o *GetGameRecordsBulkParams) WithHTTPClient(client *http.Client) *GetGameRecordsBulkParams
- func (o *GetGameRecordsBulkParams) WithNamespace(namespace string) *GetGameRecordsBulkParams
- func (o *GetGameRecordsBulkParams) WithTimeout(timeout time.Duration) *GetGameRecordsBulkParams
- func (o *GetGameRecordsBulkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGameRecordsBulkReader
- type GetGameRecordsBulkResponse
- type GetGameRecordsBulkUnauthorized
- type PostGameRecordHandlerV1BadRequest
- type PostGameRecordHandlerV1Created
- type PostGameRecordHandlerV1Forbidden
- type PostGameRecordHandlerV1InternalServerError
- type PostGameRecordHandlerV1Params
- func NewPostGameRecordHandlerV1Params() *PostGameRecordHandlerV1Params
- func NewPostGameRecordHandlerV1ParamsWithContext(ctx context.Context) *PostGameRecordHandlerV1Params
- func NewPostGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PostGameRecordHandlerV1Params
- func NewPostGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PostGameRecordHandlerV1Params
- func (o *PostGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PostGameRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsGameRecordRequest)
- func (o *PostGameRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PostGameRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *PostGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PostGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PostGameRecordHandlerV1Params) SetKey(key string)
- func (o *PostGameRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *PostGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PostGameRecordHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsGameRecordRequest) *PostGameRecordHandlerV1Params
- func (o *PostGameRecordHandlerV1Params) WithContext(ctx context.Context) *PostGameRecordHandlerV1Params
- func (o *PostGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PostGameRecordHandlerV1Params
- func (o *PostGameRecordHandlerV1Params) WithKey(key string) *PostGameRecordHandlerV1Params
- func (o *PostGameRecordHandlerV1Params) WithNamespace(namespace string) *PostGameRecordHandlerV1Params
- func (o *PostGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PostGameRecordHandlerV1Params
- func (o *PostGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostGameRecordHandlerV1Reader
- type PostGameRecordHandlerV1Response
- type PostGameRecordHandlerV1Unauthorized
- type PutGameRecordHandlerV1BadRequest
- type PutGameRecordHandlerV1Forbidden
- type PutGameRecordHandlerV1InternalServerError
- type PutGameRecordHandlerV1OK
- type PutGameRecordHandlerV1Params
- func NewPutGameRecordHandlerV1Params() *PutGameRecordHandlerV1Params
- func NewPutGameRecordHandlerV1ParamsWithContext(ctx context.Context) *PutGameRecordHandlerV1Params
- func NewPutGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PutGameRecordHandlerV1Params
- func NewPutGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PutGameRecordHandlerV1Params
- func (o *PutGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PutGameRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsGameRecordRequest)
- func (o *PutGameRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PutGameRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *PutGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PutGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PutGameRecordHandlerV1Params) SetKey(key string)
- func (o *PutGameRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *PutGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PutGameRecordHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsGameRecordRequest) *PutGameRecordHandlerV1Params
- func (o *PutGameRecordHandlerV1Params) WithContext(ctx context.Context) *PutGameRecordHandlerV1Params
- func (o *PutGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PutGameRecordHandlerV1Params
- func (o *PutGameRecordHandlerV1Params) WithKey(key string) *PutGameRecordHandlerV1Params
- func (o *PutGameRecordHandlerV1Params) WithNamespace(namespace string) *PutGameRecordHandlerV1Params
- func (o *PutGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PutGameRecordHandlerV1Params
- func (o *PutGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutGameRecordHandlerV1Reader
- type PutGameRecordHandlerV1Response
- type PutGameRecordHandlerV1Unauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for public game record API
func (*Client) DeleteGameRecordHandlerV1Short ¶
func (a *Client) DeleteGameRecordHandlerV1Short(params *DeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameRecordHandlerV1Response, error)
DeleteGameRecordHandlerV1Short delete game record Delete records by its key
func (*Client) GetGameRecordHandlerV1Short ¶
func (a *Client) GetGameRecordHandlerV1Short(params *GetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordHandlerV1Response, error)
GetGameRecordHandlerV1Short get game record Get game record by its key.
func (*Client) GetGameRecordsBulkShort ¶
func (a *Client) GetGameRecordsBulkShort(params *GetGameRecordsBulkParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordsBulkResponse, error)
GetGameRecordsBulkShort bulk get game records Bulk get game records. Maximum key per request 20.
func (*Client) PostGameRecordHandlerV1Short ¶
func (a *Client) PostGameRecordHandlerV1Short(params *PostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostGameRecordHandlerV1Response, error)
PostGameRecordHandlerV1Short 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" }`
## Reserved Word
Reserved Word List: **__META**
The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.
func (*Client) PutGameRecordHandlerV1Short ¶
func (a *Client) PutGameRecordHandlerV1Short(params *PutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameRecordHandlerV1Response, error)
PutGameRecordHandlerV1Short 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" }`
## Reserved Word
Reserved Word List: **__META**
The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetGameRecordsBulkShort(params *GetGameRecordsBulkParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordsBulkResponse, error) GetGameRecordHandlerV1Short(params *GetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordHandlerV1Response, error) PutGameRecordHandlerV1Short(params *PutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameRecordHandlerV1Response, error) PostGameRecordHandlerV1Short(params *PostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostGameRecordHandlerV1Response, error) DeleteGameRecordHandlerV1Short(params *DeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameRecordHandlerV1Response, 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 public game record API client.
type DeleteGameRecordHandlerV1BadRequest ¶
type DeleteGameRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
DeleteGameRecordHandlerV1BadRequest 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 NewDeleteGameRecordHandlerV1BadRequest ¶
func NewDeleteGameRecordHandlerV1BadRequest() *DeleteGameRecordHandlerV1BadRequest
NewDeleteGameRecordHandlerV1BadRequest creates a DeleteGameRecordHandlerV1BadRequest with default headers values
func (*DeleteGameRecordHandlerV1BadRequest) Error ¶
func (o *DeleteGameRecordHandlerV1BadRequest) Error() string
func (*DeleteGameRecordHandlerV1BadRequest) GetPayload ¶
func (o *DeleteGameRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*DeleteGameRecordHandlerV1BadRequest) ToJSONString ¶
func (o *DeleteGameRecordHandlerV1BadRequest) ToJSONString() string
type DeleteGameRecordHandlerV1Forbidden ¶
type DeleteGameRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
DeleteGameRecordHandlerV1Forbidden 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 NewDeleteGameRecordHandlerV1Forbidden ¶
func NewDeleteGameRecordHandlerV1Forbidden() *DeleteGameRecordHandlerV1Forbidden
NewDeleteGameRecordHandlerV1Forbidden creates a DeleteGameRecordHandlerV1Forbidden with default headers values
func (*DeleteGameRecordHandlerV1Forbidden) Error ¶
func (o *DeleteGameRecordHandlerV1Forbidden) Error() string
func (*DeleteGameRecordHandlerV1Forbidden) GetPayload ¶
func (o *DeleteGameRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*DeleteGameRecordHandlerV1Forbidden) ToJSONString ¶
func (o *DeleteGameRecordHandlerV1Forbidden) ToJSONString() string
type DeleteGameRecordHandlerV1InternalServerError ¶
type DeleteGameRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
DeleteGameRecordHandlerV1InternalServerError 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 NewDeleteGameRecordHandlerV1InternalServerError ¶
func NewDeleteGameRecordHandlerV1InternalServerError() *DeleteGameRecordHandlerV1InternalServerError
NewDeleteGameRecordHandlerV1InternalServerError creates a DeleteGameRecordHandlerV1InternalServerError with default headers values
func (*DeleteGameRecordHandlerV1InternalServerError) Error ¶
func (o *DeleteGameRecordHandlerV1InternalServerError) Error() string
func (*DeleteGameRecordHandlerV1InternalServerError) GetPayload ¶
func (o *DeleteGameRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*DeleteGameRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *DeleteGameRecordHandlerV1InternalServerError) ToJSONString() string
type DeleteGameRecordHandlerV1NoContent ¶
type DeleteGameRecordHandlerV1NoContent struct { }
DeleteGameRecordHandlerV1NoContent handles this case with default header values.
Record deleted
func NewDeleteGameRecordHandlerV1NoContent ¶
func NewDeleteGameRecordHandlerV1NoContent() *DeleteGameRecordHandlerV1NoContent
NewDeleteGameRecordHandlerV1NoContent creates a DeleteGameRecordHandlerV1NoContent with default headers values
func (*DeleteGameRecordHandlerV1NoContent) Error ¶
func (o *DeleteGameRecordHandlerV1NoContent) Error() string
type DeleteGameRecordHandlerV1Params ¶
type DeleteGameRecordHandlerV1Params 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 }
DeleteGameRecordHandlerV1Params contains all the parameters to send to the API endpoint for the delete game record handler v1 operation typically these are written to a http.Request
func NewDeleteGameRecordHandlerV1Params ¶
func NewDeleteGameRecordHandlerV1Params() *DeleteGameRecordHandlerV1Params
NewDeleteGameRecordHandlerV1Params creates a new DeleteGameRecordHandlerV1Params object with the default values initialized.
func NewDeleteGameRecordHandlerV1ParamsWithContext ¶
func NewDeleteGameRecordHandlerV1ParamsWithContext(ctx context.Context) *DeleteGameRecordHandlerV1Params
NewDeleteGameRecordHandlerV1ParamsWithContext creates a new DeleteGameRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewDeleteGameRecordHandlerV1ParamsWithHTTPClient ¶
func NewDeleteGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *DeleteGameRecordHandlerV1Params
NewDeleteGameRecordHandlerV1ParamsWithHTTPClient creates a new DeleteGameRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteGameRecordHandlerV1ParamsWithTimeout ¶
func NewDeleteGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *DeleteGameRecordHandlerV1Params
NewDeleteGameRecordHandlerV1ParamsWithTimeout creates a new DeleteGameRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteGameRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *DeleteGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete game record handler v1 params
func (*DeleteGameRecordHandlerV1Params) SetContext ¶
func (o *DeleteGameRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the delete game record handler v1 params
func (*DeleteGameRecordHandlerV1Params) SetFlightId ¶
func (o *DeleteGameRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeleteGameRecordHandlerV1Params) SetHTTPClient ¶
func (o *DeleteGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete game record handler v1 params
func (*DeleteGameRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *DeleteGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete game record handler v1 params
func (*DeleteGameRecordHandlerV1Params) SetKey ¶
func (o *DeleteGameRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the delete game record handler v1 params
func (*DeleteGameRecordHandlerV1Params) SetNamespace ¶
func (o *DeleteGameRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete game record handler v1 params
func (*DeleteGameRecordHandlerV1Params) SetTimeout ¶
func (o *DeleteGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete game record handler v1 params
func (*DeleteGameRecordHandlerV1Params) WithContext ¶
func (o *DeleteGameRecordHandlerV1Params) WithContext(ctx context.Context) *DeleteGameRecordHandlerV1Params
WithContext adds the context to the delete game record handler v1 params
func (*DeleteGameRecordHandlerV1Params) WithHTTPClient ¶
func (o *DeleteGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *DeleteGameRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the delete game record handler v1 params
func (*DeleteGameRecordHandlerV1Params) WithKey ¶
func (o *DeleteGameRecordHandlerV1Params) WithKey(key string) *DeleteGameRecordHandlerV1Params
WithKey adds the key to the delete game record handler v1 params
func (*DeleteGameRecordHandlerV1Params) WithNamespace ¶
func (o *DeleteGameRecordHandlerV1Params) WithNamespace(namespace string) *DeleteGameRecordHandlerV1Params
WithNamespace adds the namespace to the delete game record handler v1 params
func (*DeleteGameRecordHandlerV1Params) WithTimeout ¶
func (o *DeleteGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *DeleteGameRecordHandlerV1Params
WithTimeout adds the timeout to the delete game record handler v1 params
func (*DeleteGameRecordHandlerV1Params) WriteToRequest ¶
func (o *DeleteGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteGameRecordHandlerV1Reader ¶
type DeleteGameRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
DeleteGameRecordHandlerV1Reader is a Reader for the DeleteGameRecordHandlerV1 structure.
func (*DeleteGameRecordHandlerV1Reader) ReadResponse ¶
func (o *DeleteGameRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteGameRecordHandlerV1Response ¶
type DeleteGameRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
func (*DeleteGameRecordHandlerV1Response) Unpack ¶
func (m *DeleteGameRecordHandlerV1Response) Unpack() *cloudsaveclientmodels.ApiError
type DeleteGameRecordHandlerV1Unauthorized ¶
type DeleteGameRecordHandlerV1Unauthorized struct {
}DeleteGameRecordHandlerV1Unauthorized 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 NewDeleteGameRecordHandlerV1Unauthorized ¶
func NewDeleteGameRecordHandlerV1Unauthorized() *DeleteGameRecordHandlerV1Unauthorized
NewDeleteGameRecordHandlerV1Unauthorized creates a DeleteGameRecordHandlerV1Unauthorized with default headers values
func (*DeleteGameRecordHandlerV1Unauthorized) Error ¶
func (o *DeleteGameRecordHandlerV1Unauthorized) Error() string
func (*DeleteGameRecordHandlerV1Unauthorized) GetPayload ¶
func (o *DeleteGameRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*DeleteGameRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *DeleteGameRecordHandlerV1Unauthorized) ToJSONString() string
type GetGameRecordHandlerV1BadRequest ¶
type GetGameRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetGameRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewGetGameRecordHandlerV1BadRequest ¶
func NewGetGameRecordHandlerV1BadRequest() *GetGameRecordHandlerV1BadRequest
NewGetGameRecordHandlerV1BadRequest creates a GetGameRecordHandlerV1BadRequest with default headers values
func (*GetGameRecordHandlerV1BadRequest) Error ¶
func (o *GetGameRecordHandlerV1BadRequest) Error() string
func (*GetGameRecordHandlerV1BadRequest) GetPayload ¶
func (o *GetGameRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetGameRecordHandlerV1BadRequest) ToJSONString ¶
func (o *GetGameRecordHandlerV1BadRequest) ToJSONString() string
type GetGameRecordHandlerV1Forbidden ¶
type GetGameRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetGameRecordHandlerV1Forbidden 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 NewGetGameRecordHandlerV1Forbidden ¶
func NewGetGameRecordHandlerV1Forbidden() *GetGameRecordHandlerV1Forbidden
NewGetGameRecordHandlerV1Forbidden creates a GetGameRecordHandlerV1Forbidden with default headers values
func (*GetGameRecordHandlerV1Forbidden) Error ¶
func (o *GetGameRecordHandlerV1Forbidden) Error() string
func (*GetGameRecordHandlerV1Forbidden) GetPayload ¶
func (o *GetGameRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetGameRecordHandlerV1Forbidden) ToJSONString ¶
func (o *GetGameRecordHandlerV1Forbidden) ToJSONString() string
type GetGameRecordHandlerV1InternalServerError ¶
type GetGameRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetGameRecordHandlerV1InternalServerError 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><tr><td>20000</td><td>internal server error</td></tr></table>
func NewGetGameRecordHandlerV1InternalServerError ¶
func NewGetGameRecordHandlerV1InternalServerError() *GetGameRecordHandlerV1InternalServerError
NewGetGameRecordHandlerV1InternalServerError creates a GetGameRecordHandlerV1InternalServerError with default headers values
func (*GetGameRecordHandlerV1InternalServerError) Error ¶
func (o *GetGameRecordHandlerV1InternalServerError) Error() string
func (*GetGameRecordHandlerV1InternalServerError) GetPayload ¶
func (o *GetGameRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetGameRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *GetGameRecordHandlerV1InternalServerError) ToJSONString() string
type GetGameRecordHandlerV1NotFound ¶
type GetGameRecordHandlerV1NotFound struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetGameRecordHandlerV1NotFound 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 NewGetGameRecordHandlerV1NotFound ¶
func NewGetGameRecordHandlerV1NotFound() *GetGameRecordHandlerV1NotFound
NewGetGameRecordHandlerV1NotFound creates a GetGameRecordHandlerV1NotFound with default headers values
func (*GetGameRecordHandlerV1NotFound) Error ¶
func (o *GetGameRecordHandlerV1NotFound) Error() string
func (*GetGameRecordHandlerV1NotFound) GetPayload ¶
func (o *GetGameRecordHandlerV1NotFound) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetGameRecordHandlerV1NotFound) ToJSONString ¶
func (o *GetGameRecordHandlerV1NotFound) ToJSONString() string
type GetGameRecordHandlerV1OK ¶
type GetGameRecordHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsGameRecordResponse
}
GetGameRecordHandlerV1OK handles this case with default header values.
Record retrieved
func NewGetGameRecordHandlerV1OK ¶
func NewGetGameRecordHandlerV1OK() *GetGameRecordHandlerV1OK
NewGetGameRecordHandlerV1OK creates a GetGameRecordHandlerV1OK with default headers values
func (*GetGameRecordHandlerV1OK) Error ¶
func (o *GetGameRecordHandlerV1OK) Error() string
func (*GetGameRecordHandlerV1OK) GetPayload ¶
func (o *GetGameRecordHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsGameRecordResponse
func (*GetGameRecordHandlerV1OK) ToJSONString ¶
func (o *GetGameRecordHandlerV1OK) ToJSONString() string
type GetGameRecordHandlerV1Params ¶
type GetGameRecordHandlerV1Params 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 }
GetGameRecordHandlerV1Params contains all the parameters to send to the API endpoint for the get game record handler v1 operation typically these are written to a http.Request
func NewGetGameRecordHandlerV1Params ¶
func NewGetGameRecordHandlerV1Params() *GetGameRecordHandlerV1Params
NewGetGameRecordHandlerV1Params creates a new GetGameRecordHandlerV1Params object with the default values initialized.
func NewGetGameRecordHandlerV1ParamsWithContext ¶
func NewGetGameRecordHandlerV1ParamsWithContext(ctx context.Context) *GetGameRecordHandlerV1Params
NewGetGameRecordHandlerV1ParamsWithContext creates a new GetGameRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewGetGameRecordHandlerV1ParamsWithHTTPClient ¶
func NewGetGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *GetGameRecordHandlerV1Params
NewGetGameRecordHandlerV1ParamsWithHTTPClient creates a new GetGameRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGameRecordHandlerV1ParamsWithTimeout ¶
func NewGetGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *GetGameRecordHandlerV1Params
NewGetGameRecordHandlerV1ParamsWithTimeout creates a new GetGameRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetGameRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *GetGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get game record handler v1 params
func (*GetGameRecordHandlerV1Params) SetContext ¶
func (o *GetGameRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get game record handler v1 params
func (*GetGameRecordHandlerV1Params) SetFlightId ¶
func (o *GetGameRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetGameRecordHandlerV1Params) SetHTTPClient ¶
func (o *GetGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get game record handler v1 params
func (*GetGameRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *GetGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get game record handler v1 params
func (*GetGameRecordHandlerV1Params) SetKey ¶
func (o *GetGameRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the get game record handler v1 params
func (*GetGameRecordHandlerV1Params) SetNamespace ¶
func (o *GetGameRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get game record handler v1 params
func (*GetGameRecordHandlerV1Params) SetTimeout ¶
func (o *GetGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get game record handler v1 params
func (*GetGameRecordHandlerV1Params) WithContext ¶
func (o *GetGameRecordHandlerV1Params) WithContext(ctx context.Context) *GetGameRecordHandlerV1Params
WithContext adds the context to the get game record handler v1 params
func (*GetGameRecordHandlerV1Params) WithHTTPClient ¶
func (o *GetGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *GetGameRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the get game record handler v1 params
func (*GetGameRecordHandlerV1Params) WithKey ¶
func (o *GetGameRecordHandlerV1Params) WithKey(key string) *GetGameRecordHandlerV1Params
WithKey adds the key to the get game record handler v1 params
func (*GetGameRecordHandlerV1Params) WithNamespace ¶
func (o *GetGameRecordHandlerV1Params) WithNamespace(namespace string) *GetGameRecordHandlerV1Params
WithNamespace adds the namespace to the get game record handler v1 params
func (*GetGameRecordHandlerV1Params) WithTimeout ¶
func (o *GetGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *GetGameRecordHandlerV1Params
WithTimeout adds the timeout to the get game record handler v1 params
func (*GetGameRecordHandlerV1Params) WriteToRequest ¶
func (o *GetGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGameRecordHandlerV1Reader ¶
type GetGameRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
GetGameRecordHandlerV1Reader is a Reader for the GetGameRecordHandlerV1 structure.
func (*GetGameRecordHandlerV1Reader) ReadResponse ¶
func (o *GetGameRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGameRecordHandlerV1Response ¶
type GetGameRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsGameRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error404 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
func (*GetGameRecordHandlerV1Response) Unpack ¶
func (m *GetGameRecordHandlerV1Response) Unpack() (*cloudsaveclientmodels.ModelsGameRecordResponse, *cloudsaveclientmodels.ApiError)
type GetGameRecordHandlerV1Unauthorized ¶
type GetGameRecordHandlerV1Unauthorized struct {
}GetGameRecordHandlerV1Unauthorized 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 NewGetGameRecordHandlerV1Unauthorized ¶
func NewGetGameRecordHandlerV1Unauthorized() *GetGameRecordHandlerV1Unauthorized
NewGetGameRecordHandlerV1Unauthorized creates a GetGameRecordHandlerV1Unauthorized with default headers values
func (*GetGameRecordHandlerV1Unauthorized) Error ¶
func (o *GetGameRecordHandlerV1Unauthorized) Error() string
func (*GetGameRecordHandlerV1Unauthorized) GetPayload ¶
func (o *GetGameRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetGameRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *GetGameRecordHandlerV1Unauthorized) ToJSONString() string
type GetGameRecordsBulkBadRequest ¶
type GetGameRecordsBulkBadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetGameRecordsBulkBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18128</td><td>invalid request body</td></tr><tr><td>18129</td><td>request record keys list exceed max size [%d]</td></tr></table>
func NewGetGameRecordsBulkBadRequest ¶
func NewGetGameRecordsBulkBadRequest() *GetGameRecordsBulkBadRequest
NewGetGameRecordsBulkBadRequest creates a GetGameRecordsBulkBadRequest with default headers values
func (*GetGameRecordsBulkBadRequest) Error ¶
func (o *GetGameRecordsBulkBadRequest) Error() string
func (*GetGameRecordsBulkBadRequest) GetPayload ¶
func (o *GetGameRecordsBulkBadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetGameRecordsBulkBadRequest) ToJSONString ¶
func (o *GetGameRecordsBulkBadRequest) ToJSONString() string
type GetGameRecordsBulkForbidden ¶
type GetGameRecordsBulkForbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetGameRecordsBulkForbidden 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 NewGetGameRecordsBulkForbidden ¶
func NewGetGameRecordsBulkForbidden() *GetGameRecordsBulkForbidden
NewGetGameRecordsBulkForbidden creates a GetGameRecordsBulkForbidden with default headers values
func (*GetGameRecordsBulkForbidden) Error ¶
func (o *GetGameRecordsBulkForbidden) Error() string
func (*GetGameRecordsBulkForbidden) GetPayload ¶
func (o *GetGameRecordsBulkForbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetGameRecordsBulkForbidden) ToJSONString ¶
func (o *GetGameRecordsBulkForbidden) ToJSONString() string
type GetGameRecordsBulkInternalServerError ¶
type GetGameRecordsBulkInternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetGameRecordsBulkInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18130</td><td>unable to get record</td></tr><tr><td>18131</td><td>unable to decode record</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewGetGameRecordsBulkInternalServerError ¶
func NewGetGameRecordsBulkInternalServerError() *GetGameRecordsBulkInternalServerError
NewGetGameRecordsBulkInternalServerError creates a GetGameRecordsBulkInternalServerError with default headers values
func (*GetGameRecordsBulkInternalServerError) Error ¶
func (o *GetGameRecordsBulkInternalServerError) Error() string
func (*GetGameRecordsBulkInternalServerError) GetPayload ¶
func (o *GetGameRecordsBulkInternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetGameRecordsBulkInternalServerError) ToJSONString ¶
func (o *GetGameRecordsBulkInternalServerError) ToJSONString() string
type GetGameRecordsBulkNotFound ¶
type GetGameRecordsBulkNotFound struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetGameRecordsBulkNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18133</td><td>record not found</td></tr></table>
func NewGetGameRecordsBulkNotFound ¶
func NewGetGameRecordsBulkNotFound() *GetGameRecordsBulkNotFound
NewGetGameRecordsBulkNotFound creates a GetGameRecordsBulkNotFound with default headers values
func (*GetGameRecordsBulkNotFound) Error ¶
func (o *GetGameRecordsBulkNotFound) Error() string
func (*GetGameRecordsBulkNotFound) GetPayload ¶
func (o *GetGameRecordsBulkNotFound) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetGameRecordsBulkNotFound) ToJSONString ¶
func (o *GetGameRecordsBulkNotFound) ToJSONString() string
type GetGameRecordsBulkOK ¶
type GetGameRecordsBulkOK struct {
Payload *cloudsaveclientmodels.ModelsBulkGetGameRecordResponse
}
GetGameRecordsBulkOK handles this case with default header values.
OK
func NewGetGameRecordsBulkOK ¶
func NewGetGameRecordsBulkOK() *GetGameRecordsBulkOK
NewGetGameRecordsBulkOK creates a GetGameRecordsBulkOK with default headers values
func (*GetGameRecordsBulkOK) Error ¶
func (o *GetGameRecordsBulkOK) Error() string
func (*GetGameRecordsBulkOK) GetPayload ¶
func (o *GetGameRecordsBulkOK) GetPayload() *cloudsaveclientmodels.ModelsBulkGetGameRecordResponse
func (*GetGameRecordsBulkOK) ToJSONString ¶
func (o *GetGameRecordsBulkOK) ToJSONString() string
type GetGameRecordsBulkParams ¶
type GetGameRecordsBulkParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *cloudsaveclientmodels.ModelsBulkGetGameRecordRequest /*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 }
GetGameRecordsBulkParams contains all the parameters to send to the API endpoint for the get game records bulk operation typically these are written to a http.Request
func NewGetGameRecordsBulkParams ¶
func NewGetGameRecordsBulkParams() *GetGameRecordsBulkParams
NewGetGameRecordsBulkParams creates a new GetGameRecordsBulkParams object with the default values initialized.
func NewGetGameRecordsBulkParamsWithContext ¶
func NewGetGameRecordsBulkParamsWithContext(ctx context.Context) *GetGameRecordsBulkParams
NewGetGameRecordsBulkParamsWithContext creates a new GetGameRecordsBulkParams object with the default values initialized, and the ability to set a context for a request
func NewGetGameRecordsBulkParamsWithHTTPClient ¶
func NewGetGameRecordsBulkParamsWithHTTPClient(client *http.Client) *GetGameRecordsBulkParams
NewGetGameRecordsBulkParamsWithHTTPClient creates a new GetGameRecordsBulkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGameRecordsBulkParamsWithTimeout ¶
func NewGetGameRecordsBulkParamsWithTimeout(timeout time.Duration) *GetGameRecordsBulkParams
NewGetGameRecordsBulkParamsWithTimeout creates a new GetGameRecordsBulkParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetGameRecordsBulkParams) SetAuthInfoWriter ¶
func (o *GetGameRecordsBulkParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get game records bulk params
func (*GetGameRecordsBulkParams) SetBody ¶
func (o *GetGameRecordsBulkParams) SetBody(body *cloudsaveclientmodels.ModelsBulkGetGameRecordRequest)
SetBody adds the body to the get game records bulk params
func (*GetGameRecordsBulkParams) SetContext ¶
func (o *GetGameRecordsBulkParams) SetContext(ctx context.Context)
SetContext adds the context to the get game records bulk params
func (*GetGameRecordsBulkParams) SetFlightId ¶
func (o *GetGameRecordsBulkParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetGameRecordsBulkParams) SetHTTPClient ¶
func (o *GetGameRecordsBulkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get game records bulk params
func (*GetGameRecordsBulkParams) SetHTTPClientTransport ¶
func (o *GetGameRecordsBulkParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get game records bulk params
func (*GetGameRecordsBulkParams) SetNamespace ¶
func (o *GetGameRecordsBulkParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get game records bulk params
func (*GetGameRecordsBulkParams) SetTimeout ¶
func (o *GetGameRecordsBulkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get game records bulk params
func (*GetGameRecordsBulkParams) WithBody ¶
func (o *GetGameRecordsBulkParams) WithBody(body *cloudsaveclientmodels.ModelsBulkGetGameRecordRequest) *GetGameRecordsBulkParams
WithBody adds the body to the get game records bulk params
func (*GetGameRecordsBulkParams) WithContext ¶
func (o *GetGameRecordsBulkParams) WithContext(ctx context.Context) *GetGameRecordsBulkParams
WithContext adds the context to the get game records bulk params
func (*GetGameRecordsBulkParams) WithHTTPClient ¶
func (o *GetGameRecordsBulkParams) WithHTTPClient(client *http.Client) *GetGameRecordsBulkParams
WithHTTPClient adds the HTTPClient to the get game records bulk params
func (*GetGameRecordsBulkParams) WithNamespace ¶
func (o *GetGameRecordsBulkParams) WithNamespace(namespace string) *GetGameRecordsBulkParams
WithNamespace adds the namespace to the get game records bulk params
func (*GetGameRecordsBulkParams) WithTimeout ¶
func (o *GetGameRecordsBulkParams) WithTimeout(timeout time.Duration) *GetGameRecordsBulkParams
WithTimeout adds the timeout to the get game records bulk params
func (*GetGameRecordsBulkParams) WriteToRequest ¶
func (o *GetGameRecordsBulkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGameRecordsBulkReader ¶
type GetGameRecordsBulkReader struct {
// contains filtered or unexported fields
}
GetGameRecordsBulkReader is a Reader for the GetGameRecordsBulk structure.
func (*GetGameRecordsBulkReader) ReadResponse ¶
func (o *GetGameRecordsBulkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGameRecordsBulkResponse ¶
type GetGameRecordsBulkResponse struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsBulkGetGameRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error404 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
func (*GetGameRecordsBulkResponse) Unpack ¶
func (m *GetGameRecordsBulkResponse) Unpack() (*cloudsaveclientmodels.ModelsBulkGetGameRecordResponse, *cloudsaveclientmodels.ApiError)
type GetGameRecordsBulkUnauthorized ¶
type GetGameRecordsBulkUnauthorized struct {
}GetGameRecordsBulkUnauthorized 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 NewGetGameRecordsBulkUnauthorized ¶
func NewGetGameRecordsBulkUnauthorized() *GetGameRecordsBulkUnauthorized
NewGetGameRecordsBulkUnauthorized creates a GetGameRecordsBulkUnauthorized with default headers values
func (*GetGameRecordsBulkUnauthorized) Error ¶
func (o *GetGameRecordsBulkUnauthorized) Error() string
func (*GetGameRecordsBulkUnauthorized) GetPayload ¶
func (o *GetGameRecordsBulkUnauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetGameRecordsBulkUnauthorized) ToJSONString ¶
func (o *GetGameRecordsBulkUnauthorized) ToJSONString() string
type PostGameRecordHandlerV1BadRequest ¶
type PostGameRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PostGameRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr><tr><td>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 NewPostGameRecordHandlerV1BadRequest ¶
func NewPostGameRecordHandlerV1BadRequest() *PostGameRecordHandlerV1BadRequest
NewPostGameRecordHandlerV1BadRequest creates a PostGameRecordHandlerV1BadRequest with default headers values
func (*PostGameRecordHandlerV1BadRequest) Error ¶
func (o *PostGameRecordHandlerV1BadRequest) Error() string
func (*PostGameRecordHandlerV1BadRequest) GetPayload ¶
func (o *PostGameRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PostGameRecordHandlerV1BadRequest) ToJSONString ¶
func (o *PostGameRecordHandlerV1BadRequest) ToJSONString() string
type PostGameRecordHandlerV1Created ¶
type PostGameRecordHandlerV1Created struct {
Payload *cloudsaveclientmodels.ModelsGameRecordResponse
}
PostGameRecordHandlerV1Created handles this case with default header values.
Record saved
func NewPostGameRecordHandlerV1Created ¶
func NewPostGameRecordHandlerV1Created() *PostGameRecordHandlerV1Created
NewPostGameRecordHandlerV1Created creates a PostGameRecordHandlerV1Created with default headers values
func (*PostGameRecordHandlerV1Created) Error ¶
func (o *PostGameRecordHandlerV1Created) Error() string
func (*PostGameRecordHandlerV1Created) GetPayload ¶
func (o *PostGameRecordHandlerV1Created) GetPayload() *cloudsaveclientmodels.ModelsGameRecordResponse
func (*PostGameRecordHandlerV1Created) ToJSONString ¶
func (o *PostGameRecordHandlerV1Created) ToJSONString() string
type PostGameRecordHandlerV1Forbidden ¶
type PostGameRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PostGameRecordHandlerV1Forbidden 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 NewPostGameRecordHandlerV1Forbidden ¶
func NewPostGameRecordHandlerV1Forbidden() *PostGameRecordHandlerV1Forbidden
NewPostGameRecordHandlerV1Forbidden creates a PostGameRecordHandlerV1Forbidden with default headers values
func (*PostGameRecordHandlerV1Forbidden) Error ¶
func (o *PostGameRecordHandlerV1Forbidden) Error() string
func (*PostGameRecordHandlerV1Forbidden) GetPayload ¶
func (o *PostGameRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PostGameRecordHandlerV1Forbidden) ToJSONString ¶
func (o *PostGameRecordHandlerV1Forbidden) ToJSONString() string
type PostGameRecordHandlerV1InternalServerError ¶
type PostGameRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PostGameRecordHandlerV1InternalServerError 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>18012</td><td>unable to marshal request body</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 NewPostGameRecordHandlerV1InternalServerError ¶
func NewPostGameRecordHandlerV1InternalServerError() *PostGameRecordHandlerV1InternalServerError
NewPostGameRecordHandlerV1InternalServerError creates a PostGameRecordHandlerV1InternalServerError with default headers values
func (*PostGameRecordHandlerV1InternalServerError) Error ¶
func (o *PostGameRecordHandlerV1InternalServerError) Error() string
func (*PostGameRecordHandlerV1InternalServerError) GetPayload ¶
func (o *PostGameRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PostGameRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *PostGameRecordHandlerV1InternalServerError) ToJSONString() string
type PostGameRecordHandlerV1Params ¶
type PostGameRecordHandlerV1Params 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 }
PostGameRecordHandlerV1Params contains all the parameters to send to the API endpoint for the post game record handler v1 operation typically these are written to a http.Request
func NewPostGameRecordHandlerV1Params ¶
func NewPostGameRecordHandlerV1Params() *PostGameRecordHandlerV1Params
NewPostGameRecordHandlerV1Params creates a new PostGameRecordHandlerV1Params object with the default values initialized.
func NewPostGameRecordHandlerV1ParamsWithContext ¶
func NewPostGameRecordHandlerV1ParamsWithContext(ctx context.Context) *PostGameRecordHandlerV1Params
NewPostGameRecordHandlerV1ParamsWithContext creates a new PostGameRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewPostGameRecordHandlerV1ParamsWithHTTPClient ¶
func NewPostGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PostGameRecordHandlerV1Params
NewPostGameRecordHandlerV1ParamsWithHTTPClient creates a new PostGameRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostGameRecordHandlerV1ParamsWithTimeout ¶
func NewPostGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PostGameRecordHandlerV1Params
NewPostGameRecordHandlerV1ParamsWithTimeout creates a new PostGameRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PostGameRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *PostGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) SetBody ¶
func (o *PostGameRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsGameRecordRequest)
SetBody adds the body to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) SetContext ¶
func (o *PostGameRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) SetFlightId ¶
func (o *PostGameRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PostGameRecordHandlerV1Params) SetHTTPClient ¶
func (o *PostGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *PostGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) SetKey ¶
func (o *PostGameRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) SetNamespace ¶
func (o *PostGameRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) SetTimeout ¶
func (o *PostGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) WithBody ¶
func (o *PostGameRecordHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsGameRecordRequest) *PostGameRecordHandlerV1Params
WithBody adds the body to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) WithContext ¶
func (o *PostGameRecordHandlerV1Params) WithContext(ctx context.Context) *PostGameRecordHandlerV1Params
WithContext adds the context to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) WithHTTPClient ¶
func (o *PostGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PostGameRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) WithKey ¶
func (o *PostGameRecordHandlerV1Params) WithKey(key string) *PostGameRecordHandlerV1Params
WithKey adds the key to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) WithNamespace ¶
func (o *PostGameRecordHandlerV1Params) WithNamespace(namespace string) *PostGameRecordHandlerV1Params
WithNamespace adds the namespace to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) WithTimeout ¶
func (o *PostGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PostGameRecordHandlerV1Params
WithTimeout adds the timeout to the post game record handler v1 params
func (*PostGameRecordHandlerV1Params) WriteToRequest ¶
func (o *PostGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostGameRecordHandlerV1Reader ¶
type PostGameRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
PostGameRecordHandlerV1Reader is a Reader for the PostGameRecordHandlerV1 structure.
func (*PostGameRecordHandlerV1Reader) ReadResponse ¶
func (o *PostGameRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostGameRecordHandlerV1Response ¶
type PostGameRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsGameRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
func (*PostGameRecordHandlerV1Response) Unpack ¶
func (m *PostGameRecordHandlerV1Response) Unpack() (*cloudsaveclientmodels.ModelsGameRecordResponse, *cloudsaveclientmodels.ApiError)
type PostGameRecordHandlerV1Unauthorized ¶
type PostGameRecordHandlerV1Unauthorized struct {
}PostGameRecordHandlerV1Unauthorized 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 NewPostGameRecordHandlerV1Unauthorized ¶
func NewPostGameRecordHandlerV1Unauthorized() *PostGameRecordHandlerV1Unauthorized
NewPostGameRecordHandlerV1Unauthorized creates a PostGameRecordHandlerV1Unauthorized with default headers values
func (*PostGameRecordHandlerV1Unauthorized) Error ¶
func (o *PostGameRecordHandlerV1Unauthorized) Error() string
func (*PostGameRecordHandlerV1Unauthorized) GetPayload ¶
func (o *PostGameRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PostGameRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *PostGameRecordHandlerV1Unauthorized) ToJSONString() string
type PutGameRecordHandlerV1BadRequest ¶
type PutGameRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutGameRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr><tr><td>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 NewPutGameRecordHandlerV1BadRequest ¶
func NewPutGameRecordHandlerV1BadRequest() *PutGameRecordHandlerV1BadRequest
NewPutGameRecordHandlerV1BadRequest creates a PutGameRecordHandlerV1BadRequest with default headers values
func (*PutGameRecordHandlerV1BadRequest) Error ¶
func (o *PutGameRecordHandlerV1BadRequest) Error() string
func (*PutGameRecordHandlerV1BadRequest) GetPayload ¶
func (o *PutGameRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PutGameRecordHandlerV1BadRequest) ToJSONString ¶
func (o *PutGameRecordHandlerV1BadRequest) ToJSONString() string
type PutGameRecordHandlerV1Forbidden ¶
type PutGameRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutGameRecordHandlerV1Forbidden 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 NewPutGameRecordHandlerV1Forbidden ¶
func NewPutGameRecordHandlerV1Forbidden() *PutGameRecordHandlerV1Forbidden
NewPutGameRecordHandlerV1Forbidden creates a PutGameRecordHandlerV1Forbidden with default headers values
func (*PutGameRecordHandlerV1Forbidden) Error ¶
func (o *PutGameRecordHandlerV1Forbidden) Error() string
func (*PutGameRecordHandlerV1Forbidden) GetPayload ¶
func (o *PutGameRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PutGameRecordHandlerV1Forbidden) ToJSONString ¶
func (o *PutGameRecordHandlerV1Forbidden) ToJSONString() string
type PutGameRecordHandlerV1InternalServerError ¶
type PutGameRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutGameRecordHandlerV1InternalServerError 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>18051</td><td>unable to marshal request body</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 NewPutGameRecordHandlerV1InternalServerError ¶
func NewPutGameRecordHandlerV1InternalServerError() *PutGameRecordHandlerV1InternalServerError
NewPutGameRecordHandlerV1InternalServerError creates a PutGameRecordHandlerV1InternalServerError with default headers values
func (*PutGameRecordHandlerV1InternalServerError) Error ¶
func (o *PutGameRecordHandlerV1InternalServerError) Error() string
func (*PutGameRecordHandlerV1InternalServerError) GetPayload ¶
func (o *PutGameRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PutGameRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *PutGameRecordHandlerV1InternalServerError) ToJSONString() string
type PutGameRecordHandlerV1OK ¶
type PutGameRecordHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsGameRecordResponse
}
PutGameRecordHandlerV1OK handles this case with default header values.
Record saved
func NewPutGameRecordHandlerV1OK ¶
func NewPutGameRecordHandlerV1OK() *PutGameRecordHandlerV1OK
NewPutGameRecordHandlerV1OK creates a PutGameRecordHandlerV1OK with default headers values
func (*PutGameRecordHandlerV1OK) Error ¶
func (o *PutGameRecordHandlerV1OK) Error() string
func (*PutGameRecordHandlerV1OK) GetPayload ¶
func (o *PutGameRecordHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsGameRecordResponse
func (*PutGameRecordHandlerV1OK) ToJSONString ¶
func (o *PutGameRecordHandlerV1OK) ToJSONString() string
type PutGameRecordHandlerV1Params ¶
type PutGameRecordHandlerV1Params 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 }
PutGameRecordHandlerV1Params contains all the parameters to send to the API endpoint for the put game record handler v1 operation typically these are written to a http.Request
func NewPutGameRecordHandlerV1Params ¶
func NewPutGameRecordHandlerV1Params() *PutGameRecordHandlerV1Params
NewPutGameRecordHandlerV1Params creates a new PutGameRecordHandlerV1Params object with the default values initialized.
func NewPutGameRecordHandlerV1ParamsWithContext ¶
func NewPutGameRecordHandlerV1ParamsWithContext(ctx context.Context) *PutGameRecordHandlerV1Params
NewPutGameRecordHandlerV1ParamsWithContext creates a new PutGameRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewPutGameRecordHandlerV1ParamsWithHTTPClient ¶
func NewPutGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PutGameRecordHandlerV1Params
NewPutGameRecordHandlerV1ParamsWithHTTPClient creates a new PutGameRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutGameRecordHandlerV1ParamsWithTimeout ¶
func NewPutGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PutGameRecordHandlerV1Params
NewPutGameRecordHandlerV1ParamsWithTimeout creates a new PutGameRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PutGameRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *PutGameRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) SetBody ¶
func (o *PutGameRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsGameRecordRequest)
SetBody adds the body to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) SetContext ¶
func (o *PutGameRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) SetFlightId ¶
func (o *PutGameRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PutGameRecordHandlerV1Params) SetHTTPClient ¶
func (o *PutGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *PutGameRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) SetKey ¶
func (o *PutGameRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) SetNamespace ¶
func (o *PutGameRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) SetTimeout ¶
func (o *PutGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) WithBody ¶
func (o *PutGameRecordHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsGameRecordRequest) *PutGameRecordHandlerV1Params
WithBody adds the body to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) WithContext ¶
func (o *PutGameRecordHandlerV1Params) WithContext(ctx context.Context) *PutGameRecordHandlerV1Params
WithContext adds the context to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) WithHTTPClient ¶
func (o *PutGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PutGameRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) WithKey ¶
func (o *PutGameRecordHandlerV1Params) WithKey(key string) *PutGameRecordHandlerV1Params
WithKey adds the key to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) WithNamespace ¶
func (o *PutGameRecordHandlerV1Params) WithNamespace(namespace string) *PutGameRecordHandlerV1Params
WithNamespace adds the namespace to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) WithTimeout ¶
func (o *PutGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PutGameRecordHandlerV1Params
WithTimeout adds the timeout to the put game record handler v1 params
func (*PutGameRecordHandlerV1Params) WriteToRequest ¶
func (o *PutGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutGameRecordHandlerV1Reader ¶
type PutGameRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
PutGameRecordHandlerV1Reader is a Reader for the PutGameRecordHandlerV1 structure.
func (*PutGameRecordHandlerV1Reader) ReadResponse ¶
func (o *PutGameRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutGameRecordHandlerV1Response ¶
type PutGameRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsGameRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
func (*PutGameRecordHandlerV1Response) Unpack ¶
func (m *PutGameRecordHandlerV1Response) Unpack() (*cloudsaveclientmodels.ModelsGameRecordResponse, *cloudsaveclientmodels.ApiError)
type PutGameRecordHandlerV1Unauthorized ¶
type PutGameRecordHandlerV1Unauthorized struct {
}PutGameRecordHandlerV1Unauthorized 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 NewPutGameRecordHandlerV1Unauthorized ¶
func NewPutGameRecordHandlerV1Unauthorized() *PutGameRecordHandlerV1Unauthorized
NewPutGameRecordHandlerV1Unauthorized creates a PutGameRecordHandlerV1Unauthorized with default headers values
func (*PutGameRecordHandlerV1Unauthorized) Error ¶
func (o *PutGameRecordHandlerV1Unauthorized) Error() string
func (*PutGameRecordHandlerV1Unauthorized) GetPayload ¶
func (o *PutGameRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PutGameRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *PutGameRecordHandlerV1Unauthorized) ToJSONString() string
Source Files
¶
- delete_game_record_handler_v1_parameters.go
- delete_game_record_handler_v1_responses.go
- get_game_record_handler_v1_parameters.go
- get_game_record_handler_v1_responses.go
- get_game_records_bulk_parameters.go
- get_game_records_bulk_responses.go
- post_game_record_handler_v1_parameters.go
- post_game_record_handler_v1_responses.go
- public_game_record_client.go
- put_game_record_handler_v1_parameters.go
- put_game_record_handler_v1_responses.go