recent_player

package
v0.1.0-alpha.13 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGetRecentPlayerBadRequest

type AdminGetRecentPlayerBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetRecentPlayerBadRequest handles this case with default header values.

Bad Request

func NewAdminGetRecentPlayerBadRequest

func NewAdminGetRecentPlayerBadRequest() *AdminGetRecentPlayerBadRequest

NewAdminGetRecentPlayerBadRequest creates a AdminGetRecentPlayerBadRequest with default headers values

func (*AdminGetRecentPlayerBadRequest) Error

func (*AdminGetRecentPlayerBadRequest) GetPayload

func (*AdminGetRecentPlayerBadRequest) ToJSONString

func (o *AdminGetRecentPlayerBadRequest) ToJSONString() string

type AdminGetRecentPlayerInternalServerError

type AdminGetRecentPlayerInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetRecentPlayerInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetRecentPlayerInternalServerError

func NewAdminGetRecentPlayerInternalServerError() *AdminGetRecentPlayerInternalServerError

NewAdminGetRecentPlayerInternalServerError creates a AdminGetRecentPlayerInternalServerError with default headers values

func (*AdminGetRecentPlayerInternalServerError) Error

func (*AdminGetRecentPlayerInternalServerError) GetPayload

func (*AdminGetRecentPlayerInternalServerError) ToJSONString

type AdminGetRecentPlayerNotFound

type AdminGetRecentPlayerNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetRecentPlayerNotFound handles this case with default header values.

Not Found

func NewAdminGetRecentPlayerNotFound

func NewAdminGetRecentPlayerNotFound() *AdminGetRecentPlayerNotFound

NewAdminGetRecentPlayerNotFound creates a AdminGetRecentPlayerNotFound with default headers values

func (*AdminGetRecentPlayerNotFound) Error

func (*AdminGetRecentPlayerNotFound) GetPayload

func (*AdminGetRecentPlayerNotFound) ToJSONString

func (o *AdminGetRecentPlayerNotFound) ToJSONString() string

type AdminGetRecentPlayerOK

type AdminGetRecentPlayerOK struct {
	Payload *sessionclientmodels.ModelsRecentPlayerQueryResponse
}

AdminGetRecentPlayerOK handles this case with default header values.

OK

func NewAdminGetRecentPlayerOK

func NewAdminGetRecentPlayerOK() *AdminGetRecentPlayerOK

NewAdminGetRecentPlayerOK creates a AdminGetRecentPlayerOK with default headers values

func (*AdminGetRecentPlayerOK) Error

func (o *AdminGetRecentPlayerOK) Error() string

func (*AdminGetRecentPlayerOK) GetPayload

func (*AdminGetRecentPlayerOK) ToJSONString

func (o *AdminGetRecentPlayerOK) ToJSONString() string

type AdminGetRecentPlayerParams

type AdminGetRecentPlayerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Limit
	  Recent Player Limit

	*/
	Limit *int64
	/*UserID
	  recent player UserID. If this field empty, will use UserID from token

	*/
	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
}

AdminGetRecentPlayerParams contains all the parameters to send to the API endpoint for the admin get recent player operation typically these are written to a http.Request

func NewAdminGetRecentPlayerParams

func NewAdminGetRecentPlayerParams() *AdminGetRecentPlayerParams

NewAdminGetRecentPlayerParams creates a new AdminGetRecentPlayerParams object with the default values initialized.

func NewAdminGetRecentPlayerParamsWithContext

func NewAdminGetRecentPlayerParamsWithContext(ctx context.Context) *AdminGetRecentPlayerParams

NewAdminGetRecentPlayerParamsWithContext creates a new AdminGetRecentPlayerParams object with the default values initialized, and the ability to set a context for a request

func NewAdminGetRecentPlayerParamsWithHTTPClient

func NewAdminGetRecentPlayerParamsWithHTTPClient(client *http.Client) *AdminGetRecentPlayerParams

NewAdminGetRecentPlayerParamsWithHTTPClient creates a new AdminGetRecentPlayerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetRecentPlayerParamsWithTimeout

func NewAdminGetRecentPlayerParamsWithTimeout(timeout time.Duration) *AdminGetRecentPlayerParams

NewAdminGetRecentPlayerParamsWithTimeout creates a new AdminGetRecentPlayerParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetRecentPlayerParams) SetAuthInfoWriter

func (o *AdminGetRecentPlayerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetContext

func (o *AdminGetRecentPlayerParams) SetContext(ctx context.Context)

SetContext adds the context to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetFlightId

func (o *AdminGetRecentPlayerParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminGetRecentPlayerParams) SetHTTPClient

func (o *AdminGetRecentPlayerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetHTTPClientTransport

func (o *AdminGetRecentPlayerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetLimit

func (o *AdminGetRecentPlayerParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetNamespace

func (o *AdminGetRecentPlayerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetTimeout

func (o *AdminGetRecentPlayerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the admin get recent player params

func (*AdminGetRecentPlayerParams) SetUserID

func (o *AdminGetRecentPlayerParams) SetUserID(userID *string)

SetUserID adds the userId to the admin get recent player params

func (*AdminGetRecentPlayerParams) WithContext

WithContext adds the context to the admin get recent player params

func (*AdminGetRecentPlayerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get recent player params

func (*AdminGetRecentPlayerParams) WithLimit

WithLimit adds the limit to the admin get recent player params

func (*AdminGetRecentPlayerParams) WithNamespace

func (o *AdminGetRecentPlayerParams) WithNamespace(namespace string) *AdminGetRecentPlayerParams

WithNamespace adds the namespace to the admin get recent player params

func (*AdminGetRecentPlayerParams) WithTimeout

WithTimeout adds the timeout to the admin get recent player params

func (*AdminGetRecentPlayerParams) WithUserID

WithUserID adds the userID to the admin get recent player params

func (*AdminGetRecentPlayerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetRecentPlayerReader

type AdminGetRecentPlayerReader struct {
	// contains filtered or unexported fields
}

AdminGetRecentPlayerReader is a Reader for the AdminGetRecentPlayer structure.

func (*AdminGetRecentPlayerReader) ReadResponse

func (o *AdminGetRecentPlayerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AdminGetRecentPlayerUnauthorized

type AdminGetRecentPlayerUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetRecentPlayerUnauthorized handles this case with default header values.

Unauthorized

func NewAdminGetRecentPlayerUnauthorized

func NewAdminGetRecentPlayerUnauthorized() *AdminGetRecentPlayerUnauthorized

NewAdminGetRecentPlayerUnauthorized creates a AdminGetRecentPlayerUnauthorized with default headers values

func (*AdminGetRecentPlayerUnauthorized) Error

func (*AdminGetRecentPlayerUnauthorized) GetPayload

func (*AdminGetRecentPlayerUnauthorized) ToJSONString

func (o *AdminGetRecentPlayerUnauthorized) ToJSONString() string

type AdminGetRecentTeamPlayerBadRequest

type AdminGetRecentTeamPlayerBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetRecentTeamPlayerBadRequest handles this case with default header values.

Bad Request

func NewAdminGetRecentTeamPlayerBadRequest

func NewAdminGetRecentTeamPlayerBadRequest() *AdminGetRecentTeamPlayerBadRequest

NewAdminGetRecentTeamPlayerBadRequest creates a AdminGetRecentTeamPlayerBadRequest with default headers values

func (*AdminGetRecentTeamPlayerBadRequest) Error

func (*AdminGetRecentTeamPlayerBadRequest) GetPayload

func (*AdminGetRecentTeamPlayerBadRequest) ToJSONString

func (o *AdminGetRecentTeamPlayerBadRequest) ToJSONString() string

type AdminGetRecentTeamPlayerInternalServerError

type AdminGetRecentTeamPlayerInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetRecentTeamPlayerInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetRecentTeamPlayerInternalServerError

func NewAdminGetRecentTeamPlayerInternalServerError() *AdminGetRecentTeamPlayerInternalServerError

NewAdminGetRecentTeamPlayerInternalServerError creates a AdminGetRecentTeamPlayerInternalServerError with default headers values

func (*AdminGetRecentTeamPlayerInternalServerError) Error

func (*AdminGetRecentTeamPlayerInternalServerError) GetPayload

func (*AdminGetRecentTeamPlayerInternalServerError) ToJSONString

type AdminGetRecentTeamPlayerNotFound

type AdminGetRecentTeamPlayerNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetRecentTeamPlayerNotFound handles this case with default header values.

Not Found

func NewAdminGetRecentTeamPlayerNotFound

func NewAdminGetRecentTeamPlayerNotFound() *AdminGetRecentTeamPlayerNotFound

NewAdminGetRecentTeamPlayerNotFound creates a AdminGetRecentTeamPlayerNotFound with default headers values

func (*AdminGetRecentTeamPlayerNotFound) Error

func (*AdminGetRecentTeamPlayerNotFound) GetPayload

func (*AdminGetRecentTeamPlayerNotFound) ToJSONString

func (o *AdminGetRecentTeamPlayerNotFound) ToJSONString() string

type AdminGetRecentTeamPlayerOK

type AdminGetRecentTeamPlayerOK struct {
	Payload *sessionclientmodels.ModelsRecentPlayerQueryResponse
}

AdminGetRecentTeamPlayerOK handles this case with default header values.

OK

func NewAdminGetRecentTeamPlayerOK

func NewAdminGetRecentTeamPlayerOK() *AdminGetRecentTeamPlayerOK

NewAdminGetRecentTeamPlayerOK creates a AdminGetRecentTeamPlayerOK with default headers values

func (*AdminGetRecentTeamPlayerOK) Error

func (*AdminGetRecentTeamPlayerOK) GetPayload

func (*AdminGetRecentTeamPlayerOK) ToJSONString

func (o *AdminGetRecentTeamPlayerOK) ToJSONString() string

type AdminGetRecentTeamPlayerParams

type AdminGetRecentTeamPlayerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Limit
	  Recent Player Limit

	*/
	Limit *int64
	/*UserID
	  recent team player UserID. If this field empty, will use UserID from token

	*/
	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
}

AdminGetRecentTeamPlayerParams contains all the parameters to send to the API endpoint for the admin get recent team player operation typically these are written to a http.Request

func NewAdminGetRecentTeamPlayerParams

func NewAdminGetRecentTeamPlayerParams() *AdminGetRecentTeamPlayerParams

NewAdminGetRecentTeamPlayerParams creates a new AdminGetRecentTeamPlayerParams object with the default values initialized.

func NewAdminGetRecentTeamPlayerParamsWithContext

func NewAdminGetRecentTeamPlayerParamsWithContext(ctx context.Context) *AdminGetRecentTeamPlayerParams

NewAdminGetRecentTeamPlayerParamsWithContext creates a new AdminGetRecentTeamPlayerParams object with the default values initialized, and the ability to set a context for a request

func NewAdminGetRecentTeamPlayerParamsWithHTTPClient

func NewAdminGetRecentTeamPlayerParamsWithHTTPClient(client *http.Client) *AdminGetRecentTeamPlayerParams

NewAdminGetRecentTeamPlayerParamsWithHTTPClient creates a new AdminGetRecentTeamPlayerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminGetRecentTeamPlayerParamsWithTimeout

func NewAdminGetRecentTeamPlayerParamsWithTimeout(timeout time.Duration) *AdminGetRecentTeamPlayerParams

NewAdminGetRecentTeamPlayerParamsWithTimeout creates a new AdminGetRecentTeamPlayerParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminGetRecentTeamPlayerParams) SetAuthInfoWriter

func (o *AdminGetRecentTeamPlayerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) SetContext

func (o *AdminGetRecentTeamPlayerParams) SetContext(ctx context.Context)

SetContext adds the context to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) SetFlightId

func (o *AdminGetRecentTeamPlayerParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminGetRecentTeamPlayerParams) SetHTTPClient

func (o *AdminGetRecentTeamPlayerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) SetHTTPClientTransport

func (o *AdminGetRecentTeamPlayerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) SetLimit

func (o *AdminGetRecentTeamPlayerParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) SetNamespace

func (o *AdminGetRecentTeamPlayerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) SetTimeout

func (o *AdminGetRecentTeamPlayerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) SetUserID

func (o *AdminGetRecentTeamPlayerParams) SetUserID(userID *string)

SetUserID adds the userId to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) WithContext

WithContext adds the context to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) WithLimit

WithLimit adds the limit to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) WithNamespace

WithNamespace adds the namespace to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) WithTimeout

WithTimeout adds the timeout to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) WithUserID

WithUserID adds the userID to the admin get recent team player params

func (*AdminGetRecentTeamPlayerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetRecentTeamPlayerReader

type AdminGetRecentTeamPlayerReader struct {
	// contains filtered or unexported fields
}

AdminGetRecentTeamPlayerReader is a Reader for the AdminGetRecentTeamPlayer structure.

func (*AdminGetRecentTeamPlayerReader) ReadResponse

func (o *AdminGetRecentTeamPlayerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AdminGetRecentTeamPlayerUnauthorized

type AdminGetRecentTeamPlayerUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetRecentTeamPlayerUnauthorized handles this case with default header values.

Unauthorized

func NewAdminGetRecentTeamPlayerUnauthorized

func NewAdminGetRecentTeamPlayerUnauthorized() *AdminGetRecentTeamPlayerUnauthorized

NewAdminGetRecentTeamPlayerUnauthorized creates a AdminGetRecentTeamPlayerUnauthorized with default headers values

func (*AdminGetRecentTeamPlayerUnauthorized) Error

func (*AdminGetRecentTeamPlayerUnauthorized) GetPayload

func (*AdminGetRecentTeamPlayerUnauthorized) ToJSONString

func (o *AdminGetRecentTeamPlayerUnauthorized) ToJSONString() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for recent player API

func (*Client) AdminGetRecentPlayerShort

func (a *Client) AdminGetRecentPlayerShort(params *AdminGetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRecentPlayerOK, error)

AdminGetRecentPlayerShort query recent player with given user id. Query recent player with given user id.

If user id parameter is empty: 1. Using User Token : It will get the user id from the token 2. Using client token : it will throw an error

Please ensure environment variable "RECENT_PLAYER_ENABLED" is set to "TRUE" to use this feature.

func (*Client) AdminGetRecentTeamPlayerShort

func (a *Client) AdminGetRecentTeamPlayerShort(params *AdminGetRecentTeamPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRecentTeamPlayerOK, error)

AdminGetRecentTeamPlayerShort query recent player who were on the same team with given user id. Query recent player who were on the same team with given user id.

If user id parameter is empty: 1. Using User Token : It will get the user id from the token 2. Using client token : it will throw an error

Please ensure environment variable "RECENT_TEAM_PLAYER_ENABLED" is set to "TRUE" to use this feature.

func (*Client) PublicGetRecentPlayerShort

func (a *Client) PublicGetRecentPlayerShort(params *PublicGetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetRecentPlayerOK, error)

PublicGetRecentPlayerShort query user's recent player Query user's recent player.

Please ensure environment variable "RECENT_PLAYER_ENABLED" is set to "TRUE" to use this feature.

func (*Client) PublicGetRecentTeamPlayerShort

func (a *Client) PublicGetRecentTeamPlayerShort(params *PublicGetRecentTeamPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetRecentTeamPlayerOK, error)

PublicGetRecentTeamPlayerShort query user's recent player who were on the same team. Query user's recent player who were on the same team.

Please ensure environment variable "RECENT_TEAM_PLAYER_ENABLED" is set to "TRUE" to use this feature.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminGetRecentPlayerShort(params *AdminGetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRecentPlayerOK, error)
	AdminGetRecentTeamPlayerShort(params *AdminGetRecentTeamPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetRecentTeamPlayerOK, error)
	PublicGetRecentPlayerShort(params *PublicGetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetRecentPlayerOK, error)
	PublicGetRecentTeamPlayerShort(params *PublicGetRecentTeamPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetRecentTeamPlayerOK, 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 recent player API client.

type PublicGetRecentPlayerBadRequest

type PublicGetRecentPlayerBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetRecentPlayerBadRequest handles this case with default header values.

Bad Request

func NewPublicGetRecentPlayerBadRequest

func NewPublicGetRecentPlayerBadRequest() *PublicGetRecentPlayerBadRequest

NewPublicGetRecentPlayerBadRequest creates a PublicGetRecentPlayerBadRequest with default headers values

func (*PublicGetRecentPlayerBadRequest) Error

func (*PublicGetRecentPlayerBadRequest) GetPayload

func (*PublicGetRecentPlayerBadRequest) ToJSONString

func (o *PublicGetRecentPlayerBadRequest) ToJSONString() string

type PublicGetRecentPlayerInternalServerError

type PublicGetRecentPlayerInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetRecentPlayerInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicGetRecentPlayerInternalServerError

func NewPublicGetRecentPlayerInternalServerError() *PublicGetRecentPlayerInternalServerError

NewPublicGetRecentPlayerInternalServerError creates a PublicGetRecentPlayerInternalServerError with default headers values

func (*PublicGetRecentPlayerInternalServerError) Error

func (*PublicGetRecentPlayerInternalServerError) GetPayload

func (*PublicGetRecentPlayerInternalServerError) ToJSONString

type PublicGetRecentPlayerNotFound

type PublicGetRecentPlayerNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetRecentPlayerNotFound handles this case with default header values.

Not Found

func NewPublicGetRecentPlayerNotFound

func NewPublicGetRecentPlayerNotFound() *PublicGetRecentPlayerNotFound

NewPublicGetRecentPlayerNotFound creates a PublicGetRecentPlayerNotFound with default headers values

func (*PublicGetRecentPlayerNotFound) Error

func (*PublicGetRecentPlayerNotFound) GetPayload

func (*PublicGetRecentPlayerNotFound) ToJSONString

func (o *PublicGetRecentPlayerNotFound) ToJSONString() string

type PublicGetRecentPlayerOK

type PublicGetRecentPlayerOK struct {
	Payload *sessionclientmodels.ModelsRecentPlayerQueryResponse
}

PublicGetRecentPlayerOK handles this case with default header values.

OK

func NewPublicGetRecentPlayerOK

func NewPublicGetRecentPlayerOK() *PublicGetRecentPlayerOK

NewPublicGetRecentPlayerOK creates a PublicGetRecentPlayerOK with default headers values

func (*PublicGetRecentPlayerOK) Error

func (o *PublicGetRecentPlayerOK) Error() string

func (*PublicGetRecentPlayerOK) GetPayload

func (*PublicGetRecentPlayerOK) ToJSONString

func (o *PublicGetRecentPlayerOK) ToJSONString() string

type PublicGetRecentPlayerParams

type PublicGetRecentPlayerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Limit
	  Recent Player Limit

	*/
	Limit *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
}

PublicGetRecentPlayerParams contains all the parameters to send to the API endpoint for the public get recent player operation typically these are written to a http.Request

func NewPublicGetRecentPlayerParams

func NewPublicGetRecentPlayerParams() *PublicGetRecentPlayerParams

NewPublicGetRecentPlayerParams creates a new PublicGetRecentPlayerParams object with the default values initialized.

func NewPublicGetRecentPlayerParamsWithContext

func NewPublicGetRecentPlayerParamsWithContext(ctx context.Context) *PublicGetRecentPlayerParams

NewPublicGetRecentPlayerParamsWithContext creates a new PublicGetRecentPlayerParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetRecentPlayerParamsWithHTTPClient

func NewPublicGetRecentPlayerParamsWithHTTPClient(client *http.Client) *PublicGetRecentPlayerParams

NewPublicGetRecentPlayerParamsWithHTTPClient creates a new PublicGetRecentPlayerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetRecentPlayerParamsWithTimeout

func NewPublicGetRecentPlayerParamsWithTimeout(timeout time.Duration) *PublicGetRecentPlayerParams

NewPublicGetRecentPlayerParamsWithTimeout creates a new PublicGetRecentPlayerParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetRecentPlayerParams) SetAuthInfoWriter

func (o *PublicGetRecentPlayerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get recent player params

func (*PublicGetRecentPlayerParams) SetContext

func (o *PublicGetRecentPlayerParams) SetContext(ctx context.Context)

SetContext adds the context to the public get recent player params

func (*PublicGetRecentPlayerParams) SetFlightId

func (o *PublicGetRecentPlayerParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetRecentPlayerParams) SetHTTPClient

func (o *PublicGetRecentPlayerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get recent player params

func (*PublicGetRecentPlayerParams) SetHTTPClientTransport

func (o *PublicGetRecentPlayerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get recent player params

func (*PublicGetRecentPlayerParams) SetLimit

func (o *PublicGetRecentPlayerParams) SetLimit(limit *int64)

SetLimit adds the limit to the public get recent player params

func (*PublicGetRecentPlayerParams) SetNamespace

func (o *PublicGetRecentPlayerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get recent player params

func (*PublicGetRecentPlayerParams) SetTimeout

func (o *PublicGetRecentPlayerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get recent player params

func (*PublicGetRecentPlayerParams) WithContext

WithContext adds the context to the public get recent player params

func (*PublicGetRecentPlayerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get recent player params

func (*PublicGetRecentPlayerParams) WithLimit

WithLimit adds the limit to the public get recent player params

func (*PublicGetRecentPlayerParams) WithNamespace

func (o *PublicGetRecentPlayerParams) WithNamespace(namespace string) *PublicGetRecentPlayerParams

WithNamespace adds the namespace to the public get recent player params

func (*PublicGetRecentPlayerParams) WithTimeout

WithTimeout adds the timeout to the public get recent player params

func (*PublicGetRecentPlayerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetRecentPlayerReader

type PublicGetRecentPlayerReader struct {
	// contains filtered or unexported fields
}

PublicGetRecentPlayerReader is a Reader for the PublicGetRecentPlayer structure.

func (*PublicGetRecentPlayerReader) ReadResponse

func (o *PublicGetRecentPlayerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicGetRecentPlayerUnauthorized

type PublicGetRecentPlayerUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetRecentPlayerUnauthorized handles this case with default header values.

Unauthorized

func NewPublicGetRecentPlayerUnauthorized

func NewPublicGetRecentPlayerUnauthorized() *PublicGetRecentPlayerUnauthorized

NewPublicGetRecentPlayerUnauthorized creates a PublicGetRecentPlayerUnauthorized with default headers values

func (*PublicGetRecentPlayerUnauthorized) Error

func (*PublicGetRecentPlayerUnauthorized) GetPayload

func (*PublicGetRecentPlayerUnauthorized) ToJSONString

func (o *PublicGetRecentPlayerUnauthorized) ToJSONString() string

type PublicGetRecentTeamPlayerBadRequest

type PublicGetRecentTeamPlayerBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetRecentTeamPlayerBadRequest handles this case with default header values.

Bad Request

func NewPublicGetRecentTeamPlayerBadRequest

func NewPublicGetRecentTeamPlayerBadRequest() *PublicGetRecentTeamPlayerBadRequest

NewPublicGetRecentTeamPlayerBadRequest creates a PublicGetRecentTeamPlayerBadRequest with default headers values

func (*PublicGetRecentTeamPlayerBadRequest) Error

func (*PublicGetRecentTeamPlayerBadRequest) GetPayload

func (*PublicGetRecentTeamPlayerBadRequest) ToJSONString

func (o *PublicGetRecentTeamPlayerBadRequest) ToJSONString() string

type PublicGetRecentTeamPlayerInternalServerError

type PublicGetRecentTeamPlayerInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetRecentTeamPlayerInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicGetRecentTeamPlayerInternalServerError

func NewPublicGetRecentTeamPlayerInternalServerError() *PublicGetRecentTeamPlayerInternalServerError

NewPublicGetRecentTeamPlayerInternalServerError creates a PublicGetRecentTeamPlayerInternalServerError with default headers values

func (*PublicGetRecentTeamPlayerInternalServerError) Error

func (*PublicGetRecentTeamPlayerInternalServerError) GetPayload

func (*PublicGetRecentTeamPlayerInternalServerError) ToJSONString

type PublicGetRecentTeamPlayerNotFound

type PublicGetRecentTeamPlayerNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetRecentTeamPlayerNotFound handles this case with default header values.

Not Found

func NewPublicGetRecentTeamPlayerNotFound

func NewPublicGetRecentTeamPlayerNotFound() *PublicGetRecentTeamPlayerNotFound

NewPublicGetRecentTeamPlayerNotFound creates a PublicGetRecentTeamPlayerNotFound with default headers values

func (*PublicGetRecentTeamPlayerNotFound) Error

func (*PublicGetRecentTeamPlayerNotFound) GetPayload

func (*PublicGetRecentTeamPlayerNotFound) ToJSONString

func (o *PublicGetRecentTeamPlayerNotFound) ToJSONString() string

type PublicGetRecentTeamPlayerOK

type PublicGetRecentTeamPlayerOK struct {
	Payload *sessionclientmodels.ModelsRecentPlayerQueryResponse
}

PublicGetRecentTeamPlayerOK handles this case with default header values.

OK

func NewPublicGetRecentTeamPlayerOK

func NewPublicGetRecentTeamPlayerOK() *PublicGetRecentTeamPlayerOK

NewPublicGetRecentTeamPlayerOK creates a PublicGetRecentTeamPlayerOK with default headers values

func (*PublicGetRecentTeamPlayerOK) Error

func (*PublicGetRecentTeamPlayerOK) GetPayload

func (*PublicGetRecentTeamPlayerOK) ToJSONString

func (o *PublicGetRecentTeamPlayerOK) ToJSONString() string

type PublicGetRecentTeamPlayerParams

type PublicGetRecentTeamPlayerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Limit
	  Recent Player Limit

	*/
	Limit *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
}

PublicGetRecentTeamPlayerParams contains all the parameters to send to the API endpoint for the public get recent team player operation typically these are written to a http.Request

func NewPublicGetRecentTeamPlayerParams

func NewPublicGetRecentTeamPlayerParams() *PublicGetRecentTeamPlayerParams

NewPublicGetRecentTeamPlayerParams creates a new PublicGetRecentTeamPlayerParams object with the default values initialized.

func NewPublicGetRecentTeamPlayerParamsWithContext

func NewPublicGetRecentTeamPlayerParamsWithContext(ctx context.Context) *PublicGetRecentTeamPlayerParams

NewPublicGetRecentTeamPlayerParamsWithContext creates a new PublicGetRecentTeamPlayerParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetRecentTeamPlayerParamsWithHTTPClient

func NewPublicGetRecentTeamPlayerParamsWithHTTPClient(client *http.Client) *PublicGetRecentTeamPlayerParams

NewPublicGetRecentTeamPlayerParamsWithHTTPClient creates a new PublicGetRecentTeamPlayerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetRecentTeamPlayerParamsWithTimeout

func NewPublicGetRecentTeamPlayerParamsWithTimeout(timeout time.Duration) *PublicGetRecentTeamPlayerParams

NewPublicGetRecentTeamPlayerParamsWithTimeout creates a new PublicGetRecentTeamPlayerParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetRecentTeamPlayerParams) SetAuthInfoWriter

func (o *PublicGetRecentTeamPlayerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get recent team player params

func (*PublicGetRecentTeamPlayerParams) SetContext

func (o *PublicGetRecentTeamPlayerParams) SetContext(ctx context.Context)

SetContext adds the context to the public get recent team player params

func (*PublicGetRecentTeamPlayerParams) SetFlightId

func (o *PublicGetRecentTeamPlayerParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetRecentTeamPlayerParams) SetHTTPClient

func (o *PublicGetRecentTeamPlayerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get recent team player params

func (*PublicGetRecentTeamPlayerParams) SetHTTPClientTransport

func (o *PublicGetRecentTeamPlayerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get recent team player params

func (*PublicGetRecentTeamPlayerParams) SetLimit

func (o *PublicGetRecentTeamPlayerParams) SetLimit(limit *int64)

SetLimit adds the limit to the public get recent team player params

func (*PublicGetRecentTeamPlayerParams) SetNamespace

func (o *PublicGetRecentTeamPlayerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get recent team player params

func (*PublicGetRecentTeamPlayerParams) SetTimeout

func (o *PublicGetRecentTeamPlayerParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get recent team player params

func (*PublicGetRecentTeamPlayerParams) WithContext

WithContext adds the context to the public get recent team player params

func (*PublicGetRecentTeamPlayerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get recent team player params

func (*PublicGetRecentTeamPlayerParams) WithLimit

WithLimit adds the limit to the public get recent team player params

func (*PublicGetRecentTeamPlayerParams) WithNamespace

WithNamespace adds the namespace to the public get recent team player params

func (*PublicGetRecentTeamPlayerParams) WithTimeout

WithTimeout adds the timeout to the public get recent team player params

func (*PublicGetRecentTeamPlayerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetRecentTeamPlayerReader

type PublicGetRecentTeamPlayerReader struct {
	// contains filtered or unexported fields
}

PublicGetRecentTeamPlayerReader is a Reader for the PublicGetRecentTeamPlayer structure.

func (*PublicGetRecentTeamPlayerReader) ReadResponse

func (o *PublicGetRecentTeamPlayerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicGetRecentTeamPlayerUnauthorized

type PublicGetRecentTeamPlayerUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGetRecentTeamPlayerUnauthorized handles this case with default header values.

Unauthorized

func NewPublicGetRecentTeamPlayerUnauthorized

func NewPublicGetRecentTeamPlayerUnauthorized() *PublicGetRecentTeamPlayerUnauthorized

NewPublicGetRecentTeamPlayerUnauthorized creates a PublicGetRecentTeamPlayerUnauthorized with default headers values

func (*PublicGetRecentTeamPlayerUnauthorized) Error

func (*PublicGetRecentTeamPlayerUnauthorized) GetPayload

func (*PublicGetRecentTeamPlayerUnauthorized) ToJSONString

Jump to

Keyboard shortcuts

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