admin_game_record

package
v0.0.0-...-129b202 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 12 Imported by: ? modules, 0 packages

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for admin game record API

func (*Client) DeleteAdminGameRecordHandlerV1

DeleteAdminGameRecordHandlerV1 purges all records under the given key

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

Required scope: social

This endpoints is to store arbitrary JSON data in namespace-level

func (*Client) GetGameRecordHandlerByKeyV1

GetGameRecordHandlerByKeyV1 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) 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) PostAdminGameRecordHandlerV1

PostAdminGameRecordHandlerV1 saves namespace level record

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

Required scope: social

This endpoints is to store arbitrary JSON data in namespace-level.

func (*Client) PutAdminGameRecordHandlerV1

PutAdminGameRecordHandlerV1 saves or replace game record

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

Required scope: social

This endpoints is to store arbitrary JSON data in namespace-level

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteAdminGameRecordHandlerV1Default

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

DeleteAdminGameRecordHandlerV1Default handles this case with default header values.

Record deleted

func NewDeleteAdminGameRecordHandlerV1Default

func NewDeleteAdminGameRecordHandlerV1Default(code int) *DeleteAdminGameRecordHandlerV1Default

NewDeleteAdminGameRecordHandlerV1Default creates a DeleteAdminGameRecordHandlerV1Default with default headers values

func (*DeleteAdminGameRecordHandlerV1Default) Code

Code gets the status code for the delete admin game record handler v1 default response

func (*DeleteAdminGameRecordHandlerV1Default) Error

type DeleteAdminGameRecordHandlerV1InternalServerError

type DeleteAdminGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ResponseError
}

DeleteAdminGameRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteAdminGameRecordHandlerV1InternalServerError

func NewDeleteAdminGameRecordHandlerV1InternalServerError() *DeleteAdminGameRecordHandlerV1InternalServerError

NewDeleteAdminGameRecordHandlerV1InternalServerError creates a DeleteAdminGameRecordHandlerV1InternalServerError with default headers values

func (*DeleteAdminGameRecordHandlerV1InternalServerError) Error

func (*DeleteAdminGameRecordHandlerV1InternalServerError) GetPayload

type DeleteAdminGameRecordHandlerV1NoContent

type DeleteAdminGameRecordHandlerV1NoContent struct {
}

DeleteAdminGameRecordHandlerV1NoContent handles this case with default header values.

Record deleted

func NewDeleteAdminGameRecordHandlerV1NoContent

func NewDeleteAdminGameRecordHandlerV1NoContent() *DeleteAdminGameRecordHandlerV1NoContent

NewDeleteAdminGameRecordHandlerV1NoContent creates a DeleteAdminGameRecordHandlerV1NoContent with default headers values

func (*DeleteAdminGameRecordHandlerV1NoContent) Error

type DeleteAdminGameRecordHandlerV1Params

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

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

func NewDeleteAdminGameRecordHandlerV1Params

func NewDeleteAdminGameRecordHandlerV1Params() *DeleteAdminGameRecordHandlerV1Params

NewDeleteAdminGameRecordHandlerV1Params creates a new DeleteAdminGameRecordHandlerV1Params object with the default values initialized.

func NewDeleteAdminGameRecordHandlerV1ParamsWithContext

func NewDeleteAdminGameRecordHandlerV1ParamsWithContext(ctx context.Context) *DeleteAdminGameRecordHandlerV1Params

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

func NewDeleteAdminGameRecordHandlerV1ParamsWithHTTPClient

func NewDeleteAdminGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *DeleteAdminGameRecordHandlerV1Params

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

func NewDeleteAdminGameRecordHandlerV1ParamsWithTimeout

func NewDeleteAdminGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *DeleteAdminGameRecordHandlerV1Params

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

func (*DeleteAdminGameRecordHandlerV1Params) SetContext

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

func (*DeleteAdminGameRecordHandlerV1Params) SetHTTPClient

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

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

func (*DeleteAdminGameRecordHandlerV1Params) SetKey

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

func (*DeleteAdminGameRecordHandlerV1Params) SetNamespace

func (o *DeleteAdminGameRecordHandlerV1Params) SetNamespace(namespace string)

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

func (*DeleteAdminGameRecordHandlerV1Params) SetTimeout

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

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

func (*DeleteAdminGameRecordHandlerV1Params) WithContext

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

func (*DeleteAdminGameRecordHandlerV1Params) WithHTTPClient

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

func (*DeleteAdminGameRecordHandlerV1Params) WithKey

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

func (*DeleteAdminGameRecordHandlerV1Params) WithNamespace

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

func (*DeleteAdminGameRecordHandlerV1Params) WithTimeout

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

func (*DeleteAdminGameRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAdminGameRecordHandlerV1Reader

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

DeleteAdminGameRecordHandlerV1Reader is a Reader for the DeleteAdminGameRecordHandlerV1 structure.

func (*DeleteAdminGameRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGameRecordHandlerByKeyV1Default

type GetGameRecordHandlerByKeyV1Default struct {
	Payload *cloudsaveclientmodels.ModelsGameRecord
	// contains filtered or unexported fields
}

GetGameRecordHandlerByKeyV1Default handles this case with default header values.

Record in namespace-level retrieved

func NewGetGameRecordHandlerByKeyV1Default

func NewGetGameRecordHandlerByKeyV1Default(code int) *GetGameRecordHandlerByKeyV1Default

NewGetGameRecordHandlerByKeyV1Default creates a GetGameRecordHandlerByKeyV1Default with default headers values

func (*GetGameRecordHandlerByKeyV1Default) Code

Code gets the status code for the get game record handler by key v1 default response

func (*GetGameRecordHandlerByKeyV1Default) Error

func (*GetGameRecordHandlerByKeyV1Default) GetPayload

type GetGameRecordHandlerByKeyV1InternalServerError

type GetGameRecordHandlerByKeyV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ResponseError
}

GetGameRecordHandlerByKeyV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetGameRecordHandlerByKeyV1InternalServerError

func NewGetGameRecordHandlerByKeyV1InternalServerError() *GetGameRecordHandlerByKeyV1InternalServerError

NewGetGameRecordHandlerByKeyV1InternalServerError creates a GetGameRecordHandlerByKeyV1InternalServerError with default headers values

func (*GetGameRecordHandlerByKeyV1InternalServerError) Error

func (*GetGameRecordHandlerByKeyV1InternalServerError) GetPayload

type GetGameRecordHandlerByKeyV1OK

type GetGameRecordHandlerByKeyV1OK struct {
	Payload *cloudsaveclientmodels.ModelsGameRecord
}

GetGameRecordHandlerByKeyV1OK handles this case with default header values.

Record in namespace-level retrieved

func NewGetGameRecordHandlerByKeyV1OK

func NewGetGameRecordHandlerByKeyV1OK() *GetGameRecordHandlerByKeyV1OK

NewGetGameRecordHandlerByKeyV1OK creates a GetGameRecordHandlerByKeyV1OK with default headers values

func (*GetGameRecordHandlerByKeyV1OK) Error

func (*GetGameRecordHandlerByKeyV1OK) GetPayload

type GetGameRecordHandlerByKeyV1Params

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

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

func NewGetGameRecordHandlerByKeyV1Params

func NewGetGameRecordHandlerByKeyV1Params() *GetGameRecordHandlerByKeyV1Params

NewGetGameRecordHandlerByKeyV1Params creates a new GetGameRecordHandlerByKeyV1Params object with the default values initialized.

func NewGetGameRecordHandlerByKeyV1ParamsWithContext

func NewGetGameRecordHandlerByKeyV1ParamsWithContext(ctx context.Context) *GetGameRecordHandlerByKeyV1Params

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

func NewGetGameRecordHandlerByKeyV1ParamsWithHTTPClient

func NewGetGameRecordHandlerByKeyV1ParamsWithHTTPClient(client *http.Client) *GetGameRecordHandlerByKeyV1Params

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

func NewGetGameRecordHandlerByKeyV1ParamsWithTimeout

func NewGetGameRecordHandlerByKeyV1ParamsWithTimeout(timeout time.Duration) *GetGameRecordHandlerByKeyV1Params

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

func (*GetGameRecordHandlerByKeyV1Params) SetContext

SetContext adds the context to the get game record handler by key v1 params

func (*GetGameRecordHandlerByKeyV1Params) SetHTTPClient

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

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

func (*GetGameRecordHandlerByKeyV1Params) SetKey

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

func (*GetGameRecordHandlerByKeyV1Params) SetNamespace

func (o *GetGameRecordHandlerByKeyV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get game record handler by key v1 params

func (*GetGameRecordHandlerByKeyV1Params) SetTimeout

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

SetTimeout adds the timeout to the get game record handler by key v1 params

func (*GetGameRecordHandlerByKeyV1Params) WithContext

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

func (*GetGameRecordHandlerByKeyV1Params) WithHTTPClient

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

func (*GetGameRecordHandlerByKeyV1Params) WithKey

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

func (*GetGameRecordHandlerByKeyV1Params) WithNamespace

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

func (*GetGameRecordHandlerByKeyV1Params) WithTimeout

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

func (*GetGameRecordHandlerByKeyV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGameRecordHandlerByKeyV1Reader

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

GetGameRecordHandlerByKeyV1Reader is a Reader for the GetGameRecordHandlerByKeyV1 structure.

func (*GetGameRecordHandlerByKeyV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListGameRecordsHandlerV1Default

type ListGameRecordsHandlerV1Default struct {
	Payload *cloudsaveclientmodels.ModelsListGameRecordKeys
	// contains filtered or unexported fields
}

ListGameRecordsHandlerV1Default handles this case with default header values.

Retrieve list of records key by namespace

func NewListGameRecordsHandlerV1Default

func NewListGameRecordsHandlerV1Default(code int) *ListGameRecordsHandlerV1Default

NewListGameRecordsHandlerV1Default creates a ListGameRecordsHandlerV1Default with default headers values

func (*ListGameRecordsHandlerV1Default) Code

Code gets the status code for the list game records handler v1 default response

func (*ListGameRecordsHandlerV1Default) Error

func (*ListGameRecordsHandlerV1Default) GetPayload

type ListGameRecordsHandlerV1InternalServerError

type ListGameRecordsHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ResponseError
}

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

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

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

PostAdminGameRecordHandlerV1Default handles this case with default header values.

Record in namespace-level saved

func NewPostAdminGameRecordHandlerV1Default

func NewPostAdminGameRecordHandlerV1Default(code int) *PostAdminGameRecordHandlerV1Default

NewPostAdminGameRecordHandlerV1Default creates a PostAdminGameRecordHandlerV1Default with default headers values

func (*PostAdminGameRecordHandlerV1Default) Code

Code gets the status code for the post admin game record handler v1 default response

func (*PostAdminGameRecordHandlerV1Default) Error

type PostAdminGameRecordHandlerV1InternalServerError

type PostAdminGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ResponseError
}

PostAdminGameRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewPostAdminGameRecordHandlerV1InternalServerError

func NewPostAdminGameRecordHandlerV1InternalServerError() *PostAdminGameRecordHandlerV1InternalServerError

NewPostAdminGameRecordHandlerV1InternalServerError creates a PostAdminGameRecordHandlerV1InternalServerError with default headers values

func (*PostAdminGameRecordHandlerV1InternalServerError) Error

func (*PostAdminGameRecordHandlerV1InternalServerError) GetPayload

type PostAdminGameRecordHandlerV1OK

type PostAdminGameRecordHandlerV1OK struct {
}

PostAdminGameRecordHandlerV1OK handles this case with default header values.

Record in namespace-level saved

func NewPostAdminGameRecordHandlerV1OK

func NewPostAdminGameRecordHandlerV1OK() *PostAdminGameRecordHandlerV1OK

NewPostAdminGameRecordHandlerV1OK creates a PostAdminGameRecordHandlerV1OK with default headers values

func (*PostAdminGameRecordHandlerV1OK) Error

type PostAdminGameRecordHandlerV1Params

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

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

func NewPostAdminGameRecordHandlerV1Params

func NewPostAdminGameRecordHandlerV1Params() *PostAdminGameRecordHandlerV1Params

NewPostAdminGameRecordHandlerV1Params creates a new PostAdminGameRecordHandlerV1Params object with the default values initialized.

func NewPostAdminGameRecordHandlerV1ParamsWithContext

func NewPostAdminGameRecordHandlerV1ParamsWithContext(ctx context.Context) *PostAdminGameRecordHandlerV1Params

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

func NewPostAdminGameRecordHandlerV1ParamsWithHTTPClient

func NewPostAdminGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PostAdminGameRecordHandlerV1Params

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

func NewPostAdminGameRecordHandlerV1ParamsWithTimeout

func NewPostAdminGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PostAdminGameRecordHandlerV1Params

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

func (*PostAdminGameRecordHandlerV1Params) SetBody

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

func (*PostAdminGameRecordHandlerV1Params) SetContext

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

func (*PostAdminGameRecordHandlerV1Params) SetHTTPClient

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

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

func (*PostAdminGameRecordHandlerV1Params) SetKey

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

func (*PostAdminGameRecordHandlerV1Params) SetNamespace

func (o *PostAdminGameRecordHandlerV1Params) SetNamespace(namespace string)

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

func (*PostAdminGameRecordHandlerV1Params) SetTimeout

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

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

func (*PostAdminGameRecordHandlerV1Params) WithBody

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

func (*PostAdminGameRecordHandlerV1Params) WithContext

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

func (*PostAdminGameRecordHandlerV1Params) WithHTTPClient

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

func (*PostAdminGameRecordHandlerV1Params) WithKey

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

func (*PostAdminGameRecordHandlerV1Params) WithNamespace

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

func (*PostAdminGameRecordHandlerV1Params) WithTimeout

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

func (*PostAdminGameRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAdminGameRecordHandlerV1Reader

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

PostAdminGameRecordHandlerV1Reader is a Reader for the PostAdminGameRecordHandlerV1 structure.

func (*PostAdminGameRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutAdminGameRecordHandlerV1Default

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

PutAdminGameRecordHandlerV1Default handles this case with default header values.

Record saved

func NewPutAdminGameRecordHandlerV1Default

func NewPutAdminGameRecordHandlerV1Default(code int) *PutAdminGameRecordHandlerV1Default

NewPutAdminGameRecordHandlerV1Default creates a PutAdminGameRecordHandlerV1Default with default headers values

func (*PutAdminGameRecordHandlerV1Default) Code

Code gets the status code for the put admin game record handler v1 default response

func (*PutAdminGameRecordHandlerV1Default) Error

type PutAdminGameRecordHandlerV1InternalServerError

type PutAdminGameRecordHandlerV1InternalServerError struct {
	Payload *cloudsaveclientmodels.ResponseError
}

PutAdminGameRecordHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewPutAdminGameRecordHandlerV1InternalServerError

func NewPutAdminGameRecordHandlerV1InternalServerError() *PutAdminGameRecordHandlerV1InternalServerError

NewPutAdminGameRecordHandlerV1InternalServerError creates a PutAdminGameRecordHandlerV1InternalServerError with default headers values

func (*PutAdminGameRecordHandlerV1InternalServerError) Error

func (*PutAdminGameRecordHandlerV1InternalServerError) GetPayload

type PutAdminGameRecordHandlerV1OK

type PutAdminGameRecordHandlerV1OK struct {
}

PutAdminGameRecordHandlerV1OK handles this case with default header values.

Record saved

func NewPutAdminGameRecordHandlerV1OK

func NewPutAdminGameRecordHandlerV1OK() *PutAdminGameRecordHandlerV1OK

NewPutAdminGameRecordHandlerV1OK creates a PutAdminGameRecordHandlerV1OK with default headers values

func (*PutAdminGameRecordHandlerV1OK) Error

type PutAdminGameRecordHandlerV1Params

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

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

func NewPutAdminGameRecordHandlerV1Params

func NewPutAdminGameRecordHandlerV1Params() *PutAdminGameRecordHandlerV1Params

NewPutAdminGameRecordHandlerV1Params creates a new PutAdminGameRecordHandlerV1Params object with the default values initialized.

func NewPutAdminGameRecordHandlerV1ParamsWithContext

func NewPutAdminGameRecordHandlerV1ParamsWithContext(ctx context.Context) *PutAdminGameRecordHandlerV1Params

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

func NewPutAdminGameRecordHandlerV1ParamsWithHTTPClient

func NewPutAdminGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PutAdminGameRecordHandlerV1Params

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

func NewPutAdminGameRecordHandlerV1ParamsWithTimeout

func NewPutAdminGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PutAdminGameRecordHandlerV1Params

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

func (*PutAdminGameRecordHandlerV1Params) SetBody

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

func (*PutAdminGameRecordHandlerV1Params) SetContext

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

func (*PutAdminGameRecordHandlerV1Params) SetHTTPClient

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

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

func (*PutAdminGameRecordHandlerV1Params) SetKey

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

func (*PutAdminGameRecordHandlerV1Params) SetNamespace

func (o *PutAdminGameRecordHandlerV1Params) SetNamespace(namespace string)

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

func (*PutAdminGameRecordHandlerV1Params) SetTimeout

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

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

func (*PutAdminGameRecordHandlerV1Params) WithBody

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

func (*PutAdminGameRecordHandlerV1Params) WithContext

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

func (*PutAdminGameRecordHandlerV1Params) WithHTTPClient

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

func (*PutAdminGameRecordHandlerV1Params) WithKey

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

func (*PutAdminGameRecordHandlerV1Params) WithNamespace

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

func (*PutAdminGameRecordHandlerV1Params) WithTimeout

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

func (*PutAdminGameRecordHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutAdminGameRecordHandlerV1Reader

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

PutAdminGameRecordHandlerV1Reader is a Reader for the PutAdminGameRecordHandlerV1 structure.

func (*PutAdminGameRecordHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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