Documentation ¶
Index ¶
- type Client
- func (a *Client) GetHiddenUsersV3(params *GetHiddenUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV3OK, *GetHiddenUsersV3BadRequest, ...)deprecated
- func (a *Client) GetHiddenUsersV3Short(params *GetHiddenUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV3OK, error)
- func (a *Client) GetUserVisibilityStatusV3(params *GetUserVisibilityStatusV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV3OK, *GetUserVisibilityStatusV3BadRequest, ...)deprecated
- func (a *Client) GetUserVisibilityStatusV3Short(params *GetUserVisibilityStatusV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV3OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SetUserLeaderboardVisibilityV3(params *SetUserLeaderboardVisibilityV3Params, ...) (*SetUserLeaderboardVisibilityV3OK, *SetUserLeaderboardVisibilityV3BadRequest, ...)deprecated
- func (a *Client) SetUserLeaderboardVisibilityV3Short(params *SetUserLeaderboardVisibilityV3Params, ...) (*SetUserLeaderboardVisibilityV3OK, error)
- func (a *Client) SetUserVisibilityV3(params *SetUserVisibilityV3Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityV3OK, *SetUserVisibilityV3BadRequest, ...)deprecated
- func (a *Client) SetUserVisibilityV3Short(params *SetUserVisibilityV3Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityV3OK, error)
- type ClientService
- type GetHiddenUsersV3BadRequest
- type GetHiddenUsersV3Forbidden
- type GetHiddenUsersV3InternalServerError
- type GetHiddenUsersV3OK
- type GetHiddenUsersV3Params
- func NewGetHiddenUsersV3Params() *GetHiddenUsersV3Params
- func NewGetHiddenUsersV3ParamsWithContext(ctx context.Context) *GetHiddenUsersV3Params
- func NewGetHiddenUsersV3ParamsWithHTTPClient(client *http.Client) *GetHiddenUsersV3Params
- func NewGetHiddenUsersV3ParamsWithTimeout(timeout time.Duration) *GetHiddenUsersV3Params
- func (o *GetHiddenUsersV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetHiddenUsersV3Params) SetContext(ctx context.Context)
- func (o *GetHiddenUsersV3Params) SetFlightId(flightId string)
- func (o *GetHiddenUsersV3Params) SetHTTPClient(client *http.Client)
- func (o *GetHiddenUsersV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetHiddenUsersV3Params) SetLeaderboardCode(leaderboardCode string)
- func (o *GetHiddenUsersV3Params) SetLimit(limit *int64)
- func (o *GetHiddenUsersV3Params) SetNamespace(namespace string)
- func (o *GetHiddenUsersV3Params) SetOffset(offset *int64)
- func (o *GetHiddenUsersV3Params) SetTimeout(timeout time.Duration)
- func (o *GetHiddenUsersV3Params) WithContext(ctx context.Context) *GetHiddenUsersV3Params
- func (o *GetHiddenUsersV3Params) WithHTTPClient(client *http.Client) *GetHiddenUsersV3Params
- func (o *GetHiddenUsersV3Params) WithLeaderboardCode(leaderboardCode string) *GetHiddenUsersV3Params
- func (o *GetHiddenUsersV3Params) WithLimit(limit *int64) *GetHiddenUsersV3Params
- func (o *GetHiddenUsersV3Params) WithNamespace(namespace string) *GetHiddenUsersV3Params
- func (o *GetHiddenUsersV3Params) WithOffset(offset *int64) *GetHiddenUsersV3Params
- func (o *GetHiddenUsersV3Params) WithTimeout(timeout time.Duration) *GetHiddenUsersV3Params
- func (o *GetHiddenUsersV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHiddenUsersV3Reader
- type GetHiddenUsersV3Unauthorized
- type GetUserVisibilityStatusV3BadRequest
- type GetUserVisibilityStatusV3Forbidden
- type GetUserVisibilityStatusV3InternalServerError
- type GetUserVisibilityStatusV3OK
- type GetUserVisibilityStatusV3Params
- func NewGetUserVisibilityStatusV3Params() *GetUserVisibilityStatusV3Params
- func NewGetUserVisibilityStatusV3ParamsWithContext(ctx context.Context) *GetUserVisibilityStatusV3Params
- func NewGetUserVisibilityStatusV3ParamsWithHTTPClient(client *http.Client) *GetUserVisibilityStatusV3Params
- func NewGetUserVisibilityStatusV3ParamsWithTimeout(timeout time.Duration) *GetUserVisibilityStatusV3Params
- func (o *GetUserVisibilityStatusV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserVisibilityStatusV3Params) SetContext(ctx context.Context)
- func (o *GetUserVisibilityStatusV3Params) SetFlightId(flightId string)
- func (o *GetUserVisibilityStatusV3Params) SetHTTPClient(client *http.Client)
- func (o *GetUserVisibilityStatusV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserVisibilityStatusV3Params) SetLeaderboardCode(leaderboardCode string)
- func (o *GetUserVisibilityStatusV3Params) SetNamespace(namespace string)
- func (o *GetUserVisibilityStatusV3Params) SetTimeout(timeout time.Duration)
- func (o *GetUserVisibilityStatusV3Params) SetUserID(userID string)
- func (o *GetUserVisibilityStatusV3Params) WithContext(ctx context.Context) *GetUserVisibilityStatusV3Params
- func (o *GetUserVisibilityStatusV3Params) WithHTTPClient(client *http.Client) *GetUserVisibilityStatusV3Params
- func (o *GetUserVisibilityStatusV3Params) WithLeaderboardCode(leaderboardCode string) *GetUserVisibilityStatusV3Params
- func (o *GetUserVisibilityStatusV3Params) WithNamespace(namespace string) *GetUserVisibilityStatusV3Params
- func (o *GetUserVisibilityStatusV3Params) WithTimeout(timeout time.Duration) *GetUserVisibilityStatusV3Params
- func (o *GetUserVisibilityStatusV3Params) WithUserID(userID string) *GetUserVisibilityStatusV3Params
- func (o *GetUserVisibilityStatusV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserVisibilityStatusV3Reader
- type GetUserVisibilityStatusV3Unauthorized
- type SetUserLeaderboardVisibilityV3BadRequest
- type SetUserLeaderboardVisibilityV3Forbidden
- type SetUserLeaderboardVisibilityV3InternalServerError
- type SetUserLeaderboardVisibilityV3OK
- type SetUserLeaderboardVisibilityV3Params
- func NewSetUserLeaderboardVisibilityV3Params() *SetUserLeaderboardVisibilityV3Params
- func NewSetUserLeaderboardVisibilityV3ParamsWithContext(ctx context.Context) *SetUserLeaderboardVisibilityV3Params
- func NewSetUserLeaderboardVisibilityV3ParamsWithHTTPClient(client *http.Client) *SetUserLeaderboardVisibilityV3Params
- func NewSetUserLeaderboardVisibilityV3ParamsWithTimeout(timeout time.Duration) *SetUserLeaderboardVisibilityV3Params
- func (o *SetUserLeaderboardVisibilityV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SetUserLeaderboardVisibilityV3Params) SetBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest)
- func (o *SetUserLeaderboardVisibilityV3Params) SetContext(ctx context.Context)
- func (o *SetUserLeaderboardVisibilityV3Params) SetFlightId(flightId string)
- func (o *SetUserLeaderboardVisibilityV3Params) SetHTTPClient(client *http.Client)
- func (o *SetUserLeaderboardVisibilityV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SetUserLeaderboardVisibilityV3Params) SetLeaderboardCode(leaderboardCode string)
- func (o *SetUserLeaderboardVisibilityV3Params) SetNamespace(namespace string)
- func (o *SetUserLeaderboardVisibilityV3Params) SetTimeout(timeout time.Duration)
- func (o *SetUserLeaderboardVisibilityV3Params) SetUserID(userID string)
- func (o *SetUserLeaderboardVisibilityV3Params) WithBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest) *SetUserLeaderboardVisibilityV3Params
- func (o *SetUserLeaderboardVisibilityV3Params) WithContext(ctx context.Context) *SetUserLeaderboardVisibilityV3Params
- func (o *SetUserLeaderboardVisibilityV3Params) WithHTTPClient(client *http.Client) *SetUserLeaderboardVisibilityV3Params
- func (o *SetUserLeaderboardVisibilityV3Params) WithLeaderboardCode(leaderboardCode string) *SetUserLeaderboardVisibilityV3Params
- func (o *SetUserLeaderboardVisibilityV3Params) WithNamespace(namespace string) *SetUserLeaderboardVisibilityV3Params
- func (o *SetUserLeaderboardVisibilityV3Params) WithTimeout(timeout time.Duration) *SetUserLeaderboardVisibilityV3Params
- func (o *SetUserLeaderboardVisibilityV3Params) WithUserID(userID string) *SetUserLeaderboardVisibilityV3Params
- func (o *SetUserLeaderboardVisibilityV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetUserLeaderboardVisibilityV3Reader
- type SetUserLeaderboardVisibilityV3Unauthorized
- type SetUserVisibilityV3BadRequest
- type SetUserVisibilityV3Forbidden
- type SetUserVisibilityV3InternalServerError
- type SetUserVisibilityV3OK
- type SetUserVisibilityV3Params
- func NewSetUserVisibilityV3Params() *SetUserVisibilityV3Params
- func NewSetUserVisibilityV3ParamsWithContext(ctx context.Context) *SetUserVisibilityV3Params
- func NewSetUserVisibilityV3ParamsWithHTTPClient(client *http.Client) *SetUserVisibilityV3Params
- func NewSetUserVisibilityV3ParamsWithTimeout(timeout time.Duration) *SetUserVisibilityV3Params
- func (o *SetUserVisibilityV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SetUserVisibilityV3Params) SetBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest)
- func (o *SetUserVisibilityV3Params) SetContext(ctx context.Context)
- func (o *SetUserVisibilityV3Params) SetFlightId(flightId string)
- func (o *SetUserVisibilityV3Params) SetHTTPClient(client *http.Client)
- func (o *SetUserVisibilityV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SetUserVisibilityV3Params) SetNamespace(namespace string)
- func (o *SetUserVisibilityV3Params) SetTimeout(timeout time.Duration)
- func (o *SetUserVisibilityV3Params) SetUserID(userID string)
- func (o *SetUserVisibilityV3Params) WithBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest) *SetUserVisibilityV3Params
- func (o *SetUserVisibilityV3Params) WithContext(ctx context.Context) *SetUserVisibilityV3Params
- func (o *SetUserVisibilityV3Params) WithHTTPClient(client *http.Client) *SetUserVisibilityV3Params
- func (o *SetUserVisibilityV3Params) WithNamespace(namespace string) *SetUserVisibilityV3Params
- func (o *SetUserVisibilityV3Params) WithTimeout(timeout time.Duration) *SetUserVisibilityV3Params
- func (o *SetUserVisibilityV3Params) WithUserID(userID string) *SetUserVisibilityV3Params
- func (o *SetUserVisibilityV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetUserVisibilityV3Reader
- type SetUserVisibilityV3Unauthorized
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 v3 API
func (*Client) GetHiddenUsersV3
deprecated
func (a *Client) GetHiddenUsersV3(params *GetHiddenUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV3OK, *GetHiddenUsersV3BadRequest, *GetHiddenUsersV3Unauthorized, *GetHiddenUsersV3Forbidden, *GetHiddenUsersV3InternalServerError, error)
Deprecated: 2022-08-10 - Use GetHiddenUsersV3Short instead.
GetHiddenUsersV3 get hidden users on a leaderboard Return hidden users on a leaderboard
func (*Client) GetHiddenUsersV3Short ¶
func (a *Client) GetHiddenUsersV3Short(params *GetHiddenUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV3OK, error)
GetHiddenUsersV3Short get hidden users on a leaderboard Return hidden users on a leaderboard
func (*Client) GetUserVisibilityStatusV3
deprecated
func (a *Client) GetUserVisibilityStatusV3(params *GetUserVisibilityStatusV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV3OK, *GetUserVisibilityStatusV3BadRequest, *GetUserVisibilityStatusV3Unauthorized, *GetUserVisibilityStatusV3Forbidden, *GetUserVisibilityStatusV3InternalServerError, error)
Deprecated: 2022-08-10 - Use GetUserVisibilityStatusV3Short instead.
GetUserVisibilityStatusV3 get user visibility status User with false visibility status will have hidden attribute set to true on it's leaderboard entry
func (*Client) GetUserVisibilityStatusV3Short ¶
func (a *Client) GetUserVisibilityStatusV3Short(params *GetUserVisibilityStatusV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV3OK, error)
GetUserVisibilityStatusV3Short 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) SetUserLeaderboardVisibilityV3
deprecated
func (a *Client) SetUserLeaderboardVisibilityV3(params *SetUserLeaderboardVisibilityV3Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserLeaderboardVisibilityV3OK, *SetUserLeaderboardVisibilityV3BadRequest, *SetUserLeaderboardVisibilityV3Unauthorized, *SetUserLeaderboardVisibilityV3Forbidden, *SetUserLeaderboardVisibilityV3InternalServerError, error)
Deprecated: 2022-08-10 - Use SetUserLeaderboardVisibilityV3Short instead.
SetUserLeaderboardVisibilityV3 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) SetUserLeaderboardVisibilityV3Short ¶
func (a *Client) SetUserLeaderboardVisibilityV3Short(params *SetUserLeaderboardVisibilityV3Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserLeaderboardVisibilityV3OK, error)
SetUserLeaderboardVisibilityV3Short 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) SetUserVisibilityV3
deprecated
func (a *Client) SetUserVisibilityV3(params *SetUserVisibilityV3Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityV3OK, *SetUserVisibilityV3BadRequest, *SetUserVisibilityV3Unauthorized, *SetUserVisibilityV3Forbidden, *SetUserVisibilityV3InternalServerError, error)
Deprecated: 2022-08-10 - Use SetUserVisibilityV3Short instead.
SetUserVisibilityV3 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) SetUserVisibilityV3Short ¶
func (a *Client) SetUserVisibilityV3Short(params *SetUserVisibilityV3Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityV3OK, error)
SetUserVisibilityV3Short 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 { GetHiddenUsersV3(params *GetHiddenUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV3OK, *GetHiddenUsersV3BadRequest, *GetHiddenUsersV3Unauthorized, *GetHiddenUsersV3Forbidden, *GetHiddenUsersV3InternalServerError, error) GetHiddenUsersV3Short(params *GetHiddenUsersV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV3OK, error) GetUserVisibilityStatusV3(params *GetUserVisibilityStatusV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV3OK, *GetUserVisibilityStatusV3BadRequest, *GetUserVisibilityStatusV3Unauthorized, *GetUserVisibilityStatusV3Forbidden, *GetUserVisibilityStatusV3InternalServerError, error) GetUserVisibilityStatusV3Short(params *GetUserVisibilityStatusV3Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV3OK, error) SetUserLeaderboardVisibilityV3(params *SetUserLeaderboardVisibilityV3Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserLeaderboardVisibilityV3OK, *SetUserLeaderboardVisibilityV3BadRequest, *SetUserLeaderboardVisibilityV3Unauthorized, *SetUserLeaderboardVisibilityV3Forbidden, *SetUserLeaderboardVisibilityV3InternalServerError, error) SetUserLeaderboardVisibilityV3Short(params *SetUserLeaderboardVisibilityV3Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserLeaderboardVisibilityV3OK, error) SetUserVisibilityV3(params *SetUserVisibilityV3Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityV3OK, *SetUserVisibilityV3BadRequest, *SetUserVisibilityV3Unauthorized, *SetUserVisibilityV3Forbidden, *SetUserVisibilityV3InternalServerError, error) SetUserVisibilityV3Short(params *SetUserVisibilityV3Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityV3OK, 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 v3 API client.
type GetHiddenUsersV3BadRequest ¶
type GetHiddenUsersV3BadRequest struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetHiddenUsersV3BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>71130</td><td>leaderboard config not found</td></tr></table>
func NewGetHiddenUsersV3BadRequest ¶
func NewGetHiddenUsersV3BadRequest() *GetHiddenUsersV3BadRequest
NewGetHiddenUsersV3BadRequest creates a GetHiddenUsersV3BadRequest with default headers values
func (*GetHiddenUsersV3BadRequest) Error ¶
func (o *GetHiddenUsersV3BadRequest) Error() string
func (*GetHiddenUsersV3BadRequest) GetPayload ¶
func (o *GetHiddenUsersV3BadRequest) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetHiddenUsersV3BadRequest) ToJSONString ¶
func (o *GetHiddenUsersV3BadRequest) ToJSONString() string
type GetHiddenUsersV3Forbidden ¶
type GetHiddenUsersV3Forbidden struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetHiddenUsersV3Forbidden 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 NewGetHiddenUsersV3Forbidden ¶
func NewGetHiddenUsersV3Forbidden() *GetHiddenUsersV3Forbidden
NewGetHiddenUsersV3Forbidden creates a GetHiddenUsersV3Forbidden with default headers values
func (*GetHiddenUsersV3Forbidden) Error ¶
func (o *GetHiddenUsersV3Forbidden) Error() string
func (*GetHiddenUsersV3Forbidden) GetPayload ¶
func (o *GetHiddenUsersV3Forbidden) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetHiddenUsersV3Forbidden) ToJSONString ¶
func (o *GetHiddenUsersV3Forbidden) ToJSONString() string
type GetHiddenUsersV3InternalServerError ¶
type GetHiddenUsersV3InternalServerError struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetHiddenUsersV3InternalServerError 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 NewGetHiddenUsersV3InternalServerError ¶
func NewGetHiddenUsersV3InternalServerError() *GetHiddenUsersV3InternalServerError
NewGetHiddenUsersV3InternalServerError creates a GetHiddenUsersV3InternalServerError with default headers values
func (*GetHiddenUsersV3InternalServerError) Error ¶
func (o *GetHiddenUsersV3InternalServerError) Error() string
func (*GetHiddenUsersV3InternalServerError) GetPayload ¶
func (o *GetHiddenUsersV3InternalServerError) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetHiddenUsersV3InternalServerError) ToJSONString ¶
func (o *GetHiddenUsersV3InternalServerError) ToJSONString() string
type GetHiddenUsersV3OK ¶
type GetHiddenUsersV3OK struct {
Payload *leaderboardclientmodels.ModelsGetHiddenUserResponse
}
GetHiddenUsersV3OK handles this case with default header values.
Hidden user retrieved
func NewGetHiddenUsersV3OK ¶
func NewGetHiddenUsersV3OK() *GetHiddenUsersV3OK
NewGetHiddenUsersV3OK creates a GetHiddenUsersV3OK with default headers values
func (*GetHiddenUsersV3OK) Error ¶
func (o *GetHiddenUsersV3OK) Error() string
func (*GetHiddenUsersV3OK) GetPayload ¶
func (o *GetHiddenUsersV3OK) GetPayload() *leaderboardclientmodels.ModelsGetHiddenUserResponse
func (*GetHiddenUsersV3OK) ToJSONString ¶
func (o *GetHiddenUsersV3OK) ToJSONString() string
type GetHiddenUsersV3Params ¶
type GetHiddenUsersV3Params 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 }
GetHiddenUsersV3Params contains all the parameters to send to the API endpoint for the get hidden users v3 operation typically these are written to a http.Request
func NewGetHiddenUsersV3Params ¶
func NewGetHiddenUsersV3Params() *GetHiddenUsersV3Params
NewGetHiddenUsersV3Params creates a new GetHiddenUsersV3Params object with the default values initialized.
func NewGetHiddenUsersV3ParamsWithContext ¶
func NewGetHiddenUsersV3ParamsWithContext(ctx context.Context) *GetHiddenUsersV3Params
NewGetHiddenUsersV3ParamsWithContext creates a new GetHiddenUsersV3Params object with the default values initialized, and the ability to set a context for a request
func NewGetHiddenUsersV3ParamsWithHTTPClient ¶
func NewGetHiddenUsersV3ParamsWithHTTPClient(client *http.Client) *GetHiddenUsersV3Params
NewGetHiddenUsersV3ParamsWithHTTPClient creates a new GetHiddenUsersV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetHiddenUsersV3ParamsWithTimeout ¶
func NewGetHiddenUsersV3ParamsWithTimeout(timeout time.Duration) *GetHiddenUsersV3Params
NewGetHiddenUsersV3ParamsWithTimeout creates a new GetHiddenUsersV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetHiddenUsersV3Params) SetAuthInfoWriter ¶
func (o *GetHiddenUsersV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get hidden users v3 params
func (*GetHiddenUsersV3Params) SetContext ¶
func (o *GetHiddenUsersV3Params) SetContext(ctx context.Context)
SetContext adds the context to the get hidden users v3 params
func (*GetHiddenUsersV3Params) SetFlightId ¶ added in v0.63.0
func (o *GetHiddenUsersV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetHiddenUsersV3Params) SetHTTPClient ¶
func (o *GetHiddenUsersV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get hidden users v3 params
func (*GetHiddenUsersV3Params) SetHTTPClientTransport ¶
func (o *GetHiddenUsersV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get hidden users v3 params
func (*GetHiddenUsersV3Params) SetLeaderboardCode ¶
func (o *GetHiddenUsersV3Params) SetLeaderboardCode(leaderboardCode string)
SetLeaderboardCode adds the leaderboardCode to the get hidden users v3 params
func (*GetHiddenUsersV3Params) SetLimit ¶
func (o *GetHiddenUsersV3Params) SetLimit(limit *int64)
SetLimit adds the limit to the get hidden users v3 params
func (*GetHiddenUsersV3Params) SetNamespace ¶
func (o *GetHiddenUsersV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get hidden users v3 params
func (*GetHiddenUsersV3Params) SetOffset ¶
func (o *GetHiddenUsersV3Params) SetOffset(offset *int64)
SetOffset adds the offset to the get hidden users v3 params
func (*GetHiddenUsersV3Params) SetTimeout ¶
func (o *GetHiddenUsersV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get hidden users v3 params
func (*GetHiddenUsersV3Params) WithContext ¶
func (o *GetHiddenUsersV3Params) WithContext(ctx context.Context) *GetHiddenUsersV3Params
WithContext adds the context to the get hidden users v3 params
func (*GetHiddenUsersV3Params) WithHTTPClient ¶
func (o *GetHiddenUsersV3Params) WithHTTPClient(client *http.Client) *GetHiddenUsersV3Params
WithHTTPClient adds the HTTPClient to the get hidden users v3 params
func (*GetHiddenUsersV3Params) WithLeaderboardCode ¶
func (o *GetHiddenUsersV3Params) WithLeaderboardCode(leaderboardCode string) *GetHiddenUsersV3Params
WithLeaderboardCode adds the leaderboardCode to the get hidden users v3 params
func (*GetHiddenUsersV3Params) WithLimit ¶
func (o *GetHiddenUsersV3Params) WithLimit(limit *int64) *GetHiddenUsersV3Params
WithLimit adds the limit to the get hidden users v3 params
func (*GetHiddenUsersV3Params) WithNamespace ¶
func (o *GetHiddenUsersV3Params) WithNamespace(namespace string) *GetHiddenUsersV3Params
WithNamespace adds the namespace to the get hidden users v3 params
func (*GetHiddenUsersV3Params) WithOffset ¶
func (o *GetHiddenUsersV3Params) WithOffset(offset *int64) *GetHiddenUsersV3Params
WithOffset adds the offset to the get hidden users v3 params
func (*GetHiddenUsersV3Params) WithTimeout ¶
func (o *GetHiddenUsersV3Params) WithTimeout(timeout time.Duration) *GetHiddenUsersV3Params
WithTimeout adds the timeout to the get hidden users v3 params
func (*GetHiddenUsersV3Params) WriteToRequest ¶
func (o *GetHiddenUsersV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHiddenUsersV3Reader ¶
type GetHiddenUsersV3Reader struct {
// contains filtered or unexported fields
}
GetHiddenUsersV3Reader is a Reader for the GetHiddenUsersV3 structure.
func (*GetHiddenUsersV3Reader) ReadResponse ¶
func (o *GetHiddenUsersV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHiddenUsersV3Unauthorized ¶
type GetHiddenUsersV3Unauthorized struct {
}GetHiddenUsersV3Unauthorized 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 NewGetHiddenUsersV3Unauthorized ¶
func NewGetHiddenUsersV3Unauthorized() *GetHiddenUsersV3Unauthorized
NewGetHiddenUsersV3Unauthorized creates a GetHiddenUsersV3Unauthorized with default headers values
func (*GetHiddenUsersV3Unauthorized) Error ¶
func (o *GetHiddenUsersV3Unauthorized) Error() string
func (*GetHiddenUsersV3Unauthorized) GetPayload ¶
func (o *GetHiddenUsersV3Unauthorized) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetHiddenUsersV3Unauthorized) ToJSONString ¶
func (o *GetHiddenUsersV3Unauthorized) ToJSONString() string
type GetUserVisibilityStatusV3BadRequest ¶
type GetUserVisibilityStatusV3BadRequest struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetUserVisibilityStatusV3BadRequest 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 NewGetUserVisibilityStatusV3BadRequest ¶
func NewGetUserVisibilityStatusV3BadRequest() *GetUserVisibilityStatusV3BadRequest
NewGetUserVisibilityStatusV3BadRequest creates a GetUserVisibilityStatusV3BadRequest with default headers values
func (*GetUserVisibilityStatusV3BadRequest) Error ¶
func (o *GetUserVisibilityStatusV3BadRequest) Error() string
func (*GetUserVisibilityStatusV3BadRequest) GetPayload ¶
func (o *GetUserVisibilityStatusV3BadRequest) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserVisibilityStatusV3BadRequest) ToJSONString ¶
func (o *GetUserVisibilityStatusV3BadRequest) ToJSONString() string
type GetUserVisibilityStatusV3Forbidden ¶
type GetUserVisibilityStatusV3Forbidden struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetUserVisibilityStatusV3Forbidden 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 NewGetUserVisibilityStatusV3Forbidden ¶
func NewGetUserVisibilityStatusV3Forbidden() *GetUserVisibilityStatusV3Forbidden
NewGetUserVisibilityStatusV3Forbidden creates a GetUserVisibilityStatusV3Forbidden with default headers values
func (*GetUserVisibilityStatusV3Forbidden) Error ¶
func (o *GetUserVisibilityStatusV3Forbidden) Error() string
func (*GetUserVisibilityStatusV3Forbidden) GetPayload ¶
func (o *GetUserVisibilityStatusV3Forbidden) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserVisibilityStatusV3Forbidden) ToJSONString ¶
func (o *GetUserVisibilityStatusV3Forbidden) ToJSONString() string
type GetUserVisibilityStatusV3InternalServerError ¶
type GetUserVisibilityStatusV3InternalServerError struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
GetUserVisibilityStatusV3InternalServerError 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 NewGetUserVisibilityStatusV3InternalServerError ¶
func NewGetUserVisibilityStatusV3InternalServerError() *GetUserVisibilityStatusV3InternalServerError
NewGetUserVisibilityStatusV3InternalServerError creates a GetUserVisibilityStatusV3InternalServerError with default headers values
func (*GetUserVisibilityStatusV3InternalServerError) Error ¶
func (o *GetUserVisibilityStatusV3InternalServerError) Error() string
func (*GetUserVisibilityStatusV3InternalServerError) GetPayload ¶
func (o *GetUserVisibilityStatusV3InternalServerError) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserVisibilityStatusV3InternalServerError) ToJSONString ¶
func (o *GetUserVisibilityStatusV3InternalServerError) ToJSONString() string
type GetUserVisibilityStatusV3OK ¶
type GetUserVisibilityStatusV3OK struct {
Payload *leaderboardclientmodels.ModelsGetUserVisibilityResponse
}
GetUserVisibilityStatusV3OK handles this case with default header values.
User visibility status retrieved
func NewGetUserVisibilityStatusV3OK ¶
func NewGetUserVisibilityStatusV3OK() *GetUserVisibilityStatusV3OK
NewGetUserVisibilityStatusV3OK creates a GetUserVisibilityStatusV3OK with default headers values
func (*GetUserVisibilityStatusV3OK) Error ¶
func (o *GetUserVisibilityStatusV3OK) Error() string
func (*GetUserVisibilityStatusV3OK) GetPayload ¶
func (o *GetUserVisibilityStatusV3OK) GetPayload() *leaderboardclientmodels.ModelsGetUserVisibilityResponse
func (*GetUserVisibilityStatusV3OK) ToJSONString ¶
func (o *GetUserVisibilityStatusV3OK) ToJSONString() string
type GetUserVisibilityStatusV3Params ¶
type GetUserVisibilityStatusV3Params 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 }
GetUserVisibilityStatusV3Params contains all the parameters to send to the API endpoint for the get user visibility status v3 operation typically these are written to a http.Request
func NewGetUserVisibilityStatusV3Params ¶
func NewGetUserVisibilityStatusV3Params() *GetUserVisibilityStatusV3Params
NewGetUserVisibilityStatusV3Params creates a new GetUserVisibilityStatusV3Params object with the default values initialized.
func NewGetUserVisibilityStatusV3ParamsWithContext ¶
func NewGetUserVisibilityStatusV3ParamsWithContext(ctx context.Context) *GetUserVisibilityStatusV3Params
NewGetUserVisibilityStatusV3ParamsWithContext creates a new GetUserVisibilityStatusV3Params object with the default values initialized, and the ability to set a context for a request
func NewGetUserVisibilityStatusV3ParamsWithHTTPClient ¶
func NewGetUserVisibilityStatusV3ParamsWithHTTPClient(client *http.Client) *GetUserVisibilityStatusV3Params
NewGetUserVisibilityStatusV3ParamsWithHTTPClient creates a new GetUserVisibilityStatusV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserVisibilityStatusV3ParamsWithTimeout ¶
func NewGetUserVisibilityStatusV3ParamsWithTimeout(timeout time.Duration) *GetUserVisibilityStatusV3Params
NewGetUserVisibilityStatusV3ParamsWithTimeout creates a new GetUserVisibilityStatusV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserVisibilityStatusV3Params) SetAuthInfoWriter ¶
func (o *GetUserVisibilityStatusV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) SetContext ¶
func (o *GetUserVisibilityStatusV3Params) SetContext(ctx context.Context)
SetContext adds the context to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) SetFlightId ¶ added in v0.63.0
func (o *GetUserVisibilityStatusV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*GetUserVisibilityStatusV3Params) SetHTTPClient ¶
func (o *GetUserVisibilityStatusV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) SetHTTPClientTransport ¶
func (o *GetUserVisibilityStatusV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) SetLeaderboardCode ¶
func (o *GetUserVisibilityStatusV3Params) SetLeaderboardCode(leaderboardCode string)
SetLeaderboardCode adds the leaderboardCode to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) SetNamespace ¶
func (o *GetUserVisibilityStatusV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) SetTimeout ¶
func (o *GetUserVisibilityStatusV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) SetUserID ¶
func (o *GetUserVisibilityStatusV3Params) SetUserID(userID string)
SetUserID adds the userId to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) WithContext ¶
func (o *GetUserVisibilityStatusV3Params) WithContext(ctx context.Context) *GetUserVisibilityStatusV3Params
WithContext adds the context to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) WithHTTPClient ¶
func (o *GetUserVisibilityStatusV3Params) WithHTTPClient(client *http.Client) *GetUserVisibilityStatusV3Params
WithHTTPClient adds the HTTPClient to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) WithLeaderboardCode ¶
func (o *GetUserVisibilityStatusV3Params) WithLeaderboardCode(leaderboardCode string) *GetUserVisibilityStatusV3Params
WithLeaderboardCode adds the leaderboardCode to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) WithNamespace ¶
func (o *GetUserVisibilityStatusV3Params) WithNamespace(namespace string) *GetUserVisibilityStatusV3Params
WithNamespace adds the namespace to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) WithTimeout ¶
func (o *GetUserVisibilityStatusV3Params) WithTimeout(timeout time.Duration) *GetUserVisibilityStatusV3Params
WithTimeout adds the timeout to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) WithUserID ¶
func (o *GetUserVisibilityStatusV3Params) WithUserID(userID string) *GetUserVisibilityStatusV3Params
WithUserID adds the userID to the get user visibility status v3 params
func (*GetUserVisibilityStatusV3Params) WriteToRequest ¶
func (o *GetUserVisibilityStatusV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserVisibilityStatusV3Reader ¶
type GetUserVisibilityStatusV3Reader struct {
// contains filtered or unexported fields
}
GetUserVisibilityStatusV3Reader is a Reader for the GetUserVisibilityStatusV3 structure.
func (*GetUserVisibilityStatusV3Reader) ReadResponse ¶
func (o *GetUserVisibilityStatusV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserVisibilityStatusV3Unauthorized ¶
type GetUserVisibilityStatusV3Unauthorized struct {
}GetUserVisibilityStatusV3Unauthorized 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 NewGetUserVisibilityStatusV3Unauthorized ¶
func NewGetUserVisibilityStatusV3Unauthorized() *GetUserVisibilityStatusV3Unauthorized
NewGetUserVisibilityStatusV3Unauthorized creates a GetUserVisibilityStatusV3Unauthorized with default headers values
func (*GetUserVisibilityStatusV3Unauthorized) Error ¶
func (o *GetUserVisibilityStatusV3Unauthorized) Error() string
func (*GetUserVisibilityStatusV3Unauthorized) GetPayload ¶
func (o *GetUserVisibilityStatusV3Unauthorized) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*GetUserVisibilityStatusV3Unauthorized) ToJSONString ¶
func (o *GetUserVisibilityStatusV3Unauthorized) ToJSONString() string
type SetUserLeaderboardVisibilityV3BadRequest ¶
type SetUserLeaderboardVisibilityV3BadRequest struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
SetUserLeaderboardVisibilityV3BadRequest 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 NewSetUserLeaderboardVisibilityV3BadRequest ¶
func NewSetUserLeaderboardVisibilityV3BadRequest() *SetUserLeaderboardVisibilityV3BadRequest
NewSetUserLeaderboardVisibilityV3BadRequest creates a SetUserLeaderboardVisibilityV3BadRequest with default headers values
func (*SetUserLeaderboardVisibilityV3BadRequest) Error ¶
func (o *SetUserLeaderboardVisibilityV3BadRequest) Error() string
func (*SetUserLeaderboardVisibilityV3BadRequest) GetPayload ¶
func (o *SetUserLeaderboardVisibilityV3BadRequest) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserLeaderboardVisibilityV3BadRequest) ToJSONString ¶
func (o *SetUserLeaderboardVisibilityV3BadRequest) ToJSONString() string
type SetUserLeaderboardVisibilityV3Forbidden ¶
type SetUserLeaderboardVisibilityV3Forbidden struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
SetUserLeaderboardVisibilityV3Forbidden 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 NewSetUserLeaderboardVisibilityV3Forbidden ¶
func NewSetUserLeaderboardVisibilityV3Forbidden() *SetUserLeaderboardVisibilityV3Forbidden
NewSetUserLeaderboardVisibilityV3Forbidden creates a SetUserLeaderboardVisibilityV3Forbidden with default headers values
func (*SetUserLeaderboardVisibilityV3Forbidden) Error ¶
func (o *SetUserLeaderboardVisibilityV3Forbidden) Error() string
func (*SetUserLeaderboardVisibilityV3Forbidden) GetPayload ¶
func (o *SetUserLeaderboardVisibilityV3Forbidden) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserLeaderboardVisibilityV3Forbidden) ToJSONString ¶
func (o *SetUserLeaderboardVisibilityV3Forbidden) ToJSONString() string
type SetUserLeaderboardVisibilityV3InternalServerError ¶
type SetUserLeaderboardVisibilityV3InternalServerError struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
SetUserLeaderboardVisibilityV3InternalServerError 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 NewSetUserLeaderboardVisibilityV3InternalServerError ¶
func NewSetUserLeaderboardVisibilityV3InternalServerError() *SetUserLeaderboardVisibilityV3InternalServerError
NewSetUserLeaderboardVisibilityV3InternalServerError creates a SetUserLeaderboardVisibilityV3InternalServerError with default headers values
func (*SetUserLeaderboardVisibilityV3InternalServerError) Error ¶
func (o *SetUserLeaderboardVisibilityV3InternalServerError) Error() string
func (*SetUserLeaderboardVisibilityV3InternalServerError) GetPayload ¶
func (o *SetUserLeaderboardVisibilityV3InternalServerError) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserLeaderboardVisibilityV3InternalServerError) ToJSONString ¶
func (o *SetUserLeaderboardVisibilityV3InternalServerError) ToJSONString() string
type SetUserLeaderboardVisibilityV3OK ¶
type SetUserLeaderboardVisibilityV3OK struct {
Payload *leaderboardclientmodels.ModelsGetUserVisibilityResponse
}
SetUserLeaderboardVisibilityV3OK handles this case with default header values.
User visibility status updated
func NewSetUserLeaderboardVisibilityV3OK ¶
func NewSetUserLeaderboardVisibilityV3OK() *SetUserLeaderboardVisibilityV3OK
NewSetUserLeaderboardVisibilityV3OK creates a SetUserLeaderboardVisibilityV3OK with default headers values
func (*SetUserLeaderboardVisibilityV3OK) Error ¶
func (o *SetUserLeaderboardVisibilityV3OK) Error() string
func (*SetUserLeaderboardVisibilityV3OK) GetPayload ¶
func (o *SetUserLeaderboardVisibilityV3OK) GetPayload() *leaderboardclientmodels.ModelsGetUserVisibilityResponse
func (*SetUserLeaderboardVisibilityV3OK) ToJSONString ¶
func (o *SetUserLeaderboardVisibilityV3OK) ToJSONString() string
type SetUserLeaderboardVisibilityV3Params ¶
type SetUserLeaderboardVisibilityV3Params 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 }
SetUserLeaderboardVisibilityV3Params contains all the parameters to send to the API endpoint for the set user leaderboard visibility v3 operation typically these are written to a http.Request
func NewSetUserLeaderboardVisibilityV3Params ¶
func NewSetUserLeaderboardVisibilityV3Params() *SetUserLeaderboardVisibilityV3Params
NewSetUserLeaderboardVisibilityV3Params creates a new SetUserLeaderboardVisibilityV3Params object with the default values initialized.
func NewSetUserLeaderboardVisibilityV3ParamsWithContext ¶
func NewSetUserLeaderboardVisibilityV3ParamsWithContext(ctx context.Context) *SetUserLeaderboardVisibilityV3Params
NewSetUserLeaderboardVisibilityV3ParamsWithContext creates a new SetUserLeaderboardVisibilityV3Params object with the default values initialized, and the ability to set a context for a request
func NewSetUserLeaderboardVisibilityV3ParamsWithHTTPClient ¶
func NewSetUserLeaderboardVisibilityV3ParamsWithHTTPClient(client *http.Client) *SetUserLeaderboardVisibilityV3Params
NewSetUserLeaderboardVisibilityV3ParamsWithHTTPClient creates a new SetUserLeaderboardVisibilityV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetUserLeaderboardVisibilityV3ParamsWithTimeout ¶
func NewSetUserLeaderboardVisibilityV3ParamsWithTimeout(timeout time.Duration) *SetUserLeaderboardVisibilityV3Params
NewSetUserLeaderboardVisibilityV3ParamsWithTimeout creates a new SetUserLeaderboardVisibilityV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*SetUserLeaderboardVisibilityV3Params) SetAuthInfoWriter ¶
func (o *SetUserLeaderboardVisibilityV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) SetBody ¶
func (o *SetUserLeaderboardVisibilityV3Params) SetBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest)
SetBody adds the body to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) SetContext ¶
func (o *SetUserLeaderboardVisibilityV3Params) SetContext(ctx context.Context)
SetContext adds the context to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) SetFlightId ¶ added in v0.63.0
func (o *SetUserLeaderboardVisibilityV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*SetUserLeaderboardVisibilityV3Params) SetHTTPClient ¶
func (o *SetUserLeaderboardVisibilityV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) SetHTTPClientTransport ¶
func (o *SetUserLeaderboardVisibilityV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) SetLeaderboardCode ¶
func (o *SetUserLeaderboardVisibilityV3Params) SetLeaderboardCode(leaderboardCode string)
SetLeaderboardCode adds the leaderboardCode to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) SetNamespace ¶
func (o *SetUserLeaderboardVisibilityV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) SetTimeout ¶
func (o *SetUserLeaderboardVisibilityV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) SetUserID ¶
func (o *SetUserLeaderboardVisibilityV3Params) SetUserID(userID string)
SetUserID adds the userId to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) WithBody ¶
func (o *SetUserLeaderboardVisibilityV3Params) WithBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest) *SetUserLeaderboardVisibilityV3Params
WithBody adds the body to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) WithContext ¶
func (o *SetUserLeaderboardVisibilityV3Params) WithContext(ctx context.Context) *SetUserLeaderboardVisibilityV3Params
WithContext adds the context to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) WithHTTPClient ¶
func (o *SetUserLeaderboardVisibilityV3Params) WithHTTPClient(client *http.Client) *SetUserLeaderboardVisibilityV3Params
WithHTTPClient adds the HTTPClient to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) WithLeaderboardCode ¶
func (o *SetUserLeaderboardVisibilityV3Params) WithLeaderboardCode(leaderboardCode string) *SetUserLeaderboardVisibilityV3Params
WithLeaderboardCode adds the leaderboardCode to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) WithNamespace ¶
func (o *SetUserLeaderboardVisibilityV3Params) WithNamespace(namespace string) *SetUserLeaderboardVisibilityV3Params
WithNamespace adds the namespace to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) WithTimeout ¶
func (o *SetUserLeaderboardVisibilityV3Params) WithTimeout(timeout time.Duration) *SetUserLeaderboardVisibilityV3Params
WithTimeout adds the timeout to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) WithUserID ¶
func (o *SetUserLeaderboardVisibilityV3Params) WithUserID(userID string) *SetUserLeaderboardVisibilityV3Params
WithUserID adds the userID to the set user leaderboard visibility v3 params
func (*SetUserLeaderboardVisibilityV3Params) WriteToRequest ¶
func (o *SetUserLeaderboardVisibilityV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetUserLeaderboardVisibilityV3Reader ¶
type SetUserLeaderboardVisibilityV3Reader struct {
// contains filtered or unexported fields
}
SetUserLeaderboardVisibilityV3Reader is a Reader for the SetUserLeaderboardVisibilityV3 structure.
func (*SetUserLeaderboardVisibilityV3Reader) ReadResponse ¶
func (o *SetUserLeaderboardVisibilityV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetUserLeaderboardVisibilityV3Unauthorized ¶
type SetUserLeaderboardVisibilityV3Unauthorized struct {
}SetUserLeaderboardVisibilityV3Unauthorized 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 NewSetUserLeaderboardVisibilityV3Unauthorized ¶
func NewSetUserLeaderboardVisibilityV3Unauthorized() *SetUserLeaderboardVisibilityV3Unauthorized
NewSetUserLeaderboardVisibilityV3Unauthorized creates a SetUserLeaderboardVisibilityV3Unauthorized with default headers values
func (*SetUserLeaderboardVisibilityV3Unauthorized) Error ¶
func (o *SetUserLeaderboardVisibilityV3Unauthorized) Error() string
func (*SetUserLeaderboardVisibilityV3Unauthorized) GetPayload ¶
func (o *SetUserLeaderboardVisibilityV3Unauthorized) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserLeaderboardVisibilityV3Unauthorized) ToJSONString ¶
func (o *SetUserLeaderboardVisibilityV3Unauthorized) ToJSONString() string
type SetUserVisibilityV3BadRequest ¶
type SetUserVisibilityV3BadRequest struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
SetUserVisibilityV3BadRequest 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 NewSetUserVisibilityV3BadRequest ¶
func NewSetUserVisibilityV3BadRequest() *SetUserVisibilityV3BadRequest
NewSetUserVisibilityV3BadRequest creates a SetUserVisibilityV3BadRequest with default headers values
func (*SetUserVisibilityV3BadRequest) Error ¶
func (o *SetUserVisibilityV3BadRequest) Error() string
func (*SetUserVisibilityV3BadRequest) GetPayload ¶
func (o *SetUserVisibilityV3BadRequest) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserVisibilityV3BadRequest) ToJSONString ¶
func (o *SetUserVisibilityV3BadRequest) ToJSONString() string
type SetUserVisibilityV3Forbidden ¶
type SetUserVisibilityV3Forbidden struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
SetUserVisibilityV3Forbidden 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 NewSetUserVisibilityV3Forbidden ¶
func NewSetUserVisibilityV3Forbidden() *SetUserVisibilityV3Forbidden
NewSetUserVisibilityV3Forbidden creates a SetUserVisibilityV3Forbidden with default headers values
func (*SetUserVisibilityV3Forbidden) Error ¶
func (o *SetUserVisibilityV3Forbidden) Error() string
func (*SetUserVisibilityV3Forbidden) GetPayload ¶
func (o *SetUserVisibilityV3Forbidden) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserVisibilityV3Forbidden) ToJSONString ¶
func (o *SetUserVisibilityV3Forbidden) ToJSONString() string
type SetUserVisibilityV3InternalServerError ¶
type SetUserVisibilityV3InternalServerError struct {
Payload *leaderboardclientmodels.ResponseErrorResponse
}
SetUserVisibilityV3InternalServerError 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 NewSetUserVisibilityV3InternalServerError ¶
func NewSetUserVisibilityV3InternalServerError() *SetUserVisibilityV3InternalServerError
NewSetUserVisibilityV3InternalServerError creates a SetUserVisibilityV3InternalServerError with default headers values
func (*SetUserVisibilityV3InternalServerError) Error ¶
func (o *SetUserVisibilityV3InternalServerError) Error() string
func (*SetUserVisibilityV3InternalServerError) GetPayload ¶
func (o *SetUserVisibilityV3InternalServerError) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserVisibilityV3InternalServerError) ToJSONString ¶
func (o *SetUserVisibilityV3InternalServerError) ToJSONString() string
type SetUserVisibilityV3OK ¶
type SetUserVisibilityV3OK struct {
Payload *leaderboardclientmodels.ModelsGetUserVisibilityResponse
}
SetUserVisibilityV3OK handles this case with default header values.
User visibility status updated
func NewSetUserVisibilityV3OK ¶
func NewSetUserVisibilityV3OK() *SetUserVisibilityV3OK
NewSetUserVisibilityV3OK creates a SetUserVisibilityV3OK with default headers values
func (*SetUserVisibilityV3OK) Error ¶
func (o *SetUserVisibilityV3OK) Error() string
func (*SetUserVisibilityV3OK) GetPayload ¶
func (o *SetUserVisibilityV3OK) GetPayload() *leaderboardclientmodels.ModelsGetUserVisibilityResponse
func (*SetUserVisibilityV3OK) ToJSONString ¶
func (o *SetUserVisibilityV3OK) ToJSONString() string
type SetUserVisibilityV3Params ¶
type SetUserVisibilityV3Params 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 }
SetUserVisibilityV3Params contains all the parameters to send to the API endpoint for the set user visibility v3 operation typically these are written to a http.Request
func NewSetUserVisibilityV3Params ¶
func NewSetUserVisibilityV3Params() *SetUserVisibilityV3Params
NewSetUserVisibilityV3Params creates a new SetUserVisibilityV3Params object with the default values initialized.
func NewSetUserVisibilityV3ParamsWithContext ¶
func NewSetUserVisibilityV3ParamsWithContext(ctx context.Context) *SetUserVisibilityV3Params
NewSetUserVisibilityV3ParamsWithContext creates a new SetUserVisibilityV3Params object with the default values initialized, and the ability to set a context for a request
func NewSetUserVisibilityV3ParamsWithHTTPClient ¶
func NewSetUserVisibilityV3ParamsWithHTTPClient(client *http.Client) *SetUserVisibilityV3Params
NewSetUserVisibilityV3ParamsWithHTTPClient creates a new SetUserVisibilityV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetUserVisibilityV3ParamsWithTimeout ¶
func NewSetUserVisibilityV3ParamsWithTimeout(timeout time.Duration) *SetUserVisibilityV3Params
NewSetUserVisibilityV3ParamsWithTimeout creates a new SetUserVisibilityV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*SetUserVisibilityV3Params) SetAuthInfoWriter ¶
func (o *SetUserVisibilityV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the set user visibility v3 params
func (*SetUserVisibilityV3Params) SetBody ¶
func (o *SetUserVisibilityV3Params) SetBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest)
SetBody adds the body to the set user visibility v3 params
func (*SetUserVisibilityV3Params) SetContext ¶
func (o *SetUserVisibilityV3Params) SetContext(ctx context.Context)
SetContext adds the context to the set user visibility v3 params
func (*SetUserVisibilityV3Params) SetFlightId ¶ added in v0.63.0
func (o *SetUserVisibilityV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*SetUserVisibilityV3Params) SetHTTPClient ¶
func (o *SetUserVisibilityV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set user visibility v3 params
func (*SetUserVisibilityV3Params) SetHTTPClientTransport ¶
func (o *SetUserVisibilityV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the set user visibility v3 params
func (*SetUserVisibilityV3Params) SetNamespace ¶
func (o *SetUserVisibilityV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the set user visibility v3 params
func (*SetUserVisibilityV3Params) SetTimeout ¶
func (o *SetUserVisibilityV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set user visibility v3 params
func (*SetUserVisibilityV3Params) SetUserID ¶
func (o *SetUserVisibilityV3Params) SetUserID(userID string)
SetUserID adds the userId to the set user visibility v3 params
func (*SetUserVisibilityV3Params) WithBody ¶
func (o *SetUserVisibilityV3Params) WithBody(body *leaderboardclientmodels.ModelsSetUserVisibilityRequest) *SetUserVisibilityV3Params
WithBody adds the body to the set user visibility v3 params
func (*SetUserVisibilityV3Params) WithContext ¶
func (o *SetUserVisibilityV3Params) WithContext(ctx context.Context) *SetUserVisibilityV3Params
WithContext adds the context to the set user visibility v3 params
func (*SetUserVisibilityV3Params) WithHTTPClient ¶
func (o *SetUserVisibilityV3Params) WithHTTPClient(client *http.Client) *SetUserVisibilityV3Params
WithHTTPClient adds the HTTPClient to the set user visibility v3 params
func (*SetUserVisibilityV3Params) WithNamespace ¶
func (o *SetUserVisibilityV3Params) WithNamespace(namespace string) *SetUserVisibilityV3Params
WithNamespace adds the namespace to the set user visibility v3 params
func (*SetUserVisibilityV3Params) WithTimeout ¶
func (o *SetUserVisibilityV3Params) WithTimeout(timeout time.Duration) *SetUserVisibilityV3Params
WithTimeout adds the timeout to the set user visibility v3 params
func (*SetUserVisibilityV3Params) WithUserID ¶
func (o *SetUserVisibilityV3Params) WithUserID(userID string) *SetUserVisibilityV3Params
WithUserID adds the userID to the set user visibility v3 params
func (*SetUserVisibilityV3Params) WriteToRequest ¶
func (o *SetUserVisibilityV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetUserVisibilityV3Reader ¶
type SetUserVisibilityV3Reader struct {
// contains filtered or unexported fields
}
SetUserVisibilityV3Reader is a Reader for the SetUserVisibilityV3 structure.
func (*SetUserVisibilityV3Reader) ReadResponse ¶
func (o *SetUserVisibilityV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetUserVisibilityV3Unauthorized ¶
type SetUserVisibilityV3Unauthorized struct {
}SetUserVisibilityV3Unauthorized 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 NewSetUserVisibilityV3Unauthorized ¶
func NewSetUserVisibilityV3Unauthorized() *SetUserVisibilityV3Unauthorized
NewSetUserVisibilityV3Unauthorized creates a SetUserVisibilityV3Unauthorized with default headers values
func (*SetUserVisibilityV3Unauthorized) Error ¶
func (o *SetUserVisibilityV3Unauthorized) Error() string
func (*SetUserVisibilityV3Unauthorized) GetPayload ¶
func (o *SetUserVisibilityV3Unauthorized) GetPayload() *leaderboardclientmodels.ResponseErrorResponse
func (*SetUserVisibilityV3Unauthorized) ToJSONString ¶
func (o *SetUserVisibilityV3Unauthorized) ToJSONString() string
Source Files ¶
- get_hidden_users_v3_parameters.go
- get_hidden_users_v3_responses.go
- get_user_visibility_status_v3_parameters.go
- get_user_visibility_status_v3_responses.go
- set_user_leaderboard_visibility_v3_parameters.go
- set_user_leaderboard_visibility_v3_responses.go
- set_user_visibility_v3_parameters.go
- set_user_visibility_v3_responses.go
- user_visibility_v3_client.go