public_game_binary_record

package
v0.1.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkGetGameBinaryRecordV1BadRequest

type BulkGetGameBinaryRecordV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

BulkGetGameBinaryRecordV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18350</td><td>invalid request body</td></tr><tr><td>18351</td><td>request record keys list exceed max size [%d]</td></tr></table>

func NewBulkGetGameBinaryRecordV1BadRequest

func NewBulkGetGameBinaryRecordV1BadRequest() *BulkGetGameBinaryRecordV1BadRequest

NewBulkGetGameBinaryRecordV1BadRequest creates a BulkGetGameBinaryRecordV1BadRequest with default headers values

func (*BulkGetGameBinaryRecordV1BadRequest) Error

func (*BulkGetGameBinaryRecordV1BadRequest) GetPayload

func (*BulkGetGameBinaryRecordV1BadRequest) ToJSONString

func (o *BulkGetGameBinaryRecordV1BadRequest) ToJSONString() string

type BulkGetGameBinaryRecordV1Forbidden

type BulkGetGameBinaryRecordV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

BulkGetGameBinaryRecordV1Forbidden 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 NewBulkGetGameBinaryRecordV1Forbidden

func NewBulkGetGameBinaryRecordV1Forbidden() *BulkGetGameBinaryRecordV1Forbidden

NewBulkGetGameBinaryRecordV1Forbidden creates a BulkGetGameBinaryRecordV1Forbidden with default headers values

func (*BulkGetGameBinaryRecordV1Forbidden) Error

func (*BulkGetGameBinaryRecordV1Forbidden) GetPayload

func (*BulkGetGameBinaryRecordV1Forbidden) ToJSONString

func (o *BulkGetGameBinaryRecordV1Forbidden) ToJSONString() string

type BulkGetGameBinaryRecordV1InternalServerError

type BulkGetGameBinaryRecordV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

BulkGetGameBinaryRecordV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18349</td><td>unable to get record</td></tr></table>

func NewBulkGetGameBinaryRecordV1InternalServerError

func NewBulkGetGameBinaryRecordV1InternalServerError() *BulkGetGameBinaryRecordV1InternalServerError

NewBulkGetGameBinaryRecordV1InternalServerError creates a BulkGetGameBinaryRecordV1InternalServerError with default headers values

func (*BulkGetGameBinaryRecordV1InternalServerError) Error

func (*BulkGetGameBinaryRecordV1InternalServerError) GetPayload

func (*BulkGetGameBinaryRecordV1InternalServerError) ToJSONString

type BulkGetGameBinaryRecordV1OK

type BulkGetGameBinaryRecordV1OK struct {
	Payload *cloudsaveclientmodels.ModelsBulkGetGameBinaryRecordResponse
}

BulkGetGameBinaryRecordV1OK handles this case with default header values.

Successful operation

func NewBulkGetGameBinaryRecordV1OK

func NewBulkGetGameBinaryRecordV1OK() *BulkGetGameBinaryRecordV1OK

NewBulkGetGameBinaryRecordV1OK creates a BulkGetGameBinaryRecordV1OK with default headers values

func (*BulkGetGameBinaryRecordV1OK) Error

func (*BulkGetGameBinaryRecordV1OK) GetPayload

func (*BulkGetGameBinaryRecordV1OK) ToJSONString

func (o *BulkGetGameBinaryRecordV1OK) ToJSONString() string

type BulkGetGameBinaryRecordV1Params

type BulkGetGameBinaryRecordV1Params 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
}

BulkGetGameBinaryRecordV1Params contains all the parameters to send to the API endpoint for the bulk get game binary record v1 operation typically these are written to a http.Request

func NewBulkGetGameBinaryRecordV1Params

func NewBulkGetGameBinaryRecordV1Params() *BulkGetGameBinaryRecordV1Params

NewBulkGetGameBinaryRecordV1Params creates a new BulkGetGameBinaryRecordV1Params object with the default values initialized.

func NewBulkGetGameBinaryRecordV1ParamsWithContext

func NewBulkGetGameBinaryRecordV1ParamsWithContext(ctx context.Context) *BulkGetGameBinaryRecordV1Params

NewBulkGetGameBinaryRecordV1ParamsWithContext creates a new BulkGetGameBinaryRecordV1Params object with the default values initialized, and the ability to set a context for a request

func NewBulkGetGameBinaryRecordV1ParamsWithHTTPClient

func NewBulkGetGameBinaryRecordV1ParamsWithHTTPClient(client *http.Client) *BulkGetGameBinaryRecordV1Params

NewBulkGetGameBinaryRecordV1ParamsWithHTTPClient creates a new BulkGetGameBinaryRecordV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewBulkGetGameBinaryRecordV1ParamsWithTimeout

func NewBulkGetGameBinaryRecordV1ParamsWithTimeout(timeout time.Duration) *BulkGetGameBinaryRecordV1Params

NewBulkGetGameBinaryRecordV1ParamsWithTimeout creates a new BulkGetGameBinaryRecordV1Params object with the default values initialized, and the ability to set a timeout on a request

func (*BulkGetGameBinaryRecordV1Params) SetAuthInfoWriter

func (o *BulkGetGameBinaryRecordV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the bulk get game binary record v1 params

func (*BulkGetGameBinaryRecordV1Params) SetBody

SetBody adds the body to the bulk get game binary record v1 params

func (*BulkGetGameBinaryRecordV1Params) SetContext

func (o *BulkGetGameBinaryRecordV1Params) SetContext(ctx context.Context)

SetContext adds the context to the bulk get game binary record v1 params

func (*BulkGetGameBinaryRecordV1Params) SetFlightId

func (o *BulkGetGameBinaryRecordV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*BulkGetGameBinaryRecordV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk get game binary record v1 params

func (*BulkGetGameBinaryRecordV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the bulk get game binary record v1 params

func (*BulkGetGameBinaryRecordV1Params) SetNamespace

func (o *BulkGetGameBinaryRecordV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the bulk get game binary record v1 params

func (*BulkGetGameBinaryRecordV1Params) SetTimeout

func (o *BulkGetGameBinaryRecordV1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the bulk get game binary record v1 params

func (*BulkGetGameBinaryRecordV1Params) WithBody

WithBody adds the body to the bulk get game binary record v1 params

func (*BulkGetGameBinaryRecordV1Params) WithContext

WithContext adds the context to the bulk get game binary record v1 params

func (*BulkGetGameBinaryRecordV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk get game binary record v1 params

func (*BulkGetGameBinaryRecordV1Params) WithNamespace

WithNamespace adds the namespace to the bulk get game binary record v1 params

func (*BulkGetGameBinaryRecordV1Params) WithTimeout

WithTimeout adds the timeout to the bulk get game binary record v1 params

func (*BulkGetGameBinaryRecordV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkGetGameBinaryRecordV1Reader

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

BulkGetGameBinaryRecordV1Reader is a Reader for the BulkGetGameBinaryRecordV1 structure.

func (*BulkGetGameBinaryRecordV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkGetGameBinaryRecordV1Unauthorized

type BulkGetGameBinaryRecordV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

BulkGetGameBinaryRecordV1Unauthorized 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 NewBulkGetGameBinaryRecordV1Unauthorized

func NewBulkGetGameBinaryRecordV1Unauthorized() *BulkGetGameBinaryRecordV1Unauthorized

NewBulkGetGameBinaryRecordV1Unauthorized creates a BulkGetGameBinaryRecordV1Unauthorized with default headers values

func (*BulkGetGameBinaryRecordV1Unauthorized) Error

func (*BulkGetGameBinaryRecordV1Unauthorized) GetPayload

func (*BulkGetGameBinaryRecordV1Unauthorized) ToJSONString

type Client

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

Client for public game binary record API

func (*Client) BulkGetGameBinaryRecordV1 deprecated

Deprecated: 2022-08-10 - Use BulkGetGameBinaryRecordV1Short instead.

BulkGetGameBinaryRecordV1 bulk get game binary records Bulk get game binary records. Maximum key per request 20.

func (*Client) BulkGetGameBinaryRecordV1Short

func (a *Client) BulkGetGameBinaryRecordV1Short(params *BulkGetGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetGameBinaryRecordV1OK, error)

BulkGetGameBinaryRecordV1Short bulk get game binary records Bulk get game binary records. Maximum key per request 20.

func (*Client) DeleteGameBinaryRecordV1 deprecated

Deprecated: 2022-08-10 - Use DeleteGameBinaryRecordV1Short instead.

DeleteGameBinaryRecordV1 delete game binary record Delete a game binary record.

func (*Client) DeleteGameBinaryRecordV1Short

func (a *Client) DeleteGameBinaryRecordV1Short(params *DeleteGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameBinaryRecordV1NoContent, error)

DeleteGameBinaryRecordV1Short delete game binary record Delete a game binary record.

func (*Client) GetGameBinaryRecordV1 deprecated

Deprecated: 2022-08-10 - Use GetGameBinaryRecordV1Short instead.

GetGameBinaryRecordV1 get game binary record Get a game binary record by its key.

func (*Client) GetGameBinaryRecordV1Short

func (a *Client) GetGameBinaryRecordV1Short(params *GetGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGameBinaryRecordV1OK, error)

GetGameBinaryRecordV1Short get game binary record Get a game binary record by its key.

func (*Client) ListGameBinaryRecordsV1 deprecated

Deprecated: 2022-08-10 - Use ListGameBinaryRecordsV1Short instead.

ListGameBinaryRecordsV1 query game binary records Retrieve list of binary records by namespace.

func (*Client) ListGameBinaryRecordsV1Short

func (a *Client) ListGameBinaryRecordsV1Short(params *ListGameBinaryRecordsV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameBinaryRecordsV1OK, error)

ListGameBinaryRecordsV1Short query game binary records Retrieve list of binary records by namespace.

func (*Client) PostGameBinaryPresignedURLV1 deprecated

Deprecated: 2022-08-10 - Use PostGameBinaryPresignedURLV1Short instead.

PostGameBinaryPresignedURLV1 request presigned url for upload game binary records Request presigned URL to upload the binary record to s3.

Other detail info:

Supported file types: jpeg, jpg, png, bmp, gif, mp3, webp, and bin.

func (*Client) PostGameBinaryPresignedURLV1Short

func (a *Client) PostGameBinaryPresignedURLV1Short(params *PostGameBinaryPresignedURLV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostGameBinaryPresignedURLV1Created, error)

PostGameBinaryPresignedURLV1Short request presigned url for upload game binary records Request presigned URL to upload the binary record to s3.

Other detail info:

Supported file types: jpeg, jpg, png, bmp, gif, mp3, webp, and bin.

func (*Client) PostGameBinaryRecordV1 deprecated

Deprecated: 2022-08-10 - Use PostGameBinaryRecordV1Short instead.

PostGameBinaryRecordV1 create game binary record Create a game binary record.

Other detail info:

`key` should follow these rules: 1. support uppercase and lowercase letters, numbers, and separators **"-"**, **"_"**, **"."** are allowed 2. begin and end with letters or numbers 3. spaces are not allowed 4. separators must not appears twice in a row

Supported file types: jpeg, jpg, png, bmp, gif, mp3, webp, and bin.

func (*Client) PostGameBinaryRecordV1Short

func (a *Client) PostGameBinaryRecordV1Short(params *PostGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostGameBinaryRecordV1Created, error)

PostGameBinaryRecordV1Short create game binary record Create a game binary record.

Other detail info:

`key` should follow these rules: 1. support uppercase and lowercase letters, numbers, and separators **"-"**, **"_"**, **"."** are allowed 2. begin and end with letters or numbers 3. spaces are not allowed 4. separators must not appears twice in a row

Supported file types: jpeg, jpg, png, bmp, gif, mp3, webp, and bin.

func (*Client) PutGameBinaryRecordV1 deprecated

Deprecated: 2022-08-10 - Use PutGameBinaryRecordV1Short instead.

PutGameBinaryRecordV1 update game binary record file Update a game binary record file by its key

func (*Client) PutGameBinaryRecordV1Short

func (a *Client) PutGameBinaryRecordV1Short(params *PutGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameBinaryRecordV1OK, error)

PutGameBinaryRecordV1Short update game binary record file Update a game binary record file by its key

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ListGameBinaryRecordsV1(params *ListGameBinaryRecordsV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameBinaryRecordsV1OK, *ListGameBinaryRecordsV1BadRequest, *ListGameBinaryRecordsV1Unauthorized, *ListGameBinaryRecordsV1Forbidden, *ListGameBinaryRecordsV1InternalServerError, error)
	ListGameBinaryRecordsV1Short(params *ListGameBinaryRecordsV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameBinaryRecordsV1OK, error)
	PostGameBinaryRecordV1(params *PostGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostGameBinaryRecordV1Created, *PostGameBinaryRecordV1BadRequest, *PostGameBinaryRecordV1Unauthorized, *PostGameBinaryRecordV1Forbidden, *PostGameBinaryRecordV1Conflict, *PostGameBinaryRecordV1InternalServerError, error)
	PostGameBinaryRecordV1Short(params *PostGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostGameBinaryRecordV1Created, error)
	BulkGetGameBinaryRecordV1(params *BulkGetGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetGameBinaryRecordV1OK, *BulkGetGameBinaryRecordV1BadRequest, *BulkGetGameBinaryRecordV1Unauthorized, *BulkGetGameBinaryRecordV1Forbidden, *BulkGetGameBinaryRecordV1InternalServerError, error)
	BulkGetGameBinaryRecordV1Short(params *BulkGetGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetGameBinaryRecordV1OK, error)
	GetGameBinaryRecordV1(params *GetGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGameBinaryRecordV1OK, *GetGameBinaryRecordV1Unauthorized, *GetGameBinaryRecordV1Forbidden, *GetGameBinaryRecordV1NotFound, *GetGameBinaryRecordV1InternalServerError, error)
	GetGameBinaryRecordV1Short(params *GetGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGameBinaryRecordV1OK, error)
	PutGameBinaryRecordV1(params *PutGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameBinaryRecordV1OK, *PutGameBinaryRecordV1BadRequest, *PutGameBinaryRecordV1Unauthorized, *PutGameBinaryRecordV1Forbidden, *PutGameBinaryRecordV1NotFound, *PutGameBinaryRecordV1InternalServerError, error)
	PutGameBinaryRecordV1Short(params *PutGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameBinaryRecordV1OK, error)
	DeleteGameBinaryRecordV1(params *DeleteGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameBinaryRecordV1NoContent, *DeleteGameBinaryRecordV1BadRequest, *DeleteGameBinaryRecordV1Unauthorized, *DeleteGameBinaryRecordV1Forbidden, *DeleteGameBinaryRecordV1NotFound, *DeleteGameBinaryRecordV1InternalServerError, error)
	DeleteGameBinaryRecordV1Short(params *DeleteGameBinaryRecordV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameBinaryRecordV1NoContent, error)
	PostGameBinaryPresignedURLV1(params *PostGameBinaryPresignedURLV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostGameBinaryPresignedURLV1Created, *PostGameBinaryPresignedURLV1BadRequest, *PostGameBinaryPresignedURLV1Unauthorized, *PostGameBinaryPresignedURLV1Forbidden, *PostGameBinaryPresignedURLV1NotFound, *PostGameBinaryPresignedURLV1InternalServerError, error)
	PostGameBinaryPresignedURLV1Short(params *PostGameBinaryPresignedURLV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostGameBinaryPresignedURLV1Created, 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 binary record API client.

type DeleteGameBinaryRecordV1BadRequest

type DeleteGameBinaryRecordV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameBinaryRecordV1BadRequest 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 NewDeleteGameBinaryRecordV1BadRequest

func NewDeleteGameBinaryRecordV1BadRequest() *DeleteGameBinaryRecordV1BadRequest

NewDeleteGameBinaryRecordV1BadRequest creates a DeleteGameBinaryRecordV1BadRequest with default headers values

func (*DeleteGameBinaryRecordV1BadRequest) Error

func (*DeleteGameBinaryRecordV1BadRequest) GetPayload

func (*DeleteGameBinaryRecordV1BadRequest) ToJSONString

func (o *DeleteGameBinaryRecordV1BadRequest) ToJSONString() string

type DeleteGameBinaryRecordV1Forbidden

type DeleteGameBinaryRecordV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameBinaryRecordV1Forbidden 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 NewDeleteGameBinaryRecordV1Forbidden

func NewDeleteGameBinaryRecordV1Forbidden() *DeleteGameBinaryRecordV1Forbidden

NewDeleteGameBinaryRecordV1Forbidden creates a DeleteGameBinaryRecordV1Forbidden with default headers values

func (*DeleteGameBinaryRecordV1Forbidden) Error

func (*DeleteGameBinaryRecordV1Forbidden) GetPayload

func (*DeleteGameBinaryRecordV1Forbidden) ToJSONString

func (o *DeleteGameBinaryRecordV1Forbidden) ToJSONString() string

type DeleteGameBinaryRecordV1InternalServerError

type DeleteGameBinaryRecordV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameBinaryRecordV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18320</td><td>unable to delete record</td></tr><tr><td>18322</td><td>record not found</td></tr></table>

func NewDeleteGameBinaryRecordV1InternalServerError

func NewDeleteGameBinaryRecordV1InternalServerError() *DeleteGameBinaryRecordV1InternalServerError

NewDeleteGameBinaryRecordV1InternalServerError creates a DeleteGameBinaryRecordV1InternalServerError with default headers values

func (*DeleteGameBinaryRecordV1InternalServerError) Error

func (*DeleteGameBinaryRecordV1InternalServerError) GetPayload

func (*DeleteGameBinaryRecordV1InternalServerError) ToJSONString

type DeleteGameBinaryRecordV1NoContent

type DeleteGameBinaryRecordV1NoContent struct {
}

DeleteGameBinaryRecordV1NoContent handles this case with default header values.

Record deleted

func NewDeleteGameBinaryRecordV1NoContent

func NewDeleteGameBinaryRecordV1NoContent() *DeleteGameBinaryRecordV1NoContent

NewDeleteGameBinaryRecordV1NoContent creates a DeleteGameBinaryRecordV1NoContent with default headers values

func (*DeleteGameBinaryRecordV1NoContent) Error

type DeleteGameBinaryRecordV1NotFound

type DeleteGameBinaryRecordV1NotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameBinaryRecordV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18322</td><td>record not found</td></tr></table>

func NewDeleteGameBinaryRecordV1NotFound

func NewDeleteGameBinaryRecordV1NotFound() *DeleteGameBinaryRecordV1NotFound

NewDeleteGameBinaryRecordV1NotFound creates a DeleteGameBinaryRecordV1NotFound with default headers values

func (*DeleteGameBinaryRecordV1NotFound) Error

func (*DeleteGameBinaryRecordV1NotFound) GetPayload

func (*DeleteGameBinaryRecordV1NotFound) ToJSONString

func (o *DeleteGameBinaryRecordV1NotFound) ToJSONString() string

type DeleteGameBinaryRecordV1Params

type DeleteGameBinaryRecordV1Params 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
}

DeleteGameBinaryRecordV1Params contains all the parameters to send to the API endpoint for the delete game binary record v1 operation typically these are written to a http.Request

func NewDeleteGameBinaryRecordV1Params

func NewDeleteGameBinaryRecordV1Params() *DeleteGameBinaryRecordV1Params

NewDeleteGameBinaryRecordV1Params creates a new DeleteGameBinaryRecordV1Params object with the default values initialized.

func NewDeleteGameBinaryRecordV1ParamsWithContext

func NewDeleteGameBinaryRecordV1ParamsWithContext(ctx context.Context) *DeleteGameBinaryRecordV1Params

NewDeleteGameBinaryRecordV1ParamsWithContext creates a new DeleteGameBinaryRecordV1Params object with the default values initialized, and the ability to set a context for a request

func NewDeleteGameBinaryRecordV1ParamsWithHTTPClient

func NewDeleteGameBinaryRecordV1ParamsWithHTTPClient(client *http.Client) *DeleteGameBinaryRecordV1Params

NewDeleteGameBinaryRecordV1ParamsWithHTTPClient creates a new DeleteGameBinaryRecordV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteGameBinaryRecordV1ParamsWithTimeout

func NewDeleteGameBinaryRecordV1ParamsWithTimeout(timeout time.Duration) *DeleteGameBinaryRecordV1Params

NewDeleteGameBinaryRecordV1ParamsWithTimeout creates a new DeleteGameBinaryRecordV1Params object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteGameBinaryRecordV1Params) SetAuthInfoWriter

func (o *DeleteGameBinaryRecordV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete game binary record v1 params

func (*DeleteGameBinaryRecordV1Params) SetContext

func (o *DeleteGameBinaryRecordV1Params) SetContext(ctx context.Context)

SetContext adds the context to the delete game binary record v1 params

func (*DeleteGameBinaryRecordV1Params) SetFlightId

func (o *DeleteGameBinaryRecordV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DeleteGameBinaryRecordV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete game binary record v1 params

func (*DeleteGameBinaryRecordV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete game binary record v1 params

func (*DeleteGameBinaryRecordV1Params) SetKey

func (o *DeleteGameBinaryRecordV1Params) SetKey(key string)

SetKey adds the key to the delete game binary record v1 params

func (*DeleteGameBinaryRecordV1Params) SetNamespace

func (o *DeleteGameBinaryRecordV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete game binary record v1 params

func (*DeleteGameBinaryRecordV1Params) SetTimeout

func (o *DeleteGameBinaryRecordV1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete game binary record v1 params

func (*DeleteGameBinaryRecordV1Params) WithContext

WithContext adds the context to the delete game binary record v1 params

func (*DeleteGameBinaryRecordV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete game binary record v1 params

func (*DeleteGameBinaryRecordV1Params) WithKey

WithKey adds the key to the delete game binary record v1 params

func (*DeleteGameBinaryRecordV1Params) WithNamespace

WithNamespace adds the namespace to the delete game binary record v1 params

func (*DeleteGameBinaryRecordV1Params) WithTimeout

WithTimeout adds the timeout to the delete game binary record v1 params

func (*DeleteGameBinaryRecordV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteGameBinaryRecordV1Reader

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

DeleteGameBinaryRecordV1Reader is a Reader for the DeleteGameBinaryRecordV1 structure.

func (*DeleteGameBinaryRecordV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGameBinaryRecordV1Unauthorized

type DeleteGameBinaryRecordV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameBinaryRecordV1Unauthorized 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 NewDeleteGameBinaryRecordV1Unauthorized

func NewDeleteGameBinaryRecordV1Unauthorized() *DeleteGameBinaryRecordV1Unauthorized

NewDeleteGameBinaryRecordV1Unauthorized creates a DeleteGameBinaryRecordV1Unauthorized with default headers values

func (*DeleteGameBinaryRecordV1Unauthorized) Error

func (*DeleteGameBinaryRecordV1Unauthorized) GetPayload

func (*DeleteGameBinaryRecordV1Unauthorized) ToJSONString

func (o *DeleteGameBinaryRecordV1Unauthorized) ToJSONString() string

type GetGameBinaryRecordV1Forbidden

type GetGameBinaryRecordV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetGameBinaryRecordV1Forbidden 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 NewGetGameBinaryRecordV1Forbidden

func NewGetGameBinaryRecordV1Forbidden() *GetGameBinaryRecordV1Forbidden

NewGetGameBinaryRecordV1Forbidden creates a GetGameBinaryRecordV1Forbidden with default headers values

func (*GetGameBinaryRecordV1Forbidden) Error

func (*GetGameBinaryRecordV1Forbidden) GetPayload

func (*GetGameBinaryRecordV1Forbidden) ToJSONString

func (o *GetGameBinaryRecordV1Forbidden) ToJSONString() string

type GetGameBinaryRecordV1InternalServerError

type GetGameBinaryRecordV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetGameBinaryRecordV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18301</td><td>unable to get record</td></tr></table>

func NewGetGameBinaryRecordV1InternalServerError

func NewGetGameBinaryRecordV1InternalServerError() *GetGameBinaryRecordV1InternalServerError

NewGetGameBinaryRecordV1InternalServerError creates a GetGameBinaryRecordV1InternalServerError with default headers values

func (*GetGameBinaryRecordV1InternalServerError) Error

func (*GetGameBinaryRecordV1InternalServerError) GetPayload

func (*GetGameBinaryRecordV1InternalServerError) ToJSONString

type GetGameBinaryRecordV1NotFound

type GetGameBinaryRecordV1NotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetGameBinaryRecordV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18303</td><td>record not found</td></tr></table>

func NewGetGameBinaryRecordV1NotFound

func NewGetGameBinaryRecordV1NotFound() *GetGameBinaryRecordV1NotFound

NewGetGameBinaryRecordV1NotFound creates a GetGameBinaryRecordV1NotFound with default headers values

func (*GetGameBinaryRecordV1NotFound) Error

func (*GetGameBinaryRecordV1NotFound) GetPayload

func (*GetGameBinaryRecordV1NotFound) ToJSONString

func (o *GetGameBinaryRecordV1NotFound) ToJSONString() string

type GetGameBinaryRecordV1OK

type GetGameBinaryRecordV1OK struct {
	Payload *cloudsaveclientmodels.ModelsGameBinaryRecordResponse
}

GetGameBinaryRecordV1OK handles this case with default header values.

Record in namespace-level retrieved

func NewGetGameBinaryRecordV1OK

func NewGetGameBinaryRecordV1OK() *GetGameBinaryRecordV1OK

NewGetGameBinaryRecordV1OK creates a GetGameBinaryRecordV1OK with default headers values

func (*GetGameBinaryRecordV1OK) Error

func (o *GetGameBinaryRecordV1OK) Error() string

func (*GetGameBinaryRecordV1OK) GetPayload

func (*GetGameBinaryRecordV1OK) ToJSONString

func (o *GetGameBinaryRecordV1OK) ToJSONString() string

type GetGameBinaryRecordV1Params

type GetGameBinaryRecordV1Params 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
}

GetGameBinaryRecordV1Params contains all the parameters to send to the API endpoint for the get game binary record v1 operation typically these are written to a http.Request

func NewGetGameBinaryRecordV1Params

func NewGetGameBinaryRecordV1Params() *GetGameBinaryRecordV1Params

NewGetGameBinaryRecordV1Params creates a new GetGameBinaryRecordV1Params object with the default values initialized.

func NewGetGameBinaryRecordV1ParamsWithContext

func NewGetGameBinaryRecordV1ParamsWithContext(ctx context.Context) *GetGameBinaryRecordV1Params

NewGetGameBinaryRecordV1ParamsWithContext creates a new GetGameBinaryRecordV1Params object with the default values initialized, and the ability to set a context for a request

func NewGetGameBinaryRecordV1ParamsWithHTTPClient

func NewGetGameBinaryRecordV1ParamsWithHTTPClient(client *http.Client) *GetGameBinaryRecordV1Params

NewGetGameBinaryRecordV1ParamsWithHTTPClient creates a new GetGameBinaryRecordV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetGameBinaryRecordV1ParamsWithTimeout

func NewGetGameBinaryRecordV1ParamsWithTimeout(timeout time.Duration) *GetGameBinaryRecordV1Params

NewGetGameBinaryRecordV1ParamsWithTimeout creates a new GetGameBinaryRecordV1Params object with the default values initialized, and the ability to set a timeout on a request

func (*GetGameBinaryRecordV1Params) SetAuthInfoWriter

func (o *GetGameBinaryRecordV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get game binary record v1 params

func (*GetGameBinaryRecordV1Params) SetContext

func (o *GetGameBinaryRecordV1Params) SetContext(ctx context.Context)

SetContext adds the context to the get game binary record v1 params

func (*GetGameBinaryRecordV1Params) SetFlightId

func (o *GetGameBinaryRecordV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetGameBinaryRecordV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get game binary record v1 params

func (*GetGameBinaryRecordV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get game binary record v1 params

func (*GetGameBinaryRecordV1Params) SetKey

func (o *GetGameBinaryRecordV1Params) SetKey(key string)

SetKey adds the key to the get game binary record v1 params

func (*GetGameBinaryRecordV1Params) SetNamespace

func (o *GetGameBinaryRecordV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get game binary record v1 params

func (*GetGameBinaryRecordV1Params) SetTimeout

func (o *GetGameBinaryRecordV1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get game binary record v1 params

func (*GetGameBinaryRecordV1Params) WithContext

WithContext adds the context to the get game binary record v1 params

func (*GetGameBinaryRecordV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get game binary record v1 params

func (*GetGameBinaryRecordV1Params) WithKey

WithKey adds the key to the get game binary record v1 params

func (*GetGameBinaryRecordV1Params) WithNamespace

func (o *GetGameBinaryRecordV1Params) WithNamespace(namespace string) *GetGameBinaryRecordV1Params

WithNamespace adds the namespace to the get game binary record v1 params

func (*GetGameBinaryRecordV1Params) WithTimeout

WithTimeout adds the timeout to the get game binary record v1 params

func (*GetGameBinaryRecordV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGameBinaryRecordV1Reader

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

GetGameBinaryRecordV1Reader is a Reader for the GetGameBinaryRecordV1 structure.

func (*GetGameBinaryRecordV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGameBinaryRecordV1Unauthorized

type GetGameBinaryRecordV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetGameBinaryRecordV1Unauthorized 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 NewGetGameBinaryRecordV1Unauthorized

func NewGetGameBinaryRecordV1Unauthorized() *GetGameBinaryRecordV1Unauthorized

NewGetGameBinaryRecordV1Unauthorized creates a GetGameBinaryRecordV1Unauthorized with default headers values

func (*GetGameBinaryRecordV1Unauthorized) Error

func (*GetGameBinaryRecordV1Unauthorized) GetPayload

func (*GetGameBinaryRecordV1Unauthorized) ToJSONString

func (o *GetGameBinaryRecordV1Unauthorized) ToJSONString() string

type ListGameBinaryRecordsV1BadRequest

type ListGameBinaryRecordsV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

ListGameBinaryRecordsV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18304</td><td>invalid request body</td></tr></table>

func NewListGameBinaryRecordsV1BadRequest

func NewListGameBinaryRecordsV1BadRequest() *ListGameBinaryRecordsV1BadRequest

NewListGameBinaryRecordsV1BadRequest creates a ListGameBinaryRecordsV1BadRequest with default headers values

func (*ListGameBinaryRecordsV1BadRequest) Error

func (*ListGameBinaryRecordsV1BadRequest) GetPayload

func (*ListGameBinaryRecordsV1BadRequest) ToJSONString

func (o *ListGameBinaryRecordsV1BadRequest) ToJSONString() string

type ListGameBinaryRecordsV1Forbidden

type ListGameBinaryRecordsV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

ListGameBinaryRecordsV1Forbidden 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 NewListGameBinaryRecordsV1Forbidden

func NewListGameBinaryRecordsV1Forbidden() *ListGameBinaryRecordsV1Forbidden

NewListGameBinaryRecordsV1Forbidden creates a ListGameBinaryRecordsV1Forbidden with default headers values

func (*ListGameBinaryRecordsV1Forbidden) Error

func (*ListGameBinaryRecordsV1Forbidden) GetPayload

func (*ListGameBinaryRecordsV1Forbidden) ToJSONString

func (o *ListGameBinaryRecordsV1Forbidden) ToJSONString() string

type ListGameBinaryRecordsV1InternalServerError

type ListGameBinaryRecordsV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

ListGameBinaryRecordsV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18301</td><td>unable to get record</td></tr></table>

func NewListGameBinaryRecordsV1InternalServerError

func NewListGameBinaryRecordsV1InternalServerError() *ListGameBinaryRecordsV1InternalServerError

NewListGameBinaryRecordsV1InternalServerError creates a ListGameBinaryRecordsV1InternalServerError with default headers values

func (*ListGameBinaryRecordsV1InternalServerError) Error

func (*ListGameBinaryRecordsV1InternalServerError) GetPayload

func (*ListGameBinaryRecordsV1InternalServerError) ToJSONString

type ListGameBinaryRecordsV1OK

type ListGameBinaryRecordsV1OK struct {
	Payload *cloudsaveclientmodels.ModelsListGameBinaryRecordsResponse
}

ListGameBinaryRecordsV1OK handles this case with default header values.

Retrieve list of records by namespace

func NewListGameBinaryRecordsV1OK

func NewListGameBinaryRecordsV1OK() *ListGameBinaryRecordsV1OK

NewListGameBinaryRecordsV1OK creates a ListGameBinaryRecordsV1OK with default headers values

func (*ListGameBinaryRecordsV1OK) Error

func (o *ListGameBinaryRecordsV1OK) Error() string

func (*ListGameBinaryRecordsV1OK) GetPayload

func (*ListGameBinaryRecordsV1OK) ToJSONString

func (o *ListGameBinaryRecordsV1OK) ToJSONString() string

type ListGameBinaryRecordsV1Params

type ListGameBinaryRecordsV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game, only accept alphabet and numeric

	*/
	Namespace string
	/*Limit
	  the number of data retrieved in a page, default 25

	*/
	Limit *int64
	/*Offset
	  the number of offset, default 0

	*/
	Offset *int64
	/*Query
	  query, search game records by key

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

ListGameBinaryRecordsV1Params contains all the parameters to send to the API endpoint for the list game binary records v1 operation typically these are written to a http.Request

func NewListGameBinaryRecordsV1Params

func NewListGameBinaryRecordsV1Params() *ListGameBinaryRecordsV1Params

NewListGameBinaryRecordsV1Params creates a new ListGameBinaryRecordsV1Params object with the default values initialized.

func NewListGameBinaryRecordsV1ParamsWithContext

func NewListGameBinaryRecordsV1ParamsWithContext(ctx context.Context) *ListGameBinaryRecordsV1Params

NewListGameBinaryRecordsV1ParamsWithContext creates a new ListGameBinaryRecordsV1Params object with the default values initialized, and the ability to set a context for a request

func NewListGameBinaryRecordsV1ParamsWithHTTPClient

func NewListGameBinaryRecordsV1ParamsWithHTTPClient(client *http.Client) *ListGameBinaryRecordsV1Params

NewListGameBinaryRecordsV1ParamsWithHTTPClient creates a new ListGameBinaryRecordsV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListGameBinaryRecordsV1ParamsWithTimeout

func NewListGameBinaryRecordsV1ParamsWithTimeout(timeout time.Duration) *ListGameBinaryRecordsV1Params

NewListGameBinaryRecordsV1ParamsWithTimeout creates a new ListGameBinaryRecordsV1Params object with the default values initialized, and the ability to set a timeout on a request

func (*ListGameBinaryRecordsV1Params) SetAuthInfoWriter

func (o *ListGameBinaryRecordsV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) SetContext

func (o *ListGameBinaryRecordsV1Params) SetContext(ctx context.Context)

SetContext adds the context to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) SetFlightId

func (o *ListGameBinaryRecordsV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ListGameBinaryRecordsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) SetLimit

func (o *ListGameBinaryRecordsV1Params) SetLimit(limit *int64)

SetLimit adds the limit to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) SetNamespace

func (o *ListGameBinaryRecordsV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) SetOffset

func (o *ListGameBinaryRecordsV1Params) SetOffset(offset *int64)

SetOffset adds the offset to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) SetQuery

func (o *ListGameBinaryRecordsV1Params) SetQuery(query *string)

SetQuery adds the query to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) SetTimeout

func (o *ListGameBinaryRecordsV1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) WithContext

WithContext adds the context to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) WithLimit

WithLimit adds the limit to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) WithNamespace

WithNamespace adds the namespace to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) WithOffset

WithOffset adds the offset to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) WithQuery

WithQuery adds the query to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) WithTimeout

WithTimeout adds the timeout to the list game binary records v1 params

func (*ListGameBinaryRecordsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGameBinaryRecordsV1Reader

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

ListGameBinaryRecordsV1Reader is a Reader for the ListGameBinaryRecordsV1 structure.

func (*ListGameBinaryRecordsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListGameBinaryRecordsV1Unauthorized

type ListGameBinaryRecordsV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

ListGameBinaryRecordsV1Unauthorized 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 NewListGameBinaryRecordsV1Unauthorized

func NewListGameBinaryRecordsV1Unauthorized() *ListGameBinaryRecordsV1Unauthorized

NewListGameBinaryRecordsV1Unauthorized creates a ListGameBinaryRecordsV1Unauthorized with default headers values

func (*ListGameBinaryRecordsV1Unauthorized) Error

func (*ListGameBinaryRecordsV1Unauthorized) GetPayload

func (*ListGameBinaryRecordsV1Unauthorized) ToJSONString

func (o *ListGameBinaryRecordsV1Unauthorized) ToJSONString() string

type PostGameBinaryPresignedURLV1BadRequest

type PostGameBinaryPresignedURLV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostGameBinaryPresignedURLV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18311</td><td>invalid request body</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr></table>

func NewPostGameBinaryPresignedURLV1BadRequest

func NewPostGameBinaryPresignedURLV1BadRequest() *PostGameBinaryPresignedURLV1BadRequest

NewPostGameBinaryPresignedURLV1BadRequest creates a PostGameBinaryPresignedURLV1BadRequest with default headers values

func (*PostGameBinaryPresignedURLV1BadRequest) Error

func (*PostGameBinaryPresignedURLV1BadRequest) GetPayload

func (*PostGameBinaryPresignedURLV1BadRequest) ToJSONString

type PostGameBinaryPresignedURLV1Created

type PostGameBinaryPresignedURLV1Created struct {
	Payload *cloudsaveclientmodels.ModelsUploadBinaryRecordResponse
}

PostGameBinaryPresignedURLV1Created handles this case with default header values.

Successful Operation

func NewPostGameBinaryPresignedURLV1Created

func NewPostGameBinaryPresignedURLV1Created() *PostGameBinaryPresignedURLV1Created

NewPostGameBinaryPresignedURLV1Created creates a PostGameBinaryPresignedURLV1Created with default headers values

func (*PostGameBinaryPresignedURLV1Created) Error

func (*PostGameBinaryPresignedURLV1Created) GetPayload

func (*PostGameBinaryPresignedURLV1Created) ToJSONString

func (o *PostGameBinaryPresignedURLV1Created) ToJSONString() string

type PostGameBinaryPresignedURLV1Forbidden

type PostGameBinaryPresignedURLV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostGameBinaryPresignedURLV1Forbidden 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 NewPostGameBinaryPresignedURLV1Forbidden

func NewPostGameBinaryPresignedURLV1Forbidden() *PostGameBinaryPresignedURLV1Forbidden

NewPostGameBinaryPresignedURLV1Forbidden creates a PostGameBinaryPresignedURLV1Forbidden with default headers values

func (*PostGameBinaryPresignedURLV1Forbidden) Error

func (*PostGameBinaryPresignedURLV1Forbidden) GetPayload

func (*PostGameBinaryPresignedURLV1Forbidden) ToJSONString

type PostGameBinaryPresignedURLV1InternalServerError

type PostGameBinaryPresignedURLV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostGameBinaryPresignedURLV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18312</td><td>unable to get record</td></tr><tr><td>18314</td><td>unable to get presigned URL</td></tr></table>

func NewPostGameBinaryPresignedURLV1InternalServerError

func NewPostGameBinaryPresignedURLV1InternalServerError() *PostGameBinaryPresignedURLV1InternalServerError

NewPostGameBinaryPresignedURLV1InternalServerError creates a PostGameBinaryPresignedURLV1InternalServerError with default headers values

func (*PostGameBinaryPresignedURLV1InternalServerError) Error

func (*PostGameBinaryPresignedURLV1InternalServerError) GetPayload

func (*PostGameBinaryPresignedURLV1InternalServerError) ToJSONString

type PostGameBinaryPresignedURLV1NotFound

type PostGameBinaryPresignedURLV1NotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostGameBinaryPresignedURLV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18313</td><td>record not found</td></tr></table>

func NewPostGameBinaryPresignedURLV1NotFound

func NewPostGameBinaryPresignedURLV1NotFound() *PostGameBinaryPresignedURLV1NotFound

NewPostGameBinaryPresignedURLV1NotFound creates a PostGameBinaryPresignedURLV1NotFound with default headers values

func (*PostGameBinaryPresignedURLV1NotFound) Error

func (*PostGameBinaryPresignedURLV1NotFound) GetPayload

func (*PostGameBinaryPresignedURLV1NotFound) ToJSONString

func (o *PostGameBinaryPresignedURLV1NotFound) ToJSONString() string

type PostGameBinaryPresignedURLV1Params

type PostGameBinaryPresignedURLV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *cloudsaveclientmodels.ModelsUploadBinaryRecordRequest
	/*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
}

PostGameBinaryPresignedURLV1Params contains all the parameters to send to the API endpoint for the post game binary presigned urlv1 operation typically these are written to a http.Request

func NewPostGameBinaryPresignedURLV1Params

func NewPostGameBinaryPresignedURLV1Params() *PostGameBinaryPresignedURLV1Params

NewPostGameBinaryPresignedURLV1Params creates a new PostGameBinaryPresignedURLV1Params object with the default values initialized.

func NewPostGameBinaryPresignedURLV1ParamsWithContext

func NewPostGameBinaryPresignedURLV1ParamsWithContext(ctx context.Context) *PostGameBinaryPresignedURLV1Params

NewPostGameBinaryPresignedURLV1ParamsWithContext creates a new PostGameBinaryPresignedURLV1Params object with the default values initialized, and the ability to set a context for a request

func NewPostGameBinaryPresignedURLV1ParamsWithHTTPClient

func NewPostGameBinaryPresignedURLV1ParamsWithHTTPClient(client *http.Client) *PostGameBinaryPresignedURLV1Params

NewPostGameBinaryPresignedURLV1ParamsWithHTTPClient creates a new PostGameBinaryPresignedURLV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostGameBinaryPresignedURLV1ParamsWithTimeout

func NewPostGameBinaryPresignedURLV1ParamsWithTimeout(timeout time.Duration) *PostGameBinaryPresignedURLV1Params

NewPostGameBinaryPresignedURLV1ParamsWithTimeout creates a new PostGameBinaryPresignedURLV1Params object with the default values initialized, and the ability to set a timeout on a request

func (*PostGameBinaryPresignedURLV1Params) SetAuthInfoWriter

func (o *PostGameBinaryPresignedURLV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) SetBody

SetBody adds the body to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) SetContext

SetContext adds the context to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) SetFlightId

func (o *PostGameBinaryPresignedURLV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PostGameBinaryPresignedURLV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) SetKey

SetKey adds the key to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) SetNamespace

func (o *PostGameBinaryPresignedURLV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) SetTimeout

func (o *PostGameBinaryPresignedURLV1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) WithBody

WithBody adds the body to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) WithContext

WithContext adds the context to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) WithKey

WithKey adds the key to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) WithNamespace

WithNamespace adds the namespace to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) WithTimeout

WithTimeout adds the timeout to the post game binary presigned urlv1 params

func (*PostGameBinaryPresignedURLV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostGameBinaryPresignedURLV1Reader

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

PostGameBinaryPresignedURLV1Reader is a Reader for the PostGameBinaryPresignedURLV1 structure.

func (*PostGameBinaryPresignedURLV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostGameBinaryPresignedURLV1Unauthorized

type PostGameBinaryPresignedURLV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostGameBinaryPresignedURLV1Unauthorized 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 NewPostGameBinaryPresignedURLV1Unauthorized

func NewPostGameBinaryPresignedURLV1Unauthorized() *PostGameBinaryPresignedURLV1Unauthorized

NewPostGameBinaryPresignedURLV1Unauthorized creates a PostGameBinaryPresignedURLV1Unauthorized with default headers values

func (*PostGameBinaryPresignedURLV1Unauthorized) Error

func (*PostGameBinaryPresignedURLV1Unauthorized) GetPayload

func (*PostGameBinaryPresignedURLV1Unauthorized) ToJSONString

type PostGameBinaryRecordV1BadRequest

type PostGameBinaryRecordV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostGameBinaryRecordV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18305</td><td>invalid request body</td></tr></table>

func NewPostGameBinaryRecordV1BadRequest

func NewPostGameBinaryRecordV1BadRequest() *PostGameBinaryRecordV1BadRequest

NewPostGameBinaryRecordV1BadRequest creates a PostGameBinaryRecordV1BadRequest with default headers values

func (*PostGameBinaryRecordV1BadRequest) Error

func (*PostGameBinaryRecordV1BadRequest) GetPayload

func (*PostGameBinaryRecordV1BadRequest) ToJSONString

func (o *PostGameBinaryRecordV1BadRequest) ToJSONString() string

type PostGameBinaryRecordV1Conflict

type PostGameBinaryRecordV1Conflict struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostGameBinaryRecordV1Conflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18309</td><td>key already exists</td></tr></table>

func NewPostGameBinaryRecordV1Conflict

func NewPostGameBinaryRecordV1Conflict() *PostGameBinaryRecordV1Conflict

NewPostGameBinaryRecordV1Conflict creates a PostGameBinaryRecordV1Conflict with default headers values

func (*PostGameBinaryRecordV1Conflict) Error

func (*PostGameBinaryRecordV1Conflict) GetPayload

func (*PostGameBinaryRecordV1Conflict) ToJSONString

func (o *PostGameBinaryRecordV1Conflict) ToJSONString() string

type PostGameBinaryRecordV1Created

type PostGameBinaryRecordV1Created struct {
	Payload *cloudsaveclientmodels.ModelsUploadBinaryRecordResponse
}

PostGameBinaryRecordV1Created handles this case with default header values.

Record in namespace-level created

func NewPostGameBinaryRecordV1Created

func NewPostGameBinaryRecordV1Created() *PostGameBinaryRecordV1Created

NewPostGameBinaryRecordV1Created creates a PostGameBinaryRecordV1Created with default headers values

func (*PostGameBinaryRecordV1Created) Error

func (*PostGameBinaryRecordV1Created) GetPayload

func (*PostGameBinaryRecordV1Created) ToJSONString

func (o *PostGameBinaryRecordV1Created) ToJSONString() string

type PostGameBinaryRecordV1Forbidden

type PostGameBinaryRecordV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostGameBinaryRecordV1Forbidden 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 NewPostGameBinaryRecordV1Forbidden

func NewPostGameBinaryRecordV1Forbidden() *PostGameBinaryRecordV1Forbidden

NewPostGameBinaryRecordV1Forbidden creates a PostGameBinaryRecordV1Forbidden with default headers values

func (*PostGameBinaryRecordV1Forbidden) Error

func (*PostGameBinaryRecordV1Forbidden) GetPayload

func (*PostGameBinaryRecordV1Forbidden) ToJSONString

func (o *PostGameBinaryRecordV1Forbidden) ToJSONString() string

type PostGameBinaryRecordV1InternalServerError

type PostGameBinaryRecordV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostGameBinaryRecordV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18301</td><td>unable to get record</td></tr><tr><td>18307</td><td>unable to save record</td></tr><tr><td>18310</td><td>unable to get presigned URL</td></tr></table>

func NewPostGameBinaryRecordV1InternalServerError

func NewPostGameBinaryRecordV1InternalServerError() *PostGameBinaryRecordV1InternalServerError

NewPostGameBinaryRecordV1InternalServerError creates a PostGameBinaryRecordV1InternalServerError with default headers values

func (*PostGameBinaryRecordV1InternalServerError) Error

func (*PostGameBinaryRecordV1InternalServerError) GetPayload

func (*PostGameBinaryRecordV1InternalServerError) ToJSONString

type PostGameBinaryRecordV1Params

type PostGameBinaryRecordV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *cloudsaveclientmodels.ModelsPublicGameBinaryRecordCreate
	/*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
}

PostGameBinaryRecordV1Params contains all the parameters to send to the API endpoint for the post game binary record v1 operation typically these are written to a http.Request

func NewPostGameBinaryRecordV1Params

func NewPostGameBinaryRecordV1Params() *PostGameBinaryRecordV1Params

NewPostGameBinaryRecordV1Params creates a new PostGameBinaryRecordV1Params object with the default values initialized.

func NewPostGameBinaryRecordV1ParamsWithContext

func NewPostGameBinaryRecordV1ParamsWithContext(ctx context.Context) *PostGameBinaryRecordV1Params

NewPostGameBinaryRecordV1ParamsWithContext creates a new PostGameBinaryRecordV1Params object with the default values initialized, and the ability to set a context for a request

func NewPostGameBinaryRecordV1ParamsWithHTTPClient

func NewPostGameBinaryRecordV1ParamsWithHTTPClient(client *http.Client) *PostGameBinaryRecordV1Params

NewPostGameBinaryRecordV1ParamsWithHTTPClient creates a new PostGameBinaryRecordV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostGameBinaryRecordV1ParamsWithTimeout

func NewPostGameBinaryRecordV1ParamsWithTimeout(timeout time.Duration) *PostGameBinaryRecordV1Params

NewPostGameBinaryRecordV1ParamsWithTimeout creates a new PostGameBinaryRecordV1Params object with the default values initialized, and the ability to set a timeout on a request

func (*PostGameBinaryRecordV1Params) SetAuthInfoWriter

func (o *PostGameBinaryRecordV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the post game binary record v1 params

func (*PostGameBinaryRecordV1Params) SetBody

SetBody adds the body to the post game binary record v1 params

func (*PostGameBinaryRecordV1Params) SetContext

func (o *PostGameBinaryRecordV1Params) SetContext(ctx context.Context)

SetContext adds the context to the post game binary record v1 params

func (*PostGameBinaryRecordV1Params) SetFlightId

func (o *PostGameBinaryRecordV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PostGameBinaryRecordV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post game binary record v1 params

func (*PostGameBinaryRecordV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the post game binary record v1 params

func (*PostGameBinaryRecordV1Params) SetNamespace

func (o *PostGameBinaryRecordV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the post game binary record v1 params

func (*PostGameBinaryRecordV1Params) SetTimeout

func (o *PostGameBinaryRecordV1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post game binary record v1 params

func (*PostGameBinaryRecordV1Params) WithBody

WithBody adds the body to the post game binary record v1 params

func (*PostGameBinaryRecordV1Params) WithContext

WithContext adds the context to the post game binary record v1 params

func (*PostGameBinaryRecordV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post game binary record v1 params

func (*PostGameBinaryRecordV1Params) WithNamespace

WithNamespace adds the namespace to the post game binary record v1 params

func (*PostGameBinaryRecordV1Params) WithTimeout

WithTimeout adds the timeout to the post game binary record v1 params

func (*PostGameBinaryRecordV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostGameBinaryRecordV1Reader

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

PostGameBinaryRecordV1Reader is a Reader for the PostGameBinaryRecordV1 structure.

func (*PostGameBinaryRecordV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostGameBinaryRecordV1Unauthorized

type PostGameBinaryRecordV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostGameBinaryRecordV1Unauthorized 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 NewPostGameBinaryRecordV1Unauthorized

func NewPostGameBinaryRecordV1Unauthorized() *PostGameBinaryRecordV1Unauthorized

NewPostGameBinaryRecordV1Unauthorized creates a PostGameBinaryRecordV1Unauthorized with default headers values

func (*PostGameBinaryRecordV1Unauthorized) Error

func (*PostGameBinaryRecordV1Unauthorized) GetPayload

func (*PostGameBinaryRecordV1Unauthorized) ToJSONString

func (o *PostGameBinaryRecordV1Unauthorized) ToJSONString() string

type PutGameBinaryRecordV1BadRequest

type PutGameBinaryRecordV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutGameBinaryRecordV1BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18316</td><td>invalid request body</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr></table>

func NewPutGameBinaryRecordV1BadRequest

func NewPutGameBinaryRecordV1BadRequest() *PutGameBinaryRecordV1BadRequest

NewPutGameBinaryRecordV1BadRequest creates a PutGameBinaryRecordV1BadRequest with default headers values

func (*PutGameBinaryRecordV1BadRequest) Error

func (*PutGameBinaryRecordV1BadRequest) GetPayload

func (*PutGameBinaryRecordV1BadRequest) ToJSONString

func (o *PutGameBinaryRecordV1BadRequest) ToJSONString() string

type PutGameBinaryRecordV1Forbidden

type PutGameBinaryRecordV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutGameBinaryRecordV1Forbidden 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 NewPutGameBinaryRecordV1Forbidden

func NewPutGameBinaryRecordV1Forbidden() *PutGameBinaryRecordV1Forbidden

NewPutGameBinaryRecordV1Forbidden creates a PutGameBinaryRecordV1Forbidden with default headers values

func (*PutGameBinaryRecordV1Forbidden) Error

func (*PutGameBinaryRecordV1Forbidden) GetPayload

func (*PutGameBinaryRecordV1Forbidden) ToJSONString

func (o *PutGameBinaryRecordV1Forbidden) ToJSONString() string

type PutGameBinaryRecordV1InternalServerError

type PutGameBinaryRecordV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutGameBinaryRecordV1InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18318</td><td>unable to update record</td></tr></table>

func NewPutGameBinaryRecordV1InternalServerError

func NewPutGameBinaryRecordV1InternalServerError() *PutGameBinaryRecordV1InternalServerError

NewPutGameBinaryRecordV1InternalServerError creates a PutGameBinaryRecordV1InternalServerError with default headers values

func (*PutGameBinaryRecordV1InternalServerError) Error

func (*PutGameBinaryRecordV1InternalServerError) GetPayload

func (*PutGameBinaryRecordV1InternalServerError) ToJSONString

type PutGameBinaryRecordV1NotFound

type PutGameBinaryRecordV1NotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutGameBinaryRecordV1NotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18317</td><td>record not found</td></tr></table>

func NewPutGameBinaryRecordV1NotFound

func NewPutGameBinaryRecordV1NotFound() *PutGameBinaryRecordV1NotFound

NewPutGameBinaryRecordV1NotFound creates a PutGameBinaryRecordV1NotFound with default headers values

func (*PutGameBinaryRecordV1NotFound) Error

func (*PutGameBinaryRecordV1NotFound) GetPayload

func (*PutGameBinaryRecordV1NotFound) ToJSONString

func (o *PutGameBinaryRecordV1NotFound) ToJSONString() string

type PutGameBinaryRecordV1OK

type PutGameBinaryRecordV1OK struct {
	Payload *cloudsaveclientmodels.ModelsGameBinaryRecordResponse
}

PutGameBinaryRecordV1OK handles this case with default header values.

Record saved

func NewPutGameBinaryRecordV1OK

func NewPutGameBinaryRecordV1OK() *PutGameBinaryRecordV1OK

NewPutGameBinaryRecordV1OK creates a PutGameBinaryRecordV1OK with default headers values

func (*PutGameBinaryRecordV1OK) Error

func (o *PutGameBinaryRecordV1OK) Error() string

func (*PutGameBinaryRecordV1OK) GetPayload

func (*PutGameBinaryRecordV1OK) ToJSONString

func (o *PutGameBinaryRecordV1OK) ToJSONString() string

type PutGameBinaryRecordV1Params

type PutGameBinaryRecordV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *cloudsaveclientmodels.ModelsBinaryRecordRequest
	/*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
}

PutGameBinaryRecordV1Params contains all the parameters to send to the API endpoint for the put game binary record v1 operation typically these are written to a http.Request

func NewPutGameBinaryRecordV1Params

func NewPutGameBinaryRecordV1Params() *PutGameBinaryRecordV1Params

NewPutGameBinaryRecordV1Params creates a new PutGameBinaryRecordV1Params object with the default values initialized.

func NewPutGameBinaryRecordV1ParamsWithContext

func NewPutGameBinaryRecordV1ParamsWithContext(ctx context.Context) *PutGameBinaryRecordV1Params

NewPutGameBinaryRecordV1ParamsWithContext creates a new PutGameBinaryRecordV1Params object with the default values initialized, and the ability to set a context for a request

func NewPutGameBinaryRecordV1ParamsWithHTTPClient

func NewPutGameBinaryRecordV1ParamsWithHTTPClient(client *http.Client) *PutGameBinaryRecordV1Params

NewPutGameBinaryRecordV1ParamsWithHTTPClient creates a new PutGameBinaryRecordV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutGameBinaryRecordV1ParamsWithTimeout

func NewPutGameBinaryRecordV1ParamsWithTimeout(timeout time.Duration) *PutGameBinaryRecordV1Params

NewPutGameBinaryRecordV1ParamsWithTimeout creates a new PutGameBinaryRecordV1Params object with the default values initialized, and the ability to set a timeout on a request

func (*PutGameBinaryRecordV1Params) SetAuthInfoWriter

func (o *PutGameBinaryRecordV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) SetBody

SetBody adds the body to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) SetContext

func (o *PutGameBinaryRecordV1Params) SetContext(ctx context.Context)

SetContext adds the context to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) SetFlightId

func (o *PutGameBinaryRecordV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PutGameBinaryRecordV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) SetKey

func (o *PutGameBinaryRecordV1Params) SetKey(key string)

SetKey adds the key to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) SetNamespace

func (o *PutGameBinaryRecordV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) SetTimeout

func (o *PutGameBinaryRecordV1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) WithBody

WithBody adds the body to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) WithContext

WithContext adds the context to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) WithKey

WithKey adds the key to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) WithNamespace

func (o *PutGameBinaryRecordV1Params) WithNamespace(namespace string) *PutGameBinaryRecordV1Params

WithNamespace adds the namespace to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) WithTimeout

WithTimeout adds the timeout to the put game binary record v1 params

func (*PutGameBinaryRecordV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutGameBinaryRecordV1Reader

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

PutGameBinaryRecordV1Reader is a Reader for the PutGameBinaryRecordV1 structure.

func (*PutGameBinaryRecordV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutGameBinaryRecordV1Unauthorized

type PutGameBinaryRecordV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutGameBinaryRecordV1Unauthorized 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 NewPutGameBinaryRecordV1Unauthorized

func NewPutGameBinaryRecordV1Unauthorized() *PutGameBinaryRecordV1Unauthorized

NewPutGameBinaryRecordV1Unauthorized creates a PutGameBinaryRecordV1Unauthorized with default headers values

func (*PutGameBinaryRecordV1Unauthorized) Error

func (*PutGameBinaryRecordV1Unauthorized) GetPayload

func (*PutGameBinaryRecordV1Unauthorized) ToJSONString

func (o *PutGameBinaryRecordV1Unauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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