Documentation ¶
Index ¶
- type Client
- func (a *Client) DeletePlayerRecordHandlerV1(params *DeletePlayerRecordHandlerV1Params, ...) (*DeletePlayerRecordHandlerV1NoContent, ...)
- func (a *Client) GetPlayerPublicRecordHandlerV1(params *GetPlayerPublicRecordHandlerV1Params, ...) (*GetPlayerPublicRecordHandlerV1OK, ...)
- func (a *Client) GetPlayerRecordHandlerV1(params *GetPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerRecordHandlerV1OK, *GetPlayerRecordHandlerV1InternalServerError, ...)
- func (a *Client) PostPlayerPublicRecordHandlerV1(params *PostPlayerPublicRecordHandlerV1Params, ...) (*PostPlayerPublicRecordHandlerV1OK, ...)
- func (a *Client) PostPlayerRecordHandlerV1(params *PostPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerRecordHandlerV1OK, *PostPlayerRecordHandlerV1InternalServerError, ...)
- func (a *Client) PutPlayerPublicRecordHandlerV1(params *PutPlayerPublicRecordHandlerV1Params, ...) (*PutPlayerPublicRecordHandlerV1OK, ...)
- func (a *Client) PutPlayerRecordHandlerV1(params *PutPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordHandlerV1OK, *PutPlayerRecordHandlerV1InternalServerError, ...)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeletePlayerRecordHandlerV1Default
- type DeletePlayerRecordHandlerV1InternalServerError
- type DeletePlayerRecordHandlerV1NoContent
- type DeletePlayerRecordHandlerV1Params
- func NewDeletePlayerRecordHandlerV1Params() *DeletePlayerRecordHandlerV1Params
- func NewDeletePlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *DeletePlayerRecordHandlerV1Params
- func NewDeletePlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *DeletePlayerRecordHandlerV1Params
- func NewDeletePlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *DeletePlayerRecordHandlerV1Params
- func (o *DeletePlayerRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *DeletePlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *DeletePlayerRecordHandlerV1Params) SetKey(key string)
- func (o *DeletePlayerRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *DeletePlayerRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *DeletePlayerRecordHandlerV1Params) SetUserID(userID string)
- func (o *DeletePlayerRecordHandlerV1Params) WithContext(ctx context.Context) *DeletePlayerRecordHandlerV1Params
- func (o *DeletePlayerRecordHandlerV1Params) WithHTTPClient(client *http.Client) *DeletePlayerRecordHandlerV1Params
- func (o *DeletePlayerRecordHandlerV1Params) WithKey(key string) *DeletePlayerRecordHandlerV1Params
- func (o *DeletePlayerRecordHandlerV1Params) WithNamespace(namespace string) *DeletePlayerRecordHandlerV1Params
- func (o *DeletePlayerRecordHandlerV1Params) WithTimeout(timeout time.Duration) *DeletePlayerRecordHandlerV1Params
- func (o *DeletePlayerRecordHandlerV1Params) WithUserID(userID string) *DeletePlayerRecordHandlerV1Params
- func (o *DeletePlayerRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePlayerRecordHandlerV1Reader
- type GetPlayerPublicRecordHandlerV1Default
- type GetPlayerPublicRecordHandlerV1InternalServerError
- type GetPlayerPublicRecordHandlerV1OK
- type GetPlayerPublicRecordHandlerV1Params
- func NewGetPlayerPublicRecordHandlerV1Params() *GetPlayerPublicRecordHandlerV1Params
- func NewGetPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *GetPlayerPublicRecordHandlerV1Params
- func NewGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *GetPlayerPublicRecordHandlerV1Params
- func NewGetPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *GetPlayerPublicRecordHandlerV1Params
- func (o *GetPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *GetPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *GetPlayerPublicRecordHandlerV1Params) SetKey(key string)
- func (o *GetPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *GetPlayerPublicRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *GetPlayerPublicRecordHandlerV1Params) SetUserID(userID string)
- func (o *GetPlayerPublicRecordHandlerV1Params) WithContext(ctx context.Context) *GetPlayerPublicRecordHandlerV1Params
- func (o *GetPlayerPublicRecordHandlerV1Params) WithHTTPClient(client *http.Client) *GetPlayerPublicRecordHandlerV1Params
- func (o *GetPlayerPublicRecordHandlerV1Params) WithKey(key string) *GetPlayerPublicRecordHandlerV1Params
- func (o *GetPlayerPublicRecordHandlerV1Params) WithNamespace(namespace string) *GetPlayerPublicRecordHandlerV1Params
- func (o *GetPlayerPublicRecordHandlerV1Params) WithTimeout(timeout time.Duration) *GetPlayerPublicRecordHandlerV1Params
- func (o *GetPlayerPublicRecordHandlerV1Params) WithUserID(userID string) *GetPlayerPublicRecordHandlerV1Params
- func (o *GetPlayerPublicRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlayerPublicRecordHandlerV1Reader
- type GetPlayerRecordHandlerV1Default
- type GetPlayerRecordHandlerV1InternalServerError
- type GetPlayerRecordHandlerV1OK
- type GetPlayerRecordHandlerV1Params
- func NewGetPlayerRecordHandlerV1Params() *GetPlayerRecordHandlerV1Params
- func NewGetPlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *GetPlayerRecordHandlerV1Params
- func NewGetPlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *GetPlayerRecordHandlerV1Params
- func NewGetPlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *GetPlayerRecordHandlerV1Params
- func (o *GetPlayerRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *GetPlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *GetPlayerRecordHandlerV1Params) SetKey(key string)
- func (o *GetPlayerRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *GetPlayerRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *GetPlayerRecordHandlerV1Params) SetUserID(userID string)
- func (o *GetPlayerRecordHandlerV1Params) WithContext(ctx context.Context) *GetPlayerRecordHandlerV1Params
- func (o *GetPlayerRecordHandlerV1Params) WithHTTPClient(client *http.Client) *GetPlayerRecordHandlerV1Params
- func (o *GetPlayerRecordHandlerV1Params) WithKey(key string) *GetPlayerRecordHandlerV1Params
- func (o *GetPlayerRecordHandlerV1Params) WithNamespace(namespace string) *GetPlayerRecordHandlerV1Params
- func (o *GetPlayerRecordHandlerV1Params) WithTimeout(timeout time.Duration) *GetPlayerRecordHandlerV1Params
- func (o *GetPlayerRecordHandlerV1Params) WithUserID(userID string) *GetPlayerRecordHandlerV1Params
- func (o *GetPlayerRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlayerRecordHandlerV1Reader
- type PostPlayerPublicRecordHandlerV1Default
- type PostPlayerPublicRecordHandlerV1InternalServerError
- type PostPlayerPublicRecordHandlerV1OK
- type PostPlayerPublicRecordHandlerV1Params
- func NewPostPlayerPublicRecordHandlerV1Params() *PostPlayerPublicRecordHandlerV1Params
- func NewPostPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *PostPlayerPublicRecordHandlerV1Params
- func NewPostPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PostPlayerPublicRecordHandlerV1Params
- func NewPostPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PostPlayerPublicRecordHandlerV1Params
- func (o *PostPlayerPublicRecordHandlerV1Params) SetBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest)
- func (o *PostPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PostPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PostPlayerPublicRecordHandlerV1Params) SetKey(key string)
- func (o *PostPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *PostPlayerPublicRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PostPlayerPublicRecordHandlerV1Params) SetUserID(userID string)
- func (o *PostPlayerPublicRecordHandlerV1Params) WithBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest) *PostPlayerPublicRecordHandlerV1Params
- func (o *PostPlayerPublicRecordHandlerV1Params) WithContext(ctx context.Context) *PostPlayerPublicRecordHandlerV1Params
- func (o *PostPlayerPublicRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PostPlayerPublicRecordHandlerV1Params
- func (o *PostPlayerPublicRecordHandlerV1Params) WithKey(key string) *PostPlayerPublicRecordHandlerV1Params
- func (o *PostPlayerPublicRecordHandlerV1Params) WithNamespace(namespace string) *PostPlayerPublicRecordHandlerV1Params
- func (o *PostPlayerPublicRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PostPlayerPublicRecordHandlerV1Params
- func (o *PostPlayerPublicRecordHandlerV1Params) WithUserID(userID string) *PostPlayerPublicRecordHandlerV1Params
- func (o *PostPlayerPublicRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPlayerPublicRecordHandlerV1Reader
- type PostPlayerRecordHandlerV1Default
- type PostPlayerRecordHandlerV1InternalServerError
- type PostPlayerRecordHandlerV1OK
- type PostPlayerRecordHandlerV1Params
- func NewPostPlayerRecordHandlerV1Params() *PostPlayerRecordHandlerV1Params
- func NewPostPlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *PostPlayerRecordHandlerV1Params
- func NewPostPlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PostPlayerRecordHandlerV1Params
- func NewPostPlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PostPlayerRecordHandlerV1Params
- func (o *PostPlayerRecordHandlerV1Params) SetBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest)
- func (o *PostPlayerRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PostPlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PostPlayerRecordHandlerV1Params) SetKey(key string)
- func (o *PostPlayerRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *PostPlayerRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PostPlayerRecordHandlerV1Params) SetUserID(userID string)
- func (o *PostPlayerRecordHandlerV1Params) WithBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest) *PostPlayerRecordHandlerV1Params
- func (o *PostPlayerRecordHandlerV1Params) WithContext(ctx context.Context) *PostPlayerRecordHandlerV1Params
- func (o *PostPlayerRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PostPlayerRecordHandlerV1Params
- func (o *PostPlayerRecordHandlerV1Params) WithKey(key string) *PostPlayerRecordHandlerV1Params
- func (o *PostPlayerRecordHandlerV1Params) WithNamespace(namespace string) *PostPlayerRecordHandlerV1Params
- func (o *PostPlayerRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PostPlayerRecordHandlerV1Params
- func (o *PostPlayerRecordHandlerV1Params) WithUserID(userID string) *PostPlayerRecordHandlerV1Params
- func (o *PostPlayerRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPlayerRecordHandlerV1Reader
- type PutPlayerPublicRecordHandlerV1Default
- type PutPlayerPublicRecordHandlerV1InternalServerError
- type PutPlayerPublicRecordHandlerV1OK
- type PutPlayerPublicRecordHandlerV1Params
- func NewPutPlayerPublicRecordHandlerV1Params() *PutPlayerPublicRecordHandlerV1Params
- func NewPutPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *PutPlayerPublicRecordHandlerV1Params
- func NewPutPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PutPlayerPublicRecordHandlerV1Params
- func NewPutPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PutPlayerPublicRecordHandlerV1Params
- func (o *PutPlayerPublicRecordHandlerV1Params) SetBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest)
- func (o *PutPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PutPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PutPlayerPublicRecordHandlerV1Params) SetKey(key string)
- func (o *PutPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *PutPlayerPublicRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PutPlayerPublicRecordHandlerV1Params) SetUserID(userID string)
- func (o *PutPlayerPublicRecordHandlerV1Params) WithBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest) *PutPlayerPublicRecordHandlerV1Params
- func (o *PutPlayerPublicRecordHandlerV1Params) WithContext(ctx context.Context) *PutPlayerPublicRecordHandlerV1Params
- func (o *PutPlayerPublicRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PutPlayerPublicRecordHandlerV1Params
- func (o *PutPlayerPublicRecordHandlerV1Params) WithKey(key string) *PutPlayerPublicRecordHandlerV1Params
- func (o *PutPlayerPublicRecordHandlerV1Params) WithNamespace(namespace string) *PutPlayerPublicRecordHandlerV1Params
- func (o *PutPlayerPublicRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PutPlayerPublicRecordHandlerV1Params
- func (o *PutPlayerPublicRecordHandlerV1Params) WithUserID(userID string) *PutPlayerPublicRecordHandlerV1Params
- func (o *PutPlayerPublicRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutPlayerPublicRecordHandlerV1Reader
- type PutPlayerRecordHandlerV1Default
- type PutPlayerRecordHandlerV1InternalServerError
- type PutPlayerRecordHandlerV1OK
- type PutPlayerRecordHandlerV1Params
- func NewPutPlayerRecordHandlerV1Params() *PutPlayerRecordHandlerV1Params
- func NewPutPlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *PutPlayerRecordHandlerV1Params
- func NewPutPlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PutPlayerRecordHandlerV1Params
- func NewPutPlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PutPlayerRecordHandlerV1Params
- func (o *PutPlayerRecordHandlerV1Params) SetBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest)
- func (o *PutPlayerRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PutPlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PutPlayerRecordHandlerV1Params) SetKey(key string)
- func (o *PutPlayerRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *PutPlayerRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PutPlayerRecordHandlerV1Params) SetUserID(userID string)
- func (o *PutPlayerRecordHandlerV1Params) WithBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest) *PutPlayerRecordHandlerV1Params
- func (o *PutPlayerRecordHandlerV1Params) WithContext(ctx context.Context) *PutPlayerRecordHandlerV1Params
- func (o *PutPlayerRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PutPlayerRecordHandlerV1Params
- func (o *PutPlayerRecordHandlerV1Params) WithKey(key string) *PutPlayerRecordHandlerV1Params
- func (o *PutPlayerRecordHandlerV1Params) WithNamespace(namespace string) *PutPlayerRecordHandlerV1Params
- func (o *PutPlayerRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PutPlayerRecordHandlerV1Params
- func (o *PutPlayerRecordHandlerV1Params) WithUserID(userID string) *PutPlayerRecordHandlerV1Params
- func (o *PutPlayerRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutPlayerRecordHandlerV1Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for public player record API
func (*Client) DeletePlayerRecordHandlerV1 ¶
func (a *Client) DeletePlayerRecordHandlerV1(params *DeletePlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeletePlayerRecordHandlerV1NoContent, *DeletePlayerRecordHandlerV1InternalServerError, error)
DeletePlayerRecordHandlerV1 deletes player record <table> <tr> <td>Required Permission</td> <td><code>NAMESPACE:{namespace}:USER:{userId}:CLOUDSAVE:RECORD [DELETE]</code></td> </tr> <tr> <td>Required Scope</td> <td><code>social</code></td> </tr>
</table> <br/>
Delete player record by its key
func (*Client) GetPlayerPublicRecordHandlerV1 ¶
func (a *Client) GetPlayerPublicRecordHandlerV1(params *GetPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerPublicRecordHandlerV1OK, *GetPlayerPublicRecordHandlerV1InternalServerError, error)
GetPlayerPublicRecordHandlerV1 gets other player s public record <table> <tr> <td>Required Permission</td> <td><code>NAMESPACE:{namespace}:USER:{userId}:PUBLIC:CLOUDSAVE:RECORD [READ]</code></td> </tr> <tr> <td>Required Scope</td> <td><code>social</code></td> </tr>
</table> <br/>
Get other player's record that is public. Only record with <code>isPublic=true</code> that can be retrieved using this endpoint.
func (*Client) GetPlayerRecordHandlerV1 ¶
func (a *Client) GetPlayerRecordHandlerV1(params *GetPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerRecordHandlerV1OK, *GetPlayerRecordHandlerV1InternalServerError, error)
GetPlayerRecordHandlerV1 gets player record <table> <tr> <td>Required Permission</td> <td><code>NAMESPACE:{namespace}:USER:{userId}:CLOUDSAVE:RECORD [READ]</code></td> </tr> <tr> <td>Required Scope</td> <td><code>social</code></td> </tr>
</table> <br/>
Get player record by its key
func (*Client) PostPlayerPublicRecordHandlerV1 ¶
func (a *Client) PostPlayerPublicRecordHandlerV1(params *PostPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerPublicRecordHandlerV1OK, *PostPlayerPublicRecordHandlerV1InternalServerError, error)
PostPlayerPublicRecordHandlerV1 creates public player record <table> <tr> <td>Required Permission</td> <td><code>NAMESPACE:{namespace}:USER:{userId}:PUBLIC:CLOUDSAVE:RECORD [WRITE]</code></td> </tr> <tr> <td>Required Scope</td> <td><code>social</code></td> </tr>
</table> <br/>
This endpoint will create or update player record with <code>isPublic=true</code> meaning that the record will be available for other player to be retrieved. Other player can only retrieve the record and not create, update or even delete.
This endpoint will create public player record if it is not exists otherwise merge with these criteria: - If field name is already exists, replace the value - If field name is not exists, append it
Example ¶
Replace value: <pre>
// existed record { "foo": "bar" } // new record (request body) { "foo": "bar_updated" } // result { "foo": "bar_updated" }
</pre>
Append value: <pre>
// existed record { "foo": "bar" } // new record (request body) { "foo_new": "bar_new" } // result { "foo": "bar", "foo_new": "bar_new" }
</pre>
func (*Client) PostPlayerRecordHandlerV1 ¶
func (a *Client) PostPlayerRecordHandlerV1(params *PostPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerRecordHandlerV1OK, *PostPlayerRecordHandlerV1InternalServerError, error)
PostPlayerRecordHandlerV1 creates or append player record <table> <tr> <td>Required Permission</td> <td><code>NAMESPACE:{namespace}:USER:{userId}:CLOUDSAVE:RECORD [WRITE]</code></td> </tr> <tr> <td>Required Scope</td> <td><code>social</code></td> </tr>
</table> <br/>
Create player record if it is not exists otherwise merge with these criteria: - If field name is already exists, replace the value - If field name is not exists, append it
Example ¶
Replace value: <pre>
// existed record { "foo": "bar" } // new record (request body) { "foo": "bar_updated" } // result { "foo": "bar_updated" }
</pre>
Append value: <pre>
// existed record { "foo": "bar" } // new record (request body) { "foo_new": "bar_new" } // result { "foo": "bar", "foo_new": "bar_new" }
</pre>
func (*Client) PutPlayerPublicRecordHandlerV1 ¶
func (a *Client) PutPlayerPublicRecordHandlerV1(params *PutPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordHandlerV1OK, *PutPlayerPublicRecordHandlerV1InternalServerError, error)
PutPlayerPublicRecordHandlerV1 creates or replace player record <table> <tr> <td>Required Permission</td> <td><code>NAMESPACE:{namespace}:USER:{userId}:PUBLIC:CLOUDSAVE:RECORD [UPDATE]</code></td> </tr> <tr> <td>Required Scope</td> <td><code>social</code></td> </tr>
</table> <br/>
If the record is not exist, it will create. If the record already exist, it will replace the record instead. And this operation can only be applied to record with <code>isPublic=true</code>.
Example ¶
Replace record <pre> // existed record
{ "foo": "bar" }
// new record (request body)
{ "foo_new": "bar_new" }
// result
{ "foo_new": "bar_new" }
</pre>
func (*Client) PutPlayerRecordHandlerV1 ¶
func (a *Client) PutPlayerRecordHandlerV1(params *PutPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordHandlerV1OK, *PutPlayerRecordHandlerV1InternalServerError, error)
PutPlayerRecordHandlerV1 creates or replace player record <table> <tr> <td>Required Permission</td> <td><code>NAMESPACE:{namespace}:USER:{userId}:CLOUDSAVE:RECORD [UPDATE]</code></td> </tr> <tr> <td>Required Scope</td> <td><code>social</code></td> </tr>
</table> <br/>
This endpoint will create new record if it is not exists and it will replace if already exists.
Example ¶
Replace record <pre> // existed record
{ "foo": "bar" }
// new record (request body)
{ "foo_new": "bar_new" }
// result
{ "foo_new": "bar_new" }
</pre>
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeletePlayerRecordHandlerV1(params *DeletePlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeletePlayerRecordHandlerV1NoContent, *DeletePlayerRecordHandlerV1InternalServerError, error) GetPlayerPublicRecordHandlerV1(params *GetPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerPublicRecordHandlerV1OK, *GetPlayerPublicRecordHandlerV1InternalServerError, error) GetPlayerRecordHandlerV1(params *GetPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerRecordHandlerV1OK, *GetPlayerRecordHandlerV1InternalServerError, error) PostPlayerPublicRecordHandlerV1(params *PostPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerPublicRecordHandlerV1OK, *PostPlayerPublicRecordHandlerV1InternalServerError, error) PostPlayerRecordHandlerV1(params *PostPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerRecordHandlerV1OK, *PostPlayerRecordHandlerV1InternalServerError, error) PutPlayerPublicRecordHandlerV1(params *PutPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordHandlerV1OK, *PutPlayerPublicRecordHandlerV1InternalServerError, error) PutPlayerRecordHandlerV1(params *PutPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordHandlerV1OK, *PutPlayerRecordHandlerV1InternalServerError, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new public player record API client.
type DeletePlayerRecordHandlerV1Default ¶
type DeletePlayerRecordHandlerV1Default struct {
// contains filtered or unexported fields
}
DeletePlayerRecordHandlerV1Default handles this case with default header values.
Record deleted
func NewDeletePlayerRecordHandlerV1Default ¶
func NewDeletePlayerRecordHandlerV1Default(code int) *DeletePlayerRecordHandlerV1Default
NewDeletePlayerRecordHandlerV1Default creates a DeletePlayerRecordHandlerV1Default with default headers values
func (*DeletePlayerRecordHandlerV1Default) Code ¶
func (o *DeletePlayerRecordHandlerV1Default) Code() int
Code gets the status code for the delete player record handler v1 default response
func (*DeletePlayerRecordHandlerV1Default) Error ¶
func (o *DeletePlayerRecordHandlerV1Default) Error() string
type DeletePlayerRecordHandlerV1InternalServerError ¶
type DeletePlayerRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ResponseError
}
DeletePlayerRecordHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewDeletePlayerRecordHandlerV1InternalServerError ¶
func NewDeletePlayerRecordHandlerV1InternalServerError() *DeletePlayerRecordHandlerV1InternalServerError
NewDeletePlayerRecordHandlerV1InternalServerError creates a DeletePlayerRecordHandlerV1InternalServerError with default headers values
func (*DeletePlayerRecordHandlerV1InternalServerError) Error ¶
func (o *DeletePlayerRecordHandlerV1InternalServerError) Error() string
func (*DeletePlayerRecordHandlerV1InternalServerError) GetPayload ¶
func (o *DeletePlayerRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ResponseError
type DeletePlayerRecordHandlerV1NoContent ¶
type DeletePlayerRecordHandlerV1NoContent struct { }
DeletePlayerRecordHandlerV1NoContent handles this case with default header values.
Record deleted
func NewDeletePlayerRecordHandlerV1NoContent ¶
func NewDeletePlayerRecordHandlerV1NoContent() *DeletePlayerRecordHandlerV1NoContent
NewDeletePlayerRecordHandlerV1NoContent creates a DeletePlayerRecordHandlerV1NoContent with default headers values
func (*DeletePlayerRecordHandlerV1NoContent) Error ¶
func (o *DeletePlayerRecordHandlerV1NoContent) Error() string
type DeletePlayerRecordHandlerV1Params ¶
type DeletePlayerRecordHandlerV1Params struct { /*Key key of record */ Key string /*Namespace namespace of the game */ Namespace string /*UserID user ID who own the record */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePlayerRecordHandlerV1Params contains all the parameters to send to the API endpoint for the delete player record handler v1 operation typically these are written to a http.Request
func NewDeletePlayerRecordHandlerV1Params ¶
func NewDeletePlayerRecordHandlerV1Params() *DeletePlayerRecordHandlerV1Params
NewDeletePlayerRecordHandlerV1Params creates a new DeletePlayerRecordHandlerV1Params object with the default values initialized.
func NewDeletePlayerRecordHandlerV1ParamsWithContext ¶
func NewDeletePlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *DeletePlayerRecordHandlerV1Params
NewDeletePlayerRecordHandlerV1ParamsWithContext creates a new DeletePlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewDeletePlayerRecordHandlerV1ParamsWithHTTPClient ¶
func NewDeletePlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *DeletePlayerRecordHandlerV1Params
NewDeletePlayerRecordHandlerV1ParamsWithHTTPClient creates a new DeletePlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePlayerRecordHandlerV1ParamsWithTimeout ¶
func NewDeletePlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *DeletePlayerRecordHandlerV1Params
NewDeletePlayerRecordHandlerV1ParamsWithTimeout creates a new DeletePlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePlayerRecordHandlerV1Params) SetContext ¶
func (o *DeletePlayerRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) SetHTTPClient ¶
func (o *DeletePlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) SetKey ¶
func (o *DeletePlayerRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) SetNamespace ¶
func (o *DeletePlayerRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) SetTimeout ¶
func (o *DeletePlayerRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) SetUserID ¶
func (o *DeletePlayerRecordHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) WithContext ¶
func (o *DeletePlayerRecordHandlerV1Params) WithContext(ctx context.Context) *DeletePlayerRecordHandlerV1Params
WithContext adds the context to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) WithHTTPClient ¶
func (o *DeletePlayerRecordHandlerV1Params) WithHTTPClient(client *http.Client) *DeletePlayerRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) WithKey ¶
func (o *DeletePlayerRecordHandlerV1Params) WithKey(key string) *DeletePlayerRecordHandlerV1Params
WithKey adds the key to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) WithNamespace ¶
func (o *DeletePlayerRecordHandlerV1Params) WithNamespace(namespace string) *DeletePlayerRecordHandlerV1Params
WithNamespace adds the namespace to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) WithTimeout ¶
func (o *DeletePlayerRecordHandlerV1Params) WithTimeout(timeout time.Duration) *DeletePlayerRecordHandlerV1Params
WithTimeout adds the timeout to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) WithUserID ¶
func (o *DeletePlayerRecordHandlerV1Params) WithUserID(userID string) *DeletePlayerRecordHandlerV1Params
WithUserID adds the userID to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) WriteToRequest ¶
func (o *DeletePlayerRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePlayerRecordHandlerV1Reader ¶
type DeletePlayerRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
DeletePlayerRecordHandlerV1Reader is a Reader for the DeletePlayerRecordHandlerV1 structure.
func (*DeletePlayerRecordHandlerV1Reader) ReadResponse ¶
func (o *DeletePlayerRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPlayerPublicRecordHandlerV1Default ¶
type GetPlayerPublicRecordHandlerV1Default struct { Payload *cloudsaveclientmodels.ModelsPlayerRecord // contains filtered or unexported fields }
GetPlayerPublicRecordHandlerV1Default handles this case with default header values.
Record retrieved
func NewGetPlayerPublicRecordHandlerV1Default ¶
func NewGetPlayerPublicRecordHandlerV1Default(code int) *GetPlayerPublicRecordHandlerV1Default
NewGetPlayerPublicRecordHandlerV1Default creates a GetPlayerPublicRecordHandlerV1Default with default headers values
func (*GetPlayerPublicRecordHandlerV1Default) Code ¶
func (o *GetPlayerPublicRecordHandlerV1Default) Code() int
Code gets the status code for the get player public record handler v1 default response
func (*GetPlayerPublicRecordHandlerV1Default) Error ¶
func (o *GetPlayerPublicRecordHandlerV1Default) Error() string
func (*GetPlayerPublicRecordHandlerV1Default) GetPayload ¶
func (o *GetPlayerPublicRecordHandlerV1Default) GetPayload() *cloudsaveclientmodels.ModelsPlayerRecord
type GetPlayerPublicRecordHandlerV1InternalServerError ¶
type GetPlayerPublicRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ResponseError
}
GetPlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewGetPlayerPublicRecordHandlerV1InternalServerError ¶
func NewGetPlayerPublicRecordHandlerV1InternalServerError() *GetPlayerPublicRecordHandlerV1InternalServerError
NewGetPlayerPublicRecordHandlerV1InternalServerError creates a GetPlayerPublicRecordHandlerV1InternalServerError with default headers values
func (*GetPlayerPublicRecordHandlerV1InternalServerError) Error ¶
func (o *GetPlayerPublicRecordHandlerV1InternalServerError) Error() string
func (*GetPlayerPublicRecordHandlerV1InternalServerError) GetPayload ¶
func (o *GetPlayerPublicRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ResponseError
type GetPlayerPublicRecordHandlerV1OK ¶
type GetPlayerPublicRecordHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsPlayerRecord
}
GetPlayerPublicRecordHandlerV1OK handles this case with default header values.
Record retrieved
func NewGetPlayerPublicRecordHandlerV1OK ¶
func NewGetPlayerPublicRecordHandlerV1OK() *GetPlayerPublicRecordHandlerV1OK
NewGetPlayerPublicRecordHandlerV1OK creates a GetPlayerPublicRecordHandlerV1OK with default headers values
func (*GetPlayerPublicRecordHandlerV1OK) Error ¶
func (o *GetPlayerPublicRecordHandlerV1OK) Error() string
func (*GetPlayerPublicRecordHandlerV1OK) GetPayload ¶
func (o *GetPlayerPublicRecordHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsPlayerRecord
type GetPlayerPublicRecordHandlerV1Params ¶
type GetPlayerPublicRecordHandlerV1Params struct { /*Key key of record */ Key string /*Namespace namespace of the game */ Namespace string /*UserID user ID of record owner */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the get player public record handler v1 operation typically these are written to a http.Request
func NewGetPlayerPublicRecordHandlerV1Params ¶
func NewGetPlayerPublicRecordHandlerV1Params() *GetPlayerPublicRecordHandlerV1Params
NewGetPlayerPublicRecordHandlerV1Params creates a new GetPlayerPublicRecordHandlerV1Params object with the default values initialized.
func NewGetPlayerPublicRecordHandlerV1ParamsWithContext ¶
func NewGetPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *GetPlayerPublicRecordHandlerV1Params
NewGetPlayerPublicRecordHandlerV1ParamsWithContext creates a new GetPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient ¶
func NewGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *GetPlayerPublicRecordHandlerV1Params
NewGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient creates a new GetPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPlayerPublicRecordHandlerV1ParamsWithTimeout ¶
func NewGetPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *GetPlayerPublicRecordHandlerV1Params
NewGetPlayerPublicRecordHandlerV1ParamsWithTimeout creates a new GetPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetPlayerPublicRecordHandlerV1Params) SetContext ¶
func (o *GetPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) SetHTTPClient ¶
func (o *GetPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) SetKey ¶
func (o *GetPlayerPublicRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) SetNamespace ¶
func (o *GetPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) SetTimeout ¶
func (o *GetPlayerPublicRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) SetUserID ¶
func (o *GetPlayerPublicRecordHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) WithContext ¶
func (o *GetPlayerPublicRecordHandlerV1Params) WithContext(ctx context.Context) *GetPlayerPublicRecordHandlerV1Params
WithContext adds the context to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) WithHTTPClient ¶
func (o *GetPlayerPublicRecordHandlerV1Params) WithHTTPClient(client *http.Client) *GetPlayerPublicRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) WithKey ¶
func (o *GetPlayerPublicRecordHandlerV1Params) WithKey(key string) *GetPlayerPublicRecordHandlerV1Params
WithKey adds the key to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) WithNamespace ¶
func (o *GetPlayerPublicRecordHandlerV1Params) WithNamespace(namespace string) *GetPlayerPublicRecordHandlerV1Params
WithNamespace adds the namespace to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) WithTimeout ¶
func (o *GetPlayerPublicRecordHandlerV1Params) WithTimeout(timeout time.Duration) *GetPlayerPublicRecordHandlerV1Params
WithTimeout adds the timeout to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) WithUserID ¶
func (o *GetPlayerPublicRecordHandlerV1Params) WithUserID(userID string) *GetPlayerPublicRecordHandlerV1Params
WithUserID adds the userID to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) WriteToRequest ¶
func (o *GetPlayerPublicRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPlayerPublicRecordHandlerV1Reader ¶
type GetPlayerPublicRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
GetPlayerPublicRecordHandlerV1Reader is a Reader for the GetPlayerPublicRecordHandlerV1 structure.
func (*GetPlayerPublicRecordHandlerV1Reader) ReadResponse ¶
func (o *GetPlayerPublicRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPlayerRecordHandlerV1Default ¶
type GetPlayerRecordHandlerV1Default struct { Payload *cloudsaveclientmodels.ModelsPlayerRecord // contains filtered or unexported fields }
GetPlayerRecordHandlerV1Default handles this case with default header values.
Record retrieved
func NewGetPlayerRecordHandlerV1Default ¶
func NewGetPlayerRecordHandlerV1Default(code int) *GetPlayerRecordHandlerV1Default
NewGetPlayerRecordHandlerV1Default creates a GetPlayerRecordHandlerV1Default with default headers values
func (*GetPlayerRecordHandlerV1Default) Code ¶
func (o *GetPlayerRecordHandlerV1Default) Code() int
Code gets the status code for the get player record handler v1 default response
func (*GetPlayerRecordHandlerV1Default) Error ¶
func (o *GetPlayerRecordHandlerV1Default) Error() string
func (*GetPlayerRecordHandlerV1Default) GetPayload ¶
func (o *GetPlayerRecordHandlerV1Default) GetPayload() *cloudsaveclientmodels.ModelsPlayerRecord
type GetPlayerRecordHandlerV1InternalServerError ¶
type GetPlayerRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ResponseError
}
GetPlayerRecordHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewGetPlayerRecordHandlerV1InternalServerError ¶
func NewGetPlayerRecordHandlerV1InternalServerError() *GetPlayerRecordHandlerV1InternalServerError
NewGetPlayerRecordHandlerV1InternalServerError creates a GetPlayerRecordHandlerV1InternalServerError with default headers values
func (*GetPlayerRecordHandlerV1InternalServerError) Error ¶
func (o *GetPlayerRecordHandlerV1InternalServerError) Error() string
func (*GetPlayerRecordHandlerV1InternalServerError) GetPayload ¶
func (o *GetPlayerRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ResponseError
type GetPlayerRecordHandlerV1OK ¶
type GetPlayerRecordHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsPlayerRecord
}
GetPlayerRecordHandlerV1OK handles this case with default header values.
Record retrieved
func NewGetPlayerRecordHandlerV1OK ¶
func NewGetPlayerRecordHandlerV1OK() *GetPlayerRecordHandlerV1OK
NewGetPlayerRecordHandlerV1OK creates a GetPlayerRecordHandlerV1OK with default headers values
func (*GetPlayerRecordHandlerV1OK) Error ¶
func (o *GetPlayerRecordHandlerV1OK) Error() string
func (*GetPlayerRecordHandlerV1OK) GetPayload ¶
func (o *GetPlayerRecordHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsPlayerRecord
type GetPlayerRecordHandlerV1Params ¶
type GetPlayerRecordHandlerV1Params struct { /*Key key of record */ Key string /*Namespace namespace of the game */ Namespace string /*UserID user ID of record owner */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPlayerRecordHandlerV1Params contains all the parameters to send to the API endpoint for the get player record handler v1 operation typically these are written to a http.Request
func NewGetPlayerRecordHandlerV1Params ¶
func NewGetPlayerRecordHandlerV1Params() *GetPlayerRecordHandlerV1Params
NewGetPlayerRecordHandlerV1Params creates a new GetPlayerRecordHandlerV1Params object with the default values initialized.
func NewGetPlayerRecordHandlerV1ParamsWithContext ¶
func NewGetPlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *GetPlayerRecordHandlerV1Params
NewGetPlayerRecordHandlerV1ParamsWithContext creates a new GetPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewGetPlayerRecordHandlerV1ParamsWithHTTPClient ¶
func NewGetPlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *GetPlayerRecordHandlerV1Params
NewGetPlayerRecordHandlerV1ParamsWithHTTPClient creates a new GetPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPlayerRecordHandlerV1ParamsWithTimeout ¶
func NewGetPlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *GetPlayerRecordHandlerV1Params
NewGetPlayerRecordHandlerV1ParamsWithTimeout creates a new GetPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetPlayerRecordHandlerV1Params) SetContext ¶
func (o *GetPlayerRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) SetHTTPClient ¶
func (o *GetPlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) SetKey ¶
func (o *GetPlayerRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) SetNamespace ¶
func (o *GetPlayerRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) SetTimeout ¶
func (o *GetPlayerRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) SetUserID ¶
func (o *GetPlayerRecordHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) WithContext ¶
func (o *GetPlayerRecordHandlerV1Params) WithContext(ctx context.Context) *GetPlayerRecordHandlerV1Params
WithContext adds the context to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) WithHTTPClient ¶
func (o *GetPlayerRecordHandlerV1Params) WithHTTPClient(client *http.Client) *GetPlayerRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) WithKey ¶
func (o *GetPlayerRecordHandlerV1Params) WithKey(key string) *GetPlayerRecordHandlerV1Params
WithKey adds the key to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) WithNamespace ¶
func (o *GetPlayerRecordHandlerV1Params) WithNamespace(namespace string) *GetPlayerRecordHandlerV1Params
WithNamespace adds the namespace to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) WithTimeout ¶
func (o *GetPlayerRecordHandlerV1Params) WithTimeout(timeout time.Duration) *GetPlayerRecordHandlerV1Params
WithTimeout adds the timeout to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) WithUserID ¶
func (o *GetPlayerRecordHandlerV1Params) WithUserID(userID string) *GetPlayerRecordHandlerV1Params
WithUserID adds the userID to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) WriteToRequest ¶
func (o *GetPlayerRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPlayerRecordHandlerV1Reader ¶
type GetPlayerRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
GetPlayerRecordHandlerV1Reader is a Reader for the GetPlayerRecordHandlerV1 structure.
func (*GetPlayerRecordHandlerV1Reader) ReadResponse ¶
func (o *GetPlayerRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPlayerPublicRecordHandlerV1Default ¶
type PostPlayerPublicRecordHandlerV1Default struct {
// contains filtered or unexported fields
}
PostPlayerPublicRecordHandlerV1Default handles this case with default header values.
Record saved
func NewPostPlayerPublicRecordHandlerV1Default ¶
func NewPostPlayerPublicRecordHandlerV1Default(code int) *PostPlayerPublicRecordHandlerV1Default
NewPostPlayerPublicRecordHandlerV1Default creates a PostPlayerPublicRecordHandlerV1Default with default headers values
func (*PostPlayerPublicRecordHandlerV1Default) Code ¶
func (o *PostPlayerPublicRecordHandlerV1Default) Code() int
Code gets the status code for the post player public record handler v1 default response
func (*PostPlayerPublicRecordHandlerV1Default) Error ¶
func (o *PostPlayerPublicRecordHandlerV1Default) Error() string
type PostPlayerPublicRecordHandlerV1InternalServerError ¶
type PostPlayerPublicRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ResponseError
}
PostPlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewPostPlayerPublicRecordHandlerV1InternalServerError ¶
func NewPostPlayerPublicRecordHandlerV1InternalServerError() *PostPlayerPublicRecordHandlerV1InternalServerError
NewPostPlayerPublicRecordHandlerV1InternalServerError creates a PostPlayerPublicRecordHandlerV1InternalServerError with default headers values
func (*PostPlayerPublicRecordHandlerV1InternalServerError) Error ¶
func (o *PostPlayerPublicRecordHandlerV1InternalServerError) Error() string
func (*PostPlayerPublicRecordHandlerV1InternalServerError) GetPayload ¶
func (o *PostPlayerPublicRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ResponseError
type PostPlayerPublicRecordHandlerV1OK ¶
type PostPlayerPublicRecordHandlerV1OK struct { }
PostPlayerPublicRecordHandlerV1OK handles this case with default header values.
Record saved
func NewPostPlayerPublicRecordHandlerV1OK ¶
func NewPostPlayerPublicRecordHandlerV1OK() *PostPlayerPublicRecordHandlerV1OK
NewPostPlayerPublicRecordHandlerV1OK creates a PostPlayerPublicRecordHandlerV1OK with default headers values
func (*PostPlayerPublicRecordHandlerV1OK) Error ¶
func (o *PostPlayerPublicRecordHandlerV1OK) Error() string
type PostPlayerPublicRecordHandlerV1Params ¶
type PostPlayerPublicRecordHandlerV1Params struct { /*Body*/ Body cloudsaveclientmodels.ModelsPlayerRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game */ Namespace string /*UserID user ID who own the record */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the post player public record handler v1 operation typically these are written to a http.Request
func NewPostPlayerPublicRecordHandlerV1Params ¶
func NewPostPlayerPublicRecordHandlerV1Params() *PostPlayerPublicRecordHandlerV1Params
NewPostPlayerPublicRecordHandlerV1Params creates a new PostPlayerPublicRecordHandlerV1Params object with the default values initialized.
func NewPostPlayerPublicRecordHandlerV1ParamsWithContext ¶
func NewPostPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *PostPlayerPublicRecordHandlerV1Params
NewPostPlayerPublicRecordHandlerV1ParamsWithContext creates a new PostPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewPostPlayerPublicRecordHandlerV1ParamsWithHTTPClient ¶
func NewPostPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PostPlayerPublicRecordHandlerV1Params
NewPostPlayerPublicRecordHandlerV1ParamsWithHTTPClient creates a new PostPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPlayerPublicRecordHandlerV1ParamsWithTimeout ¶
func NewPostPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PostPlayerPublicRecordHandlerV1Params
NewPostPlayerPublicRecordHandlerV1ParamsWithTimeout creates a new PostPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PostPlayerPublicRecordHandlerV1Params) SetBody ¶
func (o *PostPlayerPublicRecordHandlerV1Params) SetBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest)
SetBody adds the body to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) SetContext ¶
func (o *PostPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) SetHTTPClient ¶
func (o *PostPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) SetKey ¶
func (o *PostPlayerPublicRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) SetNamespace ¶
func (o *PostPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) SetTimeout ¶
func (o *PostPlayerPublicRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) SetUserID ¶
func (o *PostPlayerPublicRecordHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) WithBody ¶
func (o *PostPlayerPublicRecordHandlerV1Params) WithBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest) *PostPlayerPublicRecordHandlerV1Params
WithBody adds the body to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) WithContext ¶
func (o *PostPlayerPublicRecordHandlerV1Params) WithContext(ctx context.Context) *PostPlayerPublicRecordHandlerV1Params
WithContext adds the context to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) WithHTTPClient ¶
func (o *PostPlayerPublicRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PostPlayerPublicRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) WithKey ¶
func (o *PostPlayerPublicRecordHandlerV1Params) WithKey(key string) *PostPlayerPublicRecordHandlerV1Params
WithKey adds the key to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) WithNamespace ¶
func (o *PostPlayerPublicRecordHandlerV1Params) WithNamespace(namespace string) *PostPlayerPublicRecordHandlerV1Params
WithNamespace adds the namespace to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) WithTimeout ¶
func (o *PostPlayerPublicRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PostPlayerPublicRecordHandlerV1Params
WithTimeout adds the timeout to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) WithUserID ¶
func (o *PostPlayerPublicRecordHandlerV1Params) WithUserID(userID string) *PostPlayerPublicRecordHandlerV1Params
WithUserID adds the userID to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) WriteToRequest ¶
func (o *PostPlayerPublicRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPlayerPublicRecordHandlerV1Reader ¶
type PostPlayerPublicRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
PostPlayerPublicRecordHandlerV1Reader is a Reader for the PostPlayerPublicRecordHandlerV1 structure.
func (*PostPlayerPublicRecordHandlerV1Reader) ReadResponse ¶
func (o *PostPlayerPublicRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPlayerRecordHandlerV1Default ¶
type PostPlayerRecordHandlerV1Default struct {
// contains filtered or unexported fields
}
PostPlayerRecordHandlerV1Default handles this case with default header values.
Record saved
func NewPostPlayerRecordHandlerV1Default ¶
func NewPostPlayerRecordHandlerV1Default(code int) *PostPlayerRecordHandlerV1Default
NewPostPlayerRecordHandlerV1Default creates a PostPlayerRecordHandlerV1Default with default headers values
func (*PostPlayerRecordHandlerV1Default) Code ¶
func (o *PostPlayerRecordHandlerV1Default) Code() int
Code gets the status code for the post player record handler v1 default response
func (*PostPlayerRecordHandlerV1Default) Error ¶
func (o *PostPlayerRecordHandlerV1Default) Error() string
type PostPlayerRecordHandlerV1InternalServerError ¶
type PostPlayerRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ResponseError
}
PostPlayerRecordHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewPostPlayerRecordHandlerV1InternalServerError ¶
func NewPostPlayerRecordHandlerV1InternalServerError() *PostPlayerRecordHandlerV1InternalServerError
NewPostPlayerRecordHandlerV1InternalServerError creates a PostPlayerRecordHandlerV1InternalServerError with default headers values
func (*PostPlayerRecordHandlerV1InternalServerError) Error ¶
func (o *PostPlayerRecordHandlerV1InternalServerError) Error() string
func (*PostPlayerRecordHandlerV1InternalServerError) GetPayload ¶
func (o *PostPlayerRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ResponseError
type PostPlayerRecordHandlerV1OK ¶
type PostPlayerRecordHandlerV1OK struct { }
PostPlayerRecordHandlerV1OK handles this case with default header values.
Record saved
func NewPostPlayerRecordHandlerV1OK ¶
func NewPostPlayerRecordHandlerV1OK() *PostPlayerRecordHandlerV1OK
NewPostPlayerRecordHandlerV1OK creates a PostPlayerRecordHandlerV1OK with default headers values
func (*PostPlayerRecordHandlerV1OK) Error ¶
func (o *PostPlayerRecordHandlerV1OK) Error() string
type PostPlayerRecordHandlerV1Params ¶
type PostPlayerRecordHandlerV1Params struct { /*Body*/ Body cloudsaveclientmodels.ModelsPlayerRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game */ Namespace string /*UserID user ID of record owner */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPlayerRecordHandlerV1Params contains all the parameters to send to the API endpoint for the post player record handler v1 operation typically these are written to a http.Request
func NewPostPlayerRecordHandlerV1Params ¶
func NewPostPlayerRecordHandlerV1Params() *PostPlayerRecordHandlerV1Params
NewPostPlayerRecordHandlerV1Params creates a new PostPlayerRecordHandlerV1Params object with the default values initialized.
func NewPostPlayerRecordHandlerV1ParamsWithContext ¶
func NewPostPlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *PostPlayerRecordHandlerV1Params
NewPostPlayerRecordHandlerV1ParamsWithContext creates a new PostPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewPostPlayerRecordHandlerV1ParamsWithHTTPClient ¶
func NewPostPlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PostPlayerRecordHandlerV1Params
NewPostPlayerRecordHandlerV1ParamsWithHTTPClient creates a new PostPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPlayerRecordHandlerV1ParamsWithTimeout ¶
func NewPostPlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PostPlayerRecordHandlerV1Params
NewPostPlayerRecordHandlerV1ParamsWithTimeout creates a new PostPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PostPlayerRecordHandlerV1Params) SetBody ¶
func (o *PostPlayerRecordHandlerV1Params) SetBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest)
SetBody adds the body to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) SetContext ¶
func (o *PostPlayerRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) SetHTTPClient ¶
func (o *PostPlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) SetKey ¶
func (o *PostPlayerRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) SetNamespace ¶
func (o *PostPlayerRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) SetTimeout ¶
func (o *PostPlayerRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) SetUserID ¶
func (o *PostPlayerRecordHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) WithBody ¶
func (o *PostPlayerRecordHandlerV1Params) WithBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest) *PostPlayerRecordHandlerV1Params
WithBody adds the body to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) WithContext ¶
func (o *PostPlayerRecordHandlerV1Params) WithContext(ctx context.Context) *PostPlayerRecordHandlerV1Params
WithContext adds the context to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) WithHTTPClient ¶
func (o *PostPlayerRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PostPlayerRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) WithKey ¶
func (o *PostPlayerRecordHandlerV1Params) WithKey(key string) *PostPlayerRecordHandlerV1Params
WithKey adds the key to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) WithNamespace ¶
func (o *PostPlayerRecordHandlerV1Params) WithNamespace(namespace string) *PostPlayerRecordHandlerV1Params
WithNamespace adds the namespace to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) WithTimeout ¶
func (o *PostPlayerRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PostPlayerRecordHandlerV1Params
WithTimeout adds the timeout to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) WithUserID ¶
func (o *PostPlayerRecordHandlerV1Params) WithUserID(userID string) *PostPlayerRecordHandlerV1Params
WithUserID adds the userID to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) WriteToRequest ¶
func (o *PostPlayerRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPlayerRecordHandlerV1Reader ¶
type PostPlayerRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
PostPlayerRecordHandlerV1Reader is a Reader for the PostPlayerRecordHandlerV1 structure.
func (*PostPlayerRecordHandlerV1Reader) ReadResponse ¶
func (o *PostPlayerRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutPlayerPublicRecordHandlerV1Default ¶
type PutPlayerPublicRecordHandlerV1Default struct {
// contains filtered or unexported fields
}
PutPlayerPublicRecordHandlerV1Default handles this case with default header values.
Record saved
func NewPutPlayerPublicRecordHandlerV1Default ¶
func NewPutPlayerPublicRecordHandlerV1Default(code int) *PutPlayerPublicRecordHandlerV1Default
NewPutPlayerPublicRecordHandlerV1Default creates a PutPlayerPublicRecordHandlerV1Default with default headers values
func (*PutPlayerPublicRecordHandlerV1Default) Code ¶
func (o *PutPlayerPublicRecordHandlerV1Default) Code() int
Code gets the status code for the put player public record handler v1 default response
func (*PutPlayerPublicRecordHandlerV1Default) Error ¶
func (o *PutPlayerPublicRecordHandlerV1Default) Error() string
type PutPlayerPublicRecordHandlerV1InternalServerError ¶
type PutPlayerPublicRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ResponseError
}
PutPlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewPutPlayerPublicRecordHandlerV1InternalServerError ¶
func NewPutPlayerPublicRecordHandlerV1InternalServerError() *PutPlayerPublicRecordHandlerV1InternalServerError
NewPutPlayerPublicRecordHandlerV1InternalServerError creates a PutPlayerPublicRecordHandlerV1InternalServerError with default headers values
func (*PutPlayerPublicRecordHandlerV1InternalServerError) Error ¶
func (o *PutPlayerPublicRecordHandlerV1InternalServerError) Error() string
func (*PutPlayerPublicRecordHandlerV1InternalServerError) GetPayload ¶
func (o *PutPlayerPublicRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ResponseError
type PutPlayerPublicRecordHandlerV1OK ¶
type PutPlayerPublicRecordHandlerV1OK struct { }
PutPlayerPublicRecordHandlerV1OK handles this case with default header values.
Record saved
func NewPutPlayerPublicRecordHandlerV1OK ¶
func NewPutPlayerPublicRecordHandlerV1OK() *PutPlayerPublicRecordHandlerV1OK
NewPutPlayerPublicRecordHandlerV1OK creates a PutPlayerPublicRecordHandlerV1OK with default headers values
func (*PutPlayerPublicRecordHandlerV1OK) Error ¶
func (o *PutPlayerPublicRecordHandlerV1OK) Error() string
type PutPlayerPublicRecordHandlerV1Params ¶
type PutPlayerPublicRecordHandlerV1Params struct { /*Body*/ Body cloudsaveclientmodels.ModelsPlayerRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game */ Namespace string /*UserID user ID who own the record */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutPlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the put player public record handler v1 operation typically these are written to a http.Request
func NewPutPlayerPublicRecordHandlerV1Params ¶
func NewPutPlayerPublicRecordHandlerV1Params() *PutPlayerPublicRecordHandlerV1Params
NewPutPlayerPublicRecordHandlerV1Params creates a new PutPlayerPublicRecordHandlerV1Params object with the default values initialized.
func NewPutPlayerPublicRecordHandlerV1ParamsWithContext ¶
func NewPutPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *PutPlayerPublicRecordHandlerV1Params
NewPutPlayerPublicRecordHandlerV1ParamsWithContext creates a new PutPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewPutPlayerPublicRecordHandlerV1ParamsWithHTTPClient ¶
func NewPutPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PutPlayerPublicRecordHandlerV1Params
NewPutPlayerPublicRecordHandlerV1ParamsWithHTTPClient creates a new PutPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutPlayerPublicRecordHandlerV1ParamsWithTimeout ¶
func NewPutPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PutPlayerPublicRecordHandlerV1Params
NewPutPlayerPublicRecordHandlerV1ParamsWithTimeout creates a new PutPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PutPlayerPublicRecordHandlerV1Params) SetBody ¶
func (o *PutPlayerPublicRecordHandlerV1Params) SetBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest)
SetBody adds the body to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) SetContext ¶
func (o *PutPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) SetHTTPClient ¶
func (o *PutPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) SetKey ¶
func (o *PutPlayerPublicRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) SetNamespace ¶
func (o *PutPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) SetTimeout ¶
func (o *PutPlayerPublicRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) SetUserID ¶
func (o *PutPlayerPublicRecordHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) WithBody ¶
func (o *PutPlayerPublicRecordHandlerV1Params) WithBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest) *PutPlayerPublicRecordHandlerV1Params
WithBody adds the body to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) WithContext ¶
func (o *PutPlayerPublicRecordHandlerV1Params) WithContext(ctx context.Context) *PutPlayerPublicRecordHandlerV1Params
WithContext adds the context to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) WithHTTPClient ¶
func (o *PutPlayerPublicRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PutPlayerPublicRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) WithKey ¶
func (o *PutPlayerPublicRecordHandlerV1Params) WithKey(key string) *PutPlayerPublicRecordHandlerV1Params
WithKey adds the key to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) WithNamespace ¶
func (o *PutPlayerPublicRecordHandlerV1Params) WithNamespace(namespace string) *PutPlayerPublicRecordHandlerV1Params
WithNamespace adds the namespace to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) WithTimeout ¶
func (o *PutPlayerPublicRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PutPlayerPublicRecordHandlerV1Params
WithTimeout adds the timeout to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) WithUserID ¶
func (o *PutPlayerPublicRecordHandlerV1Params) WithUserID(userID string) *PutPlayerPublicRecordHandlerV1Params
WithUserID adds the userID to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) WriteToRequest ¶
func (o *PutPlayerPublicRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutPlayerPublicRecordHandlerV1Reader ¶
type PutPlayerPublicRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
PutPlayerPublicRecordHandlerV1Reader is a Reader for the PutPlayerPublicRecordHandlerV1 structure.
func (*PutPlayerPublicRecordHandlerV1Reader) ReadResponse ¶
func (o *PutPlayerPublicRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutPlayerRecordHandlerV1Default ¶
type PutPlayerRecordHandlerV1Default struct {
// contains filtered or unexported fields
}
PutPlayerRecordHandlerV1Default handles this case with default header values.
Record saved
func NewPutPlayerRecordHandlerV1Default ¶
func NewPutPlayerRecordHandlerV1Default(code int) *PutPlayerRecordHandlerV1Default
NewPutPlayerRecordHandlerV1Default creates a PutPlayerRecordHandlerV1Default with default headers values
func (*PutPlayerRecordHandlerV1Default) Code ¶
func (o *PutPlayerRecordHandlerV1Default) Code() int
Code gets the status code for the put player record handler v1 default response
func (*PutPlayerRecordHandlerV1Default) Error ¶
func (o *PutPlayerRecordHandlerV1Default) Error() string
type PutPlayerRecordHandlerV1InternalServerError ¶
type PutPlayerRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ResponseError
}
PutPlayerRecordHandlerV1InternalServerError handles this case with default header values.
Internal Server Error
func NewPutPlayerRecordHandlerV1InternalServerError ¶
func NewPutPlayerRecordHandlerV1InternalServerError() *PutPlayerRecordHandlerV1InternalServerError
NewPutPlayerRecordHandlerV1InternalServerError creates a PutPlayerRecordHandlerV1InternalServerError with default headers values
func (*PutPlayerRecordHandlerV1InternalServerError) Error ¶
func (o *PutPlayerRecordHandlerV1InternalServerError) Error() string
func (*PutPlayerRecordHandlerV1InternalServerError) GetPayload ¶
func (o *PutPlayerRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ResponseError
type PutPlayerRecordHandlerV1OK ¶
type PutPlayerRecordHandlerV1OK struct { }
PutPlayerRecordHandlerV1OK handles this case with default header values.
Record saved
func NewPutPlayerRecordHandlerV1OK ¶
func NewPutPlayerRecordHandlerV1OK() *PutPlayerRecordHandlerV1OK
NewPutPlayerRecordHandlerV1OK creates a PutPlayerRecordHandlerV1OK with default headers values
func (*PutPlayerRecordHandlerV1OK) Error ¶
func (o *PutPlayerRecordHandlerV1OK) Error() string
type PutPlayerRecordHandlerV1Params ¶
type PutPlayerRecordHandlerV1Params struct { /*Body*/ Body cloudsaveclientmodels.ModelsPlayerRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game */ Namespace string /*UserID user ID who own the record */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutPlayerRecordHandlerV1Params contains all the parameters to send to the API endpoint for the put player record handler v1 operation typically these are written to a http.Request
func NewPutPlayerRecordHandlerV1Params ¶
func NewPutPlayerRecordHandlerV1Params() *PutPlayerRecordHandlerV1Params
NewPutPlayerRecordHandlerV1Params creates a new PutPlayerRecordHandlerV1Params object with the default values initialized.
func NewPutPlayerRecordHandlerV1ParamsWithContext ¶
func NewPutPlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *PutPlayerRecordHandlerV1Params
NewPutPlayerRecordHandlerV1ParamsWithContext creates a new PutPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewPutPlayerRecordHandlerV1ParamsWithHTTPClient ¶
func NewPutPlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PutPlayerRecordHandlerV1Params
NewPutPlayerRecordHandlerV1ParamsWithHTTPClient creates a new PutPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutPlayerRecordHandlerV1ParamsWithTimeout ¶
func NewPutPlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PutPlayerRecordHandlerV1Params
NewPutPlayerRecordHandlerV1ParamsWithTimeout creates a new PutPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PutPlayerRecordHandlerV1Params) SetBody ¶
func (o *PutPlayerRecordHandlerV1Params) SetBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest)
SetBody adds the body to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) SetContext ¶
func (o *PutPlayerRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) SetHTTPClient ¶
func (o *PutPlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) SetKey ¶
func (o *PutPlayerRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) SetNamespace ¶
func (o *PutPlayerRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) SetTimeout ¶
func (o *PutPlayerRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) SetUserID ¶
func (o *PutPlayerRecordHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) WithBody ¶
func (o *PutPlayerRecordHandlerV1Params) WithBody(body cloudsaveclientmodels.ModelsPlayerRecordRequest) *PutPlayerRecordHandlerV1Params
WithBody adds the body to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) WithContext ¶
func (o *PutPlayerRecordHandlerV1Params) WithContext(ctx context.Context) *PutPlayerRecordHandlerV1Params
WithContext adds the context to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) WithHTTPClient ¶
func (o *PutPlayerRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PutPlayerRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) WithKey ¶
func (o *PutPlayerRecordHandlerV1Params) WithKey(key string) *PutPlayerRecordHandlerV1Params
WithKey adds the key to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) WithNamespace ¶
func (o *PutPlayerRecordHandlerV1Params) WithNamespace(namespace string) *PutPlayerRecordHandlerV1Params
WithNamespace adds the namespace to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) WithTimeout ¶
func (o *PutPlayerRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PutPlayerRecordHandlerV1Params
WithTimeout adds the timeout to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) WithUserID ¶
func (o *PutPlayerRecordHandlerV1Params) WithUserID(userID string) *PutPlayerRecordHandlerV1Params
WithUserID adds the userID to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) WriteToRequest ¶
func (o *PutPlayerRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutPlayerRecordHandlerV1Reader ¶
type PutPlayerRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
PutPlayerRecordHandlerV1Reader is a Reader for the PutPlayerRecordHandlerV1 structure.
func (*PutPlayerRecordHandlerV1Reader) ReadResponse ¶
func (o *PutPlayerRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_player_record_handler_v1_parameters.go
- delete_player_record_handler_v1_responses.go
- get_player_public_record_handler_v1_parameters.go
- get_player_public_record_handler_v1_responses.go
- get_player_record_handler_v1_parameters.go
- get_player_record_handler_v1_responses.go
- post_player_public_record_handler_v1_parameters.go
- post_player_public_record_handler_v1_responses.go
- post_player_record_handler_v1_parameters.go
- post_player_record_handler_v1_responses.go
- public_player_record_client.go
- put_player_public_record_handler_v1_parameters.go
- put_player_public_record_handler_v1_responses.go
- put_player_record_handler_v1_parameters.go
- put_player_record_handler_v1_responses.go