public_game_record

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 15 Imported by: 3 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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) DeleteGameRecordHandlerV1 deprecated

Deprecated: Use DeleteGameRecordHandlerV1Short instead.

  DeleteGameRecordHandlerV1 deletes game record

  <table>
	<tr>
		<td>Required Permission</td>
		<td><code>NAMESPACE:{namespace}:CLOUDSAVE:RECORD [DELETE]</code></td>
	</tr>
	<tr>
		<td>Required Scope</td>
		<td><code>social</code></td>
	</tr>

</table> <br/>

Delete records by its key

func (*Client) DeleteGameRecordHandlerV1Short added in v0.8.0

func (a *Client) DeleteGameRecordHandlerV1Short(params *DeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameRecordHandlerV1NoContent, error)
  DeleteGameRecordHandlerV1Short deletes game record

  <table>
	<tr>
		<td>Required Permission</td>
		<td><code>NAMESPACE:{namespace}:CLOUDSAVE:RECORD [DELETE]</code></td>
	</tr>
	<tr>
		<td>Required Scope</td>
		<td><code>social</code></td>
	</tr>

</table> <br/>

Delete records by its key

func (*Client) GetGameRecordHandlerV1 deprecated

Deprecated: Use GetGameRecordHandlerV1Short instead.

  GetGameRecordHandlerV1 gets game record

  <table>
	<tr>
		<td>Required Permission</td>
		<td><code>NAMESPACE:{namespace}:CLOUDSAVE:RECORD [READ]</code></td>
	</tr>
	<tr>
		<td>Required Scope</td>
		<td><code>social</code></td>
	</tr>

</table> <br/> Get game record by its key.

func (*Client) GetGameRecordHandlerV1Short added in v0.8.0

func (a *Client) GetGameRecordHandlerV1Short(params *GetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordHandlerV1OK, error)
  GetGameRecordHandlerV1Short gets game record

  <table>
	<tr>
		<td>Required Permission</td>
		<td><code>NAMESPACE:{namespace}:CLOUDSAVE:RECORD [READ]</code></td>
	</tr>
	<tr>
		<td>Required Scope</td>
		<td><code>social</code></td>
	</tr>

</table> <br/> Get game record by its key.

func (*Client) GetGameRecordsBulk deprecated added in v0.36.0

Deprecated: Use GetGameRecordsBulkShort instead.

  GetGameRecordsBulk bulks get game records

  <table>
	<tr>
		<td>Required Permission</td>
		<td><code>NAMESPACE:{namespace}:CLOUDSAVE:RECORD [READ]</code></td>
	</tr>
	<tr>
		<td>Required Scope</td>
		<td><code>social</code></td>
	</tr>

</table> <br/>

Bulk get game records. Maximum key per request 20.

func (*Client) GetGameRecordsBulkShort added in v0.36.0

func (a *Client) GetGameRecordsBulkShort(params *GetGameRecordsBulkParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordsBulkOK, error)
  GetGameRecordsBulkShort bulks get game records

  <table>
	<tr>
		<td>Required Permission</td>
		<td><code>NAMESPACE:{namespace}:CLOUDSAVE:RECORD [READ]</code></td>
	</tr>
	<tr>
		<td>Required Scope</td>
		<td><code>social</code></td>
	</tr>

</table> <br/>

Bulk get game records. Maximum key per request 20.

func (*Client) PostGameRecordHandlerV1 deprecated

Deprecated: Use PostGameRecordHandlerV1Short instead.

PostGameRecordHandlerV1 creates or append game record

Required permission: <code>NAMESPACE:{namespace}:CLOUDSAVE:RECORD [CREATE]</code>

Required scope: <code>social</code>

<h2>Description</h2>

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

<b>Append example:</b>

Example 1

  • Existing JSON: <pre>{ "data1": "value" }</pre>
  • New JSON: <pre>{ "data2": "new value" }</pre>
  • Result: <pre>{ "data1": "value", "data2": "new value" }</pre>

Example 2

  • Existing JSON: <pre>{ "data1": { "data2": "value" }</pre>
  • New JSON: <pre>{ "data1": { "data3": "new value" }</pre>
  • Result: <pre>{ "data1": { "data2": "value", "data3": "new value" }</pre>

<h2>Restriction </h2> This is the restriction of Key Naming for the record: 1. Cannot use <b>"."</b> as the key name - <pre>{ "data.2": "value" }</pre> 2. Cannot use <b>"$"</b> as the prefix in key names - <pre>{ "$data": "value" }</pre> 3. Cannot use empty string in key names - <pre>{ "": "value" }</pre>

<h2>Reserved Word</h2>

Reserved Word List: <b>__META</b>

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

func (*Client) PostGameRecordHandlerV1Short added in v0.8.0

func (a *Client) PostGameRecordHandlerV1Short(params *PostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostGameRecordHandlerV1Created, error)
PostGameRecordHandlerV1Short creates or append game record

Required permission: <code>NAMESPACE:{namespace}:CLOUDSAVE:RECORD [CREATE]</code>

Required scope: <code>social</code>

<h2>Description</h2>

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

<b>Append example:</b>

Example 1

  • Existing JSON: <pre>{ "data1": "value" }</pre>
  • New JSON: <pre>{ "data2": "new value" }</pre>
  • Result: <pre>{ "data1": "value", "data2": "new value" }</pre>

Example 2

  • Existing JSON: <pre>{ "data1": { "data2": "value" }</pre>
  • New JSON: <pre>{ "data1": { "data3": "new value" }</pre>
  • Result: <pre>{ "data1": { "data2": "value", "data3": "new value" }</pre>

<h2>Restriction </h2> This is the restriction of Key Naming for the record: 1. Cannot use <b>"."</b> as the key name - <pre>{ "data.2": "value" }</pre> 2. Cannot use <b>"$"</b> as the prefix in key names - <pre>{ "$data": "value" }</pre> 3. Cannot use empty string in key names - <pre>{ "": "value" }</pre>

<h2>Reserved Word</h2>

Reserved Word List: <b>__META</b>

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

func (*Client) PutGameRecordHandlerV1 deprecated

Deprecated: Use PutGameRecordHandlerV1Short instead.

PutGameRecordHandlerV1 creates or replace game record

Required permission: <code>NAMESPACE:{namespace}:CLOUDSAVE:RECORD [UPDATE]</code>

Required scope: <code>social</code>

<h2>Description</h2>

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

<b>Replace behaviour:</b> The existing value will be replaced completely with the new value.

Example

  • Existing JSON: <pre>{ "data1": "value" }</pre>
  • New JSON: <pre>{ "data2": "new value" }</pre>
  • Result: <pre>{ "data2": "new value" }</pre>

<h2>Restriction </h2> This is the restriction of Key Naming for the record: 1. Cannot use <b>"."</b> as the key name - <pre>{ "data.2": "value" }</pre> 2. Cannot use <b>"$"</b> as the prefix in key names - <pre>{ "$data": "value" }</pre> 3. Cannot use empty string in key names - <pre>{ "": "value" }</pre>

<h2>Reserved Word</h2>

Reserved Word List: <b>__META</b>

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

func (*Client) PutGameRecordHandlerV1Short added in v0.8.0

func (a *Client) PutGameRecordHandlerV1Short(params *PutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameRecordHandlerV1OK, error)
PutGameRecordHandlerV1Short creates or replace game record

Required permission: <code>NAMESPACE:{namespace}:CLOUDSAVE:RECORD [UPDATE]</code>

Required scope: <code>social</code>

<h2>Description</h2>

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

<b>Replace behaviour:</b> The existing value will be replaced completely with the new value.

Example

  • Existing JSON: <pre>{ "data1": "value" }</pre>
  • New JSON: <pre>{ "data2": "new value" }</pre>
  • Result: <pre>{ "data2": "new value" }</pre>

<h2>Restriction </h2> This is the restriction of Key Naming for the record: 1. Cannot use <b>"."</b> as the key name - <pre>{ "data.2": "value" }</pre> 2. Cannot use <b>"$"</b> as the prefix in key names - <pre>{ "$data": "value" }</pre> 3. Cannot use empty string in key names - <pre>{ "": "value" }</pre>

<h2>Reserved Word</h2>

Reserved Word List: <b>__META</b>

The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteGameRecordHandlerV1(params *DeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameRecordHandlerV1NoContent, *DeleteGameRecordHandlerV1BadRequest, *DeleteGameRecordHandlerV1Unauthorized, *DeleteGameRecordHandlerV1InternalServerError, error)
	DeleteGameRecordHandlerV1Short(params *DeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameRecordHandlerV1NoContent, error)
	GetGameRecordHandlerV1(params *GetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordHandlerV1OK, *GetGameRecordHandlerV1Unauthorized, *GetGameRecordHandlerV1NotFound, *GetGameRecordHandlerV1InternalServerError, error)
	GetGameRecordHandlerV1Short(params *GetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordHandlerV1OK, error)
	GetGameRecordsBulk(params *GetGameRecordsBulkParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordsBulkOK, *GetGameRecordsBulkUnauthorized, *GetGameRecordsBulkForbidden, *GetGameRecordsBulkNotFound, *GetGameRecordsBulkInternalServerError, error)
	GetGameRecordsBulkShort(params *GetGameRecordsBulkParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordsBulkOK, error)
	PostGameRecordHandlerV1(params *PostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostGameRecordHandlerV1Created, *PostGameRecordHandlerV1BadRequest, *PostGameRecordHandlerV1InternalServerError, error)
	PostGameRecordHandlerV1Short(params *PostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostGameRecordHandlerV1Created, error)
	PutGameRecordHandlerV1(params *PutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameRecordHandlerV1OK, *PutGameRecordHandlerV1BadRequest, *PutGameRecordHandlerV1InternalServerError, error)
	PutGameRecordHandlerV1Short(params *PutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutGameRecordHandlerV1OK, 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 added in v0.15.0

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 added in v0.15.0

func NewDeleteGameRecordHandlerV1BadRequest() *DeleteGameRecordHandlerV1BadRequest

NewDeleteGameRecordHandlerV1BadRequest creates a DeleteGameRecordHandlerV1BadRequest with default headers values

func (*DeleteGameRecordHandlerV1BadRequest) Error added in v0.15.0

func (*DeleteGameRecordHandlerV1BadRequest) GetPayload added in v0.15.0

func (*DeleteGameRecordHandlerV1BadRequest) ToJSONString added in v0.25.0

func (o *DeleteGameRecordHandlerV1BadRequest) ToJSONString() string

type DeleteGameRecordHandlerV1InternalServerError

type DeleteGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteGameRecordHandlerV1InternalServerError

func NewDeleteGameRecordHandlerV1InternalServerError() *DeleteGameRecordHandlerV1InternalServerError

NewDeleteGameRecordHandlerV1InternalServerError creates a DeleteGameRecordHandlerV1InternalServerError with default headers values

func (*DeleteGameRecordHandlerV1InternalServerError) Error

func (*DeleteGameRecordHandlerV1InternalServerError) GetPayload

func (*DeleteGameRecordHandlerV1InternalServerError) ToJSONString added in v0.25.0

type DeleteGameRecordHandlerV1NoContent added in v0.7.0

type DeleteGameRecordHandlerV1NoContent struct {
}

DeleteGameRecordHandlerV1NoContent handles this case with default header values.

Record deleted

func NewDeleteGameRecordHandlerV1NoContent added in v0.7.0

func NewDeleteGameRecordHandlerV1NoContent() *DeleteGameRecordHandlerV1NoContent

NewDeleteGameRecordHandlerV1NoContent creates a DeleteGameRecordHandlerV1NoContent with default headers values

func (*DeleteGameRecordHandlerV1NoContent) Error added in v0.7.0

type DeleteGameRecordHandlerV1Params

type DeleteGameRecordHandlerV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Key
	  key of record

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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 added in v0.17.0

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) SetHTTPClient

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

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

func (*DeleteGameRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

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

func (*DeleteGameRecordHandlerV1Params) WithHTTPClient

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

func (*DeleteGameRecordHandlerV1Params) WithKey

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

func (*DeleteGameRecordHandlerV1Params) WithNamespace

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

func (*DeleteGameRecordHandlerV1Params) WithTimeout

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

func (*DeleteGameRecordHandlerV1Params) WriteToRequest

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 DeleteGameRecordHandlerV1Unauthorized added in v0.7.0

type DeleteGameRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeleteGameRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewDeleteGameRecordHandlerV1Unauthorized added in v0.7.0

func NewDeleteGameRecordHandlerV1Unauthorized() *DeleteGameRecordHandlerV1Unauthorized

NewDeleteGameRecordHandlerV1Unauthorized creates a DeleteGameRecordHandlerV1Unauthorized with default headers values

func (*DeleteGameRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*DeleteGameRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

func (*DeleteGameRecordHandlerV1Unauthorized) ToJSONString added in v0.25.0

type GetGameRecordHandlerV1InternalServerError

type GetGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetGameRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetGameRecordHandlerV1InternalServerError

func NewGetGameRecordHandlerV1InternalServerError() *GetGameRecordHandlerV1InternalServerError

NewGetGameRecordHandlerV1InternalServerError creates a GetGameRecordHandlerV1InternalServerError with default headers values

func (*GetGameRecordHandlerV1InternalServerError) Error

func (*GetGameRecordHandlerV1InternalServerError) GetPayload

func (*GetGameRecordHandlerV1InternalServerError) ToJSONString added in v0.25.0

type GetGameRecordHandlerV1NotFound added in v0.7.0

type GetGameRecordHandlerV1NotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetGameRecordHandlerV1NotFound handles this case with default header values.

Not Found

func NewGetGameRecordHandlerV1NotFound added in v0.7.0

func NewGetGameRecordHandlerV1NotFound() *GetGameRecordHandlerV1NotFound

NewGetGameRecordHandlerV1NotFound creates a GetGameRecordHandlerV1NotFound with default headers values

func (*GetGameRecordHandlerV1NotFound) Error added in v0.7.0

func (*GetGameRecordHandlerV1NotFound) GetPayload added in v0.7.0

func (*GetGameRecordHandlerV1NotFound) ToJSONString added in v0.25.0

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 (*GetGameRecordHandlerV1OK) ToJSONString added in v0.25.0

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// 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 added in v0.17.0

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) SetHTTPClient

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

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

func (*GetGameRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

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

func (*GetGameRecordHandlerV1Params) WithHTTPClient

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

func (*GetGameRecordHandlerV1Params) WithKey

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

func (*GetGameRecordHandlerV1Params) WithNamespace

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

func (*GetGameRecordHandlerV1Params) WithTimeout

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

func (*GetGameRecordHandlerV1Params) WriteToRequest

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 GetGameRecordHandlerV1Unauthorized added in v0.7.0

type GetGameRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetGameRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewGetGameRecordHandlerV1Unauthorized added in v0.7.0

func NewGetGameRecordHandlerV1Unauthorized() *GetGameRecordHandlerV1Unauthorized

NewGetGameRecordHandlerV1Unauthorized creates a GetGameRecordHandlerV1Unauthorized with default headers values

func (*GetGameRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*GetGameRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

func (*GetGameRecordHandlerV1Unauthorized) ToJSONString added in v0.25.0

func (o *GetGameRecordHandlerV1Unauthorized) ToJSONString() string

type GetGameRecordsBulkForbidden added in v0.36.0

type GetGameRecordsBulkForbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetGameRecordsBulkForbidden handles this case with default header values.

Forbidden

func NewGetGameRecordsBulkForbidden added in v0.36.0

func NewGetGameRecordsBulkForbidden() *GetGameRecordsBulkForbidden

NewGetGameRecordsBulkForbidden creates a GetGameRecordsBulkForbidden with default headers values

func (*GetGameRecordsBulkForbidden) Error added in v0.36.0

func (*GetGameRecordsBulkForbidden) GetPayload added in v0.36.0

func (*GetGameRecordsBulkForbidden) ToJSONString added in v0.36.0

func (o *GetGameRecordsBulkForbidden) ToJSONString() string

type GetGameRecordsBulkInternalServerError added in v0.36.0

type GetGameRecordsBulkInternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetGameRecordsBulkInternalServerError handles this case with default header values.

Internal Server Error

func NewGetGameRecordsBulkInternalServerError added in v0.36.0

func NewGetGameRecordsBulkInternalServerError() *GetGameRecordsBulkInternalServerError

NewGetGameRecordsBulkInternalServerError creates a GetGameRecordsBulkInternalServerError with default headers values

func (*GetGameRecordsBulkInternalServerError) Error added in v0.36.0

func (*GetGameRecordsBulkInternalServerError) GetPayload added in v0.36.0

func (*GetGameRecordsBulkInternalServerError) ToJSONString added in v0.36.0

type GetGameRecordsBulkNotFound added in v0.36.0

type GetGameRecordsBulkNotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetGameRecordsBulkNotFound handles this case with default header values.

Not Found

func NewGetGameRecordsBulkNotFound added in v0.36.0

func NewGetGameRecordsBulkNotFound() *GetGameRecordsBulkNotFound

NewGetGameRecordsBulkNotFound creates a GetGameRecordsBulkNotFound with default headers values

func (*GetGameRecordsBulkNotFound) Error added in v0.36.0

func (*GetGameRecordsBulkNotFound) GetPayload added in v0.36.0

func (*GetGameRecordsBulkNotFound) ToJSONString added in v0.36.0

func (o *GetGameRecordsBulkNotFound) ToJSONString() string

type GetGameRecordsBulkOK added in v0.36.0

type GetGameRecordsBulkOK struct {
	Payload *cloudsaveclientmodels.ModelsBulkGetGameRecordResponse
}

GetGameRecordsBulkOK handles this case with default header values.

OK

func NewGetGameRecordsBulkOK added in v0.36.0

func NewGetGameRecordsBulkOK() *GetGameRecordsBulkOK

NewGetGameRecordsBulkOK creates a GetGameRecordsBulkOK with default headers values

func (*GetGameRecordsBulkOK) Error added in v0.36.0

func (o *GetGameRecordsBulkOK) Error() string

func (*GetGameRecordsBulkOK) GetPayload added in v0.36.0

func (*GetGameRecordsBulkOK) ToJSONString added in v0.36.0

func (o *GetGameRecordsBulkOK) ToJSONString() string

type GetGameRecordsBulkParams added in v0.36.0

type GetGameRecordsBulkParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *cloudsaveclientmodels.ModelsBulkGetGameRecordRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// 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 added in v0.36.0

func NewGetGameRecordsBulkParams() *GetGameRecordsBulkParams

NewGetGameRecordsBulkParams creates a new GetGameRecordsBulkParams object with the default values initialized.

func NewGetGameRecordsBulkParamsWithContext added in v0.36.0

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 added in v0.36.0

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 added in v0.36.0

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 added in v0.36.0

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

SetAuthInfoWriter adds the authInfoWriter to the get game records bulk params

func (*GetGameRecordsBulkParams) SetBody added in v0.36.0

SetBody adds the body to the get game records bulk params

func (*GetGameRecordsBulkParams) SetContext added in v0.36.0

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

SetContext adds the context to the get game records bulk params

func (*GetGameRecordsBulkParams) SetHTTPClient added in v0.36.0

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

SetHTTPClient adds the HTTPClient to the get game records bulk params

func (*GetGameRecordsBulkParams) SetHTTPClientTransport added in v0.36.0

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

SetHTTPClient adds the HTTPClient Transport to the get game records bulk params

func (*GetGameRecordsBulkParams) SetNamespace added in v0.36.0

func (o *GetGameRecordsBulkParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get game records bulk params

func (*GetGameRecordsBulkParams) SetTimeout added in v0.36.0

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

SetTimeout adds the timeout to the get game records bulk params

func (*GetGameRecordsBulkParams) WithBody added in v0.36.0

WithBody adds the body to the get game records bulk params

func (*GetGameRecordsBulkParams) WithContext added in v0.36.0

WithContext adds the context to the get game records bulk params

func (*GetGameRecordsBulkParams) WithHTTPClient added in v0.36.0

func (o *GetGameRecordsBulkParams) WithHTTPClient(client *http.Client) *GetGameRecordsBulkParams

WithHTTPClient adds the HTTPClient to the get game records bulk params

func (*GetGameRecordsBulkParams) WithNamespace added in v0.36.0

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

WithNamespace adds the namespace to the get game records bulk params

func (*GetGameRecordsBulkParams) WithTimeout added in v0.36.0

WithTimeout adds the timeout to the get game records bulk params

func (*GetGameRecordsBulkParams) WriteToRequest added in v0.36.0

WriteToRequest writes these params to a swagger request

type GetGameRecordsBulkReader added in v0.36.0

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

GetGameRecordsBulkReader is a Reader for the GetGameRecordsBulk structure.

func (*GetGameRecordsBulkReader) ReadResponse added in v0.36.0

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

ReadResponse reads a server response into the received o.

type GetGameRecordsBulkUnauthorized added in v0.36.0

type GetGameRecordsBulkUnauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetGameRecordsBulkUnauthorized handles this case with default header values.

Unauthorized

func NewGetGameRecordsBulkUnauthorized added in v0.36.0

func NewGetGameRecordsBulkUnauthorized() *GetGameRecordsBulkUnauthorized

NewGetGameRecordsBulkUnauthorized creates a GetGameRecordsBulkUnauthorized with default headers values

func (*GetGameRecordsBulkUnauthorized) Error added in v0.36.0

func (*GetGameRecordsBulkUnauthorized) GetPayload added in v0.36.0

func (*GetGameRecordsBulkUnauthorized) ToJSONString added in v0.36.0

func (o *GetGameRecordsBulkUnauthorized) ToJSONString() string

type PostGameRecordHandlerV1BadRequest added in v0.7.0

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

func NewPostGameRecordHandlerV1BadRequest added in v0.7.0

func NewPostGameRecordHandlerV1BadRequest() *PostGameRecordHandlerV1BadRequest

NewPostGameRecordHandlerV1BadRequest creates a PostGameRecordHandlerV1BadRequest with default headers values

func (*PostGameRecordHandlerV1BadRequest) Error added in v0.7.0

func (*PostGameRecordHandlerV1BadRequest) GetPayload added in v0.7.0

func (*PostGameRecordHandlerV1BadRequest) ToJSONString added in v0.25.0

func (o *PostGameRecordHandlerV1BadRequest) ToJSONString() string

type PostGameRecordHandlerV1Created added in v0.7.0

type PostGameRecordHandlerV1Created struct {
	Payload *cloudsaveclientmodels.ModelsGameRecordResponse
}

PostGameRecordHandlerV1Created handles this case with default header values.

Record saved

func NewPostGameRecordHandlerV1Created added in v0.7.0

func NewPostGameRecordHandlerV1Created() *PostGameRecordHandlerV1Created

NewPostGameRecordHandlerV1Created creates a PostGameRecordHandlerV1Created with default headers values

func (*PostGameRecordHandlerV1Created) Error added in v0.7.0

func (*PostGameRecordHandlerV1Created) GetPayload added in v0.24.0

func (*PostGameRecordHandlerV1Created) ToJSONString added in v0.25.0

func (o *PostGameRecordHandlerV1Created) ToJSONString() string

type PostGameRecordHandlerV1InternalServerError

type PostGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostGameRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewPostGameRecordHandlerV1InternalServerError

func NewPostGameRecordHandlerV1InternalServerError() *PostGameRecordHandlerV1InternalServerError

NewPostGameRecordHandlerV1InternalServerError creates a PostGameRecordHandlerV1InternalServerError with default headers values

func (*PostGameRecordHandlerV1InternalServerError) Error

func (*PostGameRecordHandlerV1InternalServerError) GetPayload

func (*PostGameRecordHandlerV1InternalServerError) ToJSONString added in v0.25.0

type PostGameRecordHandlerV1Params

type PostGameRecordHandlerV1Params struct {

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

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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 added in v0.17.0

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

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

func (*PostGameRecordHandlerV1Params) SetBody

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) SetHTTPClient

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

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

func (*PostGameRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

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

func (*PostGameRecordHandlerV1Params) WithContext

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

func (*PostGameRecordHandlerV1Params) WithHTTPClient

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

func (*PostGameRecordHandlerV1Params) WithKey

WithKey adds the key to the post game record handler v1 params

func (*PostGameRecordHandlerV1Params) WithNamespace

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

func (*PostGameRecordHandlerV1Params) WithTimeout

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

func (*PostGameRecordHandlerV1Params) WriteToRequest

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 PutGameRecordHandlerV1BadRequest added in v0.7.0

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

func NewPutGameRecordHandlerV1BadRequest added in v0.7.0

func NewPutGameRecordHandlerV1BadRequest() *PutGameRecordHandlerV1BadRequest

NewPutGameRecordHandlerV1BadRequest creates a PutGameRecordHandlerV1BadRequest with default headers values

func (*PutGameRecordHandlerV1BadRequest) Error added in v0.7.0

func (*PutGameRecordHandlerV1BadRequest) GetPayload added in v0.7.0

func (*PutGameRecordHandlerV1BadRequest) ToJSONString added in v0.25.0

func (o *PutGameRecordHandlerV1BadRequest) ToJSONString() string

type PutGameRecordHandlerV1InternalServerError

type PutGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutGameRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewPutGameRecordHandlerV1InternalServerError

func NewPutGameRecordHandlerV1InternalServerError() *PutGameRecordHandlerV1InternalServerError

NewPutGameRecordHandlerV1InternalServerError creates a PutGameRecordHandlerV1InternalServerError with default headers values

func (*PutGameRecordHandlerV1InternalServerError) Error

func (*PutGameRecordHandlerV1InternalServerError) GetPayload

func (*PutGameRecordHandlerV1InternalServerError) ToJSONString added in v0.25.0

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 added in v0.24.0

func (*PutGameRecordHandlerV1OK) ToJSONString added in v0.25.0

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// 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 added in v0.17.0

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

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

func (*PutGameRecordHandlerV1Params) SetBody

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) SetHTTPClient

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

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

func (*PutGameRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

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

func (*PutGameRecordHandlerV1Params) WithContext

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

func (*PutGameRecordHandlerV1Params) WithHTTPClient

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

func (*PutGameRecordHandlerV1Params) WithKey

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

func (*PutGameRecordHandlerV1Params) WithNamespace

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

func (*PutGameRecordHandlerV1Params) WithTimeout

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

func (*PutGameRecordHandlerV1Params) WriteToRequest

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.

Jump to

Keyboard shortcuts

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