Documentation
¶
Index ¶
- type BulkGetPlayerPublicRecordHandlerV1BadRequest
- type BulkGetPlayerPublicRecordHandlerV1Forbidden
- type BulkGetPlayerPublicRecordHandlerV1InternalServerError
- type BulkGetPlayerPublicRecordHandlerV1OK
- type BulkGetPlayerPublicRecordHandlerV1Params
- func NewBulkGetPlayerPublicRecordHandlerV1Params() *BulkGetPlayerPublicRecordHandlerV1Params
- func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *BulkGetPlayerPublicRecordHandlerV1Params
- func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *BulkGetPlayerPublicRecordHandlerV1Params
- func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *BulkGetPlayerPublicRecordHandlerV1Params
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsBulkUserIDsRequest)
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetKey(key string)
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsBulkUserIDsRequest) *BulkGetPlayerPublicRecordHandlerV1Params
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) WithContext(ctx context.Context) *BulkGetPlayerPublicRecordHandlerV1Params
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) WithHTTPClient(client *http.Client) *BulkGetPlayerPublicRecordHandlerV1Params
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) WithKey(key string) *BulkGetPlayerPublicRecordHandlerV1Params
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) WithNamespace(namespace string) *BulkGetPlayerPublicRecordHandlerV1Params
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) WithTimeout(timeout time.Duration) *BulkGetPlayerPublicRecordHandlerV1Params
- func (o *BulkGetPlayerPublicRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkGetPlayerPublicRecordHandlerV1Reader
- type BulkGetPlayerPublicRecordHandlerV1Response
- type BulkGetPlayerPublicRecordHandlerV1Unauthorized
- type Client
- func (a *Client) BulkGetPlayerPublicRecordHandlerV1Short(params *BulkGetPlayerPublicRecordHandlerV1Params, ...) (*BulkGetPlayerPublicRecordHandlerV1Response, error)
- func (a *Client) DeletePlayerRecordHandlerV1Short(params *DeletePlayerRecordHandlerV1Params, ...) (*DeletePlayerRecordHandlerV1Response, error)
- func (a *Client) GetOtherPlayerPublicRecordHandlerV1Short(params *GetOtherPlayerPublicRecordHandlerV1Params, ...) (*GetOtherPlayerPublicRecordHandlerV1Response, error)
- func (a *Client) GetOtherPlayerPublicRecordKeyHandlerV1Short(params *GetOtherPlayerPublicRecordKeyHandlerV1Params, ...) (*GetOtherPlayerPublicRecordKeyHandlerV1Response, error)
- func (a *Client) GetPlayerPublicRecordHandlerV1Short(params *GetPlayerPublicRecordHandlerV1Params, ...) (*GetPlayerPublicRecordHandlerV1Response, error)
- func (a *Client) GetPlayerRecordHandlerV1Short(params *GetPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerRecordHandlerV1Response, error)
- func (a *Client) GetPlayerRecordsBulkHandlerV1Short(params *GetPlayerRecordsBulkHandlerV1Params, ...) (*GetPlayerRecordsBulkHandlerV1Response, error)
- func (a *Client) PostPlayerPublicRecordHandlerV1Short(params *PostPlayerPublicRecordHandlerV1Params, ...) (*PostPlayerPublicRecordHandlerV1Response, error)
- func (a *Client) PostPlayerRecordHandlerV1Short(params *PostPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerRecordHandlerV1Response, error)
- func (a *Client) PublicDeletePlayerPublicRecordHandlerV1Short(params *PublicDeletePlayerPublicRecordHandlerV1Params, ...) (*PublicDeletePlayerPublicRecordHandlerV1Response, error)
- func (a *Client) PutPlayerPublicRecordHandlerV1Short(params *PutPlayerPublicRecordHandlerV1Params, ...) (*PutPlayerPublicRecordHandlerV1Response, error)
- func (a *Client) PutPlayerRecordHandlerV1Short(params *PutPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordHandlerV1Response, error)
- func (a *Client) RetrievePlayerRecordsShort(params *RetrievePlayerRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePlayerRecordsResponse, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeletePlayerRecordHandlerV1BadRequest
- type DeletePlayerRecordHandlerV1Forbidden
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeletePlayerRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *DeletePlayerRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *DeletePlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *DeletePlayerRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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 DeletePlayerRecordHandlerV1Response
- type DeletePlayerRecordHandlerV1Unauthorized
- type GetOtherPlayerPublicRecordHandlerV1BadRequest
- type GetOtherPlayerPublicRecordHandlerV1Forbidden
- type GetOtherPlayerPublicRecordHandlerV1InternalServerError
- type GetOtherPlayerPublicRecordHandlerV1OK
- type GetOtherPlayerPublicRecordHandlerV1Params
- func NewGetOtherPlayerPublicRecordHandlerV1Params() *GetOtherPlayerPublicRecordHandlerV1Params
- func NewGetOtherPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *GetOtherPlayerPublicRecordHandlerV1Params
- func NewGetOtherPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *GetOtherPlayerPublicRecordHandlerV1Params
- func NewGetOtherPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *GetOtherPlayerPublicRecordHandlerV1Params
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsBulkGetPlayerRecordsRequest)
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetUserID(userID string)
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsBulkGetPlayerRecordsRequest) *GetOtherPlayerPublicRecordHandlerV1Params
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) WithContext(ctx context.Context) *GetOtherPlayerPublicRecordHandlerV1Params
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) WithHTTPClient(client *http.Client) *GetOtherPlayerPublicRecordHandlerV1Params
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) WithNamespace(namespace string) *GetOtherPlayerPublicRecordHandlerV1Params
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) WithTimeout(timeout time.Duration) *GetOtherPlayerPublicRecordHandlerV1Params
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) WithUserID(userID string) *GetOtherPlayerPublicRecordHandlerV1Params
- func (o *GetOtherPlayerPublicRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOtherPlayerPublicRecordHandlerV1Reader
- type GetOtherPlayerPublicRecordHandlerV1Response
- type GetOtherPlayerPublicRecordHandlerV1Unauthorized
- type GetOtherPlayerPublicRecordKeyHandlerV1BadRequest
- type GetOtherPlayerPublicRecordKeyHandlerV1Forbidden
- type GetOtherPlayerPublicRecordKeyHandlerV1InternalServerError
- type GetOtherPlayerPublicRecordKeyHandlerV1OK
- type GetOtherPlayerPublicRecordKeyHandlerV1Params
- func NewGetOtherPlayerPublicRecordKeyHandlerV1Params() *GetOtherPlayerPublicRecordKeyHandlerV1Params
- func NewGetOtherPlayerPublicRecordKeyHandlerV1ParamsWithContext(ctx context.Context) *GetOtherPlayerPublicRecordKeyHandlerV1Params
- func NewGetOtherPlayerPublicRecordKeyHandlerV1ParamsWithHTTPClient(client *http.Client) *GetOtherPlayerPublicRecordKeyHandlerV1Params
- func NewGetOtherPlayerPublicRecordKeyHandlerV1ParamsWithTimeout(timeout time.Duration) *GetOtherPlayerPublicRecordKeyHandlerV1Params
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetContext(ctx context.Context)
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetFlightId(flightId string)
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetLimit(limit *int64)
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetNamespace(namespace string)
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetOffset(offset *int64)
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetTags(tags []string)
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetUserID(userID string)
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithContext(ctx context.Context) *GetOtherPlayerPublicRecordKeyHandlerV1Params
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithHTTPClient(client *http.Client) *GetOtherPlayerPublicRecordKeyHandlerV1Params
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithLimit(limit *int64) *GetOtherPlayerPublicRecordKeyHandlerV1Params
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithNamespace(namespace string) *GetOtherPlayerPublicRecordKeyHandlerV1Params
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithOffset(offset *int64) *GetOtherPlayerPublicRecordKeyHandlerV1Params
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithTags(tags []string) *GetOtherPlayerPublicRecordKeyHandlerV1Params
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithTimeout(timeout time.Duration) *GetOtherPlayerPublicRecordKeyHandlerV1Params
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithUserID(userID string) *GetOtherPlayerPublicRecordKeyHandlerV1Params
- func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOtherPlayerPublicRecordKeyHandlerV1Reader
- type GetOtherPlayerPublicRecordKeyHandlerV1Response
- type GetOtherPlayerPublicRecordKeyHandlerV1Unauthorized
- type GetPlayerPublicRecordHandlerV1BadRequest
- type GetPlayerPublicRecordHandlerV1Forbidden
- type GetPlayerPublicRecordHandlerV1InternalServerError
- type GetPlayerPublicRecordHandlerV1NotFound
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *GetPlayerPublicRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *GetPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *GetPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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 GetPlayerPublicRecordHandlerV1Response
- type GetPlayerPublicRecordHandlerV1Unauthorized
- type GetPlayerRecordHandlerV1BadRequest
- type GetPlayerRecordHandlerV1Forbidden
- type GetPlayerRecordHandlerV1InternalServerError
- type GetPlayerRecordHandlerV1NotFound
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPlayerRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *GetPlayerRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *GetPlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *GetPlayerRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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 GetPlayerRecordHandlerV1Response
- type GetPlayerRecordHandlerV1Unauthorized
- type GetPlayerRecordsBulkHandlerV1BadRequest
- type GetPlayerRecordsBulkHandlerV1Forbidden
- type GetPlayerRecordsBulkHandlerV1InternalServerError
- type GetPlayerRecordsBulkHandlerV1OK
- type GetPlayerRecordsBulkHandlerV1Params
- func NewGetPlayerRecordsBulkHandlerV1Params() *GetPlayerRecordsBulkHandlerV1Params
- func NewGetPlayerRecordsBulkHandlerV1ParamsWithContext(ctx context.Context) *GetPlayerRecordsBulkHandlerV1Params
- func NewGetPlayerRecordsBulkHandlerV1ParamsWithHTTPClient(client *http.Client) *GetPlayerRecordsBulkHandlerV1Params
- func NewGetPlayerRecordsBulkHandlerV1ParamsWithTimeout(timeout time.Duration) *GetPlayerRecordsBulkHandlerV1Params
- func (o *GetPlayerRecordsBulkHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPlayerRecordsBulkHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsBulkGetPlayerRecordsRequest)
- func (o *GetPlayerRecordsBulkHandlerV1Params) SetContext(ctx context.Context)
- func (o *GetPlayerRecordsBulkHandlerV1Params) SetFlightId(flightId string)
- func (o *GetPlayerRecordsBulkHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *GetPlayerRecordsBulkHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetPlayerRecordsBulkHandlerV1Params) SetNamespace(namespace string)
- func (o *GetPlayerRecordsBulkHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *GetPlayerRecordsBulkHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsBulkGetPlayerRecordsRequest) *GetPlayerRecordsBulkHandlerV1Params
- func (o *GetPlayerRecordsBulkHandlerV1Params) WithContext(ctx context.Context) *GetPlayerRecordsBulkHandlerV1Params
- func (o *GetPlayerRecordsBulkHandlerV1Params) WithHTTPClient(client *http.Client) *GetPlayerRecordsBulkHandlerV1Params
- func (o *GetPlayerRecordsBulkHandlerV1Params) WithNamespace(namespace string) *GetPlayerRecordsBulkHandlerV1Params
- func (o *GetPlayerRecordsBulkHandlerV1Params) WithTimeout(timeout time.Duration) *GetPlayerRecordsBulkHandlerV1Params
- func (o *GetPlayerRecordsBulkHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlayerRecordsBulkHandlerV1Reader
- type GetPlayerRecordsBulkHandlerV1Response
- type GetPlayerRecordsBulkHandlerV1Unauthorized
- type PostPlayerPublicRecordHandlerV1BadRequest
- type PostPlayerPublicRecordHandlerV1Created
- type PostPlayerPublicRecordHandlerV1Forbidden
- type PostPlayerPublicRecordHandlerV1InternalServerError
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PostPlayerPublicRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsPlayerRecordRequest)
- func (o *PostPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PostPlayerPublicRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *PostPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PostPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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 PostPlayerPublicRecordHandlerV1Response
- type PostPlayerPublicRecordHandlerV1Unauthorized
- type PostPlayerRecordHandlerV1BadRequest
- type PostPlayerRecordHandlerV1Created
- type PostPlayerRecordHandlerV1Forbidden
- type PostPlayerRecordHandlerV1InternalServerError
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PostPlayerRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsPlayerRecordRequest)
- func (o *PostPlayerRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PostPlayerRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *PostPlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PostPlayerRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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 PostPlayerRecordHandlerV1Response
- type PostPlayerRecordHandlerV1Unauthorized
- type PublicDeletePlayerPublicRecordHandlerV1BadRequest
- type PublicDeletePlayerPublicRecordHandlerV1Forbidden
- type PublicDeletePlayerPublicRecordHandlerV1InternalServerError
- type PublicDeletePlayerPublicRecordHandlerV1NoContent
- type PublicDeletePlayerPublicRecordHandlerV1NotFound
- type PublicDeletePlayerPublicRecordHandlerV1Params
- func NewPublicDeletePlayerPublicRecordHandlerV1Params() *PublicDeletePlayerPublicRecordHandlerV1Params
- func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *PublicDeletePlayerPublicRecordHandlerV1Params
- func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PublicDeletePlayerPublicRecordHandlerV1Params
- func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PublicDeletePlayerPublicRecordHandlerV1Params
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetKey(key string)
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) WithContext(ctx context.Context) *PublicDeletePlayerPublicRecordHandlerV1Params
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PublicDeletePlayerPublicRecordHandlerV1Params
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) WithKey(key string) *PublicDeletePlayerPublicRecordHandlerV1Params
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) WithNamespace(namespace string) *PublicDeletePlayerPublicRecordHandlerV1Params
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PublicDeletePlayerPublicRecordHandlerV1Params
- func (o *PublicDeletePlayerPublicRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicDeletePlayerPublicRecordHandlerV1Reader
- type PublicDeletePlayerPublicRecordHandlerV1Response
- type PublicDeletePlayerPublicRecordHandlerV1Unauthorized
- type PutPlayerPublicRecordHandlerV1BadRequest
- type PutPlayerPublicRecordHandlerV1Forbidden
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PutPlayerPublicRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsPlayerRecordRequest)
- func (o *PutPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PutPlayerPublicRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *PutPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PutPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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 PutPlayerPublicRecordHandlerV1Response
- type PutPlayerPublicRecordHandlerV1Unauthorized
- type PutPlayerRecordHandlerV1BadRequest
- type PutPlayerRecordHandlerV1Forbidden
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PutPlayerRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsPlayerRecordRequest)
- func (o *PutPlayerRecordHandlerV1Params) SetContext(ctx context.Context)
- func (o *PutPlayerRecordHandlerV1Params) SetFlightId(flightId string)
- func (o *PutPlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PutPlayerRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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
- type PutPlayerRecordHandlerV1Response
- type PutPlayerRecordHandlerV1Unauthorized
- type RetrievePlayerRecordsBadRequest
- type RetrievePlayerRecordsForbidden
- type RetrievePlayerRecordsInternalServerError
- type RetrievePlayerRecordsOK
- type RetrievePlayerRecordsParams
- func NewRetrievePlayerRecordsParams() *RetrievePlayerRecordsParams
- func NewRetrievePlayerRecordsParamsWithContext(ctx context.Context) *RetrievePlayerRecordsParams
- func NewRetrievePlayerRecordsParamsWithHTTPClient(client *http.Client) *RetrievePlayerRecordsParams
- func NewRetrievePlayerRecordsParamsWithTimeout(timeout time.Duration) *RetrievePlayerRecordsParams
- func (o *RetrievePlayerRecordsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetrievePlayerRecordsParams) SetContext(ctx context.Context)
- func (o *RetrievePlayerRecordsParams) SetFlightId(flightId string)
- func (o *RetrievePlayerRecordsParams) SetHTTPClient(client *http.Client)
- func (o *RetrievePlayerRecordsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetrievePlayerRecordsParams) SetLimit(limit *int64)
- func (o *RetrievePlayerRecordsParams) SetNamespace(namespace string)
- func (o *RetrievePlayerRecordsParams) SetOffset(offset *int64)
- func (o *RetrievePlayerRecordsParams) SetTags(tags []string)
- func (o *RetrievePlayerRecordsParams) SetTimeout(timeout time.Duration)
- func (o *RetrievePlayerRecordsParams) WithContext(ctx context.Context) *RetrievePlayerRecordsParams
- func (o *RetrievePlayerRecordsParams) WithHTTPClient(client *http.Client) *RetrievePlayerRecordsParams
- func (o *RetrievePlayerRecordsParams) WithLimit(limit *int64) *RetrievePlayerRecordsParams
- func (o *RetrievePlayerRecordsParams) WithNamespace(namespace string) *RetrievePlayerRecordsParams
- func (o *RetrievePlayerRecordsParams) WithOffset(offset *int64) *RetrievePlayerRecordsParams
- func (o *RetrievePlayerRecordsParams) WithTags(tags []string) *RetrievePlayerRecordsParams
- func (o *RetrievePlayerRecordsParams) WithTimeout(timeout time.Duration) *RetrievePlayerRecordsParams
- func (o *RetrievePlayerRecordsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrievePlayerRecordsReader
- type RetrievePlayerRecordsResponse
- type RetrievePlayerRecordsUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkGetPlayerPublicRecordHandlerV1BadRequest ¶
type BulkGetPlayerPublicRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
BulkGetPlayerPublicRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18083</td><td>invalid request body</td></tr></table>
func NewBulkGetPlayerPublicRecordHandlerV1BadRequest ¶
func NewBulkGetPlayerPublicRecordHandlerV1BadRequest() *BulkGetPlayerPublicRecordHandlerV1BadRequest
NewBulkGetPlayerPublicRecordHandlerV1BadRequest creates a BulkGetPlayerPublicRecordHandlerV1BadRequest with default headers values
func (*BulkGetPlayerPublicRecordHandlerV1BadRequest) Error ¶
func (o *BulkGetPlayerPublicRecordHandlerV1BadRequest) Error() string
func (*BulkGetPlayerPublicRecordHandlerV1BadRequest) GetPayload ¶
func (o *BulkGetPlayerPublicRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*BulkGetPlayerPublicRecordHandlerV1BadRequest) ToJSONString ¶
func (o *BulkGetPlayerPublicRecordHandlerV1BadRequest) ToJSONString() string
type BulkGetPlayerPublicRecordHandlerV1Forbidden ¶
type BulkGetPlayerPublicRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
BulkGetPlayerPublicRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewBulkGetPlayerPublicRecordHandlerV1Forbidden ¶
func NewBulkGetPlayerPublicRecordHandlerV1Forbidden() *BulkGetPlayerPublicRecordHandlerV1Forbidden
NewBulkGetPlayerPublicRecordHandlerV1Forbidden creates a BulkGetPlayerPublicRecordHandlerV1Forbidden with default headers values
func (*BulkGetPlayerPublicRecordHandlerV1Forbidden) Error ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Forbidden) Error() string
func (*BulkGetPlayerPublicRecordHandlerV1Forbidden) GetPayload ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*BulkGetPlayerPublicRecordHandlerV1Forbidden) ToJSONString ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Forbidden) ToJSONString() string
type BulkGetPlayerPublicRecordHandlerV1InternalServerError ¶
type BulkGetPlayerPublicRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
BulkGetPlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18084</td><td>unable to get record</td></tr><tr><td>18006</td><td>unable to decode record</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewBulkGetPlayerPublicRecordHandlerV1InternalServerError ¶
func NewBulkGetPlayerPublicRecordHandlerV1InternalServerError() *BulkGetPlayerPublicRecordHandlerV1InternalServerError
NewBulkGetPlayerPublicRecordHandlerV1InternalServerError creates a BulkGetPlayerPublicRecordHandlerV1InternalServerError with default headers values
func (*BulkGetPlayerPublicRecordHandlerV1InternalServerError) Error ¶
func (o *BulkGetPlayerPublicRecordHandlerV1InternalServerError) Error() string
func (*BulkGetPlayerPublicRecordHandlerV1InternalServerError) GetPayload ¶
func (o *BulkGetPlayerPublicRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*BulkGetPlayerPublicRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *BulkGetPlayerPublicRecordHandlerV1InternalServerError) ToJSONString() string
type BulkGetPlayerPublicRecordHandlerV1OK ¶
type BulkGetPlayerPublicRecordHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsBulkGetPlayerRecordResponse
}
BulkGetPlayerPublicRecordHandlerV1OK handles this case with default header values.
Record retrieved
func NewBulkGetPlayerPublicRecordHandlerV1OK ¶
func NewBulkGetPlayerPublicRecordHandlerV1OK() *BulkGetPlayerPublicRecordHandlerV1OK
NewBulkGetPlayerPublicRecordHandlerV1OK creates a BulkGetPlayerPublicRecordHandlerV1OK with default headers values
func (*BulkGetPlayerPublicRecordHandlerV1OK) Error ¶
func (o *BulkGetPlayerPublicRecordHandlerV1OK) Error() string
func (*BulkGetPlayerPublicRecordHandlerV1OK) GetPayload ¶
func (o *BulkGetPlayerPublicRecordHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsBulkGetPlayerRecordResponse
func (*BulkGetPlayerPublicRecordHandlerV1OK) ToJSONString ¶
func (o *BulkGetPlayerPublicRecordHandlerV1OK) ToJSONString() string
type BulkGetPlayerPublicRecordHandlerV1Params ¶
type BulkGetPlayerPublicRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *cloudsaveclientmodels.ModelsBulkUserIDsRequest /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
BulkGetPlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the bulk get player public record handler v1 operation typically these are written to a http.Request
func NewBulkGetPlayerPublicRecordHandlerV1Params ¶
func NewBulkGetPlayerPublicRecordHandlerV1Params() *BulkGetPlayerPublicRecordHandlerV1Params
NewBulkGetPlayerPublicRecordHandlerV1Params creates a new BulkGetPlayerPublicRecordHandlerV1Params object with the default values initialized.
func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithContext ¶
func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *BulkGetPlayerPublicRecordHandlerV1Params
NewBulkGetPlayerPublicRecordHandlerV1ParamsWithContext creates a new BulkGetPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient ¶
func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *BulkGetPlayerPublicRecordHandlerV1Params
NewBulkGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient creates a new BulkGetPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithTimeout ¶
func NewBulkGetPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *BulkGetPlayerPublicRecordHandlerV1Params
NewBulkGetPlayerPublicRecordHandlerV1ParamsWithTimeout creates a new BulkGetPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*BulkGetPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) SetBody ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsBulkUserIDsRequest)
SetBody adds the body to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) SetContext ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) SetFlightId ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*BulkGetPlayerPublicRecordHandlerV1Params) SetHTTPClient ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) SetKey ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) SetNamespace ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) SetTimeout ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) WithBody ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsBulkUserIDsRequest) *BulkGetPlayerPublicRecordHandlerV1Params
WithBody adds the body to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) WithContext ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) WithContext(ctx context.Context) *BulkGetPlayerPublicRecordHandlerV1Params
WithContext adds the context to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) WithHTTPClient ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) WithHTTPClient(client *http.Client) *BulkGetPlayerPublicRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) WithKey ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) WithKey(key string) *BulkGetPlayerPublicRecordHandlerV1Params
WithKey adds the key to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) WithNamespace ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) WithNamespace(namespace string) *BulkGetPlayerPublicRecordHandlerV1Params
WithNamespace adds the namespace to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) WithTimeout ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) WithTimeout(timeout time.Duration) *BulkGetPlayerPublicRecordHandlerV1Params
WithTimeout adds the timeout to the bulk get player public record handler v1 params
func (*BulkGetPlayerPublicRecordHandlerV1Params) WriteToRequest ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkGetPlayerPublicRecordHandlerV1Reader ¶
type BulkGetPlayerPublicRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
BulkGetPlayerPublicRecordHandlerV1Reader is a Reader for the BulkGetPlayerPublicRecordHandlerV1 structure.
func (*BulkGetPlayerPublicRecordHandlerV1Reader) ReadResponse ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BulkGetPlayerPublicRecordHandlerV1Response ¶
type BulkGetPlayerPublicRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsBulkGetPlayerRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
type BulkGetPlayerPublicRecordHandlerV1Unauthorized ¶
type BulkGetPlayerPublicRecordHandlerV1Unauthorized struct {
}BulkGetPlayerPublicRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewBulkGetPlayerPublicRecordHandlerV1Unauthorized ¶
func NewBulkGetPlayerPublicRecordHandlerV1Unauthorized() *BulkGetPlayerPublicRecordHandlerV1Unauthorized
NewBulkGetPlayerPublicRecordHandlerV1Unauthorized creates a BulkGetPlayerPublicRecordHandlerV1Unauthorized with default headers values
func (*BulkGetPlayerPublicRecordHandlerV1Unauthorized) Error ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Unauthorized) Error() string
func (*BulkGetPlayerPublicRecordHandlerV1Unauthorized) GetPayload ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*BulkGetPlayerPublicRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *BulkGetPlayerPublicRecordHandlerV1Unauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for public player record API
func (*Client) BulkGetPlayerPublicRecordHandlerV1Short ¶
func (a *Client) BulkGetPlayerPublicRecordHandlerV1Short(params *BulkGetPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetPlayerPublicRecordHandlerV1Response, error)
BulkGetPlayerPublicRecordHandlerV1Short bulk get player public records Bulk get other player's record that is public by userIds, max allowed 20 at a time. Only record with `isPublic=true` that can be retrieved using this endpoint.
func (*Client) DeletePlayerRecordHandlerV1Short ¶
func (a *Client) DeletePlayerRecordHandlerV1Short(params *DeletePlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeletePlayerRecordHandlerV1Response, error)
DeletePlayerRecordHandlerV1Short delete player record Delete player record by its key. Only user that own the player record could delete it.
func (*Client) GetOtherPlayerPublicRecordHandlerV1Short ¶
func (a *Client) GetOtherPlayerPublicRecordHandlerV1Short(params *GetOtherPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetOtherPlayerPublicRecordHandlerV1Response, error)
GetOtherPlayerPublicRecordHandlerV1Short get other player public record bulk Retrieve other player public record key and payload in bulk under given namespace.
Maximum bulk key limit per request 20
func (*Client) GetOtherPlayerPublicRecordKeyHandlerV1Short ¶
func (a *Client) GetOtherPlayerPublicRecordKeyHandlerV1Short(params *GetOtherPlayerPublicRecordKeyHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetOtherPlayerPublicRecordKeyHandlerV1Response, error)
GetOtherPlayerPublicRecordKeyHandlerV1Short query other player public record key Retrieve list of other public player records key under given namespace.
func (*Client) GetPlayerPublicRecordHandlerV1Short ¶
func (a *Client) GetPlayerPublicRecordHandlerV1Short(params *GetPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerPublicRecordHandlerV1Response, error)
GetPlayerPublicRecordHandlerV1Short get player public record Get other player's record that is public. Only record with `isPublic=true` that can be retrieved using this endpoint.
func (*Client) GetPlayerRecordHandlerV1Short ¶
func (a *Client) GetPlayerRecordHandlerV1Short(params *GetPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerRecordHandlerV1Response, error)
GetPlayerRecordHandlerV1Short get player record Get player record by its key. **Private Record**: Only user that own the player record could retrieve it.
func (*Client) GetPlayerRecordsBulkHandlerV1Short ¶
func (a *Client) GetPlayerRecordsBulkHandlerV1Short(params *GetPlayerRecordsBulkHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerRecordsBulkHandlerV1Response, error)
GetPlayerRecordsBulkHandlerV1Short get player records bulk Retrieve player record key and payload in bulk under given namespace.
Maximum bulk key limit per request 20
func (*Client) PostPlayerPublicRecordHandlerV1Short ¶
func (a *Client) PostPlayerPublicRecordHandlerV1Short(params *PostPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerPublicRecordHandlerV1Response, error)
PostPlayerPublicRecordHandlerV1Short create or append player public record ## Description
This endpoints will create new player public record or append the existing player public record.
**Append example:**
Example 1 - Existing JSON:
`{ "data1": "value" }`
- New JSON:
`{ "data2": "new value" }`
- Result:
`{ "data1": "value", "data2": "new value" }`
Example 2 - Existing JSON:
`{ "data1": { "data2": "value" }`
- New JSON:
`{ "data1": { "data3": "new value" }`
- Result:
`{ "data1": { "data2": "value", "data3": "new value" }`
## Restriction This is the restriction of Key Naming for the record: 1. Cannot use **"."** as the key name - `{ "data.2": "value" }` 2. Cannot use **"$"** as the prefix in key names - `{ "$data": "value" }`
## Reserved Word
Reserved Word List: **__META**
The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.
## Warning: This endpoint is going to deprecate
This endpoint is going to deprecate in the future please don't use it.
For alternative, please use these endpoints: - **POST /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}** and utilizing **__META** functionality - **PUT /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}** and utilizing **__META** functionality - **DELETE /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}**
func (*Client) PostPlayerRecordHandlerV1Short ¶
func (a *Client) PostPlayerRecordHandlerV1Short(params *PostPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerRecordHandlerV1Response, error)
PostPlayerRecordHandlerV1Short create or append player record ## Description
This endpoints will create new player record or append the existing player record. Only user that own the existing player record could modify.
**Append example:**
Example 1 - Existing JSON:
`{ "data1": "value" }`
- New JSON:
`{ "data2": "new value" }`
- Result:
`{ "data1": "value", "data2": "new value" }`
Example 2 - Existing JSON:
`{ "data1": { "data2": "value" }`
- New JSON:
`{ "data1": { "data3": "new value" }`
- Result:
`{ "data1": { "data2": "value", "data3": "new value" }`
## Restriction This is the restriction of Key Naming for the record: 1. Cannot use **"."** as the key name - `{ "data.2": "value" }` 2. Cannot use **"$"** as the prefix in key names - `{ "$data": "value" }`
## Record Metadata
Metadata allows user to define the behaviour of the record. Metadata can be defined in request body with field name **__META**. When creating record, if **__META** field is not defined, the metadata value will use the default value. When updating record, if **__META** field is not defined, the existing metadata value will stay as is.
**Metadata List:** 1. is_public (default: false, type: bool) Indicate whether the player record is a public record or not.
**Request Body Example:** ``` { "__META": { "is_public": true } ... } ```
func (*Client) PublicDeletePlayerPublicRecordHandlerV1Short ¶
func (a *Client) PublicDeletePlayerPublicRecordHandlerV1Short(params *PublicDeletePlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeletePlayerPublicRecordHandlerV1Response, error)
PublicDeletePlayerPublicRecordHandlerV1Short delete player public record Delete player public record.
## Warning: This endpoint is going to deprecate
This endpoint is going to deprecate in the future please don't use it.
For alternative, please use these endpoints: - **POST /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}** and utilizing **__META** functionality - **PUT /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}** and utilizing **__META** functionality - **DELETE /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}**
func (*Client) PutPlayerPublicRecordHandlerV1Short ¶
func (a *Client) PutPlayerPublicRecordHandlerV1Short(params *PutPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordHandlerV1Response, error)
PutPlayerPublicRecordHandlerV1Short create or replace player public record ## Description
This endpoints will create new player public record or replace the existing player public record.
**Replace behaviour:** The existing value will be replaced completely with the new value.
Example - Existing JSON:
`{ "data1": "value" }`
- New JSON:
`{ "data2": "new value" }`
- Result:
`{ "data2": "new value" }`
## Restriction This is the restriction of Key Naming for the record: 1. Cannot use **"."** as the key name - `{ "data.2": "value" }` 2. Cannot use **"$"** as the prefix in key names - `{ "$data": "value" }`
## Reserved Word
Reserved Word List: **__META**
The reserved word cannot be used as a field in record value, If still defining the field when creating or updating the record, it will be ignored.
## Warning: This endpoint is going to deprecate
This endpoint is going to deprecate in the future please don't use it.
For alternative, please use these endpoints: - **POST /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}** and utilizing **__META** functionality - **PUT /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}** and utilizing **__META** functionality - **DELETE /cloudsave/v1/namespaces/{namespace}/users/{userId}/records/{key}**
func (*Client) PutPlayerRecordHandlerV1Short ¶
func (a *Client) PutPlayerRecordHandlerV1Short(params *PutPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordHandlerV1Response, error)
PutPlayerRecordHandlerV1Short create or replace player record ## Description
This endpoints will create new player record or replace the existing player record. Only user that own the existing player record could modify it.
**Replace behaviour:** The existing value will be replaced completely with the new value.
Example - Existing JSON:
`{ "data1": "value" }`
- New JSON:
`{ "data2": "new value" }`
- Result:
`{ "data2": "new value" }`
## Restriction This is the restriction of Key Naming for the record: 1. Cannot use **"."** as the key name - `{ "data.2": "value" }` 2. Cannot use **"$"** as the prefix in key names - `{ "$data": "value" }`
## Record Metadata
Metadata allows user to define the behaviour of the record. Metadata can be defined in request body with field name **__META**. When creating record, if **__META** field is not defined, the metadata value will use the default value. When updating record, if **__META** field is not defined, the existing metadata value will stay as is.
**Metadata List:** 1. is_public (default: false, type: bool) Indicate whether the player record is a public record or not.
**Request Body Example:** ``` { "__META": { "is_public": true } ... } ```
func (*Client) RetrievePlayerRecordsShort ¶
func (a *Client) RetrievePlayerRecordsShort(params *RetrievePlayerRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePlayerRecordsResponse, error)
RetrievePlayerRecordsShort query player records key Retrieve list of player records key under given namespace.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { BulkGetPlayerPublicRecordHandlerV1Short(params *BulkGetPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*BulkGetPlayerPublicRecordHandlerV1Response, error) RetrievePlayerRecordsShort(params *RetrievePlayerRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*RetrievePlayerRecordsResponse, error) GetPlayerRecordsBulkHandlerV1Short(params *GetPlayerRecordsBulkHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerRecordsBulkHandlerV1Response, error) PublicDeletePlayerPublicRecordHandlerV1Short(params *PublicDeletePlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicDeletePlayerPublicRecordHandlerV1Response, error) GetOtherPlayerPublicRecordKeyHandlerV1Short(params *GetOtherPlayerPublicRecordKeyHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetOtherPlayerPublicRecordKeyHandlerV1Response, error) GetOtherPlayerPublicRecordHandlerV1Short(params *GetOtherPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetOtherPlayerPublicRecordHandlerV1Response, error) GetPlayerRecordHandlerV1Short(params *GetPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerRecordHandlerV1Response, error) PutPlayerRecordHandlerV1Short(params *PutPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerRecordHandlerV1Response, error) PostPlayerRecordHandlerV1Short(params *PostPlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerRecordHandlerV1Response, error) DeletePlayerRecordHandlerV1Short(params *DeletePlayerRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeletePlayerRecordHandlerV1Response, error) GetPlayerPublicRecordHandlerV1Short(params *GetPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetPlayerPublicRecordHandlerV1Response, error) PutPlayerPublicRecordHandlerV1Short(params *PutPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PutPlayerPublicRecordHandlerV1Response, error) PostPlayerPublicRecordHandlerV1Short(params *PostPlayerPublicRecordHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PostPlayerPublicRecordHandlerV1Response, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new public player record API client.
type DeletePlayerRecordHandlerV1BadRequest ¶
type DeletePlayerRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
DeletePlayerRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr></table>
func NewDeletePlayerRecordHandlerV1BadRequest ¶
func NewDeletePlayerRecordHandlerV1BadRequest() *DeletePlayerRecordHandlerV1BadRequest
NewDeletePlayerRecordHandlerV1BadRequest creates a DeletePlayerRecordHandlerV1BadRequest with default headers values
func (*DeletePlayerRecordHandlerV1BadRequest) Error ¶
func (o *DeletePlayerRecordHandlerV1BadRequest) Error() string
func (*DeletePlayerRecordHandlerV1BadRequest) GetPayload ¶
func (o *DeletePlayerRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*DeletePlayerRecordHandlerV1BadRequest) ToJSONString ¶
func (o *DeletePlayerRecordHandlerV1BadRequest) ToJSONString() string
type DeletePlayerRecordHandlerV1Forbidden ¶
type DeletePlayerRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
DeletePlayerRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18072</td><td>delete action is forbidden on other user's record</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewDeletePlayerRecordHandlerV1Forbidden ¶
func NewDeletePlayerRecordHandlerV1Forbidden() *DeletePlayerRecordHandlerV1Forbidden
NewDeletePlayerRecordHandlerV1Forbidden creates a DeletePlayerRecordHandlerV1Forbidden with default headers values
func (*DeletePlayerRecordHandlerV1Forbidden) Error ¶
func (o *DeletePlayerRecordHandlerV1Forbidden) Error() string
func (*DeletePlayerRecordHandlerV1Forbidden) GetPayload ¶
func (o *DeletePlayerRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*DeletePlayerRecordHandlerV1Forbidden) ToJSONString ¶
func (o *DeletePlayerRecordHandlerV1Forbidden) ToJSONString() string
type DeletePlayerRecordHandlerV1InternalServerError ¶
type DeletePlayerRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
DeletePlayerRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18070</td><td>unable to delete record</td></tr></table>
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.ModelsResponseError
func (*DeletePlayerRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *DeletePlayerRecordHandlerV1InternalServerError) ToJSONString() string
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 { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string /*UserID user ID who own the record, should follow UUID version 4 without hyphen format */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
DeletePlayerRecordHandlerV1Params contains all the parameters to send to the API endpoint for the delete player record handler v1 operation typically these are written to a http.Request
func NewDeletePlayerRecordHandlerV1Params ¶
func NewDeletePlayerRecordHandlerV1Params() *DeletePlayerRecordHandlerV1Params
NewDeletePlayerRecordHandlerV1Params creates a new DeletePlayerRecordHandlerV1Params object with the default values initialized.
func NewDeletePlayerRecordHandlerV1ParamsWithContext ¶
func NewDeletePlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *DeletePlayerRecordHandlerV1Params
NewDeletePlayerRecordHandlerV1ParamsWithContext creates a new DeletePlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewDeletePlayerRecordHandlerV1ParamsWithHTTPClient ¶
func NewDeletePlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *DeletePlayerRecordHandlerV1Params
NewDeletePlayerRecordHandlerV1ParamsWithHTTPClient creates a new DeletePlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePlayerRecordHandlerV1ParamsWithTimeout ¶
func NewDeletePlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *DeletePlayerRecordHandlerV1Params
NewDeletePlayerRecordHandlerV1ParamsWithTimeout creates a new DeletePlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePlayerRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *DeletePlayerRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) SetContext ¶
func (o *DeletePlayerRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) SetFlightId ¶
func (o *DeletePlayerRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DeletePlayerRecordHandlerV1Params) SetHTTPClient ¶
func (o *DeletePlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete player record handler v1 params
func (*DeletePlayerRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *DeletePlayerRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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 DeletePlayerRecordHandlerV1Response ¶
type DeletePlayerRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
func (*DeletePlayerRecordHandlerV1Response) Unpack ¶
func (m *DeletePlayerRecordHandlerV1Response) Unpack() *cloudsaveclientmodels.ApiError
type DeletePlayerRecordHandlerV1Unauthorized ¶
type DeletePlayerRecordHandlerV1Unauthorized struct {
}DeletePlayerRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewDeletePlayerRecordHandlerV1Unauthorized ¶
func NewDeletePlayerRecordHandlerV1Unauthorized() *DeletePlayerRecordHandlerV1Unauthorized
NewDeletePlayerRecordHandlerV1Unauthorized creates a DeletePlayerRecordHandlerV1Unauthorized with default headers values
func (*DeletePlayerRecordHandlerV1Unauthorized) Error ¶
func (o *DeletePlayerRecordHandlerV1Unauthorized) Error() string
func (*DeletePlayerRecordHandlerV1Unauthorized) GetPayload ¶
func (o *DeletePlayerRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*DeletePlayerRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *DeletePlayerRecordHandlerV1Unauthorized) ToJSONString() string
type GetOtherPlayerPublicRecordHandlerV1BadRequest ¶
type GetOtherPlayerPublicRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetOtherPlayerPublicRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18125</td><td>invalid request body</td></tr><tr><td>18126</td><td>request record keys list exceed max size [%d]</td></tr></table>
func NewGetOtherPlayerPublicRecordHandlerV1BadRequest ¶
func NewGetOtherPlayerPublicRecordHandlerV1BadRequest() *GetOtherPlayerPublicRecordHandlerV1BadRequest
NewGetOtherPlayerPublicRecordHandlerV1BadRequest creates a GetOtherPlayerPublicRecordHandlerV1BadRequest with default headers values
func (*GetOtherPlayerPublicRecordHandlerV1BadRequest) Error ¶
func (o *GetOtherPlayerPublicRecordHandlerV1BadRequest) Error() string
func (*GetOtherPlayerPublicRecordHandlerV1BadRequest) GetPayload ¶
func (o *GetOtherPlayerPublicRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetOtherPlayerPublicRecordHandlerV1BadRequest) ToJSONString ¶
func (o *GetOtherPlayerPublicRecordHandlerV1BadRequest) ToJSONString() string
type GetOtherPlayerPublicRecordHandlerV1Forbidden ¶
type GetOtherPlayerPublicRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetOtherPlayerPublicRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetOtherPlayerPublicRecordHandlerV1Forbidden ¶
func NewGetOtherPlayerPublicRecordHandlerV1Forbidden() *GetOtherPlayerPublicRecordHandlerV1Forbidden
NewGetOtherPlayerPublicRecordHandlerV1Forbidden creates a GetOtherPlayerPublicRecordHandlerV1Forbidden with default headers values
func (*GetOtherPlayerPublicRecordHandlerV1Forbidden) Error ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Forbidden) Error() string
func (*GetOtherPlayerPublicRecordHandlerV1Forbidden) GetPayload ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetOtherPlayerPublicRecordHandlerV1Forbidden) ToJSONString ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Forbidden) ToJSONString() string
type GetOtherPlayerPublicRecordHandlerV1InternalServerError ¶
type GetOtherPlayerPublicRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetOtherPlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18124</td><td>unable to get record</td></tr><tr><td>18006</td><td>unable to decode record</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewGetOtherPlayerPublicRecordHandlerV1InternalServerError ¶
func NewGetOtherPlayerPublicRecordHandlerV1InternalServerError() *GetOtherPlayerPublicRecordHandlerV1InternalServerError
NewGetOtherPlayerPublicRecordHandlerV1InternalServerError creates a GetOtherPlayerPublicRecordHandlerV1InternalServerError with default headers values
func (*GetOtherPlayerPublicRecordHandlerV1InternalServerError) Error ¶
func (o *GetOtherPlayerPublicRecordHandlerV1InternalServerError) Error() string
func (*GetOtherPlayerPublicRecordHandlerV1InternalServerError) GetPayload ¶
func (o *GetOtherPlayerPublicRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetOtherPlayerPublicRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *GetOtherPlayerPublicRecordHandlerV1InternalServerError) ToJSONString() string
type GetOtherPlayerPublicRecordHandlerV1OK ¶
type GetOtherPlayerPublicRecordHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsBulkGetPlayerRecordResponse
}
GetOtherPlayerPublicRecordHandlerV1OK handles this case with default header values.
Successful operation
func NewGetOtherPlayerPublicRecordHandlerV1OK ¶
func NewGetOtherPlayerPublicRecordHandlerV1OK() *GetOtherPlayerPublicRecordHandlerV1OK
NewGetOtherPlayerPublicRecordHandlerV1OK creates a GetOtherPlayerPublicRecordHandlerV1OK with default headers values
func (*GetOtherPlayerPublicRecordHandlerV1OK) Error ¶
func (o *GetOtherPlayerPublicRecordHandlerV1OK) Error() string
func (*GetOtherPlayerPublicRecordHandlerV1OK) GetPayload ¶
func (o *GetOtherPlayerPublicRecordHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsBulkGetPlayerRecordResponse
func (*GetOtherPlayerPublicRecordHandlerV1OK) ToJSONString ¶
func (o *GetOtherPlayerPublicRecordHandlerV1OK) ToJSONString() string
type GetOtherPlayerPublicRecordHandlerV1Params ¶
type GetOtherPlayerPublicRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *cloudsaveclientmodels.ModelsBulkGetPlayerRecordsRequest /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string /*UserID user ID who own the record, should follow UUID version 4 without hyphen format */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetOtherPlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the get other player public record handler v1 operation typically these are written to a http.Request
func NewGetOtherPlayerPublicRecordHandlerV1Params ¶
func NewGetOtherPlayerPublicRecordHandlerV1Params() *GetOtherPlayerPublicRecordHandlerV1Params
NewGetOtherPlayerPublicRecordHandlerV1Params creates a new GetOtherPlayerPublicRecordHandlerV1Params object with the default values initialized.
func NewGetOtherPlayerPublicRecordHandlerV1ParamsWithContext ¶
func NewGetOtherPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *GetOtherPlayerPublicRecordHandlerV1Params
NewGetOtherPlayerPublicRecordHandlerV1ParamsWithContext creates a new GetOtherPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewGetOtherPlayerPublicRecordHandlerV1ParamsWithHTTPClient ¶
func NewGetOtherPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *GetOtherPlayerPublicRecordHandlerV1Params
NewGetOtherPlayerPublicRecordHandlerV1ParamsWithHTTPClient creates a new GetOtherPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOtherPlayerPublicRecordHandlerV1ParamsWithTimeout ¶
func NewGetOtherPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *GetOtherPlayerPublicRecordHandlerV1Params
NewGetOtherPlayerPublicRecordHandlerV1ParamsWithTimeout creates a new GetOtherPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetOtherPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) SetBody ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsBulkGetPlayerRecordsRequest)
SetBody adds the body to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) SetContext ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) SetFlightId ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetOtherPlayerPublicRecordHandlerV1Params) SetHTTPClient ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) SetNamespace ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) SetTimeout ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) SetUserID ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) WithBody ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsBulkGetPlayerRecordsRequest) *GetOtherPlayerPublicRecordHandlerV1Params
WithBody adds the body to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) WithContext ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) WithContext(ctx context.Context) *GetOtherPlayerPublicRecordHandlerV1Params
WithContext adds the context to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) WithHTTPClient ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) WithHTTPClient(client *http.Client) *GetOtherPlayerPublicRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) WithNamespace ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) WithNamespace(namespace string) *GetOtherPlayerPublicRecordHandlerV1Params
WithNamespace adds the namespace to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) WithTimeout ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) WithTimeout(timeout time.Duration) *GetOtherPlayerPublicRecordHandlerV1Params
WithTimeout adds the timeout to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) WithUserID ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) WithUserID(userID string) *GetOtherPlayerPublicRecordHandlerV1Params
WithUserID adds the userID to the get other player public record handler v1 params
func (*GetOtherPlayerPublicRecordHandlerV1Params) WriteToRequest ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOtherPlayerPublicRecordHandlerV1Reader ¶
type GetOtherPlayerPublicRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
GetOtherPlayerPublicRecordHandlerV1Reader is a Reader for the GetOtherPlayerPublicRecordHandlerV1 structure.
func (*GetOtherPlayerPublicRecordHandlerV1Reader) ReadResponse ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOtherPlayerPublicRecordHandlerV1Response ¶
type GetOtherPlayerPublicRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsBulkGetPlayerRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
type GetOtherPlayerPublicRecordHandlerV1Unauthorized ¶
type GetOtherPlayerPublicRecordHandlerV1Unauthorized struct {
}GetOtherPlayerPublicRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetOtherPlayerPublicRecordHandlerV1Unauthorized ¶
func NewGetOtherPlayerPublicRecordHandlerV1Unauthorized() *GetOtherPlayerPublicRecordHandlerV1Unauthorized
NewGetOtherPlayerPublicRecordHandlerV1Unauthorized creates a GetOtherPlayerPublicRecordHandlerV1Unauthorized with default headers values
func (*GetOtherPlayerPublicRecordHandlerV1Unauthorized) Error ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Unauthorized) Error() string
func (*GetOtherPlayerPublicRecordHandlerV1Unauthorized) GetPayload ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetOtherPlayerPublicRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *GetOtherPlayerPublicRecordHandlerV1Unauthorized) ToJSONString() string
type GetOtherPlayerPublicRecordKeyHandlerV1BadRequest ¶
type GetOtherPlayerPublicRecordKeyHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetOtherPlayerPublicRecordKeyHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18113</td><td>invalid request body</td></tr></table>
func NewGetOtherPlayerPublicRecordKeyHandlerV1BadRequest ¶
func NewGetOtherPlayerPublicRecordKeyHandlerV1BadRequest() *GetOtherPlayerPublicRecordKeyHandlerV1BadRequest
NewGetOtherPlayerPublicRecordKeyHandlerV1BadRequest creates a GetOtherPlayerPublicRecordKeyHandlerV1BadRequest with default headers values
func (*GetOtherPlayerPublicRecordKeyHandlerV1BadRequest) Error ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1BadRequest) Error() string
func (*GetOtherPlayerPublicRecordKeyHandlerV1BadRequest) GetPayload ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetOtherPlayerPublicRecordKeyHandlerV1BadRequest) ToJSONString ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1BadRequest) ToJSONString() string
type GetOtherPlayerPublicRecordKeyHandlerV1Forbidden ¶
type GetOtherPlayerPublicRecordKeyHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetOtherPlayerPublicRecordKeyHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetOtherPlayerPublicRecordKeyHandlerV1Forbidden ¶
func NewGetOtherPlayerPublicRecordKeyHandlerV1Forbidden() *GetOtherPlayerPublicRecordKeyHandlerV1Forbidden
NewGetOtherPlayerPublicRecordKeyHandlerV1Forbidden creates a GetOtherPlayerPublicRecordKeyHandlerV1Forbidden with default headers values
func (*GetOtherPlayerPublicRecordKeyHandlerV1Forbidden) Error ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Forbidden) Error() string
func (*GetOtherPlayerPublicRecordKeyHandlerV1Forbidden) GetPayload ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetOtherPlayerPublicRecordKeyHandlerV1Forbidden) ToJSONString ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Forbidden) ToJSONString() string
type GetOtherPlayerPublicRecordKeyHandlerV1InternalServerError ¶
type GetOtherPlayerPublicRecordKeyHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetOtherPlayerPublicRecordKeyHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18114</td><td>unable to retrieve list of key records</td></tr></table>
func NewGetOtherPlayerPublicRecordKeyHandlerV1InternalServerError ¶
func NewGetOtherPlayerPublicRecordKeyHandlerV1InternalServerError() *GetOtherPlayerPublicRecordKeyHandlerV1InternalServerError
NewGetOtherPlayerPublicRecordKeyHandlerV1InternalServerError creates a GetOtherPlayerPublicRecordKeyHandlerV1InternalServerError with default headers values
func (*GetOtherPlayerPublicRecordKeyHandlerV1InternalServerError) Error ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1InternalServerError) Error() string
func (*GetOtherPlayerPublicRecordKeyHandlerV1InternalServerError) GetPayload ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetOtherPlayerPublicRecordKeyHandlerV1InternalServerError) ToJSONString ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1InternalServerError) ToJSONString() string
type GetOtherPlayerPublicRecordKeyHandlerV1OK ¶
type GetOtherPlayerPublicRecordKeyHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsListPlayerRecordKeysResponse
}
GetOtherPlayerPublicRecordKeyHandlerV1OK handles this case with default header values.
Successful operation
func NewGetOtherPlayerPublicRecordKeyHandlerV1OK ¶
func NewGetOtherPlayerPublicRecordKeyHandlerV1OK() *GetOtherPlayerPublicRecordKeyHandlerV1OK
NewGetOtherPlayerPublicRecordKeyHandlerV1OK creates a GetOtherPlayerPublicRecordKeyHandlerV1OK with default headers values
func (*GetOtherPlayerPublicRecordKeyHandlerV1OK) Error ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1OK) Error() string
func (*GetOtherPlayerPublicRecordKeyHandlerV1OK) GetPayload ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsListPlayerRecordKeysResponse
func (*GetOtherPlayerPublicRecordKeyHandlerV1OK) ToJSONString ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1OK) ToJSONString() string
type GetOtherPlayerPublicRecordKeyHandlerV1Params ¶
type GetOtherPlayerPublicRecordKeyHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string /*UserID user ID who own the record, should follow UUID version 4 without hyphen format */ UserID string /*Limit the number of data retrieved in a page, default 25 */ Limit *int64 /*Offset the number of offset, default 0 */ Offset *int64 /*Tags filter list by tags, max 5 tags per request */ Tags []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetOtherPlayerPublicRecordKeyHandlerV1Params contains all the parameters to send to the API endpoint for the get other player public record key handler v1 operation typically these are written to a http.Request
func NewGetOtherPlayerPublicRecordKeyHandlerV1Params ¶
func NewGetOtherPlayerPublicRecordKeyHandlerV1Params() *GetOtherPlayerPublicRecordKeyHandlerV1Params
NewGetOtherPlayerPublicRecordKeyHandlerV1Params creates a new GetOtherPlayerPublicRecordKeyHandlerV1Params object with the default values initialized.
func NewGetOtherPlayerPublicRecordKeyHandlerV1ParamsWithContext ¶
func NewGetOtherPlayerPublicRecordKeyHandlerV1ParamsWithContext(ctx context.Context) *GetOtherPlayerPublicRecordKeyHandlerV1Params
NewGetOtherPlayerPublicRecordKeyHandlerV1ParamsWithContext creates a new GetOtherPlayerPublicRecordKeyHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewGetOtherPlayerPublicRecordKeyHandlerV1ParamsWithHTTPClient ¶
func NewGetOtherPlayerPublicRecordKeyHandlerV1ParamsWithHTTPClient(client *http.Client) *GetOtherPlayerPublicRecordKeyHandlerV1Params
NewGetOtherPlayerPublicRecordKeyHandlerV1ParamsWithHTTPClient creates a new GetOtherPlayerPublicRecordKeyHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOtherPlayerPublicRecordKeyHandlerV1ParamsWithTimeout ¶
func NewGetOtherPlayerPublicRecordKeyHandlerV1ParamsWithTimeout(timeout time.Duration) *GetOtherPlayerPublicRecordKeyHandlerV1Params
NewGetOtherPlayerPublicRecordKeyHandlerV1ParamsWithTimeout creates a new GetOtherPlayerPublicRecordKeyHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) SetAuthInfoWriter ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) SetContext ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) SetFlightId ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) SetHTTPClient ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) SetHTTPClientTransport ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) SetLimit ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetLimit(limit *int64)
SetLimit adds the limit to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) SetNamespace ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) SetOffset ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetOffset(offset *int64)
SetOffset adds the offset to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) SetTags ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetTags(tags []string)
SetTags adds the tags to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) SetTimeout ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) SetUserID ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) WithContext ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithContext(ctx context.Context) *GetOtherPlayerPublicRecordKeyHandlerV1Params
WithContext adds the context to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) WithHTTPClient ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithHTTPClient(client *http.Client) *GetOtherPlayerPublicRecordKeyHandlerV1Params
WithHTTPClient adds the HTTPClient to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) WithLimit ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithLimit(limit *int64) *GetOtherPlayerPublicRecordKeyHandlerV1Params
WithLimit adds the limit to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) WithNamespace ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithNamespace(namespace string) *GetOtherPlayerPublicRecordKeyHandlerV1Params
WithNamespace adds the namespace to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) WithOffset ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithOffset(offset *int64) *GetOtherPlayerPublicRecordKeyHandlerV1Params
WithOffset adds the offset to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) WithTags ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithTags(tags []string) *GetOtherPlayerPublicRecordKeyHandlerV1Params
WithTags adds the tags to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) WithTimeout ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithTimeout(timeout time.Duration) *GetOtherPlayerPublicRecordKeyHandlerV1Params
WithTimeout adds the timeout to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) WithUserID ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WithUserID(userID string) *GetOtherPlayerPublicRecordKeyHandlerV1Params
WithUserID adds the userID to the get other player public record key handler v1 params
func (*GetOtherPlayerPublicRecordKeyHandlerV1Params) WriteToRequest ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOtherPlayerPublicRecordKeyHandlerV1Reader ¶
type GetOtherPlayerPublicRecordKeyHandlerV1Reader struct {
// contains filtered or unexported fields
}
GetOtherPlayerPublicRecordKeyHandlerV1Reader is a Reader for the GetOtherPlayerPublicRecordKeyHandlerV1 structure.
func (*GetOtherPlayerPublicRecordKeyHandlerV1Reader) ReadResponse ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOtherPlayerPublicRecordKeyHandlerV1Response ¶
type GetOtherPlayerPublicRecordKeyHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsListPlayerRecordKeysResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
type GetOtherPlayerPublicRecordKeyHandlerV1Unauthorized ¶
type GetOtherPlayerPublicRecordKeyHandlerV1Unauthorized struct {
}GetOtherPlayerPublicRecordKeyHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetOtherPlayerPublicRecordKeyHandlerV1Unauthorized ¶
func NewGetOtherPlayerPublicRecordKeyHandlerV1Unauthorized() *GetOtherPlayerPublicRecordKeyHandlerV1Unauthorized
NewGetOtherPlayerPublicRecordKeyHandlerV1Unauthorized creates a GetOtherPlayerPublicRecordKeyHandlerV1Unauthorized with default headers values
func (*GetOtherPlayerPublicRecordKeyHandlerV1Unauthorized) Error ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Unauthorized) Error() string
func (*GetOtherPlayerPublicRecordKeyHandlerV1Unauthorized) GetPayload ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetOtherPlayerPublicRecordKeyHandlerV1Unauthorized) ToJSONString ¶
func (o *GetOtherPlayerPublicRecordKeyHandlerV1Unauthorized) ToJSONString() string
type GetPlayerPublicRecordHandlerV1BadRequest ¶
type GetPlayerPublicRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetPlayerPublicRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewGetPlayerPublicRecordHandlerV1BadRequest ¶
func NewGetPlayerPublicRecordHandlerV1BadRequest() *GetPlayerPublicRecordHandlerV1BadRequest
NewGetPlayerPublicRecordHandlerV1BadRequest creates a GetPlayerPublicRecordHandlerV1BadRequest with default headers values
func (*GetPlayerPublicRecordHandlerV1BadRequest) Error ¶
func (o *GetPlayerPublicRecordHandlerV1BadRequest) Error() string
func (*GetPlayerPublicRecordHandlerV1BadRequest) GetPayload ¶
func (o *GetPlayerPublicRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetPlayerPublicRecordHandlerV1BadRequest) ToJSONString ¶
func (o *GetPlayerPublicRecordHandlerV1BadRequest) ToJSONString() string
type GetPlayerPublicRecordHandlerV1Forbidden ¶
type GetPlayerPublicRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetPlayerPublicRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetPlayerPublicRecordHandlerV1Forbidden ¶
func NewGetPlayerPublicRecordHandlerV1Forbidden() *GetPlayerPublicRecordHandlerV1Forbidden
NewGetPlayerPublicRecordHandlerV1Forbidden creates a GetPlayerPublicRecordHandlerV1Forbidden with default headers values
func (*GetPlayerPublicRecordHandlerV1Forbidden) Error ¶
func (o *GetPlayerPublicRecordHandlerV1Forbidden) Error() string
func (*GetPlayerPublicRecordHandlerV1Forbidden) GetPayload ¶
func (o *GetPlayerPublicRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetPlayerPublicRecordHandlerV1Forbidden) ToJSONString ¶
func (o *GetPlayerPublicRecordHandlerV1Forbidden) ToJSONString() string
type GetPlayerPublicRecordHandlerV1InternalServerError ¶
type GetPlayerPublicRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetPlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18080</td><td>unable to get record</td></tr><tr><td>18006</td><td>unable to decode record</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
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.ModelsResponseError
func (*GetPlayerPublicRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *GetPlayerPublicRecordHandlerV1InternalServerError) ToJSONString() string
type GetPlayerPublicRecordHandlerV1NotFound ¶
type GetPlayerPublicRecordHandlerV1NotFound struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetPlayerPublicRecordHandlerV1NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18081</td><td>record not found</td></tr></table>
func NewGetPlayerPublicRecordHandlerV1NotFound ¶
func NewGetPlayerPublicRecordHandlerV1NotFound() *GetPlayerPublicRecordHandlerV1NotFound
NewGetPlayerPublicRecordHandlerV1NotFound creates a GetPlayerPublicRecordHandlerV1NotFound with default headers values
func (*GetPlayerPublicRecordHandlerV1NotFound) Error ¶
func (o *GetPlayerPublicRecordHandlerV1NotFound) Error() string
func (*GetPlayerPublicRecordHandlerV1NotFound) GetPayload ¶
func (o *GetPlayerPublicRecordHandlerV1NotFound) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetPlayerPublicRecordHandlerV1NotFound) ToJSONString ¶
func (o *GetPlayerPublicRecordHandlerV1NotFound) ToJSONString() string
type GetPlayerPublicRecordHandlerV1OK ¶
type GetPlayerPublicRecordHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsPlayerRecordResponse
}
GetPlayerPublicRecordHandlerV1OK handles this case with default header values.
Record retrieved
func NewGetPlayerPublicRecordHandlerV1OK ¶
func NewGetPlayerPublicRecordHandlerV1OK() *GetPlayerPublicRecordHandlerV1OK
NewGetPlayerPublicRecordHandlerV1OK creates a GetPlayerPublicRecordHandlerV1OK with default headers values
func (*GetPlayerPublicRecordHandlerV1OK) Error ¶
func (o *GetPlayerPublicRecordHandlerV1OK) Error() string
func (*GetPlayerPublicRecordHandlerV1OK) GetPayload ¶
func (o *GetPlayerPublicRecordHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsPlayerRecordResponse
func (*GetPlayerPublicRecordHandlerV1OK) ToJSONString ¶
func (o *GetPlayerPublicRecordHandlerV1OK) ToJSONString() string
type GetPlayerPublicRecordHandlerV1Params ¶
type GetPlayerPublicRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string /*UserID user ID who own the record, should follow UUID version 4 without hyphen format */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetPlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the get player public record handler v1 operation typically these are written to a http.Request
func NewGetPlayerPublicRecordHandlerV1Params ¶
func NewGetPlayerPublicRecordHandlerV1Params() *GetPlayerPublicRecordHandlerV1Params
NewGetPlayerPublicRecordHandlerV1Params creates a new GetPlayerPublicRecordHandlerV1Params object with the default values initialized.
func NewGetPlayerPublicRecordHandlerV1ParamsWithContext ¶
func NewGetPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *GetPlayerPublicRecordHandlerV1Params
NewGetPlayerPublicRecordHandlerV1ParamsWithContext creates a new GetPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient ¶
func NewGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *GetPlayerPublicRecordHandlerV1Params
NewGetPlayerPublicRecordHandlerV1ParamsWithHTTPClient creates a new GetPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPlayerPublicRecordHandlerV1ParamsWithTimeout ¶
func NewGetPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *GetPlayerPublicRecordHandlerV1Params
NewGetPlayerPublicRecordHandlerV1ParamsWithTimeout creates a new GetPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *GetPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get player public record handler v1 params
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) SetFlightId ¶
func (o *GetPlayerPublicRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetPlayerPublicRecordHandlerV1Params) SetHTTPClient ¶
func (o *GetPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get player public record handler v1 params
func (*GetPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *GetPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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 GetPlayerPublicRecordHandlerV1Response ¶
type GetPlayerPublicRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsPlayerRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error404 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
type GetPlayerPublicRecordHandlerV1Unauthorized ¶
type GetPlayerPublicRecordHandlerV1Unauthorized struct {
}GetPlayerPublicRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetPlayerPublicRecordHandlerV1Unauthorized ¶
func NewGetPlayerPublicRecordHandlerV1Unauthorized() *GetPlayerPublicRecordHandlerV1Unauthorized
NewGetPlayerPublicRecordHandlerV1Unauthorized creates a GetPlayerPublicRecordHandlerV1Unauthorized with default headers values
func (*GetPlayerPublicRecordHandlerV1Unauthorized) Error ¶
func (o *GetPlayerPublicRecordHandlerV1Unauthorized) Error() string
func (*GetPlayerPublicRecordHandlerV1Unauthorized) GetPayload ¶
func (o *GetPlayerPublicRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetPlayerPublicRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *GetPlayerPublicRecordHandlerV1Unauthorized) ToJSONString() string
type GetPlayerRecordHandlerV1BadRequest ¶
type GetPlayerRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetPlayerRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewGetPlayerRecordHandlerV1BadRequest ¶
func NewGetPlayerRecordHandlerV1BadRequest() *GetPlayerRecordHandlerV1BadRequest
NewGetPlayerRecordHandlerV1BadRequest creates a GetPlayerRecordHandlerV1BadRequest with default headers values
func (*GetPlayerRecordHandlerV1BadRequest) Error ¶
func (o *GetPlayerRecordHandlerV1BadRequest) Error() string
func (*GetPlayerRecordHandlerV1BadRequest) GetPayload ¶
func (o *GetPlayerRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetPlayerRecordHandlerV1BadRequest) ToJSONString ¶
func (o *GetPlayerRecordHandlerV1BadRequest) ToJSONString() string
type GetPlayerRecordHandlerV1Forbidden ¶
type GetPlayerRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetPlayerRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18023</td><td>get action is forbidden on other user's record</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetPlayerRecordHandlerV1Forbidden ¶
func NewGetPlayerRecordHandlerV1Forbidden() *GetPlayerRecordHandlerV1Forbidden
NewGetPlayerRecordHandlerV1Forbidden creates a GetPlayerRecordHandlerV1Forbidden with default headers values
func (*GetPlayerRecordHandlerV1Forbidden) Error ¶
func (o *GetPlayerRecordHandlerV1Forbidden) Error() string
func (*GetPlayerRecordHandlerV1Forbidden) GetPayload ¶
func (o *GetPlayerRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetPlayerRecordHandlerV1Forbidden) ToJSONString ¶
func (o *GetPlayerRecordHandlerV1Forbidden) ToJSONString() string
type GetPlayerRecordHandlerV1InternalServerError ¶
type GetPlayerRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetPlayerRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18020</td><td>unable to get record</td></tr><tr><td>18006</td><td>unable to decode record</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
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.ModelsResponseError
func (*GetPlayerRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *GetPlayerRecordHandlerV1InternalServerError) ToJSONString() string
type GetPlayerRecordHandlerV1NotFound ¶
type GetPlayerRecordHandlerV1NotFound struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetPlayerRecordHandlerV1NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18022</td><td>record not found</td></tr></table>
func NewGetPlayerRecordHandlerV1NotFound ¶
func NewGetPlayerRecordHandlerV1NotFound() *GetPlayerRecordHandlerV1NotFound
NewGetPlayerRecordHandlerV1NotFound creates a GetPlayerRecordHandlerV1NotFound with default headers values
func (*GetPlayerRecordHandlerV1NotFound) Error ¶
func (o *GetPlayerRecordHandlerV1NotFound) Error() string
func (*GetPlayerRecordHandlerV1NotFound) GetPayload ¶
func (o *GetPlayerRecordHandlerV1NotFound) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetPlayerRecordHandlerV1NotFound) ToJSONString ¶
func (o *GetPlayerRecordHandlerV1NotFound) ToJSONString() string
type GetPlayerRecordHandlerV1OK ¶
type GetPlayerRecordHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsPlayerRecordResponse
}
GetPlayerRecordHandlerV1OK handles this case with default header values.
Record retrieved
func NewGetPlayerRecordHandlerV1OK ¶
func NewGetPlayerRecordHandlerV1OK() *GetPlayerRecordHandlerV1OK
NewGetPlayerRecordHandlerV1OK creates a GetPlayerRecordHandlerV1OK with default headers values
func (*GetPlayerRecordHandlerV1OK) Error ¶
func (o *GetPlayerRecordHandlerV1OK) Error() string
func (*GetPlayerRecordHandlerV1OK) GetPayload ¶
func (o *GetPlayerRecordHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsPlayerRecordResponse
func (*GetPlayerRecordHandlerV1OK) ToJSONString ¶
func (o *GetPlayerRecordHandlerV1OK) ToJSONString() string
type GetPlayerRecordHandlerV1Params ¶
type GetPlayerRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string /*UserID user ID who own the record, should follow UUID version 4 without hyphen format */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetPlayerRecordHandlerV1Params contains all the parameters to send to the API endpoint for the get player record handler v1 operation typically these are written to a http.Request
func NewGetPlayerRecordHandlerV1Params ¶
func NewGetPlayerRecordHandlerV1Params() *GetPlayerRecordHandlerV1Params
NewGetPlayerRecordHandlerV1Params creates a new GetPlayerRecordHandlerV1Params object with the default values initialized.
func NewGetPlayerRecordHandlerV1ParamsWithContext ¶
func NewGetPlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *GetPlayerRecordHandlerV1Params
NewGetPlayerRecordHandlerV1ParamsWithContext creates a new GetPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewGetPlayerRecordHandlerV1ParamsWithHTTPClient ¶
func NewGetPlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *GetPlayerRecordHandlerV1Params
NewGetPlayerRecordHandlerV1ParamsWithHTTPClient creates a new GetPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPlayerRecordHandlerV1ParamsWithTimeout ¶
func NewGetPlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *GetPlayerRecordHandlerV1Params
NewGetPlayerRecordHandlerV1ParamsWithTimeout creates a new GetPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetPlayerRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *GetPlayerRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) SetContext ¶
func (o *GetPlayerRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) SetFlightId ¶
func (o *GetPlayerRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetPlayerRecordHandlerV1Params) SetHTTPClient ¶
func (o *GetPlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *GetPlayerRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) SetKey ¶
func (o *GetPlayerRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) SetNamespace ¶
func (o *GetPlayerRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) SetTimeout ¶
func (o *GetPlayerRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) SetUserID ¶
func (o *GetPlayerRecordHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the get player record handler v1 params
func (*GetPlayerRecordHandlerV1Params) WithContext ¶
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 GetPlayerRecordHandlerV1Response ¶
type GetPlayerRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsPlayerRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error404 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
func (*GetPlayerRecordHandlerV1Response) Unpack ¶
func (m *GetPlayerRecordHandlerV1Response) Unpack() (*cloudsaveclientmodels.ModelsPlayerRecordResponse, *cloudsaveclientmodels.ApiError)
type GetPlayerRecordHandlerV1Unauthorized ¶
type GetPlayerRecordHandlerV1Unauthorized struct {
}GetPlayerRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetPlayerRecordHandlerV1Unauthorized ¶
func NewGetPlayerRecordHandlerV1Unauthorized() *GetPlayerRecordHandlerV1Unauthorized
NewGetPlayerRecordHandlerV1Unauthorized creates a GetPlayerRecordHandlerV1Unauthorized with default headers values
func (*GetPlayerRecordHandlerV1Unauthorized) Error ¶
func (o *GetPlayerRecordHandlerV1Unauthorized) Error() string
func (*GetPlayerRecordHandlerV1Unauthorized) GetPayload ¶
func (o *GetPlayerRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetPlayerRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *GetPlayerRecordHandlerV1Unauthorized) ToJSONString() string
type GetPlayerRecordsBulkHandlerV1BadRequest ¶
type GetPlayerRecordsBulkHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetPlayerRecordsBulkHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18125</td><td>invalid request body</td></tr><tr><td>18126</td><td>request record keys list exceed max size [%d]</td></tr></table>
func NewGetPlayerRecordsBulkHandlerV1BadRequest ¶
func NewGetPlayerRecordsBulkHandlerV1BadRequest() *GetPlayerRecordsBulkHandlerV1BadRequest
NewGetPlayerRecordsBulkHandlerV1BadRequest creates a GetPlayerRecordsBulkHandlerV1BadRequest with default headers values
func (*GetPlayerRecordsBulkHandlerV1BadRequest) Error ¶
func (o *GetPlayerRecordsBulkHandlerV1BadRequest) Error() string
func (*GetPlayerRecordsBulkHandlerV1BadRequest) GetPayload ¶
func (o *GetPlayerRecordsBulkHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetPlayerRecordsBulkHandlerV1BadRequest) ToJSONString ¶
func (o *GetPlayerRecordsBulkHandlerV1BadRequest) ToJSONString() string
type GetPlayerRecordsBulkHandlerV1Forbidden ¶
type GetPlayerRecordsBulkHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetPlayerRecordsBulkHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewGetPlayerRecordsBulkHandlerV1Forbidden ¶
func NewGetPlayerRecordsBulkHandlerV1Forbidden() *GetPlayerRecordsBulkHandlerV1Forbidden
NewGetPlayerRecordsBulkHandlerV1Forbidden creates a GetPlayerRecordsBulkHandlerV1Forbidden with default headers values
func (*GetPlayerRecordsBulkHandlerV1Forbidden) Error ¶
func (o *GetPlayerRecordsBulkHandlerV1Forbidden) Error() string
func (*GetPlayerRecordsBulkHandlerV1Forbidden) GetPayload ¶
func (o *GetPlayerRecordsBulkHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetPlayerRecordsBulkHandlerV1Forbidden) ToJSONString ¶
func (o *GetPlayerRecordsBulkHandlerV1Forbidden) ToJSONString() string
type GetPlayerRecordsBulkHandlerV1InternalServerError ¶
type GetPlayerRecordsBulkHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
GetPlayerRecordsBulkHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18124</td><td>unable to get record</td></tr><tr><td>18006</td><td>unable to decode record</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewGetPlayerRecordsBulkHandlerV1InternalServerError ¶
func NewGetPlayerRecordsBulkHandlerV1InternalServerError() *GetPlayerRecordsBulkHandlerV1InternalServerError
NewGetPlayerRecordsBulkHandlerV1InternalServerError creates a GetPlayerRecordsBulkHandlerV1InternalServerError with default headers values
func (*GetPlayerRecordsBulkHandlerV1InternalServerError) Error ¶
func (o *GetPlayerRecordsBulkHandlerV1InternalServerError) Error() string
func (*GetPlayerRecordsBulkHandlerV1InternalServerError) GetPayload ¶
func (o *GetPlayerRecordsBulkHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetPlayerRecordsBulkHandlerV1InternalServerError) ToJSONString ¶
func (o *GetPlayerRecordsBulkHandlerV1InternalServerError) ToJSONString() string
type GetPlayerRecordsBulkHandlerV1OK ¶
type GetPlayerRecordsBulkHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsBulkGetPlayerRecordResponse
}
GetPlayerRecordsBulkHandlerV1OK handles this case with default header values.
Successful operation
func NewGetPlayerRecordsBulkHandlerV1OK ¶
func NewGetPlayerRecordsBulkHandlerV1OK() *GetPlayerRecordsBulkHandlerV1OK
NewGetPlayerRecordsBulkHandlerV1OK creates a GetPlayerRecordsBulkHandlerV1OK with default headers values
func (*GetPlayerRecordsBulkHandlerV1OK) Error ¶
func (o *GetPlayerRecordsBulkHandlerV1OK) Error() string
func (*GetPlayerRecordsBulkHandlerV1OK) GetPayload ¶
func (o *GetPlayerRecordsBulkHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsBulkGetPlayerRecordResponse
func (*GetPlayerRecordsBulkHandlerV1OK) ToJSONString ¶
func (o *GetPlayerRecordsBulkHandlerV1OK) ToJSONString() string
type GetPlayerRecordsBulkHandlerV1Params ¶
type GetPlayerRecordsBulkHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *cloudsaveclientmodels.ModelsBulkGetPlayerRecordsRequest /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetPlayerRecordsBulkHandlerV1Params contains all the parameters to send to the API endpoint for the get player records bulk handler v1 operation typically these are written to a http.Request
func NewGetPlayerRecordsBulkHandlerV1Params ¶
func NewGetPlayerRecordsBulkHandlerV1Params() *GetPlayerRecordsBulkHandlerV1Params
NewGetPlayerRecordsBulkHandlerV1Params creates a new GetPlayerRecordsBulkHandlerV1Params object with the default values initialized.
func NewGetPlayerRecordsBulkHandlerV1ParamsWithContext ¶
func NewGetPlayerRecordsBulkHandlerV1ParamsWithContext(ctx context.Context) *GetPlayerRecordsBulkHandlerV1Params
NewGetPlayerRecordsBulkHandlerV1ParamsWithContext creates a new GetPlayerRecordsBulkHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewGetPlayerRecordsBulkHandlerV1ParamsWithHTTPClient ¶
func NewGetPlayerRecordsBulkHandlerV1ParamsWithHTTPClient(client *http.Client) *GetPlayerRecordsBulkHandlerV1Params
NewGetPlayerRecordsBulkHandlerV1ParamsWithHTTPClient creates a new GetPlayerRecordsBulkHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPlayerRecordsBulkHandlerV1ParamsWithTimeout ¶
func NewGetPlayerRecordsBulkHandlerV1ParamsWithTimeout(timeout time.Duration) *GetPlayerRecordsBulkHandlerV1Params
NewGetPlayerRecordsBulkHandlerV1ParamsWithTimeout creates a new GetPlayerRecordsBulkHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetPlayerRecordsBulkHandlerV1Params) SetAuthInfoWriter ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get player records bulk handler v1 params
func (*GetPlayerRecordsBulkHandlerV1Params) SetBody ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) SetBody(body *cloudsaveclientmodels.ModelsBulkGetPlayerRecordsRequest)
SetBody adds the body to the get player records bulk handler v1 params
func (*GetPlayerRecordsBulkHandlerV1Params) SetContext ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get player records bulk handler v1 params
func (*GetPlayerRecordsBulkHandlerV1Params) SetFlightId ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetPlayerRecordsBulkHandlerV1Params) SetHTTPClient ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get player records bulk handler v1 params
func (*GetPlayerRecordsBulkHandlerV1Params) SetHTTPClientTransport ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get player records bulk handler v1 params
func (*GetPlayerRecordsBulkHandlerV1Params) SetNamespace ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get player records bulk handler v1 params
func (*GetPlayerRecordsBulkHandlerV1Params) SetTimeout ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get player records bulk handler v1 params
func (*GetPlayerRecordsBulkHandlerV1Params) WithBody ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) WithBody(body *cloudsaveclientmodels.ModelsBulkGetPlayerRecordsRequest) *GetPlayerRecordsBulkHandlerV1Params
WithBody adds the body to the get player records bulk handler v1 params
func (*GetPlayerRecordsBulkHandlerV1Params) WithContext ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) WithContext(ctx context.Context) *GetPlayerRecordsBulkHandlerV1Params
WithContext adds the context to the get player records bulk handler v1 params
func (*GetPlayerRecordsBulkHandlerV1Params) WithHTTPClient ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) WithHTTPClient(client *http.Client) *GetPlayerRecordsBulkHandlerV1Params
WithHTTPClient adds the HTTPClient to the get player records bulk handler v1 params
func (*GetPlayerRecordsBulkHandlerV1Params) WithNamespace ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) WithNamespace(namespace string) *GetPlayerRecordsBulkHandlerV1Params
WithNamespace adds the namespace to the get player records bulk handler v1 params
func (*GetPlayerRecordsBulkHandlerV1Params) WithTimeout ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) WithTimeout(timeout time.Duration) *GetPlayerRecordsBulkHandlerV1Params
WithTimeout adds the timeout to the get player records bulk handler v1 params
func (*GetPlayerRecordsBulkHandlerV1Params) WriteToRequest ¶
func (o *GetPlayerRecordsBulkHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPlayerRecordsBulkHandlerV1Reader ¶
type GetPlayerRecordsBulkHandlerV1Reader struct {
// contains filtered or unexported fields
}
GetPlayerRecordsBulkHandlerV1Reader is a Reader for the GetPlayerRecordsBulkHandlerV1 structure.
func (*GetPlayerRecordsBulkHandlerV1Reader) ReadResponse ¶
func (o *GetPlayerRecordsBulkHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPlayerRecordsBulkHandlerV1Response ¶
type GetPlayerRecordsBulkHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsBulkGetPlayerRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
type GetPlayerRecordsBulkHandlerV1Unauthorized ¶
type GetPlayerRecordsBulkHandlerV1Unauthorized struct {
}GetPlayerRecordsBulkHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetPlayerRecordsBulkHandlerV1Unauthorized ¶
func NewGetPlayerRecordsBulkHandlerV1Unauthorized() *GetPlayerRecordsBulkHandlerV1Unauthorized
NewGetPlayerRecordsBulkHandlerV1Unauthorized creates a GetPlayerRecordsBulkHandlerV1Unauthorized with default headers values
func (*GetPlayerRecordsBulkHandlerV1Unauthorized) Error ¶
func (o *GetPlayerRecordsBulkHandlerV1Unauthorized) Error() string
func (*GetPlayerRecordsBulkHandlerV1Unauthorized) GetPayload ¶
func (o *GetPlayerRecordsBulkHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*GetPlayerRecordsBulkHandlerV1Unauthorized) ToJSONString ¶
func (o *GetPlayerRecordsBulkHandlerV1Unauthorized) ToJSONString() string
type PostPlayerPublicRecordHandlerV1BadRequest ¶
type PostPlayerPublicRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PostPlayerPublicRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr><tr><td>18090</td><td>invalid request body</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewPostPlayerPublicRecordHandlerV1BadRequest ¶
func NewPostPlayerPublicRecordHandlerV1BadRequest() *PostPlayerPublicRecordHandlerV1BadRequest
NewPostPlayerPublicRecordHandlerV1BadRequest creates a PostPlayerPublicRecordHandlerV1BadRequest with default headers values
func (*PostPlayerPublicRecordHandlerV1BadRequest) Error ¶
func (o *PostPlayerPublicRecordHandlerV1BadRequest) Error() string
func (*PostPlayerPublicRecordHandlerV1BadRequest) GetPayload ¶
func (o *PostPlayerPublicRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PostPlayerPublicRecordHandlerV1BadRequest) ToJSONString ¶
func (o *PostPlayerPublicRecordHandlerV1BadRequest) ToJSONString() string
type PostPlayerPublicRecordHandlerV1Created ¶
type PostPlayerPublicRecordHandlerV1Created struct {
Payload *cloudsaveclientmodels.ModelsPlayerRecordResponse
}
PostPlayerPublicRecordHandlerV1Created handles this case with default header values.
Record saved
func NewPostPlayerPublicRecordHandlerV1Created ¶
func NewPostPlayerPublicRecordHandlerV1Created() *PostPlayerPublicRecordHandlerV1Created
NewPostPlayerPublicRecordHandlerV1Created creates a PostPlayerPublicRecordHandlerV1Created with default headers values
func (*PostPlayerPublicRecordHandlerV1Created) Error ¶
func (o *PostPlayerPublicRecordHandlerV1Created) Error() string
func (*PostPlayerPublicRecordHandlerV1Created) GetPayload ¶
func (o *PostPlayerPublicRecordHandlerV1Created) GetPayload() *cloudsaveclientmodels.ModelsPlayerRecordResponse
func (*PostPlayerPublicRecordHandlerV1Created) ToJSONString ¶
func (o *PostPlayerPublicRecordHandlerV1Created) ToJSONString() string
type PostPlayerPublicRecordHandlerV1Forbidden ¶
type PostPlayerPublicRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PostPlayerPublicRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPostPlayerPublicRecordHandlerV1Forbidden ¶
func NewPostPlayerPublicRecordHandlerV1Forbidden() *PostPlayerPublicRecordHandlerV1Forbidden
NewPostPlayerPublicRecordHandlerV1Forbidden creates a PostPlayerPublicRecordHandlerV1Forbidden with default headers values
func (*PostPlayerPublicRecordHandlerV1Forbidden) Error ¶
func (o *PostPlayerPublicRecordHandlerV1Forbidden) Error() string
func (*PostPlayerPublicRecordHandlerV1Forbidden) GetPayload ¶
func (o *PostPlayerPublicRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PostPlayerPublicRecordHandlerV1Forbidden) ToJSONString ¶
func (o *PostPlayerPublicRecordHandlerV1Forbidden) ToJSONString() string
type PostPlayerPublicRecordHandlerV1InternalServerError ¶
type PostPlayerPublicRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PostPlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr><tr><td>18091</td><td>unable to save record</td></tr><tr><td>18005</td><td>unable to decode record</td></tr></table>
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.ModelsResponseError
func (*PostPlayerPublicRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *PostPlayerPublicRecordHandlerV1InternalServerError) ToJSONString() string
type PostPlayerPublicRecordHandlerV1Params ¶
type PostPlayerPublicRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body cloudsaveclientmodels.ModelsPlayerRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string /*UserID user ID who own the record, should follow UUID version 4 without hyphen format */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PostPlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the post player public record handler v1 operation typically these are written to a http.Request
func NewPostPlayerPublicRecordHandlerV1Params ¶
func NewPostPlayerPublicRecordHandlerV1Params() *PostPlayerPublicRecordHandlerV1Params
NewPostPlayerPublicRecordHandlerV1Params creates a new PostPlayerPublicRecordHandlerV1Params object with the default values initialized.
func NewPostPlayerPublicRecordHandlerV1ParamsWithContext ¶
func NewPostPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *PostPlayerPublicRecordHandlerV1Params
NewPostPlayerPublicRecordHandlerV1ParamsWithContext creates a new PostPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewPostPlayerPublicRecordHandlerV1ParamsWithHTTPClient ¶
func NewPostPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PostPlayerPublicRecordHandlerV1Params
NewPostPlayerPublicRecordHandlerV1ParamsWithHTTPClient creates a new PostPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPlayerPublicRecordHandlerV1ParamsWithTimeout ¶
func NewPostPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PostPlayerPublicRecordHandlerV1Params
NewPostPlayerPublicRecordHandlerV1ParamsWithTimeout creates a new PostPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PostPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *PostPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the post player public record handler v1 params
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) SetFlightId ¶
func (o *PostPlayerPublicRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PostPlayerPublicRecordHandlerV1Params) SetHTTPClient ¶
func (o *PostPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post player public record handler v1 params
func (*PostPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *PostPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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 PostPlayerPublicRecordHandlerV1Response ¶
type PostPlayerPublicRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsPlayerRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
type PostPlayerPublicRecordHandlerV1Unauthorized ¶
type PostPlayerPublicRecordHandlerV1Unauthorized struct {
}PostPlayerPublicRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPostPlayerPublicRecordHandlerV1Unauthorized ¶
func NewPostPlayerPublicRecordHandlerV1Unauthorized() *PostPlayerPublicRecordHandlerV1Unauthorized
NewPostPlayerPublicRecordHandlerV1Unauthorized creates a PostPlayerPublicRecordHandlerV1Unauthorized with default headers values
func (*PostPlayerPublicRecordHandlerV1Unauthorized) Error ¶
func (o *PostPlayerPublicRecordHandlerV1Unauthorized) Error() string
func (*PostPlayerPublicRecordHandlerV1Unauthorized) GetPayload ¶
func (o *PostPlayerPublicRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PostPlayerPublicRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *PostPlayerPublicRecordHandlerV1Unauthorized) ToJSONString() string
type PostPlayerRecordHandlerV1BadRequest ¶
type PostPlayerRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PostPlayerRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr><tr><td>18030</td><td>invalid request body</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>18060</td><td>invalid request body</td></tr></table>
func NewPostPlayerRecordHandlerV1BadRequest ¶
func NewPostPlayerRecordHandlerV1BadRequest() *PostPlayerRecordHandlerV1BadRequest
NewPostPlayerRecordHandlerV1BadRequest creates a PostPlayerRecordHandlerV1BadRequest with default headers values
func (*PostPlayerRecordHandlerV1BadRequest) Error ¶
func (o *PostPlayerRecordHandlerV1BadRequest) Error() string
func (*PostPlayerRecordHandlerV1BadRequest) GetPayload ¶
func (o *PostPlayerRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PostPlayerRecordHandlerV1BadRequest) ToJSONString ¶
func (o *PostPlayerRecordHandlerV1BadRequest) ToJSONString() string
type PostPlayerRecordHandlerV1Created ¶
type PostPlayerRecordHandlerV1Created struct {
Payload *cloudsaveclientmodels.ModelsPlayerRecordResponse
}
PostPlayerRecordHandlerV1Created handles this case with default header values.
Record saved
func NewPostPlayerRecordHandlerV1Created ¶
func NewPostPlayerRecordHandlerV1Created() *PostPlayerRecordHandlerV1Created
NewPostPlayerRecordHandlerV1Created creates a PostPlayerRecordHandlerV1Created with default headers values
func (*PostPlayerRecordHandlerV1Created) Error ¶
func (o *PostPlayerRecordHandlerV1Created) Error() string
func (*PostPlayerRecordHandlerV1Created) GetPayload ¶
func (o *PostPlayerRecordHandlerV1Created) GetPayload() *cloudsaveclientmodels.ModelsPlayerRecordResponse
func (*PostPlayerRecordHandlerV1Created) ToJSONString ¶
func (o *PostPlayerRecordHandlerV1Created) ToJSONString() string
type PostPlayerRecordHandlerV1Forbidden ¶
type PostPlayerRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PostPlayerRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18035</td><td>post action is forbidden on other user's record</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPostPlayerRecordHandlerV1Forbidden ¶
func NewPostPlayerRecordHandlerV1Forbidden() *PostPlayerRecordHandlerV1Forbidden
NewPostPlayerRecordHandlerV1Forbidden creates a PostPlayerRecordHandlerV1Forbidden with default headers values
func (*PostPlayerRecordHandlerV1Forbidden) Error ¶
func (o *PostPlayerRecordHandlerV1Forbidden) Error() string
func (*PostPlayerRecordHandlerV1Forbidden) GetPayload ¶
func (o *PostPlayerRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PostPlayerRecordHandlerV1Forbidden) ToJSONString ¶
func (o *PostPlayerRecordHandlerV1Forbidden) ToJSONString() string
type PostPlayerRecordHandlerV1InternalServerError ¶
type PostPlayerRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PostPlayerRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr><tr><td>18033</td><td>unable to save record</td></tr><tr><td>18005</td><td>unable to decode record</td></tr></table>
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.ModelsResponseError
func (*PostPlayerRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *PostPlayerRecordHandlerV1InternalServerError) ToJSONString() string
type PostPlayerRecordHandlerV1Params ¶
type PostPlayerRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body cloudsaveclientmodels.ModelsPlayerRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string /*UserID user ID who own the record, should follow UUID version 4 without hyphen format */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PostPlayerRecordHandlerV1Params contains all the parameters to send to the API endpoint for the post player record handler v1 operation typically these are written to a http.Request
func NewPostPlayerRecordHandlerV1Params ¶
func NewPostPlayerRecordHandlerV1Params() *PostPlayerRecordHandlerV1Params
NewPostPlayerRecordHandlerV1Params creates a new PostPlayerRecordHandlerV1Params object with the default values initialized.
func NewPostPlayerRecordHandlerV1ParamsWithContext ¶
func NewPostPlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *PostPlayerRecordHandlerV1Params
NewPostPlayerRecordHandlerV1ParamsWithContext creates a new PostPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewPostPlayerRecordHandlerV1ParamsWithHTTPClient ¶
func NewPostPlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PostPlayerRecordHandlerV1Params
NewPostPlayerRecordHandlerV1ParamsWithHTTPClient creates a new PostPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPlayerRecordHandlerV1ParamsWithTimeout ¶
func NewPostPlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PostPlayerRecordHandlerV1Params
NewPostPlayerRecordHandlerV1ParamsWithTimeout creates a new PostPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PostPlayerRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *PostPlayerRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the post player record handler v1 params
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) SetFlightId ¶
func (o *PostPlayerRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PostPlayerRecordHandlerV1Params) SetHTTPClient ¶
func (o *PostPlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *PostPlayerRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) SetKey ¶
func (o *PostPlayerRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) SetNamespace ¶
func (o *PostPlayerRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) SetTimeout ¶
func (o *PostPlayerRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) SetUserID ¶
func (o *PostPlayerRecordHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the post player record handler v1 params
func (*PostPlayerRecordHandlerV1Params) WithBody ¶
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 PostPlayerRecordHandlerV1Response ¶
type PostPlayerRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsPlayerRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
func (*PostPlayerRecordHandlerV1Response) Unpack ¶
func (m *PostPlayerRecordHandlerV1Response) Unpack() (*cloudsaveclientmodels.ModelsPlayerRecordResponse, *cloudsaveclientmodels.ApiError)
type PostPlayerRecordHandlerV1Unauthorized ¶
type PostPlayerRecordHandlerV1Unauthorized struct {
}PostPlayerRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPostPlayerRecordHandlerV1Unauthorized ¶
func NewPostPlayerRecordHandlerV1Unauthorized() *PostPlayerRecordHandlerV1Unauthorized
NewPostPlayerRecordHandlerV1Unauthorized creates a PostPlayerRecordHandlerV1Unauthorized with default headers values
func (*PostPlayerRecordHandlerV1Unauthorized) Error ¶
func (o *PostPlayerRecordHandlerV1Unauthorized) Error() string
func (*PostPlayerRecordHandlerV1Unauthorized) GetPayload ¶
func (o *PostPlayerRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PostPlayerRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *PostPlayerRecordHandlerV1Unauthorized) ToJSONString() string
type PublicDeletePlayerPublicRecordHandlerV1BadRequest ¶
type PublicDeletePlayerPublicRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PublicDeletePlayerPublicRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr></table>
func NewPublicDeletePlayerPublicRecordHandlerV1BadRequest ¶
func NewPublicDeletePlayerPublicRecordHandlerV1BadRequest() *PublicDeletePlayerPublicRecordHandlerV1BadRequest
NewPublicDeletePlayerPublicRecordHandlerV1BadRequest creates a PublicDeletePlayerPublicRecordHandlerV1BadRequest with default headers values
func (*PublicDeletePlayerPublicRecordHandlerV1BadRequest) Error ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1BadRequest) Error() string
func (*PublicDeletePlayerPublicRecordHandlerV1BadRequest) GetPayload ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PublicDeletePlayerPublicRecordHandlerV1BadRequest) ToJSONString ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1BadRequest) ToJSONString() string
type PublicDeletePlayerPublicRecordHandlerV1Forbidden ¶
type PublicDeletePlayerPublicRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PublicDeletePlayerPublicRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPublicDeletePlayerPublicRecordHandlerV1Forbidden ¶
func NewPublicDeletePlayerPublicRecordHandlerV1Forbidden() *PublicDeletePlayerPublicRecordHandlerV1Forbidden
NewPublicDeletePlayerPublicRecordHandlerV1Forbidden creates a PublicDeletePlayerPublicRecordHandlerV1Forbidden with default headers values
func (*PublicDeletePlayerPublicRecordHandlerV1Forbidden) Error ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Forbidden) Error() string
func (*PublicDeletePlayerPublicRecordHandlerV1Forbidden) GetPayload ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PublicDeletePlayerPublicRecordHandlerV1Forbidden) ToJSONString ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Forbidden) ToJSONString() string
type PublicDeletePlayerPublicRecordHandlerV1InternalServerError ¶
type PublicDeletePlayerPublicRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PublicDeletePlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18120</td><td>unable to delete record</td></tr></table>
func NewPublicDeletePlayerPublicRecordHandlerV1InternalServerError ¶
func NewPublicDeletePlayerPublicRecordHandlerV1InternalServerError() *PublicDeletePlayerPublicRecordHandlerV1InternalServerError
NewPublicDeletePlayerPublicRecordHandlerV1InternalServerError creates a PublicDeletePlayerPublicRecordHandlerV1InternalServerError with default headers values
func (*PublicDeletePlayerPublicRecordHandlerV1InternalServerError) Error ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1InternalServerError) Error() string
func (*PublicDeletePlayerPublicRecordHandlerV1InternalServerError) GetPayload ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PublicDeletePlayerPublicRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1InternalServerError) ToJSONString() string
type PublicDeletePlayerPublicRecordHandlerV1NoContent ¶
type PublicDeletePlayerPublicRecordHandlerV1NoContent struct { }
PublicDeletePlayerPublicRecordHandlerV1NoContent handles this case with default header values.
Record deleted
func NewPublicDeletePlayerPublicRecordHandlerV1NoContent ¶
func NewPublicDeletePlayerPublicRecordHandlerV1NoContent() *PublicDeletePlayerPublicRecordHandlerV1NoContent
NewPublicDeletePlayerPublicRecordHandlerV1NoContent creates a PublicDeletePlayerPublicRecordHandlerV1NoContent with default headers values
func (*PublicDeletePlayerPublicRecordHandlerV1NoContent) Error ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1NoContent) Error() string
type PublicDeletePlayerPublicRecordHandlerV1NotFound ¶
type PublicDeletePlayerPublicRecordHandlerV1NotFound struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PublicDeletePlayerPublicRecordHandlerV1NotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18122</td><td>record not found</td></tr></table>
func NewPublicDeletePlayerPublicRecordHandlerV1NotFound ¶
func NewPublicDeletePlayerPublicRecordHandlerV1NotFound() *PublicDeletePlayerPublicRecordHandlerV1NotFound
NewPublicDeletePlayerPublicRecordHandlerV1NotFound creates a PublicDeletePlayerPublicRecordHandlerV1NotFound with default headers values
func (*PublicDeletePlayerPublicRecordHandlerV1NotFound) Error ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1NotFound) Error() string
func (*PublicDeletePlayerPublicRecordHandlerV1NotFound) GetPayload ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1NotFound) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PublicDeletePlayerPublicRecordHandlerV1NotFound) ToJSONString ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1NotFound) ToJSONString() string
type PublicDeletePlayerPublicRecordHandlerV1Params ¶
type PublicDeletePlayerPublicRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicDeletePlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the public delete player public record handler v1 operation typically these are written to a http.Request
func NewPublicDeletePlayerPublicRecordHandlerV1Params ¶
func NewPublicDeletePlayerPublicRecordHandlerV1Params() *PublicDeletePlayerPublicRecordHandlerV1Params
NewPublicDeletePlayerPublicRecordHandlerV1Params creates a new PublicDeletePlayerPublicRecordHandlerV1Params object with the default values initialized.
func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithContext ¶
func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *PublicDeletePlayerPublicRecordHandlerV1Params
NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithContext creates a new PublicDeletePlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithHTTPClient ¶
func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PublicDeletePlayerPublicRecordHandlerV1Params
NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithHTTPClient creates a new PublicDeletePlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithTimeout ¶
func NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PublicDeletePlayerPublicRecordHandlerV1Params
NewPublicDeletePlayerPublicRecordHandlerV1ParamsWithTimeout creates a new PublicDeletePlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public delete player public record handler v1 params
func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetContext ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the public delete player public record handler v1 params
func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetFlightId ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetHTTPClient ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public delete player public record handler v1 params
func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public delete player public record handler v1 params
func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetKey ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the public delete player public record handler v1 params
func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetNamespace ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public delete player public record handler v1 params
func (*PublicDeletePlayerPublicRecordHandlerV1Params) SetTimeout ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public delete player public record handler v1 params
func (*PublicDeletePlayerPublicRecordHandlerV1Params) WithContext ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) WithContext(ctx context.Context) *PublicDeletePlayerPublicRecordHandlerV1Params
WithContext adds the context to the public delete player public record handler v1 params
func (*PublicDeletePlayerPublicRecordHandlerV1Params) WithHTTPClient ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) WithHTTPClient(client *http.Client) *PublicDeletePlayerPublicRecordHandlerV1Params
WithHTTPClient adds the HTTPClient to the public delete player public record handler v1 params
func (*PublicDeletePlayerPublicRecordHandlerV1Params) WithKey ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) WithKey(key string) *PublicDeletePlayerPublicRecordHandlerV1Params
WithKey adds the key to the public delete player public record handler v1 params
func (*PublicDeletePlayerPublicRecordHandlerV1Params) WithNamespace ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) WithNamespace(namespace string) *PublicDeletePlayerPublicRecordHandlerV1Params
WithNamespace adds the namespace to the public delete player public record handler v1 params
func (*PublicDeletePlayerPublicRecordHandlerV1Params) WithTimeout ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) WithTimeout(timeout time.Duration) *PublicDeletePlayerPublicRecordHandlerV1Params
WithTimeout adds the timeout to the public delete player public record handler v1 params
func (*PublicDeletePlayerPublicRecordHandlerV1Params) WriteToRequest ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicDeletePlayerPublicRecordHandlerV1Reader ¶
type PublicDeletePlayerPublicRecordHandlerV1Reader struct {
// contains filtered or unexported fields
}
PublicDeletePlayerPublicRecordHandlerV1Reader is a Reader for the PublicDeletePlayerPublicRecordHandlerV1 structure.
func (*PublicDeletePlayerPublicRecordHandlerV1Reader) ReadResponse ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicDeletePlayerPublicRecordHandlerV1Response ¶
type PublicDeletePlayerPublicRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error404 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
func (*PublicDeletePlayerPublicRecordHandlerV1Response) Unpack ¶
func (m *PublicDeletePlayerPublicRecordHandlerV1Response) Unpack() *cloudsaveclientmodels.ApiError
type PublicDeletePlayerPublicRecordHandlerV1Unauthorized ¶
type PublicDeletePlayerPublicRecordHandlerV1Unauthorized struct {
}PublicDeletePlayerPublicRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicDeletePlayerPublicRecordHandlerV1Unauthorized ¶
func NewPublicDeletePlayerPublicRecordHandlerV1Unauthorized() *PublicDeletePlayerPublicRecordHandlerV1Unauthorized
NewPublicDeletePlayerPublicRecordHandlerV1Unauthorized creates a PublicDeletePlayerPublicRecordHandlerV1Unauthorized with default headers values
func (*PublicDeletePlayerPublicRecordHandlerV1Unauthorized) Error ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Unauthorized) Error() string
func (*PublicDeletePlayerPublicRecordHandlerV1Unauthorized) GetPayload ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PublicDeletePlayerPublicRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *PublicDeletePlayerPublicRecordHandlerV1Unauthorized) ToJSONString() string
type PutPlayerPublicRecordHandlerV1BadRequest ¶
type PutPlayerPublicRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutPlayerPublicRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr><tr><td>18100</td><td>invalid request body</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewPutPlayerPublicRecordHandlerV1BadRequest ¶
func NewPutPlayerPublicRecordHandlerV1BadRequest() *PutPlayerPublicRecordHandlerV1BadRequest
NewPutPlayerPublicRecordHandlerV1BadRequest creates a PutPlayerPublicRecordHandlerV1BadRequest with default headers values
func (*PutPlayerPublicRecordHandlerV1BadRequest) Error ¶
func (o *PutPlayerPublicRecordHandlerV1BadRequest) Error() string
func (*PutPlayerPublicRecordHandlerV1BadRequest) GetPayload ¶
func (o *PutPlayerPublicRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PutPlayerPublicRecordHandlerV1BadRequest) ToJSONString ¶
func (o *PutPlayerPublicRecordHandlerV1BadRequest) ToJSONString() string
type PutPlayerPublicRecordHandlerV1Forbidden ¶
type PutPlayerPublicRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutPlayerPublicRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPutPlayerPublicRecordHandlerV1Forbidden ¶
func NewPutPlayerPublicRecordHandlerV1Forbidden() *PutPlayerPublicRecordHandlerV1Forbidden
NewPutPlayerPublicRecordHandlerV1Forbidden creates a PutPlayerPublicRecordHandlerV1Forbidden with default headers values
func (*PutPlayerPublicRecordHandlerV1Forbidden) Error ¶
func (o *PutPlayerPublicRecordHandlerV1Forbidden) Error() string
func (*PutPlayerPublicRecordHandlerV1Forbidden) GetPayload ¶
func (o *PutPlayerPublicRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PutPlayerPublicRecordHandlerV1Forbidden) ToJSONString ¶
func (o *PutPlayerPublicRecordHandlerV1Forbidden) ToJSONString() string
type PutPlayerPublicRecordHandlerV1InternalServerError ¶
type PutPlayerPublicRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutPlayerPublicRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr><tr><td>18101</td><td>unable to update record</td></tr><tr><td>18005</td><td>unable to decode record</td></tr></table>
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.ModelsResponseError
func (*PutPlayerPublicRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *PutPlayerPublicRecordHandlerV1InternalServerError) ToJSONString() string
type PutPlayerPublicRecordHandlerV1OK ¶
type PutPlayerPublicRecordHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsPlayerRecordResponse
}
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
func (*PutPlayerPublicRecordHandlerV1OK) GetPayload ¶
func (o *PutPlayerPublicRecordHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsPlayerRecordResponse
func (*PutPlayerPublicRecordHandlerV1OK) ToJSONString ¶
func (o *PutPlayerPublicRecordHandlerV1OK) ToJSONString() string
type PutPlayerPublicRecordHandlerV1Params ¶
type PutPlayerPublicRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body cloudsaveclientmodels.ModelsPlayerRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string /*UserID user ID who own the record, should follow UUID version 4 without hyphen format */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PutPlayerPublicRecordHandlerV1Params contains all the parameters to send to the API endpoint for the put player public record handler v1 operation typically these are written to a http.Request
func NewPutPlayerPublicRecordHandlerV1Params ¶
func NewPutPlayerPublicRecordHandlerV1Params() *PutPlayerPublicRecordHandlerV1Params
NewPutPlayerPublicRecordHandlerV1Params creates a new PutPlayerPublicRecordHandlerV1Params object with the default values initialized.
func NewPutPlayerPublicRecordHandlerV1ParamsWithContext ¶
func NewPutPlayerPublicRecordHandlerV1ParamsWithContext(ctx context.Context) *PutPlayerPublicRecordHandlerV1Params
NewPutPlayerPublicRecordHandlerV1ParamsWithContext creates a new PutPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewPutPlayerPublicRecordHandlerV1ParamsWithHTTPClient ¶
func NewPutPlayerPublicRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PutPlayerPublicRecordHandlerV1Params
NewPutPlayerPublicRecordHandlerV1ParamsWithHTTPClient creates a new PutPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutPlayerPublicRecordHandlerV1ParamsWithTimeout ¶
func NewPutPlayerPublicRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PutPlayerPublicRecordHandlerV1Params
NewPutPlayerPublicRecordHandlerV1ParamsWithTimeout creates a new PutPlayerPublicRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PutPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *PutPlayerPublicRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the put player public record handler v1 params
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) SetFlightId ¶
func (o *PutPlayerPublicRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PutPlayerPublicRecordHandlerV1Params) SetHTTPClient ¶
func (o *PutPlayerPublicRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put player public record handler v1 params
func (*PutPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *PutPlayerPublicRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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 PutPlayerPublicRecordHandlerV1Response ¶
type PutPlayerPublicRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsPlayerRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
type PutPlayerPublicRecordHandlerV1Unauthorized ¶
type PutPlayerPublicRecordHandlerV1Unauthorized struct {
}PutPlayerPublicRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPutPlayerPublicRecordHandlerV1Unauthorized ¶
func NewPutPlayerPublicRecordHandlerV1Unauthorized() *PutPlayerPublicRecordHandlerV1Unauthorized
NewPutPlayerPublicRecordHandlerV1Unauthorized creates a PutPlayerPublicRecordHandlerV1Unauthorized with default headers values
func (*PutPlayerPublicRecordHandlerV1Unauthorized) Error ¶
func (o *PutPlayerPublicRecordHandlerV1Unauthorized) Error() string
func (*PutPlayerPublicRecordHandlerV1Unauthorized) GetPayload ¶
func (o *PutPlayerPublicRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PutPlayerPublicRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *PutPlayerPublicRecordHandlerV1Unauthorized) ToJSONString() string
type PutPlayerRecordHandlerV1BadRequest ¶
type PutPlayerRecordHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutPlayerRecordHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18201</td><td>invalid record operator, expect [%s] but actual [%s]</td></tr><tr><td>18060</td><td>invalid request body</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewPutPlayerRecordHandlerV1BadRequest ¶
func NewPutPlayerRecordHandlerV1BadRequest() *PutPlayerRecordHandlerV1BadRequest
NewPutPlayerRecordHandlerV1BadRequest creates a PutPlayerRecordHandlerV1BadRequest with default headers values
func (*PutPlayerRecordHandlerV1BadRequest) Error ¶
func (o *PutPlayerRecordHandlerV1BadRequest) Error() string
func (*PutPlayerRecordHandlerV1BadRequest) GetPayload ¶
func (o *PutPlayerRecordHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PutPlayerRecordHandlerV1BadRequest) ToJSONString ¶
func (o *PutPlayerRecordHandlerV1BadRequest) ToJSONString() string
type PutPlayerRecordHandlerV1Forbidden ¶
type PutPlayerRecordHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutPlayerRecordHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18063</td><td>put action is forbidden on other user's record</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPutPlayerRecordHandlerV1Forbidden ¶
func NewPutPlayerRecordHandlerV1Forbidden() *PutPlayerRecordHandlerV1Forbidden
NewPutPlayerRecordHandlerV1Forbidden creates a PutPlayerRecordHandlerV1Forbidden with default headers values
func (*PutPlayerRecordHandlerV1Forbidden) Error ¶
func (o *PutPlayerRecordHandlerV1Forbidden) Error() string
func (*PutPlayerRecordHandlerV1Forbidden) GetPayload ¶
func (o *PutPlayerRecordHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PutPlayerRecordHandlerV1Forbidden) ToJSONString ¶
func (o *PutPlayerRecordHandlerV1Forbidden) ToJSONString() string
type PutPlayerRecordHandlerV1InternalServerError ¶
type PutPlayerRecordHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PutPlayerRecordHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr><tr><td>18061</td><td>unable to update record</td></tr><tr><td>18005</td><td>unable to decode record</td></tr></table>
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.ModelsResponseError
func (*PutPlayerRecordHandlerV1InternalServerError) ToJSONString ¶
func (o *PutPlayerRecordHandlerV1InternalServerError) ToJSONString() string
type PutPlayerRecordHandlerV1OK ¶
type PutPlayerRecordHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsPlayerRecordResponse
}
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
func (*PutPlayerRecordHandlerV1OK) GetPayload ¶
func (o *PutPlayerRecordHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsPlayerRecordResponse
func (*PutPlayerRecordHandlerV1OK) ToJSONString ¶
func (o *PutPlayerRecordHandlerV1OK) ToJSONString() string
type PutPlayerRecordHandlerV1Params ¶
type PutPlayerRecordHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body cloudsaveclientmodels.ModelsPlayerRecordRequest /*Key key of record */ Key string /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string /*UserID user ID who own the record, should follow UUID version 4 without hyphen format */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PutPlayerRecordHandlerV1Params contains all the parameters to send to the API endpoint for the put player record handler v1 operation typically these are written to a http.Request
func NewPutPlayerRecordHandlerV1Params ¶
func NewPutPlayerRecordHandlerV1Params() *PutPlayerRecordHandlerV1Params
NewPutPlayerRecordHandlerV1Params creates a new PutPlayerRecordHandlerV1Params object with the default values initialized.
func NewPutPlayerRecordHandlerV1ParamsWithContext ¶
func NewPutPlayerRecordHandlerV1ParamsWithContext(ctx context.Context) *PutPlayerRecordHandlerV1Params
NewPutPlayerRecordHandlerV1ParamsWithContext creates a new PutPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewPutPlayerRecordHandlerV1ParamsWithHTTPClient ¶
func NewPutPlayerRecordHandlerV1ParamsWithHTTPClient(client *http.Client) *PutPlayerRecordHandlerV1Params
NewPutPlayerRecordHandlerV1ParamsWithHTTPClient creates a new PutPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutPlayerRecordHandlerV1ParamsWithTimeout ¶
func NewPutPlayerRecordHandlerV1ParamsWithTimeout(timeout time.Duration) *PutPlayerRecordHandlerV1Params
NewPutPlayerRecordHandlerV1ParamsWithTimeout creates a new PutPlayerRecordHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PutPlayerRecordHandlerV1Params) SetAuthInfoWriter ¶
func (o *PutPlayerRecordHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the put player record handler v1 params
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) SetFlightId ¶
func (o *PutPlayerRecordHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PutPlayerRecordHandlerV1Params) SetHTTPClient ¶
func (o *PutPlayerRecordHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) SetHTTPClientTransport ¶
func (o *PutPlayerRecordHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) SetKey ¶
func (o *PutPlayerRecordHandlerV1Params) SetKey(key string)
SetKey adds the key to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) SetNamespace ¶
func (o *PutPlayerRecordHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) SetTimeout ¶
func (o *PutPlayerRecordHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) SetUserID ¶
func (o *PutPlayerRecordHandlerV1Params) SetUserID(userID string)
SetUserID adds the userId to the put player record handler v1 params
func (*PutPlayerRecordHandlerV1Params) WithBody ¶
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.
type PutPlayerRecordHandlerV1Response ¶
type PutPlayerRecordHandlerV1Response struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsPlayerRecordResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
func (*PutPlayerRecordHandlerV1Response) Unpack ¶
func (m *PutPlayerRecordHandlerV1Response) Unpack() (*cloudsaveclientmodels.ModelsPlayerRecordResponse, *cloudsaveclientmodels.ApiError)
type PutPlayerRecordHandlerV1Unauthorized ¶
type PutPlayerRecordHandlerV1Unauthorized struct {
}PutPlayerRecordHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPutPlayerRecordHandlerV1Unauthorized ¶
func NewPutPlayerRecordHandlerV1Unauthorized() *PutPlayerRecordHandlerV1Unauthorized
NewPutPlayerRecordHandlerV1Unauthorized creates a PutPlayerRecordHandlerV1Unauthorized with default headers values
func (*PutPlayerRecordHandlerV1Unauthorized) Error ¶
func (o *PutPlayerRecordHandlerV1Unauthorized) Error() string
func (*PutPlayerRecordHandlerV1Unauthorized) GetPayload ¶
func (o *PutPlayerRecordHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PutPlayerRecordHandlerV1Unauthorized) ToJSONString ¶
func (o *PutPlayerRecordHandlerV1Unauthorized) ToJSONString() string
type RetrievePlayerRecordsBadRequest ¶
type RetrievePlayerRecordsBadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
RetrievePlayerRecordsBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18113</td><td>invalid request body</td></tr></table>
func NewRetrievePlayerRecordsBadRequest ¶
func NewRetrievePlayerRecordsBadRequest() *RetrievePlayerRecordsBadRequest
NewRetrievePlayerRecordsBadRequest creates a RetrievePlayerRecordsBadRequest with default headers values
func (*RetrievePlayerRecordsBadRequest) Error ¶
func (o *RetrievePlayerRecordsBadRequest) Error() string
func (*RetrievePlayerRecordsBadRequest) GetPayload ¶
func (o *RetrievePlayerRecordsBadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*RetrievePlayerRecordsBadRequest) ToJSONString ¶
func (o *RetrievePlayerRecordsBadRequest) ToJSONString() string
type RetrievePlayerRecordsForbidden ¶
type RetrievePlayerRecordsForbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
RetrievePlayerRecordsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewRetrievePlayerRecordsForbidden ¶
func NewRetrievePlayerRecordsForbidden() *RetrievePlayerRecordsForbidden
NewRetrievePlayerRecordsForbidden creates a RetrievePlayerRecordsForbidden with default headers values
func (*RetrievePlayerRecordsForbidden) Error ¶
func (o *RetrievePlayerRecordsForbidden) Error() string
func (*RetrievePlayerRecordsForbidden) GetPayload ¶
func (o *RetrievePlayerRecordsForbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*RetrievePlayerRecordsForbidden) ToJSONString ¶
func (o *RetrievePlayerRecordsForbidden) ToJSONString() string
type RetrievePlayerRecordsInternalServerError ¶
type RetrievePlayerRecordsInternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
RetrievePlayerRecordsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18114</td><td>unable to retrieve list of key records</td></tr></table>
func NewRetrievePlayerRecordsInternalServerError ¶
func NewRetrievePlayerRecordsInternalServerError() *RetrievePlayerRecordsInternalServerError
NewRetrievePlayerRecordsInternalServerError creates a RetrievePlayerRecordsInternalServerError with default headers values
func (*RetrievePlayerRecordsInternalServerError) Error ¶
func (o *RetrievePlayerRecordsInternalServerError) Error() string
func (*RetrievePlayerRecordsInternalServerError) GetPayload ¶
func (o *RetrievePlayerRecordsInternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*RetrievePlayerRecordsInternalServerError) ToJSONString ¶
func (o *RetrievePlayerRecordsInternalServerError) ToJSONString() string
type RetrievePlayerRecordsOK ¶
type RetrievePlayerRecordsOK struct {
Payload *cloudsaveclientmodels.ModelsListPlayerRecordKeysResponse
}
RetrievePlayerRecordsOK handles this case with default header values.
Successful operation
func NewRetrievePlayerRecordsOK ¶
func NewRetrievePlayerRecordsOK() *RetrievePlayerRecordsOK
NewRetrievePlayerRecordsOK creates a RetrievePlayerRecordsOK with default headers values
func (*RetrievePlayerRecordsOK) Error ¶
func (o *RetrievePlayerRecordsOK) Error() string
func (*RetrievePlayerRecordsOK) GetPayload ¶
func (o *RetrievePlayerRecordsOK) GetPayload() *cloudsaveclientmodels.ModelsListPlayerRecordKeysResponse
func (*RetrievePlayerRecordsOK) ToJSONString ¶
func (o *RetrievePlayerRecordsOK) ToJSONString() string
type RetrievePlayerRecordsParams ¶
type RetrievePlayerRecordsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string /*Limit the number of data retrieved in a page, default 25 */ Limit *int64 /*Offset the number of offset, default 0 */ Offset *int64 /*Tags filter list by tags, max 5 tags per request */ Tags []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
RetrievePlayerRecordsParams contains all the parameters to send to the API endpoint for the retrieve player records operation typically these are written to a http.Request
func NewRetrievePlayerRecordsParams ¶
func NewRetrievePlayerRecordsParams() *RetrievePlayerRecordsParams
NewRetrievePlayerRecordsParams creates a new RetrievePlayerRecordsParams object with the default values initialized.
func NewRetrievePlayerRecordsParamsWithContext ¶
func NewRetrievePlayerRecordsParamsWithContext(ctx context.Context) *RetrievePlayerRecordsParams
NewRetrievePlayerRecordsParamsWithContext creates a new RetrievePlayerRecordsParams object with the default values initialized, and the ability to set a context for a request
func NewRetrievePlayerRecordsParamsWithHTTPClient ¶
func NewRetrievePlayerRecordsParamsWithHTTPClient(client *http.Client) *RetrievePlayerRecordsParams
NewRetrievePlayerRecordsParamsWithHTTPClient creates a new RetrievePlayerRecordsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetrievePlayerRecordsParamsWithTimeout ¶
func NewRetrievePlayerRecordsParamsWithTimeout(timeout time.Duration) *RetrievePlayerRecordsParams
NewRetrievePlayerRecordsParamsWithTimeout creates a new RetrievePlayerRecordsParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetrievePlayerRecordsParams) SetAuthInfoWriter ¶
func (o *RetrievePlayerRecordsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retrieve player records params
func (*RetrievePlayerRecordsParams) SetContext ¶
func (o *RetrievePlayerRecordsParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve player records params
func (*RetrievePlayerRecordsParams) SetFlightId ¶
func (o *RetrievePlayerRecordsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetrievePlayerRecordsParams) SetHTTPClient ¶
func (o *RetrievePlayerRecordsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve player records params
func (*RetrievePlayerRecordsParams) SetHTTPClientTransport ¶
func (o *RetrievePlayerRecordsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retrieve player records params
func (*RetrievePlayerRecordsParams) SetLimit ¶
func (o *RetrievePlayerRecordsParams) SetLimit(limit *int64)
SetLimit adds the limit to the retrieve player records params
func (*RetrievePlayerRecordsParams) SetNamespace ¶
func (o *RetrievePlayerRecordsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retrieve player records params
func (*RetrievePlayerRecordsParams) SetOffset ¶
func (o *RetrievePlayerRecordsParams) SetOffset(offset *int64)
SetOffset adds the offset to the retrieve player records params
func (*RetrievePlayerRecordsParams) SetTags ¶
func (o *RetrievePlayerRecordsParams) SetTags(tags []string)
SetTags adds the tags to the retrieve player records params
func (*RetrievePlayerRecordsParams) SetTimeout ¶
func (o *RetrievePlayerRecordsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve player records params
func (*RetrievePlayerRecordsParams) WithContext ¶
func (o *RetrievePlayerRecordsParams) WithContext(ctx context.Context) *RetrievePlayerRecordsParams
WithContext adds the context to the retrieve player records params
func (*RetrievePlayerRecordsParams) WithHTTPClient ¶
func (o *RetrievePlayerRecordsParams) WithHTTPClient(client *http.Client) *RetrievePlayerRecordsParams
WithHTTPClient adds the HTTPClient to the retrieve player records params
func (*RetrievePlayerRecordsParams) WithLimit ¶
func (o *RetrievePlayerRecordsParams) WithLimit(limit *int64) *RetrievePlayerRecordsParams
WithLimit adds the limit to the retrieve player records params
func (*RetrievePlayerRecordsParams) WithNamespace ¶
func (o *RetrievePlayerRecordsParams) WithNamespace(namespace string) *RetrievePlayerRecordsParams
WithNamespace adds the namespace to the retrieve player records params
func (*RetrievePlayerRecordsParams) WithOffset ¶
func (o *RetrievePlayerRecordsParams) WithOffset(offset *int64) *RetrievePlayerRecordsParams
WithOffset adds the offset to the retrieve player records params
func (*RetrievePlayerRecordsParams) WithTags ¶
func (o *RetrievePlayerRecordsParams) WithTags(tags []string) *RetrievePlayerRecordsParams
WithTags adds the tags to the retrieve player records params
func (*RetrievePlayerRecordsParams) WithTimeout ¶
func (o *RetrievePlayerRecordsParams) WithTimeout(timeout time.Duration) *RetrievePlayerRecordsParams
WithTimeout adds the timeout to the retrieve player records params
func (*RetrievePlayerRecordsParams) WriteToRequest ¶
func (o *RetrievePlayerRecordsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrievePlayerRecordsReader ¶
type RetrievePlayerRecordsReader struct {
// contains filtered or unexported fields
}
RetrievePlayerRecordsReader is a Reader for the RetrievePlayerRecords structure.
func (*RetrievePlayerRecordsReader) ReadResponse ¶
func (o *RetrievePlayerRecordsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrievePlayerRecordsResponse ¶
type RetrievePlayerRecordsResponse struct { cloudsaveclientmodels.ApiResponse Data *cloudsaveclientmodels.ModelsListPlayerRecordKeysResponse Error400 *cloudsaveclientmodels.ModelsResponseError Error401 *cloudsaveclientmodels.ModelsResponseError Error403 *cloudsaveclientmodels.ModelsResponseError Error500 *cloudsaveclientmodels.ModelsResponseError }
type RetrievePlayerRecordsUnauthorized ¶
type RetrievePlayerRecordsUnauthorized struct {
}RetrievePlayerRecordsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewRetrievePlayerRecordsUnauthorized ¶
func NewRetrievePlayerRecordsUnauthorized() *RetrievePlayerRecordsUnauthorized
NewRetrievePlayerRecordsUnauthorized creates a RetrievePlayerRecordsUnauthorized with default headers values
func (*RetrievePlayerRecordsUnauthorized) Error ¶
func (o *RetrievePlayerRecordsUnauthorized) Error() string
func (*RetrievePlayerRecordsUnauthorized) GetPayload ¶
func (o *RetrievePlayerRecordsUnauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*RetrievePlayerRecordsUnauthorized) ToJSONString ¶
func (o *RetrievePlayerRecordsUnauthorized) ToJSONString() string
Source Files
¶
- bulk_get_player_public_record_handler_v1_parameters.go
- bulk_get_player_public_record_handler_v1_responses.go
- delete_player_record_handler_v1_parameters.go
- delete_player_record_handler_v1_responses.go
- get_other_player_public_record_handler_v1_parameters.go
- get_other_player_public_record_handler_v1_responses.go
- get_other_player_public_record_key_handler_v1_parameters.go
- get_other_player_public_record_key_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
- get_player_records_bulk_handler_v1_parameters.go
- get_player_records_bulk_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_delete_player_public_record_handler_v1_parameters.go
- public_delete_player_public_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
- retrieve_player_records_parameters.go
- retrieve_player_records_responses.go