Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteAdminGameRecordHandlerV1(params *DeleteAdminGameRecordHandlerV1Params, ...) (*DeleteAdminGameRecordHandlerV1NoContent, ...)
- func (a *Client) GetGameRecordHandlerByKeyV1(params *GetGameRecordHandlerByKeyV1Params, ...) (*GetGameRecordHandlerByKeyV1OK, ...)
- func (a *Client) ListGameRecordsHandlerV1(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, *ListGameRecordsHandlerV1InternalServerError, ...)
- func (a *Client) PostAdminGameRecordHandlerV1(params *PostAdminGameRecordHandlerV1Params, ...) (*PostAdminGameRecordHandlerV1OK, ...)
- func (a *Client) PutAdminGameRecordHandlerV1(params *PutAdminGameRecordHandlerV1Params, ...) (*PutAdminGameRecordHandlerV1OK, ...)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteAdminGameRecordHandlerV1Default
- type DeleteAdminGameRecordHandlerV1InternalServerError
- type DeleteAdminGameRecordHandlerV1NoContent
- type DeleteAdminGameRecordHandlerV1Params
- func NewDeleteAdminGameRecordHandlerV1Params() *DeleteAdminGameRecordHandlerV1Params
- func NewDeleteAdminGameRecordHandlerV1ParamsWithContext(ctx context.Context) *DeleteAdminGameRecordHandlerV1Params
- func NewDeleteAdminGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *DeleteAdminGameRecordHandlerV1Params
- func NewDeleteAdminGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *DeleteAdminGameRecordHandlerV1Params
- func (o *DeleteAdminGameRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *DeleteAdminGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *DeleteAdminGameRecordHandlerV1Params) SetKey(key string)
- func (o *DeleteAdminGameRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *DeleteAdminGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *DeleteAdminGameRecordHandlerV1Params) WithContext(ctx context.Context) *DeleteAdminGameRecordHandlerV1Params
- func (o *DeleteAdminGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *DeleteAdminGameRecordHandlerV1Params
- func (o *DeleteAdminGameRecordHandlerV1Params) WithKey(key string) *DeleteAdminGameRecordHandlerV1Params
- func (o *DeleteAdminGameRecordHandlerV1Params) WithNamespace(namespace string) *DeleteAdminGameRecordHandlerV1Params
- func (o *DeleteAdminGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *DeleteAdminGameRecordHandlerV1Params
- func (o *DeleteAdminGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAdminGameRecordHandlerV1Reader
- type GetGameRecordHandlerByKeyV1Default
- type GetGameRecordHandlerByKeyV1InternalServerError
- type GetGameRecordHandlerByKeyV1OK
- type GetGameRecordHandlerByKeyV1Params
- func NewGetGameRecordHandlerByKeyV1Params() *GetGameRecordHandlerByKeyV1Params
- func NewGetGameRecordHandlerByKeyV1ParamsWithContext(ctx context.Context) *GetGameRecordHandlerByKeyV1Params
- func NewGetGameRecordHandlerByKeyV1ParamsWithHTTPClient(client *http.Client) *GetGameRecordHandlerByKeyV1Params
- func NewGetGameRecordHandlerByKeyV1ParamsWithTimeout(timeout time.Duration) *GetGameRecordHandlerByKeyV1Params
- func (o *GetGameRecordHandlerByKeyV1Params) SetContext(ctx context.Context)
- func (o *GetGameRecordHandlerByKeyV1Params) SetHTTPClient(client *http.Client)
- func (o *GetGameRecordHandlerByKeyV1Params) SetKey(key string)
- func (o *GetGameRecordHandlerByKeyV1Params) SetNamespace(namespace string)
- func (o *GetGameRecordHandlerByKeyV1Params) SetTimeout(timeout time.Duration)
- func (o *GetGameRecordHandlerByKeyV1Params) WithContext(ctx context.Context) *GetGameRecordHandlerByKeyV1Params
- func (o *GetGameRecordHandlerByKeyV1Params) WithHTTPClient(client *http.Client) *GetGameRecordHandlerByKeyV1Params
- func (o *GetGameRecordHandlerByKeyV1Params) WithKey(key string) *GetGameRecordHandlerByKeyV1Params
- func (o *GetGameRecordHandlerByKeyV1Params) WithNamespace(namespace string) *GetGameRecordHandlerByKeyV1Params
- func (o *GetGameRecordHandlerByKeyV1Params) WithTimeout(timeout time.Duration) *GetGameRecordHandlerByKeyV1Params
- func (o *GetGameRecordHandlerByKeyV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGameRecordHandlerByKeyV1Reader
- type ListGameRecordsHandlerV1Default
- type ListGameRecordsHandlerV1InternalServerError
- type ListGameRecordsHandlerV1OK
- type ListGameRecordsHandlerV1Params
- func NewListGameRecordsHandlerV1Params() *ListGameRecordsHandlerV1Params
- func NewListGameRecordsHandlerV1ParamsWithContext(ctx context.Context) *ListGameRecordsHandlerV1Params
- func NewListGameRecordsHandlerV1ParamsWithHTTPClient(client *http.Client) *ListGameRecordsHandlerV1Params
- func NewListGameRecordsHandlerV1ParamsWithTimeout(timeout time.Duration) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) SetContext(ctx context.Context)
- func (o *ListGameRecordsHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *ListGameRecordsHandlerV1Params) SetLimit(limit int64)
- func (o *ListGameRecordsHandlerV1Params) SetNamespace(namespace string)
- func (o *ListGameRecordsHandlerV1Params) SetOffset(offset int64)
- func (o *ListGameRecordsHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *ListGameRecordsHandlerV1Params) WithContext(ctx context.Context) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WithHTTPClient(client *http.Client) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WithLimit(limit int64) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WithNamespace(namespace string) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WithOffset(offset int64) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WithTimeout(timeout time.Duration) *ListGameRecordsHandlerV1Params
- func (o *ListGameRecordsHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGameRecordsHandlerV1Reader
- type PostAdminGameRecordHandlerV1Default
- type PostAdminGameRecordHandlerV1InternalServerError
- type PostAdminGameRecordHandlerV1OK
- type PostAdminGameRecordHandlerV1Params
- func NewPostAdminGameRecordHandlerV1Params() *PostAdminGameRecordHandlerV1Params
- func NewPostAdminGameRecordHandlerV1ParamsWithContext(ctx context.Context) *PostAdminGameRecordHandlerV1Params
- func NewPostAdminGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PostAdminGameRecordHandlerV1Params
- func NewPostAdminGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PostAdminGameRecordHandlerV1Params
- func (o *PostAdminGameRecordHandlerV1Params) SetBody(body cloudsaveclientmodels.ModelsGameRecordRequest)
- func (o *PostAdminGameRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PostAdminGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PostAdminGameRecordHandlerV1Params) SetKey(key string)
- func (o *PostAdminGameRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *PostAdminGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PostAdminGameRecordHandlerV1Params) WithBody(body cloudsaveclientmodels.ModelsGameRecordRequest) *PostAdminGameRecordHandlerV1Params
- func (o *PostAdminGameRecordHandlerV1Params) WithContext(ctx context.Context) *PostAdminGameRecordHandlerV1Params
- func (o *PostAdminGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PostAdminGameRecordHandlerV1Params
- func (o *PostAdminGameRecordHandlerV1Params) WithKey(key string) *PostAdminGameRecordHandlerV1Params
- func (o *PostAdminGameRecordHandlerV1Params) WithNamespace(namespace string) *PostAdminGameRecordHandlerV1Params
- func (o *PostAdminGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PostAdminGameRecordHandlerV1Params
- func (o *PostAdminGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAdminGameRecordHandlerV1Reader
- type PutAdminGameRecordHandlerV1Default
- type PutAdminGameRecordHandlerV1InternalServerError
- type PutAdminGameRecordHandlerV1OK
- type PutAdminGameRecordHandlerV1Params
- func NewPutAdminGameRecordHandlerV1Params() *PutAdminGameRecordHandlerV1Params
- func NewPutAdminGameRecordHandlerV1ParamsWithContext(ctx context.Context) *PutAdminGameRecordHandlerV1Params
- func NewPutAdminGameRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PutAdminGameRecordHandlerV1Params
- func NewPutAdminGameRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PutAdminGameRecordHandlerV1Params
- func (o *PutAdminGameRecordHandlerV1Params) SetBody(body cloudsaveclientmodels.ModelsGameRecordRequest)
- func (o *PutAdminGameRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PutAdminGameRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PutAdminGameRecordHandlerV1Params) SetKey(key string)
- func (o *PutAdminGameRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *PutAdminGameRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PutAdminGameRecordHandlerV1Params) WithBody(body cloudsaveclientmodels.ModelsGameRecordRequest) *PutAdminGameRecordHandlerV1Params
- func (o *PutAdminGameRecordHandlerV1Params) WithContext(ctx context.Context) *PutAdminGameRecordHandlerV1Params
- func (o *PutAdminGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PutAdminGameRecordHandlerV1Params
- func (o *PutAdminGameRecordHandlerV1Params) WithKey(key string) *PutAdminGameRecordHandlerV1Params
- func (o *PutAdminGameRecordHandlerV1Params) WithNamespace(namespace string) *PutAdminGameRecordHandlerV1Params
- func (o *PutAdminGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PutAdminGameRecordHandlerV1Params
- func (o *PutAdminGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAdminGameRecordHandlerV1Reader
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 ¶
func (a *Client) DeleteAdminGameRecordHandlerV1(params *DeleteAdminGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteAdminGameRecordHandlerV1NoContent, *DeleteAdminGameRecordHandlerV1InternalServerError, error)
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 ¶
func (a *Client) GetGameRecordHandlerByKeyV1(params *GetGameRecordHandlerByKeyV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordHandlerByKeyV1OK, *GetGameRecordHandlerByKeyV1InternalServerError, error)
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 ¶
func (a *Client) ListGameRecordsHandlerV1(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, *ListGameRecordsHandlerV1InternalServerError, error)
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 ¶
func (a *Client) PostAdminGameRecordHandlerV1(params *PostAdminGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostAdminGameRecordHandlerV1OK, *PostAdminGameRecordHandlerV1InternalServerError, error)
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 ¶
func (a *Client) PutAdminGameRecordHandlerV1(params *PutAdminGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutAdminGameRecordHandlerV1OK, *PutAdminGameRecordHandlerV1InternalServerError, error)
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 ClientService ¶
type ClientService interface { DeleteAdminGameRecordHandlerV1(params *DeleteAdminGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteAdminGameRecordHandlerV1NoContent, *DeleteAdminGameRecordHandlerV1InternalServerError, error) GetGameRecordHandlerByKeyV1(params *GetGameRecordHandlerByKeyV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetGameRecordHandlerByKeyV1OK, *GetGameRecordHandlerByKeyV1InternalServerError, error) ListGameRecordsHandlerV1(params *ListGameRecordsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*ListGameRecordsHandlerV1OK, *ListGameRecordsHandlerV1InternalServerError, error) PostAdminGameRecordHandlerV1(params *PostAdminGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostAdminGameRecordHandlerV1OK, *PostAdminGameRecordHandlerV1InternalServerError, error) PutAdminGameRecordHandlerV1(params *PutAdminGameRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutAdminGameRecordHandlerV1OK, *PutAdminGameRecordHandlerV1InternalServerError, 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 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 ¶
func (o *DeleteAdminGameRecordHandlerV1Default) Code() int
Code gets the status code for the delete admin game record handler v1 default response
func (*DeleteAdminGameRecordHandlerV1Default) Error ¶
func (o *DeleteAdminGameRecordHandlerV1Default) Error() string
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 (o *DeleteAdminGameRecordHandlerV1InternalServerError) Error() string
func (*DeleteAdminGameRecordHandlerV1InternalServerError) GetPayload ¶
func (o *DeleteAdminGameRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ResponseError
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 ¶
func (o *DeleteAdminGameRecordHandlerV1NoContent) Error() string
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 ¶
func (o *DeleteAdminGameRecordHandlerV1Params) SetContext(ctx context.Context)
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 ¶
func (o *DeleteAdminGameRecordHandlerV1Params) SetKey(key string)
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 ¶
func (o *DeleteAdminGameRecordHandlerV1Params) WithContext(ctx context.Context) *DeleteAdminGameRecordHandlerV1Params
WithContext adds the context to the delete admin game record handler v1 params
func (*DeleteAdminGameRecordHandlerV1Params) WithHTTPClient ¶
func (o *DeleteAdminGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *DeleteAdminGameRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the delete admin game record handler v1 params
func (*DeleteAdminGameRecordHandlerV1Params) WithKey ¶
func (o *DeleteAdminGameRecordHandlerV1Params) WithKey(key string) *DeleteAdminGameRecordHandlerV1Params
WithKey adds the key to the delete admin game record handler v1 params
func (*DeleteAdminGameRecordHandlerV1Params) WithNamespace ¶
func (o *DeleteAdminGameRecordHandlerV1Params) WithNamespace(namespace string) *DeleteAdminGameRecordHandlerV1Params
WithNamespace adds the namespace to the delete admin game record handler v1 params
func (*DeleteAdminGameRecordHandlerV1Params) WithTimeout ¶
func (o *DeleteAdminGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *DeleteAdminGameRecordHandlerV1Params
WithTimeout adds the timeout to the delete admin game record handler v1 params
func (*DeleteAdminGameRecordHandlerV1Params) WriteToRequest ¶
func (o *DeleteAdminGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetGameRecordHandlerByKeyV1Default) Code() int
Code gets the status code for the get game record handler by key v1 default response
func (*GetGameRecordHandlerByKeyV1Default) Error ¶
func (o *GetGameRecordHandlerByKeyV1Default) Error() string
func (*GetGameRecordHandlerByKeyV1Default) GetPayload ¶
func (o *GetGameRecordHandlerByKeyV1Default) GetPayload() *cloudsaveclientmodels.ModelsGameRecord
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 (o *GetGameRecordHandlerByKeyV1InternalServerError) Error() string
func (*GetGameRecordHandlerByKeyV1InternalServerError) GetPayload ¶
func (o *GetGameRecordHandlerByKeyV1InternalServerError) GetPayload() *cloudsaveclientmodels.ResponseError
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 (o *GetGameRecordHandlerByKeyV1OK) Error() string
func (*GetGameRecordHandlerByKeyV1OK) GetPayload ¶
func (o *GetGameRecordHandlerByKeyV1OK) GetPayload() *cloudsaveclientmodels.ModelsGameRecord
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 ¶
func (o *GetGameRecordHandlerByKeyV1Params) SetContext(ctx context.Context)
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 ¶
func (o *GetGameRecordHandlerByKeyV1Params) SetKey(key string)
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 ¶
func (o *GetGameRecordHandlerByKeyV1Params) WithContext(ctx context.Context) *GetGameRecordHandlerByKeyV1Params
WithContext adds the context to the get game record handler by key v1 params
func (*GetGameRecordHandlerByKeyV1Params) WithHTTPClient ¶
func (o *GetGameRecordHandlerByKeyV1Params) WithHTTPClient(client *http.Client) *GetGameRecordHandlerByKeyV1Params
WithHTTPClient adds the HTTPClient to the get game record handler by key v1 params
func (*GetGameRecordHandlerByKeyV1Params) WithKey ¶
func (o *GetGameRecordHandlerByKeyV1Params) WithKey(key string) *GetGameRecordHandlerByKeyV1Params
WithKey adds the key to the get game record handler by key v1 params
func (*GetGameRecordHandlerByKeyV1Params) WithNamespace ¶
func (o *GetGameRecordHandlerByKeyV1Params) WithNamespace(namespace string) *GetGameRecordHandlerByKeyV1Params
WithNamespace adds the namespace to the get game record handler by key v1 params
func (*GetGameRecordHandlerByKeyV1Params) WithTimeout ¶
func (o *GetGameRecordHandlerByKeyV1Params) WithTimeout(timeout time.Duration) *GetGameRecordHandlerByKeyV1Params
WithTimeout adds the timeout to the get game record handler by key v1 params
func (*GetGameRecordHandlerByKeyV1Params) WriteToRequest ¶
func (o *GetGameRecordHandlerByKeyV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListGameRecordsHandlerV1Default) Code() int
Code gets the status code for the list game records handler v1 default response
func (*ListGameRecordsHandlerV1Default) Error ¶
func (o *ListGameRecordsHandlerV1Default) Error() string
func (*ListGameRecordsHandlerV1Default) GetPayload ¶
func (o *ListGameRecordsHandlerV1Default) GetPayload() *cloudsaveclientmodels.ModelsListGameRecordKeys
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 (o *ListGameRecordsHandlerV1InternalServerError) Error() string
func (*ListGameRecordsHandlerV1InternalServerError) GetPayload ¶
func (o *ListGameRecordsHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ResponseError
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 (o *ListGameRecordsHandlerV1OK) Error() string
func (*ListGameRecordsHandlerV1OK) GetPayload ¶
func (o *ListGameRecordsHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsListGameRecordKeys
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 ¶
func (o *ListGameRecordsHandlerV1Params) WithContext(ctx context.Context) *ListGameRecordsHandlerV1Params
WithContext adds the context to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithHTTPClient ¶
func (o *ListGameRecordsHandlerV1Params) WithHTTPClient(client *http.Client) *ListGameRecordsHandlerV1Params
WithHTTPClient adds the HTTPClient to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithLimit ¶
func (o *ListGameRecordsHandlerV1Params) WithLimit(limit int64) *ListGameRecordsHandlerV1Params
WithLimit adds the limit to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithNamespace ¶
func (o *ListGameRecordsHandlerV1Params) WithNamespace(namespace string) *ListGameRecordsHandlerV1Params
WithNamespace adds the namespace to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithOffset ¶
func (o *ListGameRecordsHandlerV1Params) WithOffset(offset int64) *ListGameRecordsHandlerV1Params
WithOffset adds the offset to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WithTimeout ¶
func (o *ListGameRecordsHandlerV1Params) WithTimeout(timeout time.Duration) *ListGameRecordsHandlerV1Params
WithTimeout adds the timeout to the list game records handler v1 params
func (*ListGameRecordsHandlerV1Params) WriteToRequest ¶
func (o *ListGameRecordsHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PostAdminGameRecordHandlerV1Default) Code() int
Code gets the status code for the post admin game record handler v1 default response
func (*PostAdminGameRecordHandlerV1Default) Error ¶
func (o *PostAdminGameRecordHandlerV1Default) Error() string
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 (o *PostAdminGameRecordHandlerV1InternalServerError) Error() string
func (*PostAdminGameRecordHandlerV1InternalServerError) GetPayload ¶
func (o *PostAdminGameRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ResponseError
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 ¶
func (o *PostAdminGameRecordHandlerV1OK) Error() string
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 ¶
func (o *PostAdminGameRecordHandlerV1Params) SetBody(body cloudsaveclientmodels.ModelsGameRecordRequest)
SetBody adds the body to the post admin game record handler v1 params
func (*PostAdminGameRecordHandlerV1Params) SetContext ¶
func (o *PostAdminGameRecordHandlerV1Params) SetContext(ctx context.Context)
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 ¶
func (o *PostAdminGameRecordHandlerV1Params) SetKey(key string)
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 ¶
func (o *PostAdminGameRecordHandlerV1Params) WithBody(body cloudsaveclientmodels.ModelsGameRecordRequest) *PostAdminGameRecordHandlerV1Params
WithBody adds the body to the post admin game record handler v1 params
func (*PostAdminGameRecordHandlerV1Params) WithContext ¶
func (o *PostAdminGameRecordHandlerV1Params) WithContext(ctx context.Context) *PostAdminGameRecordHandlerV1Params
WithContext adds the context to the post admin game record handler v1 params
func (*PostAdminGameRecordHandlerV1Params) WithHTTPClient ¶
func (o *PostAdminGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PostAdminGameRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the post admin game record handler v1 params
func (*PostAdminGameRecordHandlerV1Params) WithKey ¶
func (o *PostAdminGameRecordHandlerV1Params) WithKey(key string) *PostAdminGameRecordHandlerV1Params
WithKey adds the key to the post admin game record handler v1 params
func (*PostAdminGameRecordHandlerV1Params) WithNamespace ¶
func (o *PostAdminGameRecordHandlerV1Params) WithNamespace(namespace string) *PostAdminGameRecordHandlerV1Params
WithNamespace adds the namespace to the post admin game record handler v1 params
func (*PostAdminGameRecordHandlerV1Params) WithTimeout ¶
func (o *PostAdminGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PostAdminGameRecordHandlerV1Params
WithTimeout adds the timeout to the post admin game record handler v1 params
func (*PostAdminGameRecordHandlerV1Params) WriteToRequest ¶
func (o *PostAdminGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PutAdminGameRecordHandlerV1Default) Code() int
Code gets the status code for the put admin game record handler v1 default response
func (*PutAdminGameRecordHandlerV1Default) Error ¶
func (o *PutAdminGameRecordHandlerV1Default) Error() string
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 (o *PutAdminGameRecordHandlerV1InternalServerError) Error() string
func (*PutAdminGameRecordHandlerV1InternalServerError) GetPayload ¶
func (o *PutAdminGameRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ResponseError
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 ¶
func (o *PutAdminGameRecordHandlerV1OK) Error() string
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 ¶
func (o *PutAdminGameRecordHandlerV1Params) SetBody(body cloudsaveclientmodels.ModelsGameRecordRequest)
SetBody adds the body to the put admin game record handler v1 params
func (*PutAdminGameRecordHandlerV1Params) SetContext ¶
func (o *PutAdminGameRecordHandlerV1Params) SetContext(ctx context.Context)
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 ¶
func (o *PutAdminGameRecordHandlerV1Params) SetKey(key string)
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 ¶
func (o *PutAdminGameRecordHandlerV1Params) WithBody(body cloudsaveclientmodels.ModelsGameRecordRequest) *PutAdminGameRecordHandlerV1Params
WithBody adds the body to the put admin game record handler v1 params
func (*PutAdminGameRecordHandlerV1Params) WithContext ¶
func (o *PutAdminGameRecordHandlerV1Params) WithContext(ctx context.Context) *PutAdminGameRecordHandlerV1Params
WithContext adds the context to the put admin game record handler v1 params
func (*PutAdminGameRecordHandlerV1Params) WithHTTPClient ¶
func (o *PutAdminGameRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PutAdminGameRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the put admin game record handler v1 params
func (*PutAdminGameRecordHandlerV1Params) WithKey ¶
func (o *PutAdminGameRecordHandlerV1Params) WithKey(key string) *PutAdminGameRecordHandlerV1Params
WithKey adds the key to the put admin game record handler v1 params
func (*PutAdminGameRecordHandlerV1Params) WithNamespace ¶
func (o *PutAdminGameRecordHandlerV1Params) WithNamespace(namespace string) *PutAdminGameRecordHandlerV1Params
WithNamespace adds the namespace to the put admin game record handler v1 params
func (*PutAdminGameRecordHandlerV1Params) WithTimeout ¶
func (o *PutAdminGameRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PutAdminGameRecordHandlerV1Params
WithTimeout adds the timeout to the put admin game record handler v1 params
func (*PutAdminGameRecordHandlerV1Params) WriteToRequest ¶
func (o *PutAdminGameRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- admin_game_record_client.go
- delete_admin_game_record_handler_v1_parameters.go
- delete_admin_game_record_handler_v1_responses.go
- get_game_record_handler_by_key_v1_parameters.go
- get_game_record_handler_by_key_v1_responses.go
- list_game_records_handler_v1_parameters.go
- list_game_records_handler_v1_responses.go
- post_admin_game_record_handler_v1_parameters.go
- post_admin_game_record_handler_v1_responses.go
- put_admin_game_record_handler_v1_parameters.go
- put_admin_game_record_handler_v1_responses.go