user_visibility

package
v0.75.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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

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

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

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

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 (*GetHiddenUsersV2BadRequest) GetPayload

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 (*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 (*GetHiddenUsersV2InternalServerError) GetPayload

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 (*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

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

WithTimeout adds the timeout to the get hidden users v2 params

func (*GetHiddenUsersV2Params) WriteToRequest

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 {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

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 (*GetHiddenUsersV2Unauthorized) GetPayload

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 (*GetUserVisibilityStatusV2BadRequest) GetPayload

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 (*GetUserVisibilityStatusV2Forbidden) GetPayload

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 (*GetUserVisibilityStatusV2InternalServerError) GetPayload

func (*GetUserVisibilityStatusV2InternalServerError) ToJSONString added in v0.25.0

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 (*GetUserVisibilityStatusV2OK) GetPayload

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

WithContext adds the context to the get user visibility status v2 params

func (*GetUserVisibilityStatusV2Params) WithHTTPClient

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

WithNamespace adds the namespace to the get user visibility status v2 params

func (*GetUserVisibilityStatusV2Params) WithTimeout

WithTimeout adds the timeout to the get user visibility status v2 params

func (*GetUserVisibilityStatusV2Params) WithUserID

WithUserID adds the userID to the get user visibility status v2 params

func (*GetUserVisibilityStatusV2Params) WriteToRequest

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 {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

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 (*GetUserVisibilityStatusV2Unauthorized) GetPayload

func (*GetUserVisibilityStatusV2Unauthorized) ToJSONString added in v0.25.0

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 (*SetUserLeaderboardVisibilityStatusV2BadRequest) GetPayload

func (*SetUserLeaderboardVisibilityStatusV2BadRequest) ToJSONString added in v0.25.0

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 (*SetUserLeaderboardVisibilityStatusV2Forbidden) GetPayload

func (*SetUserLeaderboardVisibilityStatusV2Forbidden) ToJSONString added in v0.25.0

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 (*SetUserLeaderboardVisibilityStatusV2InternalServerError) GetPayload

func (*SetUserLeaderboardVisibilityStatusV2InternalServerError) ToJSONString added in v0.25.0

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 (*SetUserLeaderboardVisibilityStatusV2OK) GetPayload

func (*SetUserLeaderboardVisibilityStatusV2OK) ToJSONString added in v0.25.0

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

SetBody adds the body to the set user leaderboard visibility status v2 params

func (*SetUserLeaderboardVisibilityStatusV2Params) SetContext

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

SetTimeout adds the timeout to the set user leaderboard visibility status v2 params

func (*SetUserLeaderboardVisibilityStatusV2Params) SetUserID

SetUserID adds the userId to the set user leaderboard visibility status v2 params

func (*SetUserLeaderboardVisibilityStatusV2Params) WithBody

WithBody adds the body to the set user leaderboard visibility status v2 params

func (*SetUserLeaderboardVisibilityStatusV2Params) WithContext

WithContext adds the context to the set user leaderboard visibility status v2 params

func (*SetUserLeaderboardVisibilityStatusV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set user leaderboard visibility status v2 params

func (*SetUserLeaderboardVisibilityStatusV2Params) WithLeaderboardCode

WithLeaderboardCode adds the leaderboardCode to the set user leaderboard visibility status v2 params

func (*SetUserLeaderboardVisibilityStatusV2Params) WithNamespace

WithNamespace adds the namespace to the set user leaderboard visibility status v2 params

func (*SetUserLeaderboardVisibilityStatusV2Params) WithTimeout

WithTimeout adds the timeout to the set user leaderboard visibility status v2 params

func (*SetUserLeaderboardVisibilityStatusV2Params) WithUserID

WithUserID adds the userID to the set user leaderboard visibility status v2 params

func (*SetUserLeaderboardVisibilityStatusV2Params) WriteToRequest

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 {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

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 (*SetUserLeaderboardVisibilityStatusV2Unauthorized) GetPayload

func (*SetUserLeaderboardVisibilityStatusV2Unauthorized) ToJSONString added in v0.25.0

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 (*SetUserVisibilityStatusV2BadRequest) GetPayload

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 (*SetUserVisibilityStatusV2Forbidden) GetPayload

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 (*SetUserVisibilityStatusV2InternalServerError) GetPayload

func (*SetUserVisibilityStatusV2InternalServerError) ToJSONString added in v0.25.0

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 (*SetUserVisibilityStatusV2OK) GetPayload

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

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

WithBody adds the body to the set user visibility status v2 params

func (*SetUserVisibilityStatusV2Params) WithContext

WithContext adds the context to the set user visibility status v2 params

func (*SetUserVisibilityStatusV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set user visibility status v2 params

func (*SetUserVisibilityStatusV2Params) WithNamespace

WithNamespace adds the namespace to the set user visibility status v2 params

func (*SetUserVisibilityStatusV2Params) WithTimeout

WithTimeout adds the timeout to the set user visibility status v2 params

func (*SetUserVisibilityStatusV2Params) WithUserID

WithUserID adds the userID to the set user visibility status v2 params

func (*SetUserVisibilityStatusV2Params) WriteToRequest

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 {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

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 (*SetUserVisibilityStatusV2Unauthorized) GetPayload

func (*SetUserVisibilityStatusV2Unauthorized) ToJSONString added in v0.25.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL