admin_game_record

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminDeleteGameRecordHandlerV1InternalServerError added in v0.7.0

type AdminDeleteGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminDeleteGameRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminDeleteGameRecordHandlerV1InternalServerError added in v0.7.0

func NewAdminDeleteGameRecordHandlerV1InternalServerError() *AdminDeleteGameRecordHandlerV1InternalServerError

NewAdminDeleteGameRecordHandlerV1InternalServerError creates a AdminDeleteGameRecordHandlerV1InternalServerError with default headers values

func (*AdminDeleteGameRecordHandlerV1InternalServerError) Error added in v0.7.0

func (*AdminDeleteGameRecordHandlerV1InternalServerError) GetPayload added in v0.7.0

type AdminDeleteGameRecordHandlerV1NoContent added in v0.7.0

type AdminDeleteGameRecordHandlerV1NoContent struct {
}

AdminDeleteGameRecordHandlerV1NoContent handles this case with default header values.

Record deleted

func NewAdminDeleteGameRecordHandlerV1NoContent added in v0.7.0

func NewAdminDeleteGameRecordHandlerV1NoContent() *AdminDeleteGameRecordHandlerV1NoContent

NewAdminDeleteGameRecordHandlerV1NoContent creates a AdminDeleteGameRecordHandlerV1NoContent with default headers values

func (*AdminDeleteGameRecordHandlerV1NoContent) Error added in v0.7.0

type AdminDeleteGameRecordHandlerV1Params added in v0.7.0

type AdminDeleteGameRecordHandlerV1Params struct {

	/*Key
	  key of record

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

func NewAdminDeleteGameRecordHandlerV1Params added in v0.7.0

func NewAdminDeleteGameRecordHandlerV1Params() *AdminDeleteGameRecordHandlerV1Params

NewAdminDeleteGameRecordHandlerV1Params creates a new AdminDeleteGameRecordHandlerV1Params object with the default values initialized.

func NewAdminDeleteGameRecordHandlerV1ParamsWithContext added in v0.7.0

func NewAdminDeleteGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminDeleteGameRecordHandlerV1Params

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

func NewAdminDeleteGameRecordHandlerV1ParamsWithHTTPClient added in v0.7.0

func NewAdminDeleteGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminDeleteGameRecordHandlerV1Params

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

func NewAdminDeleteGameRecordHandlerV1ParamsWithTimeout added in v0.7.0

func NewAdminDeleteGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminDeleteGameRecordHandlerV1Params

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

func (*AdminDeleteGameRecordHandlerV1Params) SetContext added in v0.7.0

SetContext adds the context to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) SetHTTPClient added in v0.7.0

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

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

func (*AdminDeleteGameRecordHandlerV1Params) SetKey added in v0.7.0

SetKey adds the key to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) SetNamespace added in v0.7.0

func (o *AdminDeleteGameRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) SetTimeout added in v0.7.0

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

SetTimeout adds the timeout to the admin delete game record handler v1 params

func (*AdminDeleteGameRecordHandlerV1Params) WithContext added in v0.7.0

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

func (*AdminDeleteGameRecordHandlerV1Params) WithHTTPClient added in v0.7.0

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

func (*AdminDeleteGameRecordHandlerV1Params) WithKey added in v0.7.0

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

func (*AdminDeleteGameRecordHandlerV1Params) WithNamespace added in v0.7.0

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

func (*AdminDeleteGameRecordHandlerV1Params) WithTimeout added in v0.7.0

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

func (*AdminDeleteGameRecordHandlerV1Params) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type AdminDeleteGameRecordHandlerV1Reader added in v0.7.0

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

AdminDeleteGameRecordHandlerV1Reader is a Reader for the AdminDeleteGameRecordHandlerV1 structure.

func (*AdminDeleteGameRecordHandlerV1Reader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type AdminDeleteGameRecordHandlerV1Unauthorized added in v0.7.0

type AdminDeleteGameRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminDeleteGameRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminDeleteGameRecordHandlerV1Unauthorized added in v0.7.0

func NewAdminDeleteGameRecordHandlerV1Unauthorized() *AdminDeleteGameRecordHandlerV1Unauthorized

NewAdminDeleteGameRecordHandlerV1Unauthorized creates a AdminDeleteGameRecordHandlerV1Unauthorized with default headers values

func (*AdminDeleteGameRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*AdminDeleteGameRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

type AdminGetGameRecordHandlerV1InternalServerError added in v0.7.0

type AdminGetGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminGetGameRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetGameRecordHandlerV1InternalServerError added in v0.7.0

func NewAdminGetGameRecordHandlerV1InternalServerError() *AdminGetGameRecordHandlerV1InternalServerError

NewAdminGetGameRecordHandlerV1InternalServerError creates a AdminGetGameRecordHandlerV1InternalServerError with default headers values

func (*AdminGetGameRecordHandlerV1InternalServerError) Error added in v0.7.0

func (*AdminGetGameRecordHandlerV1InternalServerError) GetPayload added in v0.7.0

type AdminGetGameRecordHandlerV1NotFound added in v0.7.0

type AdminGetGameRecordHandlerV1NotFound struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminGetGameRecordHandlerV1NotFound handles this case with default header values.

Not Found

func NewAdminGetGameRecordHandlerV1NotFound added in v0.7.0

func NewAdminGetGameRecordHandlerV1NotFound() *AdminGetGameRecordHandlerV1NotFound

NewAdminGetGameRecordHandlerV1NotFound creates a AdminGetGameRecordHandlerV1NotFound with default headers values

func (*AdminGetGameRecordHandlerV1NotFound) Error added in v0.7.0

func (*AdminGetGameRecordHandlerV1NotFound) GetPayload added in v0.7.0

type AdminGetGameRecordHandlerV1OK added in v0.7.0

type AdminGetGameRecordHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsGameRecord
}

AdminGetGameRecordHandlerV1OK handles this case with default header values.

Record in namespace-level retrieved

func NewAdminGetGameRecordHandlerV1OK added in v0.7.0

func NewAdminGetGameRecordHandlerV1OK() *AdminGetGameRecordHandlerV1OK

NewAdminGetGameRecordHandlerV1OK creates a AdminGetGameRecordHandlerV1OK with default headers values

func (*AdminGetGameRecordHandlerV1OK) Error added in v0.7.0

func (*AdminGetGameRecordHandlerV1OK) GetPayload added in v0.7.0

type AdminGetGameRecordHandlerV1Params added in v0.7.0

type AdminGetGameRecordHandlerV1Params struct {

	/*Key
	  key of record

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

func NewAdminGetGameRecordHandlerV1Params added in v0.7.0

func NewAdminGetGameRecordHandlerV1Params() *AdminGetGameRecordHandlerV1Params

NewAdminGetGameRecordHandlerV1Params creates a new AdminGetGameRecordHandlerV1Params object with the default values initialized.

func NewAdminGetGameRecordHandlerV1ParamsWithContext added in v0.7.0

func NewAdminGetGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminGetGameRecordHandlerV1Params

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

func NewAdminGetGameRecordHandlerV1ParamsWithHTTPClient added in v0.7.0

func NewAdminGetGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminGetGameRecordHandlerV1Params

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

func NewAdminGetGameRecordHandlerV1ParamsWithTimeout added in v0.7.0

func NewAdminGetGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminGetGameRecordHandlerV1Params

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

func (*AdminGetGameRecordHandlerV1Params) SetContext added in v0.7.0

SetContext adds the context to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) SetHTTPClient added in v0.7.0

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

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

func (*AdminGetGameRecordHandlerV1Params) SetKey added in v0.7.0

SetKey adds the key to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) SetNamespace added in v0.7.0

func (o *AdminGetGameRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) SetTimeout added in v0.7.0

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

SetTimeout adds the timeout to the admin get game record handler v1 params

func (*AdminGetGameRecordHandlerV1Params) WithContext added in v0.7.0

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

func (*AdminGetGameRecordHandlerV1Params) WithHTTPClient added in v0.7.0

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

func (*AdminGetGameRecordHandlerV1Params) WithKey added in v0.7.0

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

func (*AdminGetGameRecordHandlerV1Params) WithNamespace added in v0.7.0

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

func (*AdminGetGameRecordHandlerV1Params) WithTimeout added in v0.7.0

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

func (*AdminGetGameRecordHandlerV1Params) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type AdminGetGameRecordHandlerV1Reader added in v0.7.0

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

AdminGetGameRecordHandlerV1Reader is a Reader for the AdminGetGameRecordHandlerV1 structure.

func (*AdminGetGameRecordHandlerV1Reader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type AdminGetGameRecordHandlerV1Unauthorized added in v0.7.0

type AdminGetGameRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminGetGameRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminGetGameRecordHandlerV1Unauthorized added in v0.7.0

func NewAdminGetGameRecordHandlerV1Unauthorized() *AdminGetGameRecordHandlerV1Unauthorized

NewAdminGetGameRecordHandlerV1Unauthorized creates a AdminGetGameRecordHandlerV1Unauthorized with default headers values

func (*AdminGetGameRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*AdminGetGameRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

type AdminPostGameRecordHandlerV1Created added in v0.7.0

type AdminPostGameRecordHandlerV1Created struct {
}

AdminPostGameRecordHandlerV1Created handles this case with default header values.

Record in namespace-level saved

func NewAdminPostGameRecordHandlerV1Created added in v0.7.0

func NewAdminPostGameRecordHandlerV1Created() *AdminPostGameRecordHandlerV1Created

NewAdminPostGameRecordHandlerV1Created creates a AdminPostGameRecordHandlerV1Created with default headers values

func (*AdminPostGameRecordHandlerV1Created) Error added in v0.7.0

type AdminPostGameRecordHandlerV1InternalServerError added in v0.7.0

type AdminPostGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPostGameRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminPostGameRecordHandlerV1InternalServerError added in v0.7.0

func NewAdminPostGameRecordHandlerV1InternalServerError() *AdminPostGameRecordHandlerV1InternalServerError

NewAdminPostGameRecordHandlerV1InternalServerError creates a AdminPostGameRecordHandlerV1InternalServerError with default headers values

func (*AdminPostGameRecordHandlerV1InternalServerError) Error added in v0.7.0

func (*AdminPostGameRecordHandlerV1InternalServerError) GetPayload added in v0.7.0

type AdminPostGameRecordHandlerV1Params added in v0.7.0

type AdminPostGameRecordHandlerV1Params struct {

	/*Body*/
	Body cloudsaveclientmodels.ModelsGameRecordRequest
	/*Key
	  key of record

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

func NewAdminPostGameRecordHandlerV1Params added in v0.7.0

func NewAdminPostGameRecordHandlerV1Params() *AdminPostGameRecordHandlerV1Params

NewAdminPostGameRecordHandlerV1Params creates a new AdminPostGameRecordHandlerV1Params object with the default values initialized.

func NewAdminPostGameRecordHandlerV1ParamsWithContext added in v0.7.0

func NewAdminPostGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminPostGameRecordHandlerV1Params

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

func NewAdminPostGameRecordHandlerV1ParamsWithHTTPClient added in v0.7.0

func NewAdminPostGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPostGameRecordHandlerV1Params

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

func NewAdminPostGameRecordHandlerV1ParamsWithTimeout added in v0.7.0

func NewAdminPostGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPostGameRecordHandlerV1Params

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

func (*AdminPostGameRecordHandlerV1Params) SetBody added in v0.7.0

SetBody adds the body to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) SetContext added in v0.7.0

SetContext adds the context to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) SetHTTPClient added in v0.7.0

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

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

func (*AdminPostGameRecordHandlerV1Params) SetKey added in v0.7.0

SetKey adds the key to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) SetNamespace added in v0.7.0

func (o *AdminPostGameRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) SetTimeout added in v0.7.0

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

SetTimeout adds the timeout to the admin post game record handler v1 params

func (*AdminPostGameRecordHandlerV1Params) WithBody added in v0.7.0

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

func (*AdminPostGameRecordHandlerV1Params) WithContext added in v0.7.0

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

func (*AdminPostGameRecordHandlerV1Params) WithHTTPClient added in v0.7.0

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

func (*AdminPostGameRecordHandlerV1Params) WithKey added in v0.7.0

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

func (*AdminPostGameRecordHandlerV1Params) WithNamespace added in v0.7.0

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

func (*AdminPostGameRecordHandlerV1Params) WithTimeout added in v0.7.0

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

func (*AdminPostGameRecordHandlerV1Params) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type AdminPostGameRecordHandlerV1Reader added in v0.7.0

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

AdminPostGameRecordHandlerV1Reader is a Reader for the AdminPostGameRecordHandlerV1 structure.

func (*AdminPostGameRecordHandlerV1Reader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type AdminPostGameRecordHandlerV1Unauthorized added in v0.7.0

type AdminPostGameRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPostGameRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminPostGameRecordHandlerV1Unauthorized added in v0.7.0

func NewAdminPostGameRecordHandlerV1Unauthorized() *AdminPostGameRecordHandlerV1Unauthorized

NewAdminPostGameRecordHandlerV1Unauthorized creates a AdminPostGameRecordHandlerV1Unauthorized with default headers values

func (*AdminPostGameRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*AdminPostGameRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

type AdminPutGameRecordHandlerV1InternalServerError added in v0.7.0

type AdminPutGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminPutGameRecordHandlerV1InternalServerError added in v0.7.0

func NewAdminPutGameRecordHandlerV1InternalServerError() *AdminPutGameRecordHandlerV1InternalServerError

NewAdminPutGameRecordHandlerV1InternalServerError creates a AdminPutGameRecordHandlerV1InternalServerError with default headers values

func (*AdminPutGameRecordHandlerV1InternalServerError) Error added in v0.7.0

func (*AdminPutGameRecordHandlerV1InternalServerError) GetPayload added in v0.7.0

type AdminPutGameRecordHandlerV1OK added in v0.7.0

type AdminPutGameRecordHandlerV1OK struct {
}

AdminPutGameRecordHandlerV1OK handles this case with default header values.

Record saved

func NewAdminPutGameRecordHandlerV1OK added in v0.7.0

func NewAdminPutGameRecordHandlerV1OK() *AdminPutGameRecordHandlerV1OK

NewAdminPutGameRecordHandlerV1OK creates a AdminPutGameRecordHandlerV1OK with default headers values

func (*AdminPutGameRecordHandlerV1OK) Error added in v0.7.0

type AdminPutGameRecordHandlerV1Params added in v0.7.0

type AdminPutGameRecordHandlerV1Params struct {

	/*Body*/
	Body cloudsaveclientmodels.ModelsGameRecordRequest
	/*Key
	  key of record

	*/
	Key string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

func NewAdminPutGameRecordHandlerV1Params added in v0.7.0

func NewAdminPutGameRecordHandlerV1Params() *AdminPutGameRecordHandlerV1Params

NewAdminPutGameRecordHandlerV1Params creates a new AdminPutGameRecordHandlerV1Params object with the default values initialized.

func NewAdminPutGameRecordHandlerV1ParamsWithContext added in v0.7.0

func NewAdminPutGameRecordHandlerV1ParamsWithContext(ctx context.Context) *AdminPutGameRecordHandlerV1Params

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

func NewAdminPutGameRecordHandlerV1ParamsWithHTTPClient added in v0.7.0

func NewAdminPutGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *AdminPutGameRecordHandlerV1Params

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

func NewAdminPutGameRecordHandlerV1ParamsWithTimeout added in v0.7.0

func NewAdminPutGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *AdminPutGameRecordHandlerV1Params

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

func (*AdminPutGameRecordHandlerV1Params) SetBody added in v0.7.0

SetBody adds the body to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) SetContext added in v0.7.0

SetContext adds the context to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) SetHTTPClient added in v0.7.0

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

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

func (*AdminPutGameRecordHandlerV1Params) SetKey added in v0.7.0

SetKey adds the key to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) SetNamespace added in v0.7.0

func (o *AdminPutGameRecordHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) SetTimeout added in v0.7.0

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

SetTimeout adds the timeout to the admin put game record handler v1 params

func (*AdminPutGameRecordHandlerV1Params) WithBody added in v0.7.0

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

func (*AdminPutGameRecordHandlerV1Params) WithContext added in v0.7.0

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

func (*AdminPutGameRecordHandlerV1Params) WithHTTPClient added in v0.7.0

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

func (*AdminPutGameRecordHandlerV1Params) WithKey added in v0.7.0

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

func (*AdminPutGameRecordHandlerV1Params) WithNamespace added in v0.7.0

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

func (*AdminPutGameRecordHandlerV1Params) WithTimeout added in v0.7.0

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

func (*AdminPutGameRecordHandlerV1Params) WriteToRequest added in v0.7.0

WriteToRequest writes these params to a swagger request

type AdminPutGameRecordHandlerV1Reader added in v0.7.0

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

AdminPutGameRecordHandlerV1Reader is a Reader for the AdminPutGameRecordHandlerV1 structure.

func (*AdminPutGameRecordHandlerV1Reader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type AdminPutGameRecordHandlerV1Unauthorized added in v0.7.0

type AdminPutGameRecordHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

AdminPutGameRecordHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminPutGameRecordHandlerV1Unauthorized added in v0.7.0

func NewAdminPutGameRecordHandlerV1Unauthorized() *AdminPutGameRecordHandlerV1Unauthorized

NewAdminPutGameRecordHandlerV1Unauthorized creates a AdminPutGameRecordHandlerV1Unauthorized with default headers values

func (*AdminPutGameRecordHandlerV1Unauthorized) Error added in v0.7.0

func (*AdminPutGameRecordHandlerV1Unauthorized) GetPayload added in v0.7.0

type Client

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

Client for admin game record API

func (*Client) AdminDeleteGameRecordHandlerV1 added in v0.7.0

AdminDeleteGameRecordHandlerV1 purges all records under the given key

Required permission: ADMIN:NAMESPACE:{namespace}:CLOUDSAVE:RECORD [DELETE]

Required scope: social

This endpoints delete game record in namespace-level

func (*Client) AdminDeleteGameRecordHandlerV1Short added in v0.8.0

func (a *Client) AdminDeleteGameRecordHandlerV1Short(params *AdminDeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGameRecordHandlerV1NoContent, error)

func (*Client) AdminGetGameRecordHandlerV1 added in v0.7.0

AdminGetGameRecordHandlerV1 retrieves a record value by its key

Required permission: ADMIN:NAMESPACE:{namespace}:CLOUDSAVE:RECORD [READ]

Required scope: social

Get a record by its key in namespace-level.

func (*Client) AdminGetGameRecordHandlerV1Short added in v0.8.0

func (a *Client) AdminGetGameRecordHandlerV1Short(params *AdminGetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGameRecordHandlerV1OK, error)

func (*Client) AdminPostGameRecordHandlerV1 added in v0.7.0

AdminPostGameRecordHandlerV1 saves namespace level record

Required permission: ADMIN:NAMESPACE:{namespace}:CLOUDSAVE:RECORD [WRITE]

Required scope: social

This endpoints is to create new game record in namespace-level.

func (*Client) AdminPostGameRecordHandlerV1Short added in v0.8.0

func (a *Client) AdminPostGameRecordHandlerV1Short(params *AdminPostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPostGameRecordHandlerV1Created, error)

func (*Client) AdminPutGameRecordHandlerV1 added in v0.7.0

AdminPutGameRecordHandlerV1 saves or replace game record

Required permission: ADMIN:NAMESPACE:{namespace}:CLOUDSAVE:RECORD [UPDATE]

Required scope: social

This endpoints is to replace game record data if exists or insert new data in namespace-level

func (*Client) AdminPutGameRecordHandlerV1Short added in v0.8.0

func (a *Client) AdminPutGameRecordHandlerV1Short(params *AdminPutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordHandlerV1OK, error)

func (*Client) ListGameRecordsHandlerV1

ListGameRecordsHandlerV1 retrieves list of records key by namespace

Required permission: ADMIN:NAMESPACE:{namespace}:CLOUDSAVE:RECORD [READ]

Required scope: social

Retrieve list of records key by namespace

func (*Client) ListGameRecordsHandlerV1Short added in v0.8.0

func (a *Client) ListGameRecordsHandlerV1Short(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminDeleteGameRecordHandlerV1(params *AdminDeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGameRecordHandlerV1NoContent, *AdminDeleteGameRecordHandlerV1Unauthorized, *AdminDeleteGameRecordHandlerV1InternalServerError, error)
	AdminDeleteGameRecordHandlerV1Short(params *AdminDeleteGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGameRecordHandlerV1NoContent, error)
	AdminGetGameRecordHandlerV1(params *AdminGetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGameRecordHandlerV1OK, *AdminGetGameRecordHandlerV1Unauthorized, *AdminGetGameRecordHandlerV1NotFound, *AdminGetGameRecordHandlerV1InternalServerError, error)
	AdminGetGameRecordHandlerV1Short(params *AdminGetGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGameRecordHandlerV1OK, error)
	AdminPostGameRecordHandlerV1(params *AdminPostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPostGameRecordHandlerV1Created, *AdminPostGameRecordHandlerV1Unauthorized, *AdminPostGameRecordHandlerV1InternalServerError, error)
	AdminPostGameRecordHandlerV1Short(params *AdminPostGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPostGameRecordHandlerV1Created, error)
	AdminPutGameRecordHandlerV1(params *AdminPutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordHandlerV1OK, *AdminPutGameRecordHandlerV1Unauthorized, *AdminPutGameRecordHandlerV1InternalServerError, error)
	AdminPutGameRecordHandlerV1Short(params *AdminPutGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPutGameRecordHandlerV1OK, error)
	ListGameRecordsHandlerV1(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, *ListGameRecordsHandlerV1Unauthorized, *ListGameRecordsHandlerV1InternalServerError, error)
	ListGameRecordsHandlerV1Short(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new admin game record API client.

type ListGameRecordsHandlerV1InternalServerError

type ListGameRecordsHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

ListGameRecordsHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewListGameRecordsHandlerV1InternalServerError

func NewListGameRecordsHandlerV1InternalServerError() *ListGameRecordsHandlerV1InternalServerError

NewListGameRecordsHandlerV1InternalServerError creates a ListGameRecordsHandlerV1InternalServerError with default headers values

func (*ListGameRecordsHandlerV1InternalServerError) Error

func (*ListGameRecordsHandlerV1InternalServerError) GetPayload

type ListGameRecordsHandlerV1OK

type ListGameRecordsHandlerV1OK struct {
	Payload *cloudsaveclientmodels.ModelsListGameRecordKeys
}

ListGameRecordsHandlerV1OK handles this case with default header values.

Retrieve list of records key by namespace

func NewListGameRecordsHandlerV1OK

func NewListGameRecordsHandlerV1OK() *ListGameRecordsHandlerV1OK

NewListGameRecordsHandlerV1OK creates a ListGameRecordsHandlerV1OK with default headers values

func (*ListGameRecordsHandlerV1OK) Error

func (*ListGameRecordsHandlerV1OK) GetPayload

type ListGameRecordsHandlerV1Params

type ListGameRecordsHandlerV1Params struct {

	/*Limit
	  limit

	*/
	Limit int64
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  offset

	*/
	Offset int64
	/*Query
	  key

	*/
	Query *string

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

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

func NewListGameRecordsHandlerV1Params

func NewListGameRecordsHandlerV1Params() *ListGameRecordsHandlerV1Params

NewListGameRecordsHandlerV1Params creates a new ListGameRecordsHandlerV1Params object with the default values initialized.

func NewListGameRecordsHandlerV1ParamsWithContext

func NewListGameRecordsHandlerV1ParamsWithContext(ctx context.Context) *ListGameRecordsHandlerV1Params

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

func NewListGameRecordsHandlerV1ParamsWithHTTPClient

func NewListGameRecordsHandlerV1ParamsWithHTTPClient(client *http.Client) *ListGameRecordsHandlerV1Params

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

func NewListGameRecordsHandlerV1ParamsWithTimeout

func NewListGameRecordsHandlerV1ParamsWithTimeout(timeout time.Duration) *ListGameRecordsHandlerV1Params

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

func (*ListGameRecordsHandlerV1Params) SetContext

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

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

func (*ListGameRecordsHandlerV1Params) SetHTTPClient

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

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

func (*ListGameRecordsHandlerV1Params) SetLimit

func (o *ListGameRecordsHandlerV1Params) SetLimit(limit int64)

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

func (*ListGameRecordsHandlerV1Params) SetNamespace

func (o *ListGameRecordsHandlerV1Params) SetNamespace(namespace string)

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

func (*ListGameRecordsHandlerV1Params) SetOffset

func (o *ListGameRecordsHandlerV1Params) SetOffset(offset int64)

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

func (*ListGameRecordsHandlerV1Params) SetQuery added in v0.10.0

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

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

func (*ListGameRecordsHandlerV1Params) SetTimeout

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

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

func (*ListGameRecordsHandlerV1Params) WithContext

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

func (*ListGameRecordsHandlerV1Params) WithHTTPClient

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

func (*ListGameRecordsHandlerV1Params) WithLimit

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

func (*ListGameRecordsHandlerV1Params) WithNamespace

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

func (*ListGameRecordsHandlerV1Params) WithOffset

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

func (*ListGameRecordsHandlerV1Params) WithQuery added in v0.10.0

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

func (*ListGameRecordsHandlerV1Params) WithTimeout

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

func (*ListGameRecordsHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGameRecordsHandlerV1Reader

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

ListGameRecordsHandlerV1Reader is a Reader for the ListGameRecordsHandlerV1 structure.

func (*ListGameRecordsHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListGameRecordsHandlerV1Unauthorized added in v0.7.0

type ListGameRecordsHandlerV1Unauthorized struct {
	Payload *cloudsaveclientmodels.ModelsResponseError
}

ListGameRecordsHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewListGameRecordsHandlerV1Unauthorized added in v0.7.0

func NewListGameRecordsHandlerV1Unauthorized() *ListGameRecordsHandlerV1Unauthorized

NewListGameRecordsHandlerV1Unauthorized creates a ListGameRecordsHandlerV1Unauthorized with default headers values

func (*ListGameRecordsHandlerV1Unauthorized) Error added in v0.7.0

func (*ListGameRecordsHandlerV1Unauthorized) GetPayload added in v0.7.0

Jump to

Keyboard shortcuts

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