Documentation ¶
Index ¶
- type Client
- func (a *Client) GetHiddenUsersV2(params *GetHiddenUsersV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV2OK, *GetHiddenUsersV2BadRequest, ...)deprecated
- func (a *Client) GetHiddenUsersV2Short(params *GetHiddenUsersV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV2OK, error)
- func (a *Client) GetUserVisibilityStatusV2(params *GetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV2OK, *GetUserVisibilityStatusV2BadRequest, ...)deprecated
- func (a *Client) GetUserVisibilityStatusV2Short(params *GetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SetUserLeaderboardVisibilityStatusV2(params *SetUserLeaderboardVisibilityStatusV2Params, ...) (*SetUserLeaderboardVisibilityStatusV2OK, ...)deprecated
- func (a *Client) SetUserLeaderboardVisibilityStatusV2Short(params *SetUserLeaderboardVisibilityStatusV2Params, ...) (*SetUserLeaderboardVisibilityStatusV2OK, error)
- func (a *Client) SetUserVisibilityStatusV2(params *SetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityStatusV2OK, *SetUserVisibilityStatusV2BadRequest, ...)deprecated
- func (a *Client) SetUserVisibilityStatusV2Short(params *SetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityStatusV2OK, error)
- type ClientService
- type GetHiddenUsersV2BadRequest
- type GetHiddenUsersV2Forbidden
- type GetHiddenUsersV2InternalServerError
- type GetHiddenUsersV2OK
- type GetHiddenUsersV2Params
- func NewGetHiddenUsersV2Params() *GetHiddenUsersV2Params
- func NewGetHiddenUsersV2ParamsWithContext(ctx context.Context) *GetHiddenUsersV2Params
- func NewGetHiddenUsersV2ParamsWithHTTPClient(client *http.Client) *GetHiddenUsersV2Params
- func NewGetHiddenUsersV2ParamsWithTimeout(timeout time.Duration) *GetHiddenUsersV2Params
- func (o *GetHiddenUsersV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetHiddenUsersV2Params) SetContext(ctx context.Context)
- func (o *GetHiddenUsersV2Params) SetFlightId(flightId string)
- func (o *GetHiddenUsersV2Params) SetHTTPClient(client *http.Client)
- func (o *GetHiddenUsersV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetHiddenUsersV2Params) SetLeaderboardCode(leaderboardCode string)
- func (o *GetHiddenUsersV2Params) SetLimit(limit *int64)
- func (o *GetHiddenUsersV2Params) SetNamespace(namespace string)
- func (o *GetHiddenUsersV2Params) SetOffset(offset *int64)
- func (o *GetHiddenUsersV2Params) SetTimeout(timeout time.Duration)
- func (o *GetHiddenUsersV2Params) WithContext(ctx context.Context) *GetHiddenUsersV2Params
- func (o *GetHiddenUsersV2Params) WithHTTPClient(client *http.Client) *GetHiddenUsersV2Params
- func (o *GetHiddenUsersV2Params) WithLeaderboardCode(leaderboardCode string) *GetHiddenUsersV2Params
- func (o *GetHiddenUsersV2Params) WithLimit(limit *int64) *GetHiddenUsersV2Params
- func (o *GetHiddenUsersV2Params) WithNamespace(namespace string) *GetHiddenUsersV2Params
- func (o *GetHiddenUsersV2Params) WithOffset(offset *int64) *GetHiddenUsersV2Params
- func (o *GetHiddenUsersV2Params) WithTimeout(timeout time.Duration) *GetHiddenUsersV2Params
- func (o *GetHiddenUsersV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHiddenUsersV2Reader
- type GetHiddenUsersV2Unauthorized
- type GetUserVisibilityStatusV2BadRequest
- type GetUserVisibilityStatusV2Forbidden
- type GetUserVisibilityStatusV2InternalServerError
- type GetUserVisibilityStatusV2OK
- type GetUserVisibilityStatusV2Params
- func NewGetUserVisibilityStatusV2Params() *GetUserVisibilityStatusV2Params
- func NewGetUserVisibilityStatusV2ParamsWithContext(ctx context.Context) *GetUserVisibilityStatusV2Params
- func NewGetUserVisibilityStatusV2ParamsWithHTTPClient(client *http.Client) *GetUserVisibilityStatusV2Params
- func NewGetUserVisibilityStatusV2ParamsWithTimeout(timeout time.Duration) *GetUserVisibilityStatusV2Params
- func (o *GetUserVisibilityStatusV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserVisibilityStatusV2Params) SetContext(ctx context.Context)
- func (o *GetUserVisibilityStatusV2Params) SetFlightId(flightId string)
- func (o *GetUserVisibilityStatusV2Params) SetHTTPClient(client *http.Client)
- func (o *GetUserVisibilityStatusV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserVisibilityStatusV2Params) SetLeaderboardCode(leaderboardCode string)
- func (o *GetUserVisibilityStatusV2Params) SetNamespace(namespace string)
- func (o *GetUserVisibilityStatusV2Params) SetTimeout(timeout time.Duration)
- func (o *GetUserVisibilityStatusV2Params) SetUserID(userID string)
- func (o *GetUserVisibilityStatusV2Params) WithContext(ctx context.Context) *GetUserVisibilityStatusV2Params
- func (o *GetUserVisibilityStatusV2Params) WithHTTPClient(client *http.Client) *GetUserVisibilityStatusV2Params
- func (o *GetUserVisibilityStatusV2Params) WithLeaderboardCode(leaderboardCode string) *GetUserVisibilityStatusV2Params
- func (o *GetUserVisibilityStatusV2Params) WithNamespace(namespace string) *GetUserVisibilityStatusV2Params
- func (o *GetUserVisibilityStatusV2Params) WithTimeout(timeout time.Duration) *GetUserVisibilityStatusV2Params
- func (o *GetUserVisibilityStatusV2Params) WithUserID(userID string) *GetUserVisibilityStatusV2Params
- func (o *GetUserVisibilityStatusV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserVisibilityStatusV2Reader
- type GetUserVisibilityStatusV2Unauthorized
- type SetUserLeaderboardVisibilityStatusV2BadRequest
- type SetUserLeaderboardVisibilityStatusV2Forbidden
- type SetUserLeaderboardVisibilityStatusV2InternalServerError
- type SetUserLeaderboardVisibilityStatusV2OK
- type SetUserLeaderboardVisibilityStatusV2Params
- func NewSetUserLeaderboardVisibilityStatusV2Params() *SetUserLeaderboardVisibilityStatusV2Params
- func NewSetUserLeaderboardVisibilityStatusV2ParamsWithContext(ctx context.Context) *SetUserLeaderboardVisibilityStatusV2Params
- func NewSetUserLeaderboardVisibilityStatusV2ParamsWithHTTPClient(client *http.Client) *SetUserLeaderboardVisibilityStatusV2Params
- func NewSetUserLeaderboardVisibilityStatusV2ParamsWithTimeout(timeout time.Duration) *SetUserLeaderboardVisibilityStatusV2Params
- func (o *SetUserLeaderboardVisibilityStatusV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SetUserLeaderboardVisibilityStatusV2Params) SetBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest)
- func (o *SetUserLeaderboardVisibilityStatusV2Params) SetContext(ctx context.Context)
- func (o *SetUserLeaderboardVisibilityStatusV2Params) SetFlightId(flightId string)
- func (o *SetUserLeaderboardVisibilityStatusV2Params) SetHTTPClient(client *http.Client)
- func (o *SetUserLeaderboardVisibilityStatusV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SetUserLeaderboardVisibilityStatusV2Params) SetLeaderboardCode(leaderboardCode string)
- func (o *SetUserLeaderboardVisibilityStatusV2Params) SetNamespace(namespace string)
- func (o *SetUserLeaderboardVisibilityStatusV2Params) SetTimeout(timeout time.Duration)
- func (o *SetUserLeaderboardVisibilityStatusV2Params) SetUserID(userID string)
- func (o *SetUserLeaderboardVisibilityStatusV2Params) WithBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest) *SetUserLeaderboardVisibilityStatusV2Params
- func (o *SetUserLeaderboardVisibilityStatusV2Params) WithContext(ctx context.Context) *SetUserLeaderboardVisibilityStatusV2Params
- func (o *SetUserLeaderboardVisibilityStatusV2Params) WithHTTPClient(client *http.Client) *SetUserLeaderboardVisibilityStatusV2Params
- func (o *SetUserLeaderboardVisibilityStatusV2Params) WithLeaderboardCode(leaderboardCode string) *SetUserLeaderboardVisibilityStatusV2Params
- func (o *SetUserLeaderboardVisibilityStatusV2Params) WithNamespace(namespace string) *SetUserLeaderboardVisibilityStatusV2Params
- func (o *SetUserLeaderboardVisibilityStatusV2Params) WithTimeout(timeout time.Duration) *SetUserLeaderboardVisibilityStatusV2Params
- func (o *SetUserLeaderboardVisibilityStatusV2Params) WithUserID(userID string) *SetUserLeaderboardVisibilityStatusV2Params
- func (o *SetUserLeaderboardVisibilityStatusV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetUserLeaderboardVisibilityStatusV2Reader
- type SetUserLeaderboardVisibilityStatusV2Unauthorized
- type SetUserVisibilityStatusV2BadRequest
- type SetUserVisibilityStatusV2Forbidden
- type SetUserVisibilityStatusV2InternalServerError
- type SetUserVisibilityStatusV2OK
- type SetUserVisibilityStatusV2Params
- func NewSetUserVisibilityStatusV2Params() *SetUserVisibilityStatusV2Params
- func NewSetUserVisibilityStatusV2ParamsWithContext(ctx context.Context) *SetUserVisibilityStatusV2Params
- func NewSetUserVisibilityStatusV2ParamsWithHTTPClient(client *http.Client) *SetUserVisibilityStatusV2Params
- func NewSetUserVisibilityStatusV2ParamsWithTimeout(timeout time.Duration) *SetUserVisibilityStatusV2Params
- func (o *SetUserVisibilityStatusV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SetUserVisibilityStatusV2Params) SetBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest)
- func (o *SetUserVisibilityStatusV2Params) SetContext(ctx context.Context)
- func (o *SetUserVisibilityStatusV2Params) SetFlightId(flightId string)
- func (o *SetUserVisibilityStatusV2Params) SetHTTPClient(client *http.Client)
- func (o *SetUserVisibilityStatusV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SetUserVisibilityStatusV2Params) SetNamespace(namespace string)
- func (o *SetUserVisibilityStatusV2Params) SetTimeout(timeout time.Duration)
- func (o *SetUserVisibilityStatusV2Params) SetUserID(userID string)
- func (o *SetUserVisibilityStatusV2Params) WithBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest) *SetUserVisibilityStatusV2Params
- func (o *SetUserVisibilityStatusV2Params) WithContext(ctx context.Context) *SetUserVisibilityStatusV2Params
- func (o *SetUserVisibilityStatusV2Params) WithHTTPClient(client *http.Client) *SetUserVisibilityStatusV2Params
- func (o *SetUserVisibilityStatusV2Params) WithNamespace(namespace string) *SetUserVisibilityStatusV2Params
- func (o *SetUserVisibilityStatusV2Params) WithTimeout(timeout time.Duration) *SetUserVisibilityStatusV2Params
- func (o *SetUserVisibilityStatusV2Params) WithUserID(userID string) *SetUserVisibilityStatusV2Params
- func (o *SetUserVisibilityStatusV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetUserVisibilityStatusV2Reader
- type SetUserVisibilityStatusV2Unauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for user visibility API
func (*Client) GetHiddenUsersV2
deprecated
func (a *Client) GetHiddenUsersV2(params *GetHiddenUsersV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV2OK, *GetHiddenUsersV2BadRequest, *GetHiddenUsersV2Unauthorized, *GetHiddenUsersV2Forbidden, *GetHiddenUsersV2InternalServerError, error)
Deprecated: 2022-08-10 - Use GetHiddenUsersV2Short instead.
GetHiddenUsersV2 get hidden users on a leaderboard Return hidden users on a leaderboard
func (*Client) GetHiddenUsersV2Short ¶ added in v0.8.0
func (a *Client) GetHiddenUsersV2Short(params *GetHiddenUsersV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV2OK, error)
GetHiddenUsersV2Short get hidden users on a leaderboard Return hidden users on a leaderboard
func (*Client) GetUserVisibilityStatusV2
deprecated
func (a *Client) GetUserVisibilityStatusV2(params *GetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV2OK, *GetUserVisibilityStatusV2BadRequest, *GetUserVisibilityStatusV2Unauthorized, *GetUserVisibilityStatusV2Forbidden, *GetUserVisibilityStatusV2InternalServerError, error)
Deprecated: 2022-08-10 - Use GetUserVisibilityStatusV2Short instead.
GetUserVisibilityStatusV2 get user visibility status User with false visibility status will have hidden attribute set to true on it's leaderboard entry
func (*Client) GetUserVisibilityStatusV2Short ¶ added in v0.8.0
func (a *Client) GetUserVisibilityStatusV2Short(params *GetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV2OK, error)
GetUserVisibilityStatusV2Short get user visibility status User with false visibility status will have hidden attribute set to true on it's leaderboard entry
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SetUserLeaderboardVisibilityStatusV2
deprecated
func (a *Client) SetUserLeaderboardVisibilityStatusV2(params *SetUserLeaderboardVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserLeaderboardVisibilityStatusV2OK, *SetUserLeaderboardVisibilityStatusV2BadRequest, *SetUserLeaderboardVisibilityStatusV2Unauthorized, *SetUserLeaderboardVisibilityStatusV2Forbidden, *SetUserLeaderboardVisibilityStatusV2InternalServerError, error)
Deprecated: 2022-08-10 - Use SetUserLeaderboardVisibilityStatusV2Short instead.
SetUserLeaderboardVisibilityStatusV2 set user visibility status on a specific leaderboard code User with false visibility status will have hidden attribute set to true on it's leaderboard entry
func (*Client) SetUserLeaderboardVisibilityStatusV2Short ¶ added in v0.8.0
func (a *Client) SetUserLeaderboardVisibilityStatusV2Short(params *SetUserLeaderboardVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserLeaderboardVisibilityStatusV2OK, error)
SetUserLeaderboardVisibilityStatusV2Short set user visibility status on a specific leaderboard code User with false visibility status will have hidden attribute set to true on it's leaderboard entry
func (*Client) SetUserVisibilityStatusV2
deprecated
func (a *Client) SetUserVisibilityStatusV2(params *SetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityStatusV2OK, *SetUserVisibilityStatusV2BadRequest, *SetUserVisibilityStatusV2Unauthorized, *SetUserVisibilityStatusV2Forbidden, *SetUserVisibilityStatusV2InternalServerError, error)
Deprecated: 2022-08-10 - Use SetUserVisibilityStatusV2Short instead.
SetUserVisibilityStatusV2 set user visibility status on a all current leaderboard User with false visibility status will have hidden attribute set to true on it's leaderboard entry
func (*Client) SetUserVisibilityStatusV2Short ¶ added in v0.8.0
func (a *Client) SetUserVisibilityStatusV2Short(params *SetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityStatusV2OK, error)
SetUserVisibilityStatusV2Short set user visibility status on a all current leaderboard User with false visibility status will have hidden attribute set to true on it's leaderboard entry
type ClientService ¶
type ClientService interface { GetHiddenUsersV2(params *GetHiddenUsersV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV2OK, *GetHiddenUsersV2BadRequest, *GetHiddenUsersV2Unauthorized, *GetHiddenUsersV2Forbidden, *GetHiddenUsersV2InternalServerError, error) GetHiddenUsersV2Short(params *GetHiddenUsersV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV2OK, error) GetUserVisibilityStatusV2(params *GetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV2OK, *GetUserVisibilityStatusV2BadRequest, *GetUserVisibilityStatusV2Unauthorized, *GetUserVisibilityStatusV2Forbidden, *GetUserVisibilityStatusV2InternalServerError, error) GetUserVisibilityStatusV2Short(params *GetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV2OK, error) SetUserLeaderboardVisibilityStatusV2(params *SetUserLeaderboardVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserLeaderboardVisibilityStatusV2OK, *SetUserLeaderboardVisibilityStatusV2BadRequest, *SetUserLeaderboardVisibilityStatusV2Unauthorized, *SetUserLeaderboardVisibilityStatusV2Forbidden, *SetUserLeaderboardVisibilityStatusV2InternalServerError, error) SetUserLeaderboardVisibilityStatusV2Short(params *SetUserLeaderboardVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserLeaderboardVisibilityStatusV2OK, error) SetUserVisibilityStatusV2(params *SetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityStatusV2OK, *SetUserVisibilityStatusV2BadRequest, *SetUserVisibilityStatusV2Unauthorized, *SetUserVisibilityStatusV2Forbidden, *SetUserVisibilityStatusV2InternalServerError, error) SetUserVisibilityStatusV2Short(params *SetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityStatusV2OK, 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 user visibility API client.
type GetHiddenUsersV2BadRequest ¶
type GetHiddenUsersV2BadRequest struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetHiddenUsersV2BadRequest 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><tr><td>71130</td><td>leaderboard config not found</td></tr></table>
func NewGetHiddenUsersV2BadRequest ¶
func NewGetHiddenUsersV2BadRequest() *GetHiddenUsersV2BadRequest
NewGetHiddenUsersV2BadRequest creates a GetHiddenUsersV2BadRequest with default headers values
func (*GetHiddenUsersV2BadRequest) Error ¶
func (o *GetHiddenUsersV2BadRequest) Error() string
func (*GetHiddenUsersV2BadRequest) GetPayload ¶
func (o *GetHiddenUsersV2BadRequest) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetHiddenUsersV2BadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetHiddenUsersV2BadRequest) ToJSONString() string
type GetHiddenUsersV2Forbidden ¶
type GetHiddenUsersV2Forbidden struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetHiddenUsersV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewGetHiddenUsersV2Forbidden ¶
func NewGetHiddenUsersV2Forbidden() *GetHiddenUsersV2Forbidden
NewGetHiddenUsersV2Forbidden creates a GetHiddenUsersV2Forbidden with default headers values
func (*GetHiddenUsersV2Forbidden) Error ¶
func (o *GetHiddenUsersV2Forbidden) Error() string
func (*GetHiddenUsersV2Forbidden) GetPayload ¶
func (o *GetHiddenUsersV2Forbidden) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetHiddenUsersV2Forbidden) ToJSONString ¶ added in v0.25.0
func (o *GetHiddenUsersV2Forbidden) ToJSONString() string
type GetHiddenUsersV2InternalServerError ¶
type GetHiddenUsersV2InternalServerError struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetHiddenUsersV2InternalServerError 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></table>
func NewGetHiddenUsersV2InternalServerError ¶
func NewGetHiddenUsersV2InternalServerError() *GetHiddenUsersV2InternalServerError
NewGetHiddenUsersV2InternalServerError creates a GetHiddenUsersV2InternalServerError with default headers values
func (*GetHiddenUsersV2InternalServerError) Error ¶
func (o *GetHiddenUsersV2InternalServerError) Error() string
func (*GetHiddenUsersV2InternalServerError) GetPayload ¶
func (o *GetHiddenUsersV2InternalServerError) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetHiddenUsersV2InternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetHiddenUsersV2InternalServerError) ToJSONString() string
type GetHiddenUsersV2OK ¶
type GetHiddenUsersV2OK struct {
Payload *leaderboardclientmodels.ModelsGetHiddenUserResponse
}
GetHiddenUsersV2OK handles this case with default header values.
Hidden user retrieved
func NewGetHiddenUsersV2OK ¶
func NewGetHiddenUsersV2OK() *GetHiddenUsersV2OK
NewGetHiddenUsersV2OK creates a GetHiddenUsersV2OK with default headers values
func (*GetHiddenUsersV2OK) Error ¶
func (o *GetHiddenUsersV2OK) Error() string
func (*GetHiddenUsersV2OK) GetPayload ¶
func (o *GetHiddenUsersV2OK) GetPayload() *leaderboardclientmodels.ModelsGetHiddenUserResponse
func (*GetHiddenUsersV2OK) ToJSONString ¶ added in v0.25.0
func (o *GetHiddenUsersV2OK) ToJSONString() string
type GetHiddenUsersV2Params ¶
type GetHiddenUsersV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*LeaderboardCode Leaderboard Code */ LeaderboardCode string /*Namespace namespace of the game */ Namespace string /*Limit size of displayed data */ Limit *int64 /*Offset The start position that points to query data */ Offset *int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
GetHiddenUsersV2Params contains all the parameters to send to the API endpoint for the get hidden users v2 operation typically these are written to a http.Request
func NewGetHiddenUsersV2Params ¶
func NewGetHiddenUsersV2Params() *GetHiddenUsersV2Params
NewGetHiddenUsersV2Params creates a new GetHiddenUsersV2Params object with the default values initialized.
func NewGetHiddenUsersV2ParamsWithContext ¶
func NewGetHiddenUsersV2ParamsWithContext(ctx context.Context) *GetHiddenUsersV2Params
NewGetHiddenUsersV2ParamsWithContext creates a new GetHiddenUsersV2Params object with the default values initialized, and the ability to set a context for a request
func NewGetHiddenUsersV2ParamsWithHTTPClient ¶
func NewGetHiddenUsersV2ParamsWithHTTPClient(client *http.Client) *GetHiddenUsersV2Params
NewGetHiddenUsersV2ParamsWithHTTPClient creates a new GetHiddenUsersV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetHiddenUsersV2ParamsWithTimeout ¶
func NewGetHiddenUsersV2ParamsWithTimeout(timeout time.Duration) *GetHiddenUsersV2Params
NewGetHiddenUsersV2ParamsWithTimeout creates a new GetHiddenUsersV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetHiddenUsersV2Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetHiddenUsersV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get hidden users v2 params
func (*GetHiddenUsersV2Params) SetContext ¶
func (o *GetHiddenUsersV2Params) SetContext(ctx context.Context)
SetContext adds the context to the get hidden users v2 params
func (*GetHiddenUsersV2Params) SetFlightId ¶ added in v0.63.0
func (o *GetHiddenUsersV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetHiddenUsersV2Params) SetHTTPClient ¶
func (o *GetHiddenUsersV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get hidden users v2 params
func (*GetHiddenUsersV2Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetHiddenUsersV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get hidden users v2 params
func (*GetHiddenUsersV2Params) SetLeaderboardCode ¶
func (o *GetHiddenUsersV2Params) SetLeaderboardCode(leaderboardCode string)
SetLeaderboardCode adds the leaderboardCode to the get hidden users v2 params
func (*GetHiddenUsersV2Params) SetLimit ¶
func (o *GetHiddenUsersV2Params) SetLimit(limit *int64)
SetLimit adds the limit to the get hidden users v2 params
func (*GetHiddenUsersV2Params) SetNamespace ¶
func (o *GetHiddenUsersV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get hidden users v2 params
func (*GetHiddenUsersV2Params) SetOffset ¶
func (o *GetHiddenUsersV2Params) SetOffset(offset *int64)
SetOffset adds the offset to the get hidden users v2 params
func (*GetHiddenUsersV2Params) SetTimeout ¶
func (o *GetHiddenUsersV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get hidden users v2 params
func (*GetHiddenUsersV2Params) WithContext ¶
func (o *GetHiddenUsersV2Params) WithContext(ctx context.Context) *GetHiddenUsersV2Params
WithContext adds the context to the get hidden users v2 params
func (*GetHiddenUsersV2Params) WithHTTPClient ¶
func (o *GetHiddenUsersV2Params) WithHTTPClient(client *http.Client) *GetHiddenUsersV2Params
WithHTTPClient adds the HTTPClient to the get hidden users v2 params
func (*GetHiddenUsersV2Params) WithLeaderboardCode ¶
func (o *GetHiddenUsersV2Params) WithLeaderboardCode(leaderboardCode string) *GetHiddenUsersV2Params
WithLeaderboardCode adds the leaderboardCode to the get hidden users v2 params
func (*GetHiddenUsersV2Params) WithLimit ¶
func (o *GetHiddenUsersV2Params) WithLimit(limit *int64) *GetHiddenUsersV2Params
WithLimit adds the limit to the get hidden users v2 params
func (*GetHiddenUsersV2Params) WithNamespace ¶
func (o *GetHiddenUsersV2Params) WithNamespace(namespace string) *GetHiddenUsersV2Params
WithNamespace adds the namespace to the get hidden users v2 params
func (*GetHiddenUsersV2Params) WithOffset ¶
func (o *GetHiddenUsersV2Params) WithOffset(offset *int64) *GetHiddenUsersV2Params
WithOffset adds the offset to the get hidden users v2 params
func (*GetHiddenUsersV2Params) WithTimeout ¶
func (o *GetHiddenUsersV2Params) WithTimeout(timeout time.Duration) *GetHiddenUsersV2Params
WithTimeout adds the timeout to the get hidden users v2 params
func (*GetHiddenUsersV2Params) WriteToRequest ¶
func (o *GetHiddenUsersV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHiddenUsersV2Reader ¶
type GetHiddenUsersV2Reader struct {
// contains filtered or unexported fields
}
GetHiddenUsersV2Reader is a Reader for the GetHiddenUsersV2 structure.
func (*GetHiddenUsersV2Reader) ReadResponse ¶
func (o *GetHiddenUsersV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHiddenUsersV2Unauthorized ¶
type GetHiddenUsersV2Unauthorized struct {
}GetHiddenUsersV2Unauthorized 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 NewGetHiddenUsersV2Unauthorized ¶
func NewGetHiddenUsersV2Unauthorized() *GetHiddenUsersV2Unauthorized
NewGetHiddenUsersV2Unauthorized creates a GetHiddenUsersV2Unauthorized with default headers values
func (*GetHiddenUsersV2Unauthorized) Error ¶
func (o *GetHiddenUsersV2Unauthorized) Error() string
func (*GetHiddenUsersV2Unauthorized) GetPayload ¶
func (o *GetHiddenUsersV2Unauthorized) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetHiddenUsersV2Unauthorized) ToJSONString ¶ added in v0.25.0
func (o *GetHiddenUsersV2Unauthorized) ToJSONString() string
type GetUserVisibilityStatusV2BadRequest ¶
type GetUserVisibilityStatusV2BadRequest struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetUserVisibilityStatusV2BadRequest 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 NewGetUserVisibilityStatusV2BadRequest ¶
func NewGetUserVisibilityStatusV2BadRequest() *GetUserVisibilityStatusV2BadRequest
NewGetUserVisibilityStatusV2BadRequest creates a GetUserVisibilityStatusV2BadRequest with default headers values
func (*GetUserVisibilityStatusV2BadRequest) Error ¶
func (o *GetUserVisibilityStatusV2BadRequest) Error() string
func (*GetUserVisibilityStatusV2BadRequest) GetPayload ¶
func (o *GetUserVisibilityStatusV2BadRequest) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserVisibilityStatusV2BadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetUserVisibilityStatusV2BadRequest) ToJSONString() string
type GetUserVisibilityStatusV2Forbidden ¶
type GetUserVisibilityStatusV2Forbidden struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetUserVisibilityStatusV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewGetUserVisibilityStatusV2Forbidden ¶
func NewGetUserVisibilityStatusV2Forbidden() *GetUserVisibilityStatusV2Forbidden
NewGetUserVisibilityStatusV2Forbidden creates a GetUserVisibilityStatusV2Forbidden with default headers values
func (*GetUserVisibilityStatusV2Forbidden) Error ¶
func (o *GetUserVisibilityStatusV2Forbidden) Error() string
func (*GetUserVisibilityStatusV2Forbidden) GetPayload ¶
func (o *GetUserVisibilityStatusV2Forbidden) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserVisibilityStatusV2Forbidden) ToJSONString ¶ added in v0.25.0
func (o *GetUserVisibilityStatusV2Forbidden) ToJSONString() string
type GetUserVisibilityStatusV2InternalServerError ¶
type GetUserVisibilityStatusV2InternalServerError struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetUserVisibilityStatusV2InternalServerError 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></table>
func NewGetUserVisibilityStatusV2InternalServerError ¶
func NewGetUserVisibilityStatusV2InternalServerError() *GetUserVisibilityStatusV2InternalServerError
NewGetUserVisibilityStatusV2InternalServerError creates a GetUserVisibilityStatusV2InternalServerError with default headers values
func (*GetUserVisibilityStatusV2InternalServerError) Error ¶
func (o *GetUserVisibilityStatusV2InternalServerError) Error() string
func (*GetUserVisibilityStatusV2InternalServerError) GetPayload ¶
func (o *GetUserVisibilityStatusV2InternalServerError) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserVisibilityStatusV2InternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetUserVisibilityStatusV2InternalServerError) ToJSONString() string
type GetUserVisibilityStatusV2OK ¶
type GetUserVisibilityStatusV2OK struct {
Payload *leaderboardclientmodels.ModelsGetUserVisibilityResponse
}
GetUserVisibilityStatusV2OK handles this case with default header values.
User visibility retrieved
func NewGetUserVisibilityStatusV2OK ¶
func NewGetUserVisibilityStatusV2OK() *GetUserVisibilityStatusV2OK
NewGetUserVisibilityStatusV2OK creates a GetUserVisibilityStatusV2OK with default headers values
func (*GetUserVisibilityStatusV2OK) Error ¶
func (o *GetUserVisibilityStatusV2OK) Error() string
func (*GetUserVisibilityStatusV2OK) GetPayload ¶
func (o *GetUserVisibilityStatusV2OK) GetPayload() *leaderboardclientmodels.ModelsGetUserVisibilityResponse
func (*GetUserVisibilityStatusV2OK) ToJSONString ¶ added in v0.25.0
func (o *GetUserVisibilityStatusV2OK) ToJSONString() string
type GetUserVisibilityStatusV2Params ¶
type GetUserVisibilityStatusV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*LeaderboardCode Leaderboard Code */ LeaderboardCode string /*Namespace namespace of the game */ Namespace string /*UserID User ID */ 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 }
GetUserVisibilityStatusV2Params contains all the parameters to send to the API endpoint for the get user visibility status v2 operation typically these are written to a http.Request
func NewGetUserVisibilityStatusV2Params ¶
func NewGetUserVisibilityStatusV2Params() *GetUserVisibilityStatusV2Params
NewGetUserVisibilityStatusV2Params creates a new GetUserVisibilityStatusV2Params object with the default values initialized.
func NewGetUserVisibilityStatusV2ParamsWithContext ¶
func NewGetUserVisibilityStatusV2ParamsWithContext(ctx context.Context) *GetUserVisibilityStatusV2Params
NewGetUserVisibilityStatusV2ParamsWithContext creates a new GetUserVisibilityStatusV2Params object with the default values initialized, and the ability to set a context for a request
func NewGetUserVisibilityStatusV2ParamsWithHTTPClient ¶
func NewGetUserVisibilityStatusV2ParamsWithHTTPClient(client *http.Client) *GetUserVisibilityStatusV2Params
NewGetUserVisibilityStatusV2ParamsWithHTTPClient creates a new GetUserVisibilityStatusV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserVisibilityStatusV2ParamsWithTimeout ¶
func NewGetUserVisibilityStatusV2ParamsWithTimeout(timeout time.Duration) *GetUserVisibilityStatusV2Params
NewGetUserVisibilityStatusV2ParamsWithTimeout creates a new GetUserVisibilityStatusV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserVisibilityStatusV2Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetUserVisibilityStatusV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) SetContext ¶
func (o *GetUserVisibilityStatusV2Params) SetContext(ctx context.Context)
SetContext adds the context to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) SetFlightId ¶ added in v0.63.0
func (o *GetUserVisibilityStatusV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserVisibilityStatusV2Params) SetHTTPClient ¶
func (o *GetUserVisibilityStatusV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetUserVisibilityStatusV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) SetLeaderboardCode ¶
func (o *GetUserVisibilityStatusV2Params) SetLeaderboardCode(leaderboardCode string)
SetLeaderboardCode adds the leaderboardCode to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) SetNamespace ¶
func (o *GetUserVisibilityStatusV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) SetTimeout ¶
func (o *GetUserVisibilityStatusV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) SetUserID ¶
func (o *GetUserVisibilityStatusV2Params) SetUserID(userID string)
SetUserID adds the userId to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) WithContext ¶
func (o *GetUserVisibilityStatusV2Params) WithContext(ctx context.Context) *GetUserVisibilityStatusV2Params
WithContext adds the context to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) WithHTTPClient ¶
func (o *GetUserVisibilityStatusV2Params) WithHTTPClient(client *http.Client) *GetUserVisibilityStatusV2Params
WithHTTPClient adds the HTTPClient to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) WithLeaderboardCode ¶
func (o *GetUserVisibilityStatusV2Params) WithLeaderboardCode(leaderboardCode string) *GetUserVisibilityStatusV2Params
WithLeaderboardCode adds the leaderboardCode to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) WithNamespace ¶
func (o *GetUserVisibilityStatusV2Params) WithNamespace(namespace string) *GetUserVisibilityStatusV2Params
WithNamespace adds the namespace to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) WithTimeout ¶
func (o *GetUserVisibilityStatusV2Params) WithTimeout(timeout time.Duration) *GetUserVisibilityStatusV2Params
WithTimeout adds the timeout to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) WithUserID ¶
func (o *GetUserVisibilityStatusV2Params) WithUserID(userID string) *GetUserVisibilityStatusV2Params
WithUserID adds the userID to the get user visibility status v2 params
func (*GetUserVisibilityStatusV2Params) WriteToRequest ¶
func (o *GetUserVisibilityStatusV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserVisibilityStatusV2Reader ¶
type GetUserVisibilityStatusV2Reader struct {
// contains filtered or unexported fields
}
GetUserVisibilityStatusV2Reader is a Reader for the GetUserVisibilityStatusV2 structure.
func (*GetUserVisibilityStatusV2Reader) ReadResponse ¶
func (o *GetUserVisibilityStatusV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserVisibilityStatusV2Unauthorized ¶
type GetUserVisibilityStatusV2Unauthorized struct {
}GetUserVisibilityStatusV2Unauthorized 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 NewGetUserVisibilityStatusV2Unauthorized ¶
func NewGetUserVisibilityStatusV2Unauthorized() *GetUserVisibilityStatusV2Unauthorized
NewGetUserVisibilityStatusV2Unauthorized creates a GetUserVisibilityStatusV2Unauthorized with default headers values
func (*GetUserVisibilityStatusV2Unauthorized) Error ¶
func (o *GetUserVisibilityStatusV2Unauthorized) Error() string
func (*GetUserVisibilityStatusV2Unauthorized) GetPayload ¶
func (o *GetUserVisibilityStatusV2Unauthorized) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserVisibilityStatusV2Unauthorized) ToJSONString ¶ added in v0.25.0
func (o *GetUserVisibilityStatusV2Unauthorized) ToJSONString() string
type SetUserLeaderboardVisibilityStatusV2BadRequest ¶
type SetUserLeaderboardVisibilityStatusV2BadRequest struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
SetUserLeaderboardVisibilityStatusV2BadRequest 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><tr><td>71130</td><td>leaderboard config not found</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewSetUserLeaderboardVisibilityStatusV2BadRequest ¶
func NewSetUserLeaderboardVisibilityStatusV2BadRequest() *SetUserLeaderboardVisibilityStatusV2BadRequest
NewSetUserLeaderboardVisibilityStatusV2BadRequest creates a SetUserLeaderboardVisibilityStatusV2BadRequest with default headers values
func (*SetUserLeaderboardVisibilityStatusV2BadRequest) Error ¶
func (o *SetUserLeaderboardVisibilityStatusV2BadRequest) Error() string
func (*SetUserLeaderboardVisibilityStatusV2BadRequest) GetPayload ¶
func (o *SetUserLeaderboardVisibilityStatusV2BadRequest) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserLeaderboardVisibilityStatusV2BadRequest) ToJSONString ¶ added in v0.25.0
func (o *SetUserLeaderboardVisibilityStatusV2BadRequest) ToJSONString() string
type SetUserLeaderboardVisibilityStatusV2Forbidden ¶
type SetUserLeaderboardVisibilityStatusV2Forbidden struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
SetUserLeaderboardVisibilityStatusV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewSetUserLeaderboardVisibilityStatusV2Forbidden ¶
func NewSetUserLeaderboardVisibilityStatusV2Forbidden() *SetUserLeaderboardVisibilityStatusV2Forbidden
NewSetUserLeaderboardVisibilityStatusV2Forbidden creates a SetUserLeaderboardVisibilityStatusV2Forbidden with default headers values
func (*SetUserLeaderboardVisibilityStatusV2Forbidden) Error ¶
func (o *SetUserLeaderboardVisibilityStatusV2Forbidden) Error() string
func (*SetUserLeaderboardVisibilityStatusV2Forbidden) GetPayload ¶
func (o *SetUserLeaderboardVisibilityStatusV2Forbidden) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserLeaderboardVisibilityStatusV2Forbidden) ToJSONString ¶ added in v0.25.0
func (o *SetUserLeaderboardVisibilityStatusV2Forbidden) ToJSONString() string
type SetUserLeaderboardVisibilityStatusV2InternalServerError ¶
type SetUserLeaderboardVisibilityStatusV2InternalServerError struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
SetUserLeaderboardVisibilityStatusV2InternalServerError 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></table>
func NewSetUserLeaderboardVisibilityStatusV2InternalServerError ¶
func NewSetUserLeaderboardVisibilityStatusV2InternalServerError() *SetUserLeaderboardVisibilityStatusV2InternalServerError
NewSetUserLeaderboardVisibilityStatusV2InternalServerError creates a SetUserLeaderboardVisibilityStatusV2InternalServerError with default headers values
func (*SetUserLeaderboardVisibilityStatusV2InternalServerError) Error ¶
func (o *SetUserLeaderboardVisibilityStatusV2InternalServerError) Error() string
func (*SetUserLeaderboardVisibilityStatusV2InternalServerError) GetPayload ¶
func (o *SetUserLeaderboardVisibilityStatusV2InternalServerError) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserLeaderboardVisibilityStatusV2InternalServerError) ToJSONString ¶ added in v0.25.0
func (o *SetUserLeaderboardVisibilityStatusV2InternalServerError) ToJSONString() string
type SetUserLeaderboardVisibilityStatusV2OK ¶
type SetUserLeaderboardVisibilityStatusV2OK struct {
Payload *leaderboardclientmodels.ModelsGetUserVisibilityResponse
}
SetUserLeaderboardVisibilityStatusV2OK handles this case with default header values.
User visibility status updated
func NewSetUserLeaderboardVisibilityStatusV2OK ¶
func NewSetUserLeaderboardVisibilityStatusV2OK() *SetUserLeaderboardVisibilityStatusV2OK
NewSetUserLeaderboardVisibilityStatusV2OK creates a SetUserLeaderboardVisibilityStatusV2OK with default headers values
func (*SetUserLeaderboardVisibilityStatusV2OK) Error ¶
func (o *SetUserLeaderboardVisibilityStatusV2OK) Error() string
func (*SetUserLeaderboardVisibilityStatusV2OK) GetPayload ¶
func (o *SetUserLeaderboardVisibilityStatusV2OK) GetPayload() *leaderboardclientmodels.ModelsGetUserVisibilityResponse
func (*SetUserLeaderboardVisibilityStatusV2OK) ToJSONString ¶ added in v0.25.0
func (o *SetUserLeaderboardVisibilityStatusV2OK) ToJSONString() string
type SetUserLeaderboardVisibilityStatusV2Params ¶
type SetUserLeaderboardVisibilityStatusV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *leaderboardclientmodels.ModelsSetUserVisibilityRequest /*LeaderboardCode Leaderboard Code */ LeaderboardCode string /*Namespace namespace of the game */ Namespace string /*UserID User ID */ 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 }
SetUserLeaderboardVisibilityStatusV2Params contains all the parameters to send to the API endpoint for the set user leaderboard visibility status v2 operation typically these are written to a http.Request
func NewSetUserLeaderboardVisibilityStatusV2Params ¶
func NewSetUserLeaderboardVisibilityStatusV2Params() *SetUserLeaderboardVisibilityStatusV2Params
NewSetUserLeaderboardVisibilityStatusV2Params creates a new SetUserLeaderboardVisibilityStatusV2Params object with the default values initialized.
func NewSetUserLeaderboardVisibilityStatusV2ParamsWithContext ¶
func NewSetUserLeaderboardVisibilityStatusV2ParamsWithContext(ctx context.Context) *SetUserLeaderboardVisibilityStatusV2Params
NewSetUserLeaderboardVisibilityStatusV2ParamsWithContext creates a new SetUserLeaderboardVisibilityStatusV2Params object with the default values initialized, and the ability to set a context for a request
func NewSetUserLeaderboardVisibilityStatusV2ParamsWithHTTPClient ¶
func NewSetUserLeaderboardVisibilityStatusV2ParamsWithHTTPClient(client *http.Client) *SetUserLeaderboardVisibilityStatusV2Params
NewSetUserLeaderboardVisibilityStatusV2ParamsWithHTTPClient creates a new SetUserLeaderboardVisibilityStatusV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetUserLeaderboardVisibilityStatusV2ParamsWithTimeout ¶
func NewSetUserLeaderboardVisibilityStatusV2ParamsWithTimeout(timeout time.Duration) *SetUserLeaderboardVisibilityStatusV2Params
NewSetUserLeaderboardVisibilityStatusV2ParamsWithTimeout creates a new SetUserLeaderboardVisibilityStatusV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*SetUserLeaderboardVisibilityStatusV2Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *SetUserLeaderboardVisibilityStatusV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) SetBody ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) SetBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest)
SetBody adds the body to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) SetContext ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) SetContext(ctx context.Context)
SetContext adds the context to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) SetFlightId ¶ added in v0.63.0
func (o *SetUserLeaderboardVisibilityStatusV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*SetUserLeaderboardVisibilityStatusV2Params) SetHTTPClient ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *SetUserLeaderboardVisibilityStatusV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) SetLeaderboardCode ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) SetLeaderboardCode(leaderboardCode string)
SetLeaderboardCode adds the leaderboardCode to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) SetNamespace ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) SetTimeout ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) SetUserID ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) SetUserID(userID string)
SetUserID adds the userId to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) WithBody ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) WithBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest) *SetUserLeaderboardVisibilityStatusV2Params
WithBody adds the body to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) WithContext ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) WithContext(ctx context.Context) *SetUserLeaderboardVisibilityStatusV2Params
WithContext adds the context to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) WithHTTPClient ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) WithHTTPClient(client *http.Client) *SetUserLeaderboardVisibilityStatusV2Params
WithHTTPClient adds the HTTPClient to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) WithLeaderboardCode ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) WithLeaderboardCode(leaderboardCode string) *SetUserLeaderboardVisibilityStatusV2Params
WithLeaderboardCode adds the leaderboardCode to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) WithNamespace ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) WithNamespace(namespace string) *SetUserLeaderboardVisibilityStatusV2Params
WithNamespace adds the namespace to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) WithTimeout ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) WithTimeout(timeout time.Duration) *SetUserLeaderboardVisibilityStatusV2Params
WithTimeout adds the timeout to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) WithUserID ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) WithUserID(userID string) *SetUserLeaderboardVisibilityStatusV2Params
WithUserID adds the userID to the set user leaderboard visibility status v2 params
func (*SetUserLeaderboardVisibilityStatusV2Params) WriteToRequest ¶
func (o *SetUserLeaderboardVisibilityStatusV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetUserLeaderboardVisibilityStatusV2Reader ¶
type SetUserLeaderboardVisibilityStatusV2Reader struct {
// contains filtered or unexported fields
}
SetUserLeaderboardVisibilityStatusV2Reader is a Reader for the SetUserLeaderboardVisibilityStatusV2 structure.
func (*SetUserLeaderboardVisibilityStatusV2Reader) ReadResponse ¶
func (o *SetUserLeaderboardVisibilityStatusV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetUserLeaderboardVisibilityStatusV2Unauthorized ¶
type SetUserLeaderboardVisibilityStatusV2Unauthorized struct {
}SetUserLeaderboardVisibilityStatusV2Unauthorized 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 NewSetUserLeaderboardVisibilityStatusV2Unauthorized ¶
func NewSetUserLeaderboardVisibilityStatusV2Unauthorized() *SetUserLeaderboardVisibilityStatusV2Unauthorized
NewSetUserLeaderboardVisibilityStatusV2Unauthorized creates a SetUserLeaderboardVisibilityStatusV2Unauthorized with default headers values
func (*SetUserLeaderboardVisibilityStatusV2Unauthorized) Error ¶
func (o *SetUserLeaderboardVisibilityStatusV2Unauthorized) Error() string
func (*SetUserLeaderboardVisibilityStatusV2Unauthorized) GetPayload ¶
func (o *SetUserLeaderboardVisibilityStatusV2Unauthorized) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserLeaderboardVisibilityStatusV2Unauthorized) ToJSONString ¶ added in v0.25.0
func (o *SetUserLeaderboardVisibilityStatusV2Unauthorized) ToJSONString() string
type SetUserVisibilityStatusV2BadRequest ¶
type SetUserVisibilityStatusV2BadRequest struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
SetUserVisibilityStatusV2BadRequest 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><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewSetUserVisibilityStatusV2BadRequest ¶
func NewSetUserVisibilityStatusV2BadRequest() *SetUserVisibilityStatusV2BadRequest
NewSetUserVisibilityStatusV2BadRequest creates a SetUserVisibilityStatusV2BadRequest with default headers values
func (*SetUserVisibilityStatusV2BadRequest) Error ¶
func (o *SetUserVisibilityStatusV2BadRequest) Error() string
func (*SetUserVisibilityStatusV2BadRequest) GetPayload ¶
func (o *SetUserVisibilityStatusV2BadRequest) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserVisibilityStatusV2BadRequest) ToJSONString ¶ added in v0.25.0
func (o *SetUserVisibilityStatusV2BadRequest) ToJSONString() string
type SetUserVisibilityStatusV2Forbidden ¶
type SetUserVisibilityStatusV2Forbidden struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
SetUserVisibilityStatusV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr></table>
func NewSetUserVisibilityStatusV2Forbidden ¶
func NewSetUserVisibilityStatusV2Forbidden() *SetUserVisibilityStatusV2Forbidden
NewSetUserVisibilityStatusV2Forbidden creates a SetUserVisibilityStatusV2Forbidden with default headers values
func (*SetUserVisibilityStatusV2Forbidden) Error ¶
func (o *SetUserVisibilityStatusV2Forbidden) Error() string
func (*SetUserVisibilityStatusV2Forbidden) GetPayload ¶
func (o *SetUserVisibilityStatusV2Forbidden) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserVisibilityStatusV2Forbidden) ToJSONString ¶ added in v0.25.0
func (o *SetUserVisibilityStatusV2Forbidden) ToJSONString() string
type SetUserVisibilityStatusV2InternalServerError ¶
type SetUserVisibilityStatusV2InternalServerError struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
SetUserVisibilityStatusV2InternalServerError 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></table>
func NewSetUserVisibilityStatusV2InternalServerError ¶
func NewSetUserVisibilityStatusV2InternalServerError() *SetUserVisibilityStatusV2InternalServerError
NewSetUserVisibilityStatusV2InternalServerError creates a SetUserVisibilityStatusV2InternalServerError with default headers values
func (*SetUserVisibilityStatusV2InternalServerError) Error ¶
func (o *SetUserVisibilityStatusV2InternalServerError) Error() string
func (*SetUserVisibilityStatusV2InternalServerError) GetPayload ¶
func (o *SetUserVisibilityStatusV2InternalServerError) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserVisibilityStatusV2InternalServerError) ToJSONString ¶ added in v0.25.0
func (o *SetUserVisibilityStatusV2InternalServerError) ToJSONString() string
type SetUserVisibilityStatusV2OK ¶
type SetUserVisibilityStatusV2OK struct {
Payload *leaderboardclientmodels.ModelsGetUserVisibilityResponse
}
SetUserVisibilityStatusV2OK handles this case with default header values.
User visibility status updated
func NewSetUserVisibilityStatusV2OK ¶
func NewSetUserVisibilityStatusV2OK() *SetUserVisibilityStatusV2OK
NewSetUserVisibilityStatusV2OK creates a SetUserVisibilityStatusV2OK with default headers values
func (*SetUserVisibilityStatusV2OK) Error ¶
func (o *SetUserVisibilityStatusV2OK) Error() string
func (*SetUserVisibilityStatusV2OK) GetPayload ¶
func (o *SetUserVisibilityStatusV2OK) GetPayload() *leaderboardclientmodels.ModelsGetUserVisibilityResponse
func (*SetUserVisibilityStatusV2OK) ToJSONString ¶ added in v0.25.0
func (o *SetUserVisibilityStatusV2OK) ToJSONString() string
type SetUserVisibilityStatusV2Params ¶
type SetUserVisibilityStatusV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *leaderboardclientmodels.ModelsSetUserVisibilityRequest /*Namespace namespace of the game */ Namespace string /*UserID User ID */ 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 }
SetUserVisibilityStatusV2Params contains all the parameters to send to the API endpoint for the set user visibility status v2 operation typically these are written to a http.Request
func NewSetUserVisibilityStatusV2Params ¶
func NewSetUserVisibilityStatusV2Params() *SetUserVisibilityStatusV2Params
NewSetUserVisibilityStatusV2Params creates a new SetUserVisibilityStatusV2Params object with the default values initialized.
func NewSetUserVisibilityStatusV2ParamsWithContext ¶
func NewSetUserVisibilityStatusV2ParamsWithContext(ctx context.Context) *SetUserVisibilityStatusV2Params
NewSetUserVisibilityStatusV2ParamsWithContext creates a new SetUserVisibilityStatusV2Params object with the default values initialized, and the ability to set a context for a request
func NewSetUserVisibilityStatusV2ParamsWithHTTPClient ¶
func NewSetUserVisibilityStatusV2ParamsWithHTTPClient(client *http.Client) *SetUserVisibilityStatusV2Params
NewSetUserVisibilityStatusV2ParamsWithHTTPClient creates a new SetUserVisibilityStatusV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetUserVisibilityStatusV2ParamsWithTimeout ¶
func NewSetUserVisibilityStatusV2ParamsWithTimeout(timeout time.Duration) *SetUserVisibilityStatusV2Params
NewSetUserVisibilityStatusV2ParamsWithTimeout creates a new SetUserVisibilityStatusV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*SetUserVisibilityStatusV2Params) SetAuthInfoWriter ¶ added in v0.17.0
func (o *SetUserVisibilityStatusV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) SetBody ¶
func (o *SetUserVisibilityStatusV2Params) SetBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest)
SetBody adds the body to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) SetContext ¶
func (o *SetUserVisibilityStatusV2Params) SetContext(ctx context.Context)
SetContext adds the context to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) SetFlightId ¶ added in v0.63.0
func (o *SetUserVisibilityStatusV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*SetUserVisibilityStatusV2Params) SetHTTPClient ¶
func (o *SetUserVisibilityStatusV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) SetHTTPClientTransport ¶ added in v0.19.0
func (o *SetUserVisibilityStatusV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) SetNamespace ¶
func (o *SetUserVisibilityStatusV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) SetTimeout ¶
func (o *SetUserVisibilityStatusV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) SetUserID ¶
func (o *SetUserVisibilityStatusV2Params) SetUserID(userID string)
SetUserID adds the userId to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) WithBody ¶
func (o *SetUserVisibilityStatusV2Params) WithBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest) *SetUserVisibilityStatusV2Params
WithBody adds the body to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) WithContext ¶
func (o *SetUserVisibilityStatusV2Params) WithContext(ctx context.Context) *SetUserVisibilityStatusV2Params
WithContext adds the context to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) WithHTTPClient ¶
func (o *SetUserVisibilityStatusV2Params) WithHTTPClient(client *http.Client) *SetUserVisibilityStatusV2Params
WithHTTPClient adds the HTTPClient to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) WithNamespace ¶
func (o *SetUserVisibilityStatusV2Params) WithNamespace(namespace string) *SetUserVisibilityStatusV2Params
WithNamespace adds the namespace to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) WithTimeout ¶
func (o *SetUserVisibilityStatusV2Params) WithTimeout(timeout time.Duration) *SetUserVisibilityStatusV2Params
WithTimeout adds the timeout to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) WithUserID ¶
func (o *SetUserVisibilityStatusV2Params) WithUserID(userID string) *SetUserVisibilityStatusV2Params
WithUserID adds the userID to the set user visibility status v2 params
func (*SetUserVisibilityStatusV2Params) WriteToRequest ¶
func (o *SetUserVisibilityStatusV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetUserVisibilityStatusV2Reader ¶
type SetUserVisibilityStatusV2Reader struct {
// contains filtered or unexported fields
}
SetUserVisibilityStatusV2Reader is a Reader for the SetUserVisibilityStatusV2 structure.
func (*SetUserVisibilityStatusV2Reader) ReadResponse ¶
func (o *SetUserVisibilityStatusV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetUserVisibilityStatusV2Unauthorized ¶
type SetUserVisibilityStatusV2Unauthorized struct {
}SetUserVisibilityStatusV2Unauthorized 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 NewSetUserVisibilityStatusV2Unauthorized ¶
func NewSetUserVisibilityStatusV2Unauthorized() *SetUserVisibilityStatusV2Unauthorized
NewSetUserVisibilityStatusV2Unauthorized creates a SetUserVisibilityStatusV2Unauthorized with default headers values
func (*SetUserVisibilityStatusV2Unauthorized) Error ¶
func (o *SetUserVisibilityStatusV2Unauthorized) Error() string
func (*SetUserVisibilityStatusV2Unauthorized) GetPayload ¶
func (o *SetUserVisibilityStatusV2Unauthorized) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserVisibilityStatusV2Unauthorized) ToJSONString ¶ added in v0.25.0
func (o *SetUserVisibilityStatusV2Unauthorized) ToJSONString() string
Source Files ¶
- get_hidden_users_v2_parameters.go
- get_hidden_users_v2_responses.go
- get_user_visibility_status_v2_parameters.go
- get_user_visibility_status_v2_responses.go
- set_user_leaderboard_visibility_status_v2_parameters.go
- set_user_leaderboard_visibility_status_v2_responses.go
- set_user_visibility_status_v2_parameters.go
- set_user_visibility_status_v2_responses.go
- user_visibility_client.go