user_visibility_v3

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 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 v3 API

func (*Client) GetHiddenUsersV3 deprecated

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

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

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

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

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

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

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

WithTimeout adds the timeout to the get hidden users v3 params

func (*GetHiddenUsersV3Params) WriteToRequest

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

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

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

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

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

func (*GetUserVisibilityStatusV3InternalServerError) ToJSONString

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

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

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

func (*GetUserVisibilityStatusV3Params) WithHTTPClient

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

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

func (*GetUserVisibilityStatusV3Params) WithTimeout

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

func (*GetUserVisibilityStatusV3Params) WithUserID

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

func (*GetUserVisibilityStatusV3Params) WriteToRequest

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

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

func (*GetUserVisibilityStatusV3Unauthorized) ToJSONString

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

func (*SetUserLeaderboardVisibilityV3BadRequest) ToJSONString

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

func (*SetUserLeaderboardVisibilityV3Forbidden) ToJSONString

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

func (*SetUserLeaderboardVisibilityV3InternalServerError) ToJSONString

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

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

SetBody adds the body to the set user leaderboard visibility v3 params

func (*SetUserLeaderboardVisibilityV3Params) SetContext

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

WithBody adds the body to the set user leaderboard visibility v3 params

func (*SetUserLeaderboardVisibilityV3Params) WithContext

WithContext adds the context to the set user leaderboard visibility v3 params

func (*SetUserLeaderboardVisibilityV3Params) WithHTTPClient

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

WithNamespace adds the namespace to the set user leaderboard visibility v3 params

func (*SetUserLeaderboardVisibilityV3Params) WithTimeout

WithTimeout adds the timeout to the set user leaderboard visibility v3 params

func (*SetUserLeaderboardVisibilityV3Params) WithUserID

WithUserID adds the userID to the set user leaderboard visibility v3 params

func (*SetUserLeaderboardVisibilityV3Params) WriteToRequest

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

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

func (*SetUserLeaderboardVisibilityV3Unauthorized) ToJSONString

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

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

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

func (*SetUserVisibilityV3InternalServerError) ToJSONString

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

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

WithBody adds the body to the set user visibility v3 params

func (*SetUserVisibilityV3Params) WithContext

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

WithTimeout adds the timeout to the set user visibility v3 params

func (*SetUserVisibilityV3Params) WithUserID

WithUserID adds the userID to the set user visibility v3 params

func (*SetUserVisibilityV3Params) WriteToRequest

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

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

func (*SetUserVisibilityV3Unauthorized) ToJSONString

func (o *SetUserVisibilityV3Unauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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