user_visibility

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 14 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

GetHiddenUsersV2 gets 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)

func (*Client) GetUserVisibilityStatusV2

GetUserVisibilityStatusV2 gets user visibility status

User with false visibility status will have <b>hidden</b> 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)

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SetUserLeaderboardVisibilityStatusV2

SetUserLeaderboardVisibilityStatusV2 sets user visibility status on a specific leaderboard code

User with false visibility status will have <b>hidden</b> 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)

func (*Client) SetUserVisibilityStatusV2

SetUserVisibilityStatusV2 sets user visibility status on a all current leaderboard

User with false visibility status will have <b>hidden</b> 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)

type ClientService

type ClientService interface {
	GetHiddenUsersV2(params *GetHiddenUsersV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV2OK, *GetHiddenUsersV2BadRequest, *GetHiddenUsersV2Unauthorized, *GetHiddenUsersV2Forbidden, *GetHiddenUsersV2NotFound, *GetHiddenUsersV2InternalServerError, error)
	GetHiddenUsersV2Short(params *GetHiddenUsersV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetHiddenUsersV2OK, error)
	GetUserVisibilityStatusV2(params *GetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV2OK, *GetUserVisibilityStatusV2BadRequest, *GetUserVisibilityStatusV2Unauthorized, *GetUserVisibilityStatusV2Forbidden, *GetUserVisibilityStatusV2NotFound, *GetUserVisibilityStatusV2InternalServerError, error)
	GetUserVisibilityStatusV2Short(params *GetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetUserVisibilityStatusV2OK, error)
	SetUserLeaderboardVisibilityStatusV2(params *SetUserLeaderboardVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserLeaderboardVisibilityStatusV2OK, *SetUserLeaderboardVisibilityStatusV2BadRequest, *SetUserLeaderboardVisibilityStatusV2Unauthorized, *SetUserLeaderboardVisibilityStatusV2Forbidden, *SetUserLeaderboardVisibilityStatusV2NotFound, *SetUserLeaderboardVisibilityStatusV2InternalServerError, error)
	SetUserLeaderboardVisibilityStatusV2Short(params *SetUserLeaderboardVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserLeaderboardVisibilityStatusV2OK, error)
	SetUserVisibilityStatusV2(params *SetUserVisibilityStatusV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetUserVisibilityStatusV2OK, *SetUserVisibilityStatusV2BadRequest, *SetUserVisibilityStatusV2Unauthorized, *SetUserVisibilityStatusV2Forbidden, *SetUserVisibilityStatusV2NotFound, *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.

Bad Request

func NewGetHiddenUsersV2BadRequest

func NewGetHiddenUsersV2BadRequest() *GetHiddenUsersV2BadRequest

NewGetHiddenUsersV2BadRequest creates a GetHiddenUsersV2BadRequest with default headers values

func (*GetHiddenUsersV2BadRequest) Error

func (*GetHiddenUsersV2BadRequest) GetPayload

type GetHiddenUsersV2Forbidden

type GetHiddenUsersV2Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetHiddenUsersV2Forbidden handles this case with default header values.

Forbidden

func NewGetHiddenUsersV2Forbidden

func NewGetHiddenUsersV2Forbidden() *GetHiddenUsersV2Forbidden

NewGetHiddenUsersV2Forbidden creates a GetHiddenUsersV2Forbidden with default headers values

func (*GetHiddenUsersV2Forbidden) Error

func (o *GetHiddenUsersV2Forbidden) Error() string

func (*GetHiddenUsersV2Forbidden) GetPayload

type GetHiddenUsersV2InternalServerError

type GetHiddenUsersV2InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetHiddenUsersV2InternalServerError handles this case with default header values.

Internal Server Error

func NewGetHiddenUsersV2InternalServerError

func NewGetHiddenUsersV2InternalServerError() *GetHiddenUsersV2InternalServerError

NewGetHiddenUsersV2InternalServerError creates a GetHiddenUsersV2InternalServerError with default headers values

func (*GetHiddenUsersV2InternalServerError) Error

func (*GetHiddenUsersV2InternalServerError) GetPayload

type GetHiddenUsersV2NotFound

type GetHiddenUsersV2NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetHiddenUsersV2NotFound handles this case with default header values.

Not Found

func NewGetHiddenUsersV2NotFound

func NewGetHiddenUsersV2NotFound() *GetHiddenUsersV2NotFound

NewGetHiddenUsersV2NotFound creates a GetHiddenUsersV2NotFound with default headers values

func (*GetHiddenUsersV2NotFound) Error

func (o *GetHiddenUsersV2NotFound) Error() string

func (*GetHiddenUsersV2NotFound) GetPayload

type GetHiddenUsersV2OK

type GetHiddenUsersV2OK struct {
	Payload *leaderboardclientmodels.ModelsGetHiddenUserResponse
}

GetHiddenUsersV2OK handles this case with default header values.

OK

func NewGetHiddenUsersV2OK

func NewGetHiddenUsersV2OK() *GetHiddenUsersV2OK

NewGetHiddenUsersV2OK creates a GetHiddenUsersV2OK with default headers values

func (*GetHiddenUsersV2OK) Error

func (o *GetHiddenUsersV2OK) Error() string

func (*GetHiddenUsersV2OK) GetPayload

type GetHiddenUsersV2Params

type GetHiddenUsersV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*LeaderboardCode
	  Leaderboard Code

	*/
	LeaderboardCode string
	/*Limit
	  size of displayed data

	*/
	Limit *int64
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  The start position that points to query data

	*/
	Offset *int64

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// 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) 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.

Unauthorized

func NewGetHiddenUsersV2Unauthorized

func NewGetHiddenUsersV2Unauthorized() *GetHiddenUsersV2Unauthorized

NewGetHiddenUsersV2Unauthorized creates a GetHiddenUsersV2Unauthorized with default headers values

func (*GetHiddenUsersV2Unauthorized) Error

func (*GetHiddenUsersV2Unauthorized) GetPayload

type GetUserVisibilityStatusV2BadRequest

type GetUserVisibilityStatusV2BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserVisibilityStatusV2BadRequest handles this case with default header values.

Bad Request

func NewGetUserVisibilityStatusV2BadRequest

func NewGetUserVisibilityStatusV2BadRequest() *GetUserVisibilityStatusV2BadRequest

NewGetUserVisibilityStatusV2BadRequest creates a GetUserVisibilityStatusV2BadRequest with default headers values

func (*GetUserVisibilityStatusV2BadRequest) Error

func (*GetUserVisibilityStatusV2BadRequest) GetPayload

type GetUserVisibilityStatusV2Forbidden

type GetUserVisibilityStatusV2Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserVisibilityStatusV2Forbidden handles this case with default header values.

Forbidden

func NewGetUserVisibilityStatusV2Forbidden

func NewGetUserVisibilityStatusV2Forbidden() *GetUserVisibilityStatusV2Forbidden

NewGetUserVisibilityStatusV2Forbidden creates a GetUserVisibilityStatusV2Forbidden with default headers values

func (*GetUserVisibilityStatusV2Forbidden) Error

func (*GetUserVisibilityStatusV2Forbidden) GetPayload

type GetUserVisibilityStatusV2InternalServerError

type GetUserVisibilityStatusV2InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserVisibilityStatusV2InternalServerError handles this case with default header values.

Internal Server Error

func NewGetUserVisibilityStatusV2InternalServerError

func NewGetUserVisibilityStatusV2InternalServerError() *GetUserVisibilityStatusV2InternalServerError

NewGetUserVisibilityStatusV2InternalServerError creates a GetUserVisibilityStatusV2InternalServerError with default headers values

func (*GetUserVisibilityStatusV2InternalServerError) Error

func (*GetUserVisibilityStatusV2InternalServerError) GetPayload

type GetUserVisibilityStatusV2NotFound

type GetUserVisibilityStatusV2NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

GetUserVisibilityStatusV2NotFound handles this case with default header values.

Not Found

func NewGetUserVisibilityStatusV2NotFound

func NewGetUserVisibilityStatusV2NotFound() *GetUserVisibilityStatusV2NotFound

NewGetUserVisibilityStatusV2NotFound creates a GetUserVisibilityStatusV2NotFound with default headers values

func (*GetUserVisibilityStatusV2NotFound) Error

func (*GetUserVisibilityStatusV2NotFound) GetPayload

type GetUserVisibilityStatusV2OK

type GetUserVisibilityStatusV2OK struct {
	Payload *leaderboardclientmodels.ModelsGetUserVisibilityResponse
}

GetUserVisibilityStatusV2OK handles this case with default header values.

OK

func NewGetUserVisibilityStatusV2OK

func NewGetUserVisibilityStatusV2OK() *GetUserVisibilityStatusV2OK

NewGetUserVisibilityStatusV2OK creates a GetUserVisibilityStatusV2OK with default headers values

func (*GetUserVisibilityStatusV2OK) Error

func (*GetUserVisibilityStatusV2OK) GetPayload

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
	// 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) 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.

Unauthorized

func NewGetUserVisibilityStatusV2Unauthorized

func NewGetUserVisibilityStatusV2Unauthorized() *GetUserVisibilityStatusV2Unauthorized

NewGetUserVisibilityStatusV2Unauthorized creates a GetUserVisibilityStatusV2Unauthorized with default headers values

func (*GetUserVisibilityStatusV2Unauthorized) Error

func (*GetUserVisibilityStatusV2Unauthorized) GetPayload

type SetUserLeaderboardVisibilityStatusV2BadRequest

type SetUserLeaderboardVisibilityStatusV2BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

SetUserLeaderboardVisibilityStatusV2BadRequest handles this case with default header values.

Bad Request

func NewSetUserLeaderboardVisibilityStatusV2BadRequest

func NewSetUserLeaderboardVisibilityStatusV2BadRequest() *SetUserLeaderboardVisibilityStatusV2BadRequest

NewSetUserLeaderboardVisibilityStatusV2BadRequest creates a SetUserLeaderboardVisibilityStatusV2BadRequest with default headers values

func (*SetUserLeaderboardVisibilityStatusV2BadRequest) Error

func (*SetUserLeaderboardVisibilityStatusV2BadRequest) GetPayload

type SetUserLeaderboardVisibilityStatusV2Forbidden

type SetUserLeaderboardVisibilityStatusV2Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

SetUserLeaderboardVisibilityStatusV2Forbidden handles this case with default header values.

Forbidden

func NewSetUserLeaderboardVisibilityStatusV2Forbidden

func NewSetUserLeaderboardVisibilityStatusV2Forbidden() *SetUserLeaderboardVisibilityStatusV2Forbidden

NewSetUserLeaderboardVisibilityStatusV2Forbidden creates a SetUserLeaderboardVisibilityStatusV2Forbidden with default headers values

func (*SetUserLeaderboardVisibilityStatusV2Forbidden) Error

func (*SetUserLeaderboardVisibilityStatusV2Forbidden) GetPayload

type SetUserLeaderboardVisibilityStatusV2InternalServerError

type SetUserLeaderboardVisibilityStatusV2InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

SetUserLeaderboardVisibilityStatusV2InternalServerError handles this case with default header values.

Internal Server Error

func NewSetUserLeaderboardVisibilityStatusV2InternalServerError

func NewSetUserLeaderboardVisibilityStatusV2InternalServerError() *SetUserLeaderboardVisibilityStatusV2InternalServerError

NewSetUserLeaderboardVisibilityStatusV2InternalServerError creates a SetUserLeaderboardVisibilityStatusV2InternalServerError with default headers values

func (*SetUserLeaderboardVisibilityStatusV2InternalServerError) Error

func (*SetUserLeaderboardVisibilityStatusV2InternalServerError) GetPayload

type SetUserLeaderboardVisibilityStatusV2NotFound

type SetUserLeaderboardVisibilityStatusV2NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

SetUserLeaderboardVisibilityStatusV2NotFound handles this case with default header values.

Not Found

func NewSetUserLeaderboardVisibilityStatusV2NotFound

func NewSetUserLeaderboardVisibilityStatusV2NotFound() *SetUserLeaderboardVisibilityStatusV2NotFound

NewSetUserLeaderboardVisibilityStatusV2NotFound creates a SetUserLeaderboardVisibilityStatusV2NotFound with default headers values

func (*SetUserLeaderboardVisibilityStatusV2NotFound) Error

func (*SetUserLeaderboardVisibilityStatusV2NotFound) GetPayload

type SetUserLeaderboardVisibilityStatusV2OK

type SetUserLeaderboardVisibilityStatusV2OK struct {
	Payload *leaderboardclientmodels.ModelsGetUserVisibilityResponse
}

SetUserLeaderboardVisibilityStatusV2OK handles this case with default header values.

OK

func NewSetUserLeaderboardVisibilityStatusV2OK

func NewSetUserLeaderboardVisibilityStatusV2OK() *SetUserLeaderboardVisibilityStatusV2OK

NewSetUserLeaderboardVisibilityStatusV2OK creates a SetUserLeaderboardVisibilityStatusV2OK with default headers values

func (*SetUserLeaderboardVisibilityStatusV2OK) Error

func (*SetUserLeaderboardVisibilityStatusV2OK) GetPayload

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
	// 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) 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.

Unauthorized

func NewSetUserLeaderboardVisibilityStatusV2Unauthorized

func NewSetUserLeaderboardVisibilityStatusV2Unauthorized() *SetUserLeaderboardVisibilityStatusV2Unauthorized

NewSetUserLeaderboardVisibilityStatusV2Unauthorized creates a SetUserLeaderboardVisibilityStatusV2Unauthorized with default headers values

func (*SetUserLeaderboardVisibilityStatusV2Unauthorized) Error

func (*SetUserLeaderboardVisibilityStatusV2Unauthorized) GetPayload

type SetUserVisibilityStatusV2BadRequest

type SetUserVisibilityStatusV2BadRequest struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

SetUserVisibilityStatusV2BadRequest handles this case with default header values.

Bad Request

func NewSetUserVisibilityStatusV2BadRequest

func NewSetUserVisibilityStatusV2BadRequest() *SetUserVisibilityStatusV2BadRequest

NewSetUserVisibilityStatusV2BadRequest creates a SetUserVisibilityStatusV2BadRequest with default headers values

func (*SetUserVisibilityStatusV2BadRequest) Error

func (*SetUserVisibilityStatusV2BadRequest) GetPayload

type SetUserVisibilityStatusV2Forbidden

type SetUserVisibilityStatusV2Forbidden struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

SetUserVisibilityStatusV2Forbidden handles this case with default header values.

Forbidden

func NewSetUserVisibilityStatusV2Forbidden

func NewSetUserVisibilityStatusV2Forbidden() *SetUserVisibilityStatusV2Forbidden

NewSetUserVisibilityStatusV2Forbidden creates a SetUserVisibilityStatusV2Forbidden with default headers values

func (*SetUserVisibilityStatusV2Forbidden) Error

func (*SetUserVisibilityStatusV2Forbidden) GetPayload

type SetUserVisibilityStatusV2InternalServerError

type SetUserVisibilityStatusV2InternalServerError struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

SetUserVisibilityStatusV2InternalServerError handles this case with default header values.

Internal Server Error

func NewSetUserVisibilityStatusV2InternalServerError

func NewSetUserVisibilityStatusV2InternalServerError() *SetUserVisibilityStatusV2InternalServerError

NewSetUserVisibilityStatusV2InternalServerError creates a SetUserVisibilityStatusV2InternalServerError with default headers values

func (*SetUserVisibilityStatusV2InternalServerError) Error

func (*SetUserVisibilityStatusV2InternalServerError) GetPayload

type SetUserVisibilityStatusV2NotFound

type SetUserVisibilityStatusV2NotFound struct {
	Payload *leaderboardclientmodels.ResponseErrorResponse
}

SetUserVisibilityStatusV2NotFound handles this case with default header values.

Not Found

func NewSetUserVisibilityStatusV2NotFound

func NewSetUserVisibilityStatusV2NotFound() *SetUserVisibilityStatusV2NotFound

NewSetUserVisibilityStatusV2NotFound creates a SetUserVisibilityStatusV2NotFound with default headers values

func (*SetUserVisibilityStatusV2NotFound) Error

func (*SetUserVisibilityStatusV2NotFound) GetPayload

type SetUserVisibilityStatusV2OK

type SetUserVisibilityStatusV2OK struct {
	Payload *leaderboardclientmodels.ModelsGetUserVisibilityResponse
}

SetUserVisibilityStatusV2OK handles this case with default header values.

OK

func NewSetUserVisibilityStatusV2OK

func NewSetUserVisibilityStatusV2OK() *SetUserVisibilityStatusV2OK

NewSetUserVisibilityStatusV2OK creates a SetUserVisibilityStatusV2OK with default headers values

func (*SetUserVisibilityStatusV2OK) Error

func (*SetUserVisibilityStatusV2OK) GetPayload

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
	// 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) 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.

Unauthorized

func NewSetUserVisibilityStatusV2Unauthorized

func NewSetUserVisibilityStatusV2Unauthorized() *SetUserVisibilityStatusV2Unauthorized

NewSetUserVisibilityStatusV2Unauthorized creates a SetUserVisibilityStatusV2Unauthorized with default headers values

func (*SetUserVisibilityStatusV2Unauthorized) Error

func (*SetUserVisibilityStatusV2Unauthorized) GetPayload

Jump to

Keyboard shortcuts

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