public_player_record

package
v0.23.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkGetPlayerPublicRecordHandlerV1BadRequest added in v0.10.0

type BulkGetPlayerPublicRecordHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

BulkGetPlayerPublicRecordHandlerV1BadRequest handles this case with default header values.

Bad Request

func NewBulkGetPlayerPublicRecordHandlerV1BadRequest added in v0.10.0

func NewBulkGetPlayerPublicRecordHandlerV1BadRequest() *BulkGetPlayerPublicRecordHandlerV1BadRequest

NewBulkGetPlayerPublicRecordHandlerV1BadRequest creates a BulkGetPlayerPublicRecordHandlerV1BadRequest with default headers values

func (*BulkGetPlayerPublicRecordHandlerV1BadRequest) Error added in v0.10.0

func (*BulkGetPlayerPublicRecordHandlerV1BadRequest) GetPayload added in v0.10.0

type BulkGetPlayerPublicRecordHandlerV1Forbidden added in v0.10.0

type BulkGetPlayerPublicRecordHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

BulkGetPlayerPublicRecordHandlerV1Forbidden handles this case with default header values.

Forbidden

func NewBulkGetPlayerPublicRecordHandlerV1Forbidden added in v0.10.0

func NewBulkGetPlayerPublicRecordHandlerV1Forbidden() *BulkGetPlayerPublicRecordHandlerV1Forbidden

NewBulkGetPlayerPublicRecordHandlerV1Forbidden creates a BulkGetPlayerPublicRecordHandlerV1Forbidden with default headers values

func (*BulkGetPlayerPublicRecordHandlerV1Forbidden) Error added in v0.10.0

func (*BulkGetPlayerPublicRecordHandlerV1Forbidden) GetPayload added in v0.10.0

type BulkGetPlayerPublicRecordHandlerV1InternalServerError added in v0.10.0

type BulkGetPlayerPublicRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

BulkGetPlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewBulkGetPlayerPublicRecordHandlerV1InternalServerError added in v0.10.0

func NewBulkGetPlayerPublicRecordHandlerV1InternalServerError() *BulkGetPlayerPublicRecordHandlerV1InternalServerError

NewBulkGetPlayerPublicRecordHandlerV1InternalServerError creates a BulkGetPlayerPublicRecordHandlerV1InternalServerError with default headers values

func (*BulkGetPlayerPublicRecordHandlerV1InternalServerError) Error added in v0.10.0

func (*BulkGetPlayerPublicRecordHandlerV1InternalServerError) GetPayload added in v0.10.0

type BulkGetPlayerPublicRecordHandlerV1OK added in v0.10.0

type BulkGetPlayerPublicRecordHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsBulkGetPlayerRecordResponse
}

BulkGetPlayerPublicRecordHandlerV1OK handles this case with default header values.

Record retrieved

func NewBulkGetPlayerPublicRecordHandlerV1OK added in v0.10.0

func NewBulkGetPlayerPublicRecordHandlerV1OK() *BulkGetPlayerPublicRecordHandlerV1OK

NewBulkGetPlayerPublicRecordHandlerV1OK creates a BulkGetPlayerPublicRecordHandlerV1OK with default headers values

func (*BulkGetPlayerPublicRecordHandlerV1OK) Error added in v0.10.0

func (*BulkGetPlayerPublicRecordHandlerV1OK) GetPayload added in v0.10.0

type BulkGetPlayerPublicRecordHandlerV1Params added in v0.10.0

type BulkGetPlayerPublicRecordHandlerV1Params struct {

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

BulkGetPlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the bulk get player public record handler v1 operation typically these are written to a http.Request

func NewBulkGetPlayerPublicRecordHandlerV1Params added in v0.10.0

func NewBulkGetPlayerPublicRecordHandlerV1Params() *BulkGetPlayerPublicRecordHandlerV1Params

NewBulkGetPlayerPublicRecordHandlerV1Params creates a new BulkGetPlayerPublicRecordHandlerV1Params object with the default values initialized.

func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithContext added in v0.10.0

func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *BulkGetPlayerPublicRecordHandlerV1Params

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

func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient added in v0.10.0

func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *BulkGetPlayerPublicRecordHandlerV1Params

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

func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithTimeout added in v0.10.0

func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *BulkGetPlayerPublicRecordHandlerV1Params

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

func (*BulkGetPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) SetBody added in v0.10.0

SetBody adds the body to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) SetContext added in v0.10.0

SetContext adds the context to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) SetHTTPClient added in v0.10.0

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

SetHTTPClient adds the HTTPClient to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) SetKey added in v0.10.0

SetKey adds the key to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) SetNamespace added in v0.10.0

func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) SetTimeout added in v0.10.0

SetTimeout adds the timeout to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) WithBody added in v0.10.0

WithBody adds the body to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) WithContext added in v0.10.0

WithContext adds the context to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) WithHTTPClient added in v0.10.0

WithHTTPClient adds the HTTPClient to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) WithKey added in v0.10.0

WithKey adds the key to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) WithNamespace added in v0.10.0

WithNamespace adds the namespace to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) WithTimeout added in v0.10.0

WithTimeout adds the timeout to the bulk get player public record handler v1 params

func (*BulkGetPlayerPublicRecordHandlerV1Params) WriteToRequest added in v0.10.0

WriteToRequest writes these params to a swagger request

type BulkGetPlayerPublicRecordHandlerV1Reader added in v0.10.0

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

BulkGetPlayerPublicRecordHandlerV1Reader is a Reader for the BulkGetPlayerPublicRecordHandlerV1 structure.

func (*BulkGetPlayerPublicRecordHandlerV1Reader) ReadResponse added in v0.10.0

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

ReadResponse reads a server response into the received o.

type BulkGetPlayerPublicRecordHandlerV1Unauthorized added in v0.10.0

type BulkGetPlayerPublicRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

BulkGetPlayerPublicRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewBulkGetPlayerPublicRecordHandlerV1Unauthorized added in v0.10.0

func NewBulkGetPlayerPublicRecordHandlerV1Unauthorized() *BulkGetPlayerPublicRecordHandlerV1Unauthorized

NewBulkGetPlayerPublicRecordHandlerV1Unauthorized creates a BulkGetPlayerPublicRecordHandlerV1Unauthorized with default headers values

func (*BulkGetPlayerPublicRecordHandlerV1Unauthorized) Error added in v0.10.0

func (*BulkGetPlayerPublicRecordHandlerV1Unauthorized) GetPayload added in v0.10.0

type Client

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

Client for public player record API

func (*Client) BulkGetPlayerPublicRecordHandlerV1 added in v0.10.0

  BulkGetPlayerPublicRecordHandlerV1 bulks get player public records

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

</table> <br/>

Bulk get other player's record that is public by userIds, max allowed 20 at a time. Only record with <code>isPublic=true</code> that can be retrieved using this endpoint.

func (*Client) BulkGetPlayerPublicRecordHandlerV1Short added in v0.10.0

func (a *Client) BulkGetPlayerPublicRecordHandlerV1Short(params *BulkGetPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetPlayerPublicRecordHandlerV1OK, error)

func (*Client) DeletePlayerRecordHandlerV1

  DeletePlayerRecordHandlerV1 deletes player record

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

</table> <br/>

Delete player record by its key. Only user that own the player record could delete it.

func (*Client) DeletePlayerRecordHandlerV1Short added in v0.8.0

func (a *Client) DeletePlayerRecordHandlerV1Short(params *DeletePlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeletePlayerRecordHandlerV1NoContent, error)

func (*Client) GetPlayerPublicRecordHandlerV1

  GetPlayerPublicRecordHandlerV1 gets player public record

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

</table> <br/>

Get other player's record that is public. Only record with <code>isPublic=true</code> that can be retrieved using this endpoint.

func (*Client) GetPlayerPublicRecordHandlerV1Short added in v0.8.0

func (a *Client) GetPlayerPublicRecordHandlerV1Short(params *GetPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerPublicRecordHandlerV1OK, error)

func (*Client) GetPlayerRecordHandlerV1

  GetPlayerRecordHandlerV1 gets player record

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

</table> <br/>

Get player record by its key. <b>Private Record:</b> Only user that own the player record could retrieve it.

func (*Client) GetPlayerRecordHandlerV1Short added in v0.8.0

func (a *Client) GetPlayerRecordHandlerV1Short(params *GetPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerRecordHandlerV1OK, error)

func (*Client) PostPlayerPublicRecordHandlerV1

  PostPlayerPublicRecordHandlerV1 creates or append player public record

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

</table> <br/>

<h2>Description</h2>

This endpoints will create new player public record or append the existing player public 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>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.

<h2>Warning: This endpoint is going to deprecate</h2>

This endpoint is going to deprecate in the future please don't use it.

For alternative, please use these endpoints: - <b>POST /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}</b> and utilizing <b>__META</b> functionality - <b>PUT /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}</b> and utilizing <b>__META</b> functionality - <b>DELETE /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}</b>

func (*Client) PostPlayerPublicRecordHandlerV1Short added in v0.8.0

func (a *Client) PostPlayerPublicRecordHandlerV1Short(params *PostPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerPublicRecordHandlerV1Created, error)

func (*Client) PostPlayerRecordHandlerV1

PostPlayerRecordHandlerV1 creates or append player record

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

Required scope: <code>social</code>

<h2>Description</h2>

This endpoints will create new player record or append the existing player record. Only user that own the existing player record could modify.

<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>Record Metadata</h2>

Metadata allows user to define the behaviour of the record. Metadata can be defined in request body with field name <b>__META</b>. When creating record, if <b>__META</b> field is not defined, the metadata value will use the default value. When updating record, if <b>__META</b> field is not defined, the existing metadata value will stay as is.

<b>Metadata List:</b>

  1. is_public (default: false, type: bool) Indicate whether the player record is a public record or not.

<b>Request Body Example:</b> <pre>

{
	"__META": {
		"is_public": true
	}
	...
}

</pre>

func (*Client) PostPlayerRecordHandlerV1Short added in v0.8.0

func (a *Client) PostPlayerRecordHandlerV1Short(params *PostPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerRecordHandlerV1Created, error)

func (*Client) PublicDeletePlayerPublicRecordHandlerV1 added in v0.7.0

PublicDeletePlayerPublicRecordHandlerV1 deletes player public record

Required valid user authorization

Required scope: <code>social</code>

Delete player public record.

<h2>Warning: This endpoint is going to deprecate</h2>

This endpoint is going to deprecate in the future please don't use it.

For alternative, please use these endpoints: - <b>POST /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}</b> and utilizing <b>__META</b> functionality - <b>PUT /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}</b> and utilizing <b>__META</b> functionality - <b>DELETE /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}</b>

func (*Client) PublicDeletePlayerPublicRecordHandlerV1Short added in v0.8.0

func (*Client) PutPlayerPublicRecordHandlerV1

  PutPlayerPublicRecordHandlerV1 creates or replace player public record

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

</table> <br/>

<h2>Description</h2>

This endpoints will create new player public record or replace the existing player public 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>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.

<h2>Warning: This endpoint is going to deprecate</h2>

This endpoint is going to deprecate in the future please don't use it.

For alternative, please use these endpoints: - <b>POST /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}</b> and utilizing <b>__META</b> functionality - <b>PUT /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}</b> and utilizing <b>__META</b> functionality - <b>DELETE /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}</b>

func (*Client) PutPlayerPublicRecordHandlerV1Short added in v0.8.0

func (a *Client) PutPlayerPublicRecordHandlerV1Short(params *PutPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordHandlerV1OK, error)

func (*Client) PutPlayerRecordHandlerV1

PutPlayerRecordHandlerV1 creates or replace player record

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

Required scope: <code>social</code>

<h2>Description</h2>

This endpoints will create new player record or replace the existing player record. Only user that own the existing player record could modify it.

<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>Record Metadata</h2>

Metadata allows user to define the behaviour of the record. Metadata can be defined in request body with field name <b>__META</b>. When creating record, if <b>__META</b> field is not defined, the metadata value will use the default value. When updating record, if <b>__META</b> field is not defined, the existing metadata value will stay as is.

<b>Metadata List:</b>

  1. is_public (default: false, type: bool) Indicate whether the player record is a public record or not.

<b>Request Body Example:</b> <pre>

{
	"__META": {
		"is_public": true
	}
	...
}

</pre>

func (*Client) PutPlayerRecordHandlerV1Short added in v0.8.0

func (a *Client) PutPlayerRecordHandlerV1Short(params *PutPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordHandlerV1OK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	BulkGetPlayerPublicRecordHandlerV1(params *BulkGetPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetPlayerPublicRecordHandlerV1OK, *BulkGetPlayerPublicRecordHandlerV1BadRequest, *BulkGetPlayerPublicRecordHandlerV1Unauthorized, *BulkGetPlayerPublicRecordHandlerV1Forbidden, *BulkGetPlayerPublicRecordHandlerV1InternalServerError, error)
	BulkGetPlayerPublicRecordHandlerV1Short(params *BulkGetPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetPlayerPublicRecordHandlerV1OK, error)
	DeletePlayerRecordHandlerV1(params *DeletePlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeletePlayerRecordHandlerV1NoContent, *DeletePlayerRecordHandlerV1BadRequest, *DeletePlayerRecordHandlerV1Unauthorized, *DeletePlayerRecordHandlerV1Forbidden, *DeletePlayerRecordHandlerV1InternalServerError, error)
	DeletePlayerRecordHandlerV1Short(params *DeletePlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeletePlayerRecordHandlerV1NoContent, error)
	GetPlayerPublicRecordHandlerV1(params *GetPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerPublicRecordHandlerV1OK, *GetPlayerPublicRecordHandlerV1Unauthorized, *GetPlayerPublicRecordHandlerV1NotFound, *GetPlayerPublicRecordHandlerV1InternalServerError, error)
	GetPlayerPublicRecordHandlerV1Short(params *GetPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerPublicRecordHandlerV1OK, error)
	GetPlayerRecordHandlerV1(params *GetPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerRecordHandlerV1OK, *GetPlayerRecordHandlerV1Unauthorized, *GetPlayerRecordHandlerV1Forbidden, *GetPlayerRecordHandlerV1NotFound, *GetPlayerRecordHandlerV1InternalServerError, error)
	GetPlayerRecordHandlerV1Short(params *GetPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerRecordHandlerV1OK, error)
	PostPlayerPublicRecordHandlerV1(params *PostPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerPublicRecordHandlerV1Created, *PostPlayerPublicRecordHandlerV1BadRequest, *PostPlayerPublicRecordHandlerV1Unauthorized, *PostPlayerPublicRecordHandlerV1InternalServerError, error)
	PostPlayerPublicRecordHandlerV1Short(params *PostPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerPublicRecordHandlerV1Created, error)
	PostPlayerRecordHandlerV1(params *PostPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerRecordHandlerV1Created, *PostPlayerRecordHandlerV1BadRequest, *PostPlayerRecordHandlerV1Unauthorized, *PostPlayerRecordHandlerV1Forbidden, *PostPlayerRecordHandlerV1InternalServerError, error)
	PostPlayerRecordHandlerV1Short(params *PostPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerRecordHandlerV1Created, error)
	PublicDeletePlayerPublicRecordHandlerV1(params *PublicDeletePlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeletePlayerPublicRecordHandlerV1NoContent, *PublicDeletePlayerPublicRecordHandlerV1BadRequest, *PublicDeletePlayerPublicRecordHandlerV1Unauthorized, *PublicDeletePlayerPublicRecordHandlerV1NotFound, *PublicDeletePlayerPublicRecordHandlerV1InternalServerError, error)
	PublicDeletePlayerPublicRecordHandlerV1Short(params *PublicDeletePlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeletePlayerPublicRecordHandlerV1NoContent, error)
	PutPlayerPublicRecordHandlerV1(params *PutPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordHandlerV1OK, *PutPlayerPublicRecordHandlerV1BadRequest, *PutPlayerPublicRecordHandlerV1Unauthorized, *PutPlayerPublicRecordHandlerV1InternalServerError, error)
	PutPlayerPublicRecordHandlerV1Short(params *PutPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordHandlerV1OK, error)
	PutPlayerRecordHandlerV1(params *PutPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordHandlerV1OK, *PutPlayerRecordHandlerV1BadRequest, *PutPlayerRecordHandlerV1Unauthorized, *PutPlayerRecordHandlerV1Forbidden, *PutPlayerRecordHandlerV1InternalServerError, error)
	PutPlayerRecordHandlerV1Short(params *PutPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordHandlerV1OK, 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 player record API client.

type DeletePlayerRecordHandlerV1BadRequest added in v0.15.0

type DeletePlayerRecordHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

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

func NewDeletePlayerRecordHandlerV1BadRequest() *DeletePlayerRecordHandlerV1BadRequest

NewDeletePlayerRecordHandlerV1BadRequest creates a DeletePlayerRecordHandlerV1BadRequest with default headers values

func (*DeletePlayerRecordHandlerV1BadRequest) Error added in v0.15.0

func (*DeletePlayerRecordHandlerV1BadRequest) GetPayload added in v0.15.0

type DeletePlayerRecordHandlerV1Forbidden added in v0.15.0

type DeletePlayerRecordHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeletePlayerRecordHandlerV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18072</td><td>delete action is forbidden on other user's record</td></tr></table>

func NewDeletePlayerRecordHandlerV1Forbidden added in v0.15.0

func NewDeletePlayerRecordHandlerV1Forbidden() *DeletePlayerRecordHandlerV1Forbidden

NewDeletePlayerRecordHandlerV1Forbidden creates a DeletePlayerRecordHandlerV1Forbidden with default headers values

func (*DeletePlayerRecordHandlerV1Forbidden) Error added in v0.15.0

func (*DeletePlayerRecordHandlerV1Forbidden) GetPayload added in v0.15.0

type DeletePlayerRecordHandlerV1InternalServerError

type DeletePlayerRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeletePlayerRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewDeletePlayerRecordHandlerV1InternalServerError

func NewDeletePlayerRecordHandlerV1InternalServerError() *DeletePlayerRecordHandlerV1InternalServerError

NewDeletePlayerRecordHandlerV1InternalServerError creates a DeletePlayerRecordHandlerV1InternalServerError with default headers values

func (*DeletePlayerRecordHandlerV1InternalServerError) Error

func (*DeletePlayerRecordHandlerV1InternalServerError) GetPayload

type DeletePlayerRecordHandlerV1NoContent

type DeletePlayerRecordHandlerV1NoContent struct {
}

DeletePlayerRecordHandlerV1NoContent handles this case with default header values.

Record deleted

func NewDeletePlayerRecordHandlerV1NoContent

func NewDeletePlayerRecordHandlerV1NoContent() *DeletePlayerRecordHandlerV1NoContent

NewDeletePlayerRecordHandlerV1NoContent creates a DeletePlayerRecordHandlerV1NoContent with default headers values

func (*DeletePlayerRecordHandlerV1NoContent) Error

type DeletePlayerRecordHandlerV1Params

type DeletePlayerRecordHandlerV1Params struct {

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

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID who own the record

	*/
	UserID string

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

DeletePlayerRecordHandlerV1Params contains all the parameters to send to the API endpoint for the delete player record handler v1 operation typically these are written to a http.Request

func NewDeletePlayerRecordHandlerV1Params

func NewDeletePlayerRecordHandlerV1Params() *DeletePlayerRecordHandlerV1Params

NewDeletePlayerRecordHandlerV1Params creates a new DeletePlayerRecordHandlerV1Params object with the default values initialized.

func NewDeletePlayerRecordHandlerV1ParamsWithContext

func NewDeletePlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *DeletePlayerRecordHandlerV1Params

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

func NewDeletePlayerRecordHandlerV1ParamsWithHTTPClient

func NewDeletePlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *DeletePlayerRecordHandlerV1Params

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

func NewDeletePlayerRecordHandlerV1ParamsWithTimeout

func NewDeletePlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *DeletePlayerRecordHandlerV1Params

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

func (*DeletePlayerRecordHandlerV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete player record handler v1 params

func (*DeletePlayerRecordHandlerV1Params) SetContext

SetContext adds the context to the delete player record handler v1 params

func (*DeletePlayerRecordHandlerV1Params) SetHTTPClient

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

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

func (*DeletePlayerRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the delete player record handler v1 params

func (*DeletePlayerRecordHandlerV1Params) SetKey

SetKey adds the key to the delete player record handler v1 params

func (*DeletePlayerRecordHandlerV1Params) SetNamespace

func (o *DeletePlayerRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete player record handler v1 params

func (*DeletePlayerRecordHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the delete player record handler v1 params

func (*DeletePlayerRecordHandlerV1Params) SetUserID

func (o *DeletePlayerRecordHandlerV1Params) SetUserID(userID string)

SetUserID adds the userId to the delete player record handler v1 params

func (*DeletePlayerRecordHandlerV1Params) WithContext

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

func (*DeletePlayerRecordHandlerV1Params) WithHTTPClient

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

func (*DeletePlayerRecordHandlerV1Params) WithKey

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

func (*DeletePlayerRecordHandlerV1Params) WithNamespace

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

func (*DeletePlayerRecordHandlerV1Params) WithTimeout

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

func (*DeletePlayerRecordHandlerV1Params) WithUserID

WithUserID adds the userID to the delete player record handler v1 params

func (*DeletePlayerRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePlayerRecordHandlerV1Reader

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

DeletePlayerRecordHandlerV1Reader is a Reader for the DeletePlayerRecordHandlerV1 structure.

func (*DeletePlayerRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePlayerRecordHandlerV1Unauthorized added in v0.7.0

type DeletePlayerRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

DeletePlayerRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewDeletePlayerRecordHandlerV1Unauthorized added in v0.7.0

func NewDeletePlayerRecordHandlerV1Unauthorized() *DeletePlayerRecordHandlerV1Unauthorized

NewDeletePlayerRecordHandlerV1Unauthorized creates a DeletePlayerRecordHandlerV1Unauthorized with default headers values

func (*DeletePlayerRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*DeletePlayerRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

type GetPlayerPublicRecordHandlerV1InternalServerError

type GetPlayerPublicRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetPlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetPlayerPublicRecordHandlerV1InternalServerError

func NewGetPlayerPublicRecordHandlerV1InternalServerError() *GetPlayerPublicRecordHandlerV1InternalServerError

NewGetPlayerPublicRecordHandlerV1InternalServerError creates a GetPlayerPublicRecordHandlerV1InternalServerError with default headers values

func (*GetPlayerPublicRecordHandlerV1InternalServerError) Error

func (*GetPlayerPublicRecordHandlerV1InternalServerError) GetPayload

type GetPlayerPublicRecordHandlerV1NotFound added in v0.7.0

type GetPlayerPublicRecordHandlerV1NotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetPlayerPublicRecordHandlerV1NotFound handles this case with default header values.

Not Found

func NewGetPlayerPublicRecordHandlerV1NotFound added in v0.7.0

func NewGetPlayerPublicRecordHandlerV1NotFound() *GetPlayerPublicRecordHandlerV1NotFound

NewGetPlayerPublicRecordHandlerV1NotFound creates a GetPlayerPublicRecordHandlerV1NotFound with default headers values

func (*GetPlayerPublicRecordHandlerV1NotFound) Error added in v0.7.0

func (*GetPlayerPublicRecordHandlerV1NotFound) GetPayload added in v0.7.0

type GetPlayerPublicRecordHandlerV1OK

type GetPlayerPublicRecordHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsPlayerRecordResponse
}

GetPlayerPublicRecordHandlerV1OK handles this case with default header values.

Record retrieved

func NewGetPlayerPublicRecordHandlerV1OK

func NewGetPlayerPublicRecordHandlerV1OK() *GetPlayerPublicRecordHandlerV1OK

NewGetPlayerPublicRecordHandlerV1OK creates a GetPlayerPublicRecordHandlerV1OK with default headers values

func (*GetPlayerPublicRecordHandlerV1OK) Error

func (*GetPlayerPublicRecordHandlerV1OK) GetPayload

type GetPlayerPublicRecordHandlerV1Params

type GetPlayerPublicRecordHandlerV1Params struct {

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

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID of record owner

	*/
	UserID string

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

GetPlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the get player public record handler v1 operation typically these are written to a http.Request

func NewGetPlayerPublicRecordHandlerV1Params

func NewGetPlayerPublicRecordHandlerV1Params() *GetPlayerPublicRecordHandlerV1Params

NewGetPlayerPublicRecordHandlerV1Params creates a new GetPlayerPublicRecordHandlerV1Params object with the default values initialized.

func NewGetPlayerPublicRecordHandlerV1ParamsWithContext

func NewGetPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *GetPlayerPublicRecordHandlerV1Params

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

func NewGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient

func NewGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *GetPlayerPublicRecordHandlerV1Params

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

func NewGetPlayerPublicRecordHandlerV1ParamsWithTimeout

func NewGetPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *GetPlayerPublicRecordHandlerV1Params

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

func (*GetPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) SetContext

SetContext adds the context to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) SetKey

SetKey adds the key to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) SetNamespace

func (o *GetPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) SetUserID

func (o *GetPlayerPublicRecordHandlerV1Params) SetUserID(userID string)

SetUserID adds the userId to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) WithContext

WithContext adds the context to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) WithKey

WithKey adds the key to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) WithNamespace

WithNamespace adds the namespace to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) WithTimeout

WithTimeout adds the timeout to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) WithUserID

WithUserID adds the userID to the get player public record handler v1 params

func (*GetPlayerPublicRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPlayerPublicRecordHandlerV1Reader

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

GetPlayerPublicRecordHandlerV1Reader is a Reader for the GetPlayerPublicRecordHandlerV1 structure.

func (*GetPlayerPublicRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPlayerPublicRecordHandlerV1Unauthorized added in v0.7.0

type GetPlayerPublicRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetPlayerPublicRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewGetPlayerPublicRecordHandlerV1Unauthorized added in v0.7.0

func NewGetPlayerPublicRecordHandlerV1Unauthorized() *GetPlayerPublicRecordHandlerV1Unauthorized

NewGetPlayerPublicRecordHandlerV1Unauthorized creates a GetPlayerPublicRecordHandlerV1Unauthorized with default headers values

func (*GetPlayerPublicRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*GetPlayerPublicRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

type GetPlayerRecordHandlerV1Forbidden added in v0.15.0

type GetPlayerRecordHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetPlayerRecordHandlerV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18023</td><td>get action is forbidden on other user's record</td></tr></table>

func NewGetPlayerRecordHandlerV1Forbidden added in v0.15.0

func NewGetPlayerRecordHandlerV1Forbidden() *GetPlayerRecordHandlerV1Forbidden

NewGetPlayerRecordHandlerV1Forbidden creates a GetPlayerRecordHandlerV1Forbidden with default headers values

func (*GetPlayerRecordHandlerV1Forbidden) Error added in v0.15.0

func (*GetPlayerRecordHandlerV1Forbidden) GetPayload added in v0.15.0

type GetPlayerRecordHandlerV1InternalServerError

type GetPlayerRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetPlayerRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetPlayerRecordHandlerV1InternalServerError

func NewGetPlayerRecordHandlerV1InternalServerError() *GetPlayerRecordHandlerV1InternalServerError

NewGetPlayerRecordHandlerV1InternalServerError creates a GetPlayerRecordHandlerV1InternalServerError with default headers values

func (*GetPlayerRecordHandlerV1InternalServerError) Error

func (*GetPlayerRecordHandlerV1InternalServerError) GetPayload

type GetPlayerRecordHandlerV1NotFound added in v0.7.0

type GetPlayerRecordHandlerV1NotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetPlayerRecordHandlerV1NotFound handles this case with default header values.

Not Found

func NewGetPlayerRecordHandlerV1NotFound added in v0.7.0

func NewGetPlayerRecordHandlerV1NotFound() *GetPlayerRecordHandlerV1NotFound

NewGetPlayerRecordHandlerV1NotFound creates a GetPlayerRecordHandlerV1NotFound with default headers values

func (*GetPlayerRecordHandlerV1NotFound) Error added in v0.7.0

func (*GetPlayerRecordHandlerV1NotFound) GetPayload added in v0.7.0

type GetPlayerRecordHandlerV1OK

type GetPlayerRecordHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsPlayerRecordResponse
}

GetPlayerRecordHandlerV1OK handles this case with default header values.

Record retrieved

func NewGetPlayerRecordHandlerV1OK

func NewGetPlayerRecordHandlerV1OK() *GetPlayerRecordHandlerV1OK

NewGetPlayerRecordHandlerV1OK creates a GetPlayerRecordHandlerV1OK with default headers values

func (*GetPlayerRecordHandlerV1OK) Error

func (*GetPlayerRecordHandlerV1OK) GetPayload

type GetPlayerRecordHandlerV1Params

type GetPlayerRecordHandlerV1Params struct {

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

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID of record owner

	*/
	UserID string

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

GetPlayerRecordHandlerV1Params contains all the parameters to send to the API endpoint for the get player record handler v1 operation typically these are written to a http.Request

func NewGetPlayerRecordHandlerV1Params

func NewGetPlayerRecordHandlerV1Params() *GetPlayerRecordHandlerV1Params

NewGetPlayerRecordHandlerV1Params creates a new GetPlayerRecordHandlerV1Params object with the default values initialized.

func NewGetPlayerRecordHandlerV1ParamsWithContext

func NewGetPlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *GetPlayerRecordHandlerV1Params

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

func NewGetPlayerRecordHandlerV1ParamsWithHTTPClient

func NewGetPlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *GetPlayerRecordHandlerV1Params

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

func NewGetPlayerRecordHandlerV1ParamsWithTimeout

func NewGetPlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *GetPlayerRecordHandlerV1Params

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

func (*GetPlayerRecordHandlerV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get player record handler v1 params

func (*GetPlayerRecordHandlerV1Params) SetContext

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

SetContext adds the context to the get player record handler v1 params

func (*GetPlayerRecordHandlerV1Params) SetHTTPClient

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

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

func (*GetPlayerRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get player record handler v1 params

func (*GetPlayerRecordHandlerV1Params) SetKey

func (o *GetPlayerRecordHandlerV1Params) SetKey(key string)

SetKey adds the key to the get player record handler v1 params

func (*GetPlayerRecordHandlerV1Params) SetNamespace

func (o *GetPlayerRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get player record handler v1 params

func (*GetPlayerRecordHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the get player record handler v1 params

func (*GetPlayerRecordHandlerV1Params) SetUserID

func (o *GetPlayerRecordHandlerV1Params) SetUserID(userID string)

SetUserID adds the userId to the get player record handler v1 params

func (*GetPlayerRecordHandlerV1Params) WithContext

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

func (*GetPlayerRecordHandlerV1Params) WithHTTPClient

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

func (*GetPlayerRecordHandlerV1Params) WithKey

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

func (*GetPlayerRecordHandlerV1Params) WithNamespace

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

func (*GetPlayerRecordHandlerV1Params) WithTimeout

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

func (*GetPlayerRecordHandlerV1Params) WithUserID

WithUserID adds the userID to the get player record handler v1 params

func (*GetPlayerRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPlayerRecordHandlerV1Reader

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

GetPlayerRecordHandlerV1Reader is a Reader for the GetPlayerRecordHandlerV1 structure.

func (*GetPlayerRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPlayerRecordHandlerV1Unauthorized added in v0.7.0

type GetPlayerRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

GetPlayerRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewGetPlayerRecordHandlerV1Unauthorized added in v0.7.0

func NewGetPlayerRecordHandlerV1Unauthorized() *GetPlayerRecordHandlerV1Unauthorized

NewGetPlayerRecordHandlerV1Unauthorized creates a GetPlayerRecordHandlerV1Unauthorized with default headers values

func (*GetPlayerRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*GetPlayerRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

type PostPlayerPublicRecordHandlerV1BadRequest added in v0.15.0

type PostPlayerPublicRecordHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

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

func NewPostPlayerPublicRecordHandlerV1BadRequest() *PostPlayerPublicRecordHandlerV1BadRequest

NewPostPlayerPublicRecordHandlerV1BadRequest creates a PostPlayerPublicRecordHandlerV1BadRequest with default headers values

func (*PostPlayerPublicRecordHandlerV1BadRequest) Error added in v0.15.0

func (*PostPlayerPublicRecordHandlerV1BadRequest) GetPayload added in v0.15.0

type PostPlayerPublicRecordHandlerV1Created added in v0.7.0

type PostPlayerPublicRecordHandlerV1Created struct {
}

PostPlayerPublicRecordHandlerV1Created handles this case with default header values.

Record saved

func NewPostPlayerPublicRecordHandlerV1Created added in v0.7.0

func NewPostPlayerPublicRecordHandlerV1Created() *PostPlayerPublicRecordHandlerV1Created

NewPostPlayerPublicRecordHandlerV1Created creates a PostPlayerPublicRecordHandlerV1Created with default headers values

func (*PostPlayerPublicRecordHandlerV1Created) Error added in v0.7.0

type PostPlayerPublicRecordHandlerV1InternalServerError

type PostPlayerPublicRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostPlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewPostPlayerPublicRecordHandlerV1InternalServerError

func NewPostPlayerPublicRecordHandlerV1InternalServerError() *PostPlayerPublicRecordHandlerV1InternalServerError

NewPostPlayerPublicRecordHandlerV1InternalServerError creates a PostPlayerPublicRecordHandlerV1InternalServerError with default headers values

func (*PostPlayerPublicRecordHandlerV1InternalServerError) Error

func (*PostPlayerPublicRecordHandlerV1InternalServerError) GetPayload

type PostPlayerPublicRecordHandlerV1Params

type PostPlayerPublicRecordHandlerV1Params struct {

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

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID who own the record

	*/
	UserID string

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

PostPlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the post player public record handler v1 operation typically these are written to a http.Request

func NewPostPlayerPublicRecordHandlerV1Params

func NewPostPlayerPublicRecordHandlerV1Params() *PostPlayerPublicRecordHandlerV1Params

NewPostPlayerPublicRecordHandlerV1Params creates a new PostPlayerPublicRecordHandlerV1Params object with the default values initialized.

func NewPostPlayerPublicRecordHandlerV1ParamsWithContext

func NewPostPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *PostPlayerPublicRecordHandlerV1Params

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

func NewPostPlayerPublicRecordHandlerV1ParamsWithHTTPClient

func NewPostPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PostPlayerPublicRecordHandlerV1Params

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

func NewPostPlayerPublicRecordHandlerV1ParamsWithTimeout

func NewPostPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PostPlayerPublicRecordHandlerV1Params

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

func (*PostPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) SetBody

SetBody adds the body to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) SetContext

SetContext adds the context to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) SetKey

SetKey adds the key to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) SetNamespace

func (o *PostPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) SetUserID

func (o *PostPlayerPublicRecordHandlerV1Params) SetUserID(userID string)

SetUserID adds the userId to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) WithBody

WithBody adds the body to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) WithContext

WithContext adds the context to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) WithKey

WithKey adds the key to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) WithNamespace

WithNamespace adds the namespace to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) WithTimeout

WithTimeout adds the timeout to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) WithUserID

WithUserID adds the userID to the post player public record handler v1 params

func (*PostPlayerPublicRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPlayerPublicRecordHandlerV1Reader

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

PostPlayerPublicRecordHandlerV1Reader is a Reader for the PostPlayerPublicRecordHandlerV1 structure.

func (*PostPlayerPublicRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPlayerPublicRecordHandlerV1Unauthorized added in v0.7.0

type PostPlayerPublicRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostPlayerPublicRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewPostPlayerPublicRecordHandlerV1Unauthorized added in v0.7.0

func NewPostPlayerPublicRecordHandlerV1Unauthorized() *PostPlayerPublicRecordHandlerV1Unauthorized

NewPostPlayerPublicRecordHandlerV1Unauthorized creates a PostPlayerPublicRecordHandlerV1Unauthorized with default headers values

func (*PostPlayerPublicRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*PostPlayerPublicRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

type PostPlayerRecordHandlerV1BadRequest added in v0.15.0

type PostPlayerRecordHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

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

func NewPostPlayerRecordHandlerV1BadRequest() *PostPlayerRecordHandlerV1BadRequest

NewPostPlayerRecordHandlerV1BadRequest creates a PostPlayerRecordHandlerV1BadRequest with default headers values

func (*PostPlayerRecordHandlerV1BadRequest) Error added in v0.15.0

func (*PostPlayerRecordHandlerV1BadRequest) GetPayload added in v0.15.0

type PostPlayerRecordHandlerV1Created added in v0.7.0

type PostPlayerRecordHandlerV1Created struct {
}

PostPlayerRecordHandlerV1Created handles this case with default header values.

Record saved

func NewPostPlayerRecordHandlerV1Created added in v0.7.0

func NewPostPlayerRecordHandlerV1Created() *PostPlayerRecordHandlerV1Created

NewPostPlayerRecordHandlerV1Created creates a PostPlayerRecordHandlerV1Created with default headers values

func (*PostPlayerRecordHandlerV1Created) Error added in v0.7.0

type PostPlayerRecordHandlerV1Forbidden added in v0.15.0

type PostPlayerRecordHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostPlayerRecordHandlerV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18035</td><td>post action is forbidden on other user's record</td></tr></table>

func NewPostPlayerRecordHandlerV1Forbidden added in v0.15.0

func NewPostPlayerRecordHandlerV1Forbidden() *PostPlayerRecordHandlerV1Forbidden

NewPostPlayerRecordHandlerV1Forbidden creates a PostPlayerRecordHandlerV1Forbidden with default headers values

func (*PostPlayerRecordHandlerV1Forbidden) Error added in v0.15.0

func (*PostPlayerRecordHandlerV1Forbidden) GetPayload added in v0.15.0

type PostPlayerRecordHandlerV1InternalServerError

type PostPlayerRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostPlayerRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewPostPlayerRecordHandlerV1InternalServerError

func NewPostPlayerRecordHandlerV1InternalServerError() *PostPlayerRecordHandlerV1InternalServerError

NewPostPlayerRecordHandlerV1InternalServerError creates a PostPlayerRecordHandlerV1InternalServerError with default headers values

func (*PostPlayerRecordHandlerV1InternalServerError) Error

func (*PostPlayerRecordHandlerV1InternalServerError) GetPayload

type PostPlayerRecordHandlerV1Params

type PostPlayerRecordHandlerV1Params struct {

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

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID of record owner

	*/
	UserID string

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

PostPlayerRecordHandlerV1Params contains all the parameters to send to the API endpoint for the post player record handler v1 operation typically these are written to a http.Request

func NewPostPlayerRecordHandlerV1Params

func NewPostPlayerRecordHandlerV1Params() *PostPlayerRecordHandlerV1Params

NewPostPlayerRecordHandlerV1Params creates a new PostPlayerRecordHandlerV1Params object with the default values initialized.

func NewPostPlayerRecordHandlerV1ParamsWithContext

func NewPostPlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *PostPlayerRecordHandlerV1Params

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

func NewPostPlayerRecordHandlerV1ParamsWithHTTPClient

func NewPostPlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PostPlayerRecordHandlerV1Params

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

func NewPostPlayerRecordHandlerV1ParamsWithTimeout

func NewPostPlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PostPlayerRecordHandlerV1Params

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

func (*PostPlayerRecordHandlerV1Params) SetAuthInfoWriter added in v0.17.0

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

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

func (*PostPlayerRecordHandlerV1Params) SetBody

SetBody adds the body to the post player record handler v1 params

func (*PostPlayerRecordHandlerV1Params) SetContext

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

SetContext adds the context to the post player record handler v1 params

func (*PostPlayerRecordHandlerV1Params) SetHTTPClient

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

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

func (*PostPlayerRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the post player record handler v1 params

func (*PostPlayerRecordHandlerV1Params) SetKey

func (o *PostPlayerRecordHandlerV1Params) SetKey(key string)

SetKey adds the key to the post player record handler v1 params

func (*PostPlayerRecordHandlerV1Params) SetNamespace

func (o *PostPlayerRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the post player record handler v1 params

func (*PostPlayerRecordHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the post player record handler v1 params

func (*PostPlayerRecordHandlerV1Params) SetUserID

func (o *PostPlayerRecordHandlerV1Params) SetUserID(userID string)

SetUserID adds the userId to the post player record handler v1 params

func (*PostPlayerRecordHandlerV1Params) WithBody

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

func (*PostPlayerRecordHandlerV1Params) WithContext

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

func (*PostPlayerRecordHandlerV1Params) WithHTTPClient

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

func (*PostPlayerRecordHandlerV1Params) WithKey

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

func (*PostPlayerRecordHandlerV1Params) WithNamespace

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

func (*PostPlayerRecordHandlerV1Params) WithTimeout

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

func (*PostPlayerRecordHandlerV1Params) WithUserID

WithUserID adds the userID to the post player record handler v1 params

func (*PostPlayerRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPlayerRecordHandlerV1Reader

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

PostPlayerRecordHandlerV1Reader is a Reader for the PostPlayerRecordHandlerV1 structure.

func (*PostPlayerRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPlayerRecordHandlerV1Unauthorized added in v0.7.0

type PostPlayerRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PostPlayerRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewPostPlayerRecordHandlerV1Unauthorized added in v0.7.0

func NewPostPlayerRecordHandlerV1Unauthorized() *PostPlayerRecordHandlerV1Unauthorized

NewPostPlayerRecordHandlerV1Unauthorized creates a PostPlayerRecordHandlerV1Unauthorized with default headers values

func (*PostPlayerRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*PostPlayerRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

type PublicDeletePlayerPublicRecordHandlerV1BadRequest added in v0.15.0

type PublicDeletePlayerPublicRecordHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

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

func NewPublicDeletePlayerPublicRecordHandlerV1BadRequest() *PublicDeletePlayerPublicRecordHandlerV1BadRequest

NewPublicDeletePlayerPublicRecordHandlerV1BadRequest creates a PublicDeletePlayerPublicRecordHandlerV1BadRequest with default headers values

func (*PublicDeletePlayerPublicRecordHandlerV1BadRequest) Error added in v0.15.0

func (*PublicDeletePlayerPublicRecordHandlerV1BadRequest) GetPayload added in v0.15.0

type PublicDeletePlayerPublicRecordHandlerV1InternalServerError added in v0.7.0

type PublicDeletePlayerPublicRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PublicDeletePlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewPublicDeletePlayerPublicRecordHandlerV1InternalServerError added in v0.7.0

func NewPublicDeletePlayerPublicRecordHandlerV1InternalServerError() *PublicDeletePlayerPublicRecordHandlerV1InternalServerError

NewPublicDeletePlayerPublicRecordHandlerV1InternalServerError creates a PublicDeletePlayerPublicRecordHandlerV1InternalServerError with default headers values

func (*PublicDeletePlayerPublicRecordHandlerV1InternalServerError) Error added in v0.7.0

func (*PublicDeletePlayerPublicRecordHandlerV1InternalServerError) GetPayload added in v0.7.0

type PublicDeletePlayerPublicRecordHandlerV1NoContent added in v0.7.0

type PublicDeletePlayerPublicRecordHandlerV1NoContent struct {
}

PublicDeletePlayerPublicRecordHandlerV1NoContent handles this case with default header values.

Record deleted

func NewPublicDeletePlayerPublicRecordHandlerV1NoContent added in v0.7.0

func NewPublicDeletePlayerPublicRecordHandlerV1NoContent() *PublicDeletePlayerPublicRecordHandlerV1NoContent

NewPublicDeletePlayerPublicRecordHandlerV1NoContent creates a PublicDeletePlayerPublicRecordHandlerV1NoContent with default headers values

func (*PublicDeletePlayerPublicRecordHandlerV1NoContent) Error added in v0.7.0

type PublicDeletePlayerPublicRecordHandlerV1NotFound added in v0.7.0

type PublicDeletePlayerPublicRecordHandlerV1NotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PublicDeletePlayerPublicRecordHandlerV1NotFound handles this case with default header values.

Not Found

func NewPublicDeletePlayerPublicRecordHandlerV1NotFound added in v0.7.0

func NewPublicDeletePlayerPublicRecordHandlerV1NotFound() *PublicDeletePlayerPublicRecordHandlerV1NotFound

NewPublicDeletePlayerPublicRecordHandlerV1NotFound creates a PublicDeletePlayerPublicRecordHandlerV1NotFound with default headers values

func (*PublicDeletePlayerPublicRecordHandlerV1NotFound) Error added in v0.7.0

func (*PublicDeletePlayerPublicRecordHandlerV1NotFound) GetPayload added in v0.7.0

type PublicDeletePlayerPublicRecordHandlerV1Params added in v0.7.0

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

PublicDeletePlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the public delete player public record handler v1 operation typically these are written to a http.Request

func NewPublicDeletePlayerPublicRecordHandlerV1Params added in v0.7.0

func NewPublicDeletePlayerPublicRecordHandlerV1Params() *PublicDeletePlayerPublicRecordHandlerV1Params

NewPublicDeletePlayerPublicRecordHandlerV1Params creates a new PublicDeletePlayerPublicRecordHandlerV1Params object with the default values initialized.

func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithContext added in v0.7.0

func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *PublicDeletePlayerPublicRecordHandlerV1Params

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

func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithHTTPClient added in v0.7.0

func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PublicDeletePlayerPublicRecordHandlerV1Params

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

func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithTimeout added in v0.7.0

func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PublicDeletePlayerPublicRecordHandlerV1Params

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

func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the public delete player public record handler v1 params

func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetContext added in v0.7.0

SetContext adds the context to the public delete player public record handler v1 params

func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetHTTPClient added in v0.7.0

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

SetHTTPClient adds the HTTPClient to the public delete player public record handler v1 params

func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the public delete player public record handler v1 params

func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetKey added in v0.7.0

SetKey adds the key to the public delete player public record handler v1 params

func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetNamespace added in v0.7.0

func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the public delete player public record handler v1 params

func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetTimeout added in v0.7.0

SetTimeout adds the timeout to the public delete player public record handler v1 params

func (*PublicDeletePlayerPublicRecordHandlerV1Params) WithContext added in v0.7.0

WithContext adds the context to the public delete player public record handler v1 params

func (*PublicDeletePlayerPublicRecordHandlerV1Params) WithHTTPClient added in v0.7.0

WithHTTPClient adds the HTTPClient to the public delete player public record handler v1 params

func (*PublicDeletePlayerPublicRecordHandlerV1Params) WithKey added in v0.7.0

WithKey adds the key to the public delete player public record handler v1 params

func (*PublicDeletePlayerPublicRecordHandlerV1Params) WithNamespace added in v0.7.0

WithNamespace adds the namespace to the public delete player public record handler v1 params

func (*PublicDeletePlayerPublicRecordHandlerV1Params) WithTimeout added in v0.7.0

WithTimeout adds the timeout to the public delete player public record handler v1 params

func (*PublicDeletePlayerPublicRecordHandlerV1Params) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type PublicDeletePlayerPublicRecordHandlerV1Reader added in v0.7.0

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

PublicDeletePlayerPublicRecordHandlerV1Reader is a Reader for the PublicDeletePlayerPublicRecordHandlerV1 structure.

func (*PublicDeletePlayerPublicRecordHandlerV1Reader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type PublicDeletePlayerPublicRecordHandlerV1Unauthorized added in v0.7.0

type PublicDeletePlayerPublicRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PublicDeletePlayerPublicRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewPublicDeletePlayerPublicRecordHandlerV1Unauthorized added in v0.7.0

func NewPublicDeletePlayerPublicRecordHandlerV1Unauthorized() *PublicDeletePlayerPublicRecordHandlerV1Unauthorized

NewPublicDeletePlayerPublicRecordHandlerV1Unauthorized creates a PublicDeletePlayerPublicRecordHandlerV1Unauthorized with default headers values

func (*PublicDeletePlayerPublicRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*PublicDeletePlayerPublicRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

type PutPlayerPublicRecordHandlerV1BadRequest added in v0.15.0

type PutPlayerPublicRecordHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

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

func NewPutPlayerPublicRecordHandlerV1BadRequest() *PutPlayerPublicRecordHandlerV1BadRequest

NewPutPlayerPublicRecordHandlerV1BadRequest creates a PutPlayerPublicRecordHandlerV1BadRequest with default headers values

func (*PutPlayerPublicRecordHandlerV1BadRequest) Error added in v0.15.0

func (*PutPlayerPublicRecordHandlerV1BadRequest) GetPayload added in v0.15.0

type PutPlayerPublicRecordHandlerV1InternalServerError

type PutPlayerPublicRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewPutPlayerPublicRecordHandlerV1InternalServerError

func NewPutPlayerPublicRecordHandlerV1InternalServerError() *PutPlayerPublicRecordHandlerV1InternalServerError

NewPutPlayerPublicRecordHandlerV1InternalServerError creates a PutPlayerPublicRecordHandlerV1InternalServerError with default headers values

func (*PutPlayerPublicRecordHandlerV1InternalServerError) Error

func (*PutPlayerPublicRecordHandlerV1InternalServerError) GetPayload

type PutPlayerPublicRecordHandlerV1OK

type PutPlayerPublicRecordHandlerV1OK struct {
}

PutPlayerPublicRecordHandlerV1OK handles this case with default header values.

Record saved

func NewPutPlayerPublicRecordHandlerV1OK

func NewPutPlayerPublicRecordHandlerV1OK() *PutPlayerPublicRecordHandlerV1OK

NewPutPlayerPublicRecordHandlerV1OK creates a PutPlayerPublicRecordHandlerV1OK with default headers values

func (*PutPlayerPublicRecordHandlerV1OK) Error

type PutPlayerPublicRecordHandlerV1Params

type PutPlayerPublicRecordHandlerV1Params struct {

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

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID who own the record

	*/
	UserID string

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

PutPlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the put player public record handler v1 operation typically these are written to a http.Request

func NewPutPlayerPublicRecordHandlerV1Params

func NewPutPlayerPublicRecordHandlerV1Params() *PutPlayerPublicRecordHandlerV1Params

NewPutPlayerPublicRecordHandlerV1Params creates a new PutPlayerPublicRecordHandlerV1Params object with the default values initialized.

func NewPutPlayerPublicRecordHandlerV1ParamsWithContext

func NewPutPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *PutPlayerPublicRecordHandlerV1Params

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

func NewPutPlayerPublicRecordHandlerV1ParamsWithHTTPClient

func NewPutPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PutPlayerPublicRecordHandlerV1Params

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

func NewPutPlayerPublicRecordHandlerV1ParamsWithTimeout

func NewPutPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PutPlayerPublicRecordHandlerV1Params

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

func (*PutPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter added in v0.17.0

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

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

func (*PutPlayerPublicRecordHandlerV1Params) SetBody

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

func (*PutPlayerPublicRecordHandlerV1Params) SetContext

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

func (*PutPlayerPublicRecordHandlerV1Params) SetHTTPClient

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

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

func (*PutPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

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

func (*PutPlayerPublicRecordHandlerV1Params) SetKey

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

func (*PutPlayerPublicRecordHandlerV1Params) SetNamespace

func (o *PutPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)

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

func (*PutPlayerPublicRecordHandlerV1Params) SetTimeout

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

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

func (*PutPlayerPublicRecordHandlerV1Params) SetUserID

func (o *PutPlayerPublicRecordHandlerV1Params) SetUserID(userID string)

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

func (*PutPlayerPublicRecordHandlerV1Params) WithBody

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

func (*PutPlayerPublicRecordHandlerV1Params) WithContext

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

func (*PutPlayerPublicRecordHandlerV1Params) WithHTTPClient

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

func (*PutPlayerPublicRecordHandlerV1Params) WithKey

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

func (*PutPlayerPublicRecordHandlerV1Params) WithNamespace

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

func (*PutPlayerPublicRecordHandlerV1Params) WithTimeout

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

func (*PutPlayerPublicRecordHandlerV1Params) WithUserID

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

func (*PutPlayerPublicRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutPlayerPublicRecordHandlerV1Reader

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

PutPlayerPublicRecordHandlerV1Reader is a Reader for the PutPlayerPublicRecordHandlerV1 structure.

func (*PutPlayerPublicRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutPlayerPublicRecordHandlerV1Unauthorized added in v0.7.0

type PutPlayerPublicRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerPublicRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewPutPlayerPublicRecordHandlerV1Unauthorized added in v0.7.0

func NewPutPlayerPublicRecordHandlerV1Unauthorized() *PutPlayerPublicRecordHandlerV1Unauthorized

NewPutPlayerPublicRecordHandlerV1Unauthorized creates a PutPlayerPublicRecordHandlerV1Unauthorized with default headers values

func (*PutPlayerPublicRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*PutPlayerPublicRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

type PutPlayerRecordHandlerV1BadRequest added in v0.15.0

type PutPlayerRecordHandlerV1BadRequest struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

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

func NewPutPlayerRecordHandlerV1BadRequest() *PutPlayerRecordHandlerV1BadRequest

NewPutPlayerRecordHandlerV1BadRequest creates a PutPlayerRecordHandlerV1BadRequest with default headers values

func (*PutPlayerRecordHandlerV1BadRequest) Error added in v0.15.0

func (*PutPlayerRecordHandlerV1BadRequest) GetPayload added in v0.15.0

type PutPlayerRecordHandlerV1Forbidden added in v0.15.0

type PutPlayerRecordHandlerV1Forbidden struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerRecordHandlerV1Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18063</td><td>put action is forbidden on other user's record</td></tr></table>

func NewPutPlayerRecordHandlerV1Forbidden added in v0.15.0

func NewPutPlayerRecordHandlerV1Forbidden() *PutPlayerRecordHandlerV1Forbidden

NewPutPlayerRecordHandlerV1Forbidden creates a PutPlayerRecordHandlerV1Forbidden with default headers values

func (*PutPlayerRecordHandlerV1Forbidden) Error added in v0.15.0

func (*PutPlayerRecordHandlerV1Forbidden) GetPayload added in v0.15.0

type PutPlayerRecordHandlerV1InternalServerError

type PutPlayerRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewPutPlayerRecordHandlerV1InternalServerError

func NewPutPlayerRecordHandlerV1InternalServerError() *PutPlayerRecordHandlerV1InternalServerError

NewPutPlayerRecordHandlerV1InternalServerError creates a PutPlayerRecordHandlerV1InternalServerError with default headers values

func (*PutPlayerRecordHandlerV1InternalServerError) Error

func (*PutPlayerRecordHandlerV1InternalServerError) GetPayload

type PutPlayerRecordHandlerV1OK

type PutPlayerRecordHandlerV1OK struct {
}

PutPlayerRecordHandlerV1OK handles this case with default header values.

Record saved

func NewPutPlayerRecordHandlerV1OK

func NewPutPlayerRecordHandlerV1OK() *PutPlayerRecordHandlerV1OK

NewPutPlayerRecordHandlerV1OK creates a PutPlayerRecordHandlerV1OK with default headers values

func (*PutPlayerRecordHandlerV1OK) Error

type PutPlayerRecordHandlerV1Params

type PutPlayerRecordHandlerV1Params struct {

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

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID who own the record

	*/
	UserID string

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

PutPlayerRecordHandlerV1Params contains all the parameters to send to the API endpoint for the put player record handler v1 operation typically these are written to a http.Request

func NewPutPlayerRecordHandlerV1Params

func NewPutPlayerRecordHandlerV1Params() *PutPlayerRecordHandlerV1Params

NewPutPlayerRecordHandlerV1Params creates a new PutPlayerRecordHandlerV1Params object with the default values initialized.

func NewPutPlayerRecordHandlerV1ParamsWithContext

func NewPutPlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *PutPlayerRecordHandlerV1Params

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

func NewPutPlayerRecordHandlerV1ParamsWithHTTPClient

func NewPutPlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PutPlayerRecordHandlerV1Params

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

func NewPutPlayerRecordHandlerV1ParamsWithTimeout

func NewPutPlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PutPlayerRecordHandlerV1Params

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

func (*PutPlayerRecordHandlerV1Params) SetAuthInfoWriter added in v0.17.0

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

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

func (*PutPlayerRecordHandlerV1Params) SetBody

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

func (*PutPlayerRecordHandlerV1Params) SetContext

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

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

func (*PutPlayerRecordHandlerV1Params) SetHTTPClient

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

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

func (*PutPlayerRecordHandlerV1Params) SetHTTPClientTransport added in v0.19.0

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

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

func (*PutPlayerRecordHandlerV1Params) SetKey

func (o *PutPlayerRecordHandlerV1Params) SetKey(key string)

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

func (*PutPlayerRecordHandlerV1Params) SetNamespace

func (o *PutPlayerRecordHandlerV1Params) SetNamespace(namespace string)

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

func (*PutPlayerRecordHandlerV1Params) SetTimeout

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

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

func (*PutPlayerRecordHandlerV1Params) SetUserID

func (o *PutPlayerRecordHandlerV1Params) SetUserID(userID string)

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

func (*PutPlayerRecordHandlerV1Params) WithBody

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

func (*PutPlayerRecordHandlerV1Params) WithContext

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

func (*PutPlayerRecordHandlerV1Params) WithHTTPClient

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

func (*PutPlayerRecordHandlerV1Params) WithKey

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

func (*PutPlayerRecordHandlerV1Params) WithNamespace

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

func (*PutPlayerRecordHandlerV1Params) WithTimeout

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

func (*PutPlayerRecordHandlerV1Params) WithUserID

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

func (*PutPlayerRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutPlayerRecordHandlerV1Reader

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

PutPlayerRecordHandlerV1Reader is a Reader for the PutPlayerRecordHandlerV1 structure.

func (*PutPlayerRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutPlayerRecordHandlerV1Unauthorized added in v0.7.0

type PutPlayerRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

PutPlayerRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewPutPlayerRecordHandlerV1Unauthorized added in v0.7.0

func NewPutPlayerRecordHandlerV1Unauthorized() *PutPlayerRecordHandlerV1Unauthorized

NewPutPlayerRecordHandlerV1Unauthorized creates a PutPlayerRecordHandlerV1Unauthorized with default headers values

func (*PutPlayerRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*PutPlayerRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

Jump to

Keyboard shortcuts

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