session

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddPlayerToSessionBadRequest added in v0.4.0

type AddPlayerToSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AddPlayerToSessionBadRequest handles this case with default header values.

malformed request

func NewAddPlayerToSessionBadRequest added in v0.4.0

func NewAddPlayerToSessionBadRequest() *AddPlayerToSessionBadRequest

NewAddPlayerToSessionBadRequest creates a AddPlayerToSessionBadRequest with default headers values

func (*AddPlayerToSessionBadRequest) Error added in v0.4.0

func (*AddPlayerToSessionBadRequest) GetPayload added in v0.4.0

type AddPlayerToSessionInternalServerError added in v0.4.0

type AddPlayerToSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AddPlayerToSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAddPlayerToSessionInternalServerError added in v0.4.0

func NewAddPlayerToSessionInternalServerError() *AddPlayerToSessionInternalServerError

NewAddPlayerToSessionInternalServerError creates a AddPlayerToSessionInternalServerError with default headers values

func (*AddPlayerToSessionInternalServerError) Error added in v0.4.0

func (*AddPlayerToSessionInternalServerError) GetPayload added in v0.4.0

type AddPlayerToSessionNotFound added in v0.4.0

type AddPlayerToSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AddPlayerToSessionNotFound handles this case with default header values.

session not found

func NewAddPlayerToSessionNotFound added in v0.4.0

func NewAddPlayerToSessionNotFound() *AddPlayerToSessionNotFound

NewAddPlayerToSessionNotFound creates a AddPlayerToSessionNotFound with default headers values

func (*AddPlayerToSessionNotFound) Error added in v0.4.0

func (*AddPlayerToSessionNotFound) GetPayload added in v0.4.0

type AddPlayerToSessionOK added in v0.4.0

type AddPlayerToSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsAddPlayerResponse
}

AddPlayerToSessionOK handles this case with default header values.

session updated

func NewAddPlayerToSessionOK added in v0.4.0

func NewAddPlayerToSessionOK() *AddPlayerToSessionOK

NewAddPlayerToSessionOK creates a AddPlayerToSessionOK with default headers values

func (*AddPlayerToSessionOK) Error added in v0.4.0

func (o *AddPlayerToSessionOK) Error() string

func (*AddPlayerToSessionOK) GetPayload added in v0.4.0

type AddPlayerToSessionParams added in v0.4.0

type AddPlayerToSessionParams struct {

	/*Body*/
	Body *sessionbrowserclientmodels.ModelsAddPlayerRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddPlayerToSessionParams contains all the parameters to send to the API endpoint for the add player to session operation typically these are written to a http.Request

func NewAddPlayerToSessionParams added in v0.4.0

func NewAddPlayerToSessionParams() *AddPlayerToSessionParams

NewAddPlayerToSessionParams creates a new AddPlayerToSessionParams object with the default values initialized.

func NewAddPlayerToSessionParamsWithContext added in v0.4.0

func NewAddPlayerToSessionParamsWithContext(ctx context.Context) *AddPlayerToSessionParams

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

func NewAddPlayerToSessionParamsWithHTTPClient added in v0.4.0

func NewAddPlayerToSessionParamsWithHTTPClient(client *http.Client) *AddPlayerToSessionParams

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

func NewAddPlayerToSessionParamsWithTimeout added in v0.4.0

func NewAddPlayerToSessionParamsWithTimeout(timeout time.Duration) *AddPlayerToSessionParams

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

func (*AddPlayerToSessionParams) SetBody added in v0.4.0

SetBody adds the body to the add player to session params

func (*AddPlayerToSessionParams) SetContext added in v0.4.0

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

SetContext adds the context to the add player to session params

func (*AddPlayerToSessionParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the add player to session params

func (*AddPlayerToSessionParams) SetNamespace added in v0.4.0

func (o *AddPlayerToSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the add player to session params

func (*AddPlayerToSessionParams) SetSessionID added in v0.4.0

func (o *AddPlayerToSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the add player to session params

func (*AddPlayerToSessionParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the add player to session params

func (*AddPlayerToSessionParams) WithBody added in v0.4.0

WithBody adds the body to the add player to session params

func (*AddPlayerToSessionParams) WithContext added in v0.4.0

WithContext adds the context to the add player to session params

func (*AddPlayerToSessionParams) WithHTTPClient added in v0.4.0

func (o *AddPlayerToSessionParams) WithHTTPClient(client *http.Client) *AddPlayerToSessionParams

WithHTTPClient adds the HTTPClient to the add player to session params

func (*AddPlayerToSessionParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the add player to session params

func (*AddPlayerToSessionParams) WithSessionID added in v0.4.0

func (o *AddPlayerToSessionParams) WithSessionID(sessionID string) *AddPlayerToSessionParams

WithSessionID adds the sessionID to the add player to session params

func (*AddPlayerToSessionParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the add player to session params

func (*AddPlayerToSessionParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type AddPlayerToSessionReader added in v0.4.0

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

AddPlayerToSessionReader is a Reader for the AddPlayerToSession structure.

func (*AddPlayerToSessionReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type AdminGetSessionInternalServerError added in v0.4.0

type AdminGetSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminGetSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetSessionInternalServerError added in v0.4.0

func NewAdminGetSessionInternalServerError() *AdminGetSessionInternalServerError

NewAdminGetSessionInternalServerError creates a AdminGetSessionInternalServerError with default headers values

func (*AdminGetSessionInternalServerError) Error added in v0.4.0

func (*AdminGetSessionInternalServerError) GetPayload added in v0.4.0

type AdminGetSessionNotFound added in v0.4.0

type AdminGetSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminGetSessionNotFound handles this case with default header values.

session not found

func NewAdminGetSessionNotFound added in v0.4.0

func NewAdminGetSessionNotFound() *AdminGetSessionNotFound

NewAdminGetSessionNotFound creates a AdminGetSessionNotFound with default headers values

func (*AdminGetSessionNotFound) Error added in v0.4.0

func (o *AdminGetSessionNotFound) Error() string

func (*AdminGetSessionNotFound) GetPayload added in v0.4.0

type AdminGetSessionOK added in v0.4.0

type AdminGetSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsAdminSessionResponse
}

AdminGetSessionOK handles this case with default header values.

session get

func NewAdminGetSessionOK added in v0.4.0

func NewAdminGetSessionOK() *AdminGetSessionOK

NewAdminGetSessionOK creates a AdminGetSessionOK with default headers values

func (*AdminGetSessionOK) Error added in v0.4.0

func (o *AdminGetSessionOK) Error() string

func (*AdminGetSessionOK) GetPayload added in v0.4.0

type AdminGetSessionParams added in v0.4.0

type AdminGetSessionParams struct {

	/*Namespace
	  namespace

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewAdminGetSessionParams added in v0.4.0

func NewAdminGetSessionParams() *AdminGetSessionParams

NewAdminGetSessionParams creates a new AdminGetSessionParams object with the default values initialized.

func NewAdminGetSessionParamsWithContext added in v0.4.0

func NewAdminGetSessionParamsWithContext(ctx context.Context) *AdminGetSessionParams

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

func NewAdminGetSessionParamsWithHTTPClient added in v0.4.0

func NewAdminGetSessionParamsWithHTTPClient(client *http.Client) *AdminGetSessionParams

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

func NewAdminGetSessionParamsWithTimeout added in v0.4.0

func NewAdminGetSessionParamsWithTimeout(timeout time.Duration) *AdminGetSessionParams

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

func (*AdminGetSessionParams) SetContext added in v0.4.0

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

SetContext adds the context to the admin get session params

func (*AdminGetSessionParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the admin get session params

func (*AdminGetSessionParams) SetNamespace added in v0.4.0

func (o *AdminGetSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get session params

func (*AdminGetSessionParams) SetSessionID added in v0.4.0

func (o *AdminGetSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the admin get session params

func (*AdminGetSessionParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the admin get session params

func (*AdminGetSessionParams) WithContext added in v0.4.0

WithContext adds the context to the admin get session params

func (*AdminGetSessionParams) WithHTTPClient added in v0.4.0

func (o *AdminGetSessionParams) WithHTTPClient(client *http.Client) *AdminGetSessionParams

WithHTTPClient adds the HTTPClient to the admin get session params

func (*AdminGetSessionParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the admin get session params

func (*AdminGetSessionParams) WithSessionID added in v0.4.0

func (o *AdminGetSessionParams) WithSessionID(sessionID string) *AdminGetSessionParams

WithSessionID adds the sessionID to the admin get session params

func (*AdminGetSessionParams) WithTimeout added in v0.4.0

func (o *AdminGetSessionParams) WithTimeout(timeout time.Duration) *AdminGetSessionParams

WithTimeout adds the timeout to the admin get session params

func (*AdminGetSessionParams) WriteToRequest added in v0.4.0

func (o *AdminGetSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AdminGetSessionReader added in v0.4.0

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

AdminGetSessionReader is a Reader for the AdminGetSession structure.

func (*AdminGetSessionReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type Client

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

Client for session API

func (*Client) AddPlayerToSession added in v0.4.0

AddPlayerToSession adds player to game session

Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [UPDATE]

Required scope: social

Add player to game session

func (*Client) AddPlayerToSessionShort added in v0.8.0

func (a *Client) AddPlayerToSessionShort(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, error)

func (*Client) AdminGetSession added in v0.4.0

AdminGetSession admins get specified session by session ID

Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]

Required scope: social

Get the session by session ID for admin user

func (*Client) AdminGetSessionShort added in v0.8.0

func (a *Client) AdminGetSessionShort(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, error)

func (*Client) CreateSession

CreateSession registers a new game session

Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [CREATE]

Required scope: social

This end point intended to be called directly by P2P game client host or by DSMC

func (*Client) CreateSessionShort added in v0.8.0

func (a *Client) CreateSessionShort(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, error)

func (*Client) DeleteSession

DeleteSession deletes specified session by session ID

Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [DELETE]

Required scope: social

Delete the session by session ID

func (*Client) DeleteSessionLocalDS added in v0.4.0

DeleteSessionLocalDS onlies use for local d s entry will error when calling non local d s entry

Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [DELETE]

Required scope: social

Only use for local DS entry, will error when calling non local DS entry

func (*Client) DeleteSessionLocalDSShort added in v0.8.0

func (a *Client) DeleteSessionLocalDSShort(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, error)

func (*Client) DeleteSessionShort added in v0.8.0

func (a *Client) DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, error)

func (*Client) GetActiveCustomGameSessions added in v0.4.0

GetActiveCustomGameSessions gets all active session for custom game this return only dedicated session type

Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]

Required scope: social

func (*Client) GetActiveCustomGameSessionsShort added in v0.8.0

func (a *Client) GetActiveCustomGameSessionsShort(params *GetActiveCustomGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveCustomGameSessionsOK, error)

func (*Client) GetActiveMatchmakingGameSessions added in v0.4.0

GetActiveMatchmakingGameSessions gets all active session for matchmaking game this return only dedicated session type

Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]

Required scope: social

func (*Client) GetActiveMatchmakingGameSessionsShort added in v0.8.0

func (a *Client) GetActiveMatchmakingGameSessionsShort(params *GetActiveMatchmakingGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveMatchmakingGameSessionsOK, error)

func (*Client) GetRecentPlayer added in v0.4.0

GetRecentPlayer queries recent players with given user id

Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:RECENTPLAYER [READ]

Required scope: social

Query recent player by user ID

func (*Client) GetRecentPlayerShort added in v0.8.0

func (a *Client) GetRecentPlayerShort(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, error)

func (*Client) GetSession

GetSession gets specified session by session ID

Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]

Required scope: social

Get the session by session ID

func (*Client) GetSessionByUserIDs

GetSessionByUserIDs queries game sessions by comma separated user ids

Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]

Required scope: social

Query game sessions by comma separated user ids

func (*Client) GetSessionByUserIDsShort added in v0.8.0

func (a *Client) GetSessionByUserIDsShort(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, error)

func (*Client) GetSessionShort added in v0.8.0

func (a *Client) GetSessionShort(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, error)

func (*Client) GetTotalActiveSession added in v0.4.0

GetTotalActiveSession gets all active session

Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]

Required scope: social

func (*Client) GetTotalActiveSessionShort added in v0.8.0

func (a *Client) GetTotalActiveSessionShort(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, error)

func (*Client) JoinSession added in v0.4.0

JoinSession joins specified session by session ID

Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]

Required scope: social

Join the specified session by session ID. Possible the game required a password to join

func (*Client) JoinSessionShort added in v0.8.0

func (a *Client) JoinSessionShort(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, error)

func (*Client) QuerySession

QuerySession queries to available game session

Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]

Required scope: social

Query available game session

func (*Client) QuerySessionShort added in v0.8.0

func (a *Client) QuerySessionShort(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, error)

func (*Client) RemovePlayerFromSession added in v0.4.0

RemovePlayerFromSession removes player from game session

Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [UPDATE]

Required scope: social

Remove player from game session

func (*Client) RemovePlayerFromSessionShort added in v0.8.0

func (a *Client) RemovePlayerFromSessionShort(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateSession

UpdateSession updates session

Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [UPDATE]

Required scope: social

Update game session, used to update the current player

func (*Client) UpdateSessionShort added in v0.8.0

func (a *Client) UpdateSessionShort(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, error)

type ClientService

type ClientService interface {
	AddPlayerToSession(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, *AddPlayerToSessionBadRequest, *AddPlayerToSessionNotFound, *AddPlayerToSessionInternalServerError, error)
	AddPlayerToSessionShort(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, error)
	AdminGetSession(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, *AdminGetSessionNotFound, *AdminGetSessionInternalServerError, error)
	AdminGetSessionShort(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, error)
	CreateSession(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, *CreateSessionBadRequest, *CreateSessionForbidden, *CreateSessionConflict, *CreateSessionInternalServerError, error)
	CreateSessionShort(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, error)
	DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, *DeleteSessionBadRequest, *DeleteSessionNotFound, *DeleteSessionInternalServerError, error)
	DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, error)
	DeleteSessionLocalDS(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, *DeleteSessionLocalDSBadRequest, *DeleteSessionLocalDSNotFound, *DeleteSessionLocalDSInternalServerError, error)
	DeleteSessionLocalDSShort(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, error)
	GetActiveCustomGameSessions(params *GetActiveCustomGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveCustomGameSessionsOK, *GetActiveCustomGameSessionsBadRequest, *GetActiveCustomGameSessionsInternalServerError, error)
	GetActiveCustomGameSessionsShort(params *GetActiveCustomGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveCustomGameSessionsOK, error)
	GetActiveMatchmakingGameSessions(params *GetActiveMatchmakingGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveMatchmakingGameSessionsOK, *GetActiveMatchmakingGameSessionsBadRequest, *GetActiveMatchmakingGameSessionsInternalServerError, error)
	GetActiveMatchmakingGameSessionsShort(params *GetActiveMatchmakingGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveMatchmakingGameSessionsOK, error)
	GetRecentPlayer(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, *GetRecentPlayerBadRequest, *GetRecentPlayerInternalServerError, error)
	GetRecentPlayerShort(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, error)
	GetSession(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, *GetSessionNotFound, *GetSessionInternalServerError, error)
	GetSessionShort(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, error)
	GetSessionByUserIDs(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, *GetSessionByUserIDsBadRequest, *GetSessionByUserIDsInternalServerError, error)
	GetSessionByUserIDsShort(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, error)
	GetTotalActiveSession(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, *GetTotalActiveSessionBadRequest, *GetTotalActiveSessionInternalServerError, error)
	GetTotalActiveSessionShort(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, error)
	JoinSession(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, *JoinSessionBadRequest, *JoinSessionForbidden, *JoinSessionNotFound, *JoinSessionInternalServerError, error)
	JoinSessionShort(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, error)
	QuerySession(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, *QuerySessionBadRequest, *QuerySessionInternalServerError, error)
	QuerySessionShort(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, error)
	RemovePlayerFromSession(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, *RemovePlayerFromSessionBadRequest, *RemovePlayerFromSessionNotFound, *RemovePlayerFromSessionInternalServerError, error)
	RemovePlayerFromSessionShort(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, error)
	UpdateSession(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, *UpdateSessionBadRequest, *UpdateSessionNotFound, *UpdateSessionInternalServerError, error)
	UpdateSessionShort(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, 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 session API client.

type CreateSessionBadRequest

type CreateSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

CreateSessionBadRequest handles this case with default header values.

malformed request

func NewCreateSessionBadRequest

func NewCreateSessionBadRequest() *CreateSessionBadRequest

NewCreateSessionBadRequest creates a CreateSessionBadRequest with default headers values

func (*CreateSessionBadRequest) Error

func (o *CreateSessionBadRequest) Error() string

func (*CreateSessionBadRequest) GetPayload

type CreateSessionConflict

type CreateSessionConflict struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

CreateSessionConflict handles this case with default header values.

session already exists

func NewCreateSessionConflict

func NewCreateSessionConflict() *CreateSessionConflict

NewCreateSessionConflict creates a CreateSessionConflict with default headers values

func (*CreateSessionConflict) Error

func (o *CreateSessionConflict) Error() string

func (*CreateSessionConflict) GetPayload

type CreateSessionForbidden added in v0.7.0

type CreateSessionForbidden struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

CreateSessionForbidden handles this case with default header values.

user is banned from creating session

func NewCreateSessionForbidden added in v0.7.0

func NewCreateSessionForbidden() *CreateSessionForbidden

NewCreateSessionForbidden creates a CreateSessionForbidden with default headers values

func (*CreateSessionForbidden) Error added in v0.7.0

func (o *CreateSessionForbidden) Error() string

func (*CreateSessionForbidden) GetPayload added in v0.7.0

type CreateSessionInternalServerError

type CreateSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

CreateSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateSessionInternalServerError

func NewCreateSessionInternalServerError() *CreateSessionInternalServerError

NewCreateSessionInternalServerError creates a CreateSessionInternalServerError with default headers values

func (*CreateSessionInternalServerError) Error

func (*CreateSessionInternalServerError) GetPayload

type CreateSessionOK

type CreateSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionResponse
}

CreateSessionOK handles this case with default header values.

session created

func NewCreateSessionOK

func NewCreateSessionOK() *CreateSessionOK

NewCreateSessionOK creates a CreateSessionOK with default headers values

func (*CreateSessionOK) Error

func (o *CreateSessionOK) Error() string

func (*CreateSessionOK) GetPayload

type CreateSessionParams

type CreateSessionParams struct {

	/*Body*/
	Body *sessionbrowserclientmodels.ModelsCreateSessionRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateSessionParams contains all the parameters to send to the API endpoint for the create session operation typically these are written to a http.Request

func NewCreateSessionParams

func NewCreateSessionParams() *CreateSessionParams

NewCreateSessionParams creates a new CreateSessionParams object with the default values initialized.

func NewCreateSessionParamsWithContext

func NewCreateSessionParamsWithContext(ctx context.Context) *CreateSessionParams

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

func NewCreateSessionParamsWithHTTPClient

func NewCreateSessionParamsWithHTTPClient(client *http.Client) *CreateSessionParams

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

func NewCreateSessionParamsWithTimeout

func NewCreateSessionParamsWithTimeout(timeout time.Duration) *CreateSessionParams

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

func (*CreateSessionParams) SetBody

SetBody adds the body to the create session params

func (*CreateSessionParams) SetContext

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

SetContext adds the context to the create session params

func (*CreateSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create session params

func (*CreateSessionParams) SetNamespace

func (o *CreateSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create session params

func (*CreateSessionParams) SetTimeout

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

SetTimeout adds the timeout to the create session params

func (*CreateSessionParams) WithBody

WithBody adds the body to the create session params

func (*CreateSessionParams) WithContext

WithContext adds the context to the create session params

func (*CreateSessionParams) WithHTTPClient

func (o *CreateSessionParams) WithHTTPClient(client *http.Client) *CreateSessionParams

WithHTTPClient adds the HTTPClient to the create session params

func (*CreateSessionParams) WithNamespace

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

WithNamespace adds the namespace to the create session params

func (*CreateSessionParams) WithTimeout

func (o *CreateSessionParams) WithTimeout(timeout time.Duration) *CreateSessionParams

WithTimeout adds the timeout to the create session params

func (*CreateSessionParams) WriteToRequest

func (o *CreateSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateSessionReader

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

CreateSessionReader is a Reader for the CreateSession structure.

func (*CreateSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSessionBadRequest

type DeleteSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionBadRequest handles this case with default header values.

malformed request

func NewDeleteSessionBadRequest

func NewDeleteSessionBadRequest() *DeleteSessionBadRequest

NewDeleteSessionBadRequest creates a DeleteSessionBadRequest with default headers values

func (*DeleteSessionBadRequest) Error

func (o *DeleteSessionBadRequest) Error() string

func (*DeleteSessionBadRequest) GetPayload

type DeleteSessionInternalServerError

type DeleteSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteSessionInternalServerError

func NewDeleteSessionInternalServerError() *DeleteSessionInternalServerError

NewDeleteSessionInternalServerError creates a DeleteSessionInternalServerError with default headers values

func (*DeleteSessionInternalServerError) Error

func (*DeleteSessionInternalServerError) GetPayload

type DeleteSessionLocalDSBadRequest added in v0.4.0

type DeleteSessionLocalDSBadRequest struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionLocalDSBadRequest handles this case with default header values.

malformed request

func NewDeleteSessionLocalDSBadRequest added in v0.4.0

func NewDeleteSessionLocalDSBadRequest() *DeleteSessionLocalDSBadRequest

NewDeleteSessionLocalDSBadRequest creates a DeleteSessionLocalDSBadRequest with default headers values

func (*DeleteSessionLocalDSBadRequest) Error added in v0.4.0

func (*DeleteSessionLocalDSBadRequest) GetPayload added in v0.4.0

type DeleteSessionLocalDSInternalServerError added in v0.4.0

type DeleteSessionLocalDSInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionLocalDSInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteSessionLocalDSInternalServerError added in v0.4.0

func NewDeleteSessionLocalDSInternalServerError() *DeleteSessionLocalDSInternalServerError

NewDeleteSessionLocalDSInternalServerError creates a DeleteSessionLocalDSInternalServerError with default headers values

func (*DeleteSessionLocalDSInternalServerError) Error added in v0.4.0

func (*DeleteSessionLocalDSInternalServerError) GetPayload added in v0.4.0

type DeleteSessionLocalDSNotFound added in v0.4.0

type DeleteSessionLocalDSNotFound struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionLocalDSNotFound handles this case with default header values.

session not found

func NewDeleteSessionLocalDSNotFound added in v0.4.0

func NewDeleteSessionLocalDSNotFound() *DeleteSessionLocalDSNotFound

NewDeleteSessionLocalDSNotFound creates a DeleteSessionLocalDSNotFound with default headers values

func (*DeleteSessionLocalDSNotFound) Error added in v0.4.0

func (*DeleteSessionLocalDSNotFound) GetPayload added in v0.4.0

type DeleteSessionLocalDSOK added in v0.4.0

type DeleteSessionLocalDSOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionResponse
}

DeleteSessionLocalDSOK handles this case with default header values.

session get

func NewDeleteSessionLocalDSOK added in v0.4.0

func NewDeleteSessionLocalDSOK() *DeleteSessionLocalDSOK

NewDeleteSessionLocalDSOK creates a DeleteSessionLocalDSOK with default headers values

func (*DeleteSessionLocalDSOK) Error added in v0.4.0

func (o *DeleteSessionLocalDSOK) Error() string

func (*DeleteSessionLocalDSOK) GetPayload added in v0.4.0

type DeleteSessionLocalDSParams added in v0.4.0

type DeleteSessionLocalDSParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteSessionLocalDSParams contains all the parameters to send to the API endpoint for the delete session local d s operation typically these are written to a http.Request

func NewDeleteSessionLocalDSParams added in v0.4.0

func NewDeleteSessionLocalDSParams() *DeleteSessionLocalDSParams

NewDeleteSessionLocalDSParams creates a new DeleteSessionLocalDSParams object with the default values initialized.

func NewDeleteSessionLocalDSParamsWithContext added in v0.4.0

func NewDeleteSessionLocalDSParamsWithContext(ctx context.Context) *DeleteSessionLocalDSParams

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

func NewDeleteSessionLocalDSParamsWithHTTPClient added in v0.4.0

func NewDeleteSessionLocalDSParamsWithHTTPClient(client *http.Client) *DeleteSessionLocalDSParams

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

func NewDeleteSessionLocalDSParamsWithTimeout added in v0.4.0

func NewDeleteSessionLocalDSParamsWithTimeout(timeout time.Duration) *DeleteSessionLocalDSParams

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

func (*DeleteSessionLocalDSParams) SetContext added in v0.4.0

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

SetContext adds the context to the delete session local d s params

func (*DeleteSessionLocalDSParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the delete session local d s params

func (*DeleteSessionLocalDSParams) SetNamespace added in v0.4.0

func (o *DeleteSessionLocalDSParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete session local d s params

func (*DeleteSessionLocalDSParams) SetSessionID added in v0.4.0

func (o *DeleteSessionLocalDSParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the delete session local d s params

func (*DeleteSessionLocalDSParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the delete session local d s params

func (*DeleteSessionLocalDSParams) WithContext added in v0.4.0

WithContext adds the context to the delete session local d s params

func (*DeleteSessionLocalDSParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the delete session local d s params

func (*DeleteSessionLocalDSParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the delete session local d s params

func (*DeleteSessionLocalDSParams) WithSessionID added in v0.4.0

func (o *DeleteSessionLocalDSParams) WithSessionID(sessionID string) *DeleteSessionLocalDSParams

WithSessionID adds the sessionID to the delete session local d s params

func (*DeleteSessionLocalDSParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the delete session local d s params

func (*DeleteSessionLocalDSParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type DeleteSessionLocalDSReader added in v0.4.0

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

DeleteSessionLocalDSReader is a Reader for the DeleteSessionLocalDS structure.

func (*DeleteSessionLocalDSReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type DeleteSessionNotFound

type DeleteSessionNotFound struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionNotFound handles this case with default header values.

session not found

func NewDeleteSessionNotFound

func NewDeleteSessionNotFound() *DeleteSessionNotFound

NewDeleteSessionNotFound creates a DeleteSessionNotFound with default headers values

func (*DeleteSessionNotFound) Error

func (o *DeleteSessionNotFound) Error() string

func (*DeleteSessionNotFound) GetPayload

type DeleteSessionOK

type DeleteSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionResponse
}

DeleteSessionOK handles this case with default header values.

session get

func NewDeleteSessionOK

func NewDeleteSessionOK() *DeleteSessionOK

NewDeleteSessionOK creates a DeleteSessionOK with default headers values

func (*DeleteSessionOK) Error

func (o *DeleteSessionOK) Error() string

func (*DeleteSessionOK) GetPayload

type DeleteSessionParams

type DeleteSessionParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteSessionParams contains all the parameters to send to the API endpoint for the delete session operation typically these are written to a http.Request

func NewDeleteSessionParams

func NewDeleteSessionParams() *DeleteSessionParams

NewDeleteSessionParams creates a new DeleteSessionParams object with the default values initialized.

func NewDeleteSessionParamsWithContext

func NewDeleteSessionParamsWithContext(ctx context.Context) *DeleteSessionParams

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

func NewDeleteSessionParamsWithHTTPClient

func NewDeleteSessionParamsWithHTTPClient(client *http.Client) *DeleteSessionParams

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

func NewDeleteSessionParamsWithTimeout

func NewDeleteSessionParamsWithTimeout(timeout time.Duration) *DeleteSessionParams

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

func (*DeleteSessionParams) SetContext

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

SetContext adds the context to the delete session params

func (*DeleteSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete session params

func (*DeleteSessionParams) SetNamespace

func (o *DeleteSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete session params

func (*DeleteSessionParams) SetSessionID

func (o *DeleteSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the delete session params

func (*DeleteSessionParams) SetTimeout

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

SetTimeout adds the timeout to the delete session params

func (*DeleteSessionParams) WithContext

WithContext adds the context to the delete session params

func (*DeleteSessionParams) WithHTTPClient

func (o *DeleteSessionParams) WithHTTPClient(client *http.Client) *DeleteSessionParams

WithHTTPClient adds the HTTPClient to the delete session params

func (*DeleteSessionParams) WithNamespace

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

WithNamespace adds the namespace to the delete session params

func (*DeleteSessionParams) WithSessionID

func (o *DeleteSessionParams) WithSessionID(sessionID string) *DeleteSessionParams

WithSessionID adds the sessionID to the delete session params

func (*DeleteSessionParams) WithTimeout

func (o *DeleteSessionParams) WithTimeout(timeout time.Duration) *DeleteSessionParams

WithTimeout adds the timeout to the delete session params

func (*DeleteSessionParams) WriteToRequest

func (o *DeleteSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteSessionReader

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

DeleteSessionReader is a Reader for the DeleteSession structure.

func (*DeleteSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetActiveCustomGameSessionsBadRequest added in v0.4.0

type GetActiveCustomGameSessionsBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetActiveCustomGameSessionsBadRequest handles this case with default header values.

malformed request

func NewGetActiveCustomGameSessionsBadRequest added in v0.4.0

func NewGetActiveCustomGameSessionsBadRequest() *GetActiveCustomGameSessionsBadRequest

NewGetActiveCustomGameSessionsBadRequest creates a GetActiveCustomGameSessionsBadRequest with default headers values

func (*GetActiveCustomGameSessionsBadRequest) Error added in v0.4.0

func (*GetActiveCustomGameSessionsBadRequest) GetPayload added in v0.4.0

type GetActiveCustomGameSessionsInternalServerError added in v0.4.0

type GetActiveCustomGameSessionsInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetActiveCustomGameSessionsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetActiveCustomGameSessionsInternalServerError added in v0.4.0

func NewGetActiveCustomGameSessionsInternalServerError() *GetActiveCustomGameSessionsInternalServerError

NewGetActiveCustomGameSessionsInternalServerError creates a GetActiveCustomGameSessionsInternalServerError with default headers values

func (*GetActiveCustomGameSessionsInternalServerError) Error added in v0.4.0

func (*GetActiveCustomGameSessionsInternalServerError) GetPayload added in v0.4.0

type GetActiveCustomGameSessionsOK added in v0.4.0

type GetActiveCustomGameSessionsOK struct {
	Payload *sessionbrowserclientmodels.ModelsActiveCustomGameResponse
}

GetActiveCustomGameSessionsOK handles this case with default header values.

custom game session list

func NewGetActiveCustomGameSessionsOK added in v0.4.0

func NewGetActiveCustomGameSessionsOK() *GetActiveCustomGameSessionsOK

NewGetActiveCustomGameSessionsOK creates a GetActiveCustomGameSessionsOK with default headers values

func (*GetActiveCustomGameSessionsOK) Error added in v0.4.0

func (*GetActiveCustomGameSessionsOK) GetPayload added in v0.4.0

type GetActiveCustomGameSessionsParams added in v0.4.0

type GetActiveCustomGameSessionsParams struct {

	/*Namespace
	  namespace

	*/
	Namespace string
	/*ServerRegion
	  server region

	*/
	ServerRegion *string
	/*SessionID
	  game session ID

	*/
	SessionID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetActiveCustomGameSessionsParams contains all the parameters to send to the API endpoint for the get active custom game sessions operation typically these are written to a http.Request

func NewGetActiveCustomGameSessionsParams added in v0.4.0

func NewGetActiveCustomGameSessionsParams() *GetActiveCustomGameSessionsParams

NewGetActiveCustomGameSessionsParams creates a new GetActiveCustomGameSessionsParams object with the default values initialized.

func NewGetActiveCustomGameSessionsParamsWithContext added in v0.4.0

func NewGetActiveCustomGameSessionsParamsWithContext(ctx context.Context) *GetActiveCustomGameSessionsParams

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

func NewGetActiveCustomGameSessionsParamsWithHTTPClient added in v0.4.0

func NewGetActiveCustomGameSessionsParamsWithHTTPClient(client *http.Client) *GetActiveCustomGameSessionsParams

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

func NewGetActiveCustomGameSessionsParamsWithTimeout added in v0.4.0

func NewGetActiveCustomGameSessionsParamsWithTimeout(timeout time.Duration) *GetActiveCustomGameSessionsParams

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

func (*GetActiveCustomGameSessionsParams) SetContext added in v0.4.0

SetContext adds the context to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) SetNamespace added in v0.4.0

func (o *GetActiveCustomGameSessionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) SetServerRegion added in v0.4.0

func (o *GetActiveCustomGameSessionsParams) SetServerRegion(serverRegion *string)

SetServerRegion adds the serverRegion to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) SetSessionID added in v0.4.0

func (o *GetActiveCustomGameSessionsParams) SetSessionID(sessionID *string)

SetSessionID adds the sessionId to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) WithContext added in v0.4.0

WithContext adds the context to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) WithNamespace added in v0.4.0

WithNamespace adds the namespace to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) WithServerRegion added in v0.4.0

WithServerRegion adds the serverRegion to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) WithSessionID added in v0.4.0

WithSessionID adds the sessionID to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetActiveCustomGameSessionsReader added in v0.4.0

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

GetActiveCustomGameSessionsReader is a Reader for the GetActiveCustomGameSessions structure.

func (*GetActiveCustomGameSessionsReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type GetActiveMatchmakingGameSessionsBadRequest added in v0.4.0

type GetActiveMatchmakingGameSessionsBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetActiveMatchmakingGameSessionsBadRequest handles this case with default header values.

malformed request

func NewGetActiveMatchmakingGameSessionsBadRequest added in v0.4.0

func NewGetActiveMatchmakingGameSessionsBadRequest() *GetActiveMatchmakingGameSessionsBadRequest

NewGetActiveMatchmakingGameSessionsBadRequest creates a GetActiveMatchmakingGameSessionsBadRequest with default headers values

func (*GetActiveMatchmakingGameSessionsBadRequest) Error added in v0.4.0

func (*GetActiveMatchmakingGameSessionsBadRequest) GetPayload added in v0.4.0

type GetActiveMatchmakingGameSessionsInternalServerError added in v0.4.0

type GetActiveMatchmakingGameSessionsInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetActiveMatchmakingGameSessionsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetActiveMatchmakingGameSessionsInternalServerError added in v0.4.0

func NewGetActiveMatchmakingGameSessionsInternalServerError() *GetActiveMatchmakingGameSessionsInternalServerError

NewGetActiveMatchmakingGameSessionsInternalServerError creates a GetActiveMatchmakingGameSessionsInternalServerError with default headers values

func (*GetActiveMatchmakingGameSessionsInternalServerError) Error added in v0.4.0

func (*GetActiveMatchmakingGameSessionsInternalServerError) GetPayload added in v0.4.0

type GetActiveMatchmakingGameSessionsOK added in v0.4.0

type GetActiveMatchmakingGameSessionsOK struct {
	Payload *sessionbrowserclientmodels.ModelsActiveMatchmakingGameResponse
}

GetActiveMatchmakingGameSessionsOK handles this case with default header values.

matchmaking game session list

func NewGetActiveMatchmakingGameSessionsOK added in v0.4.0

func NewGetActiveMatchmakingGameSessionsOK() *GetActiveMatchmakingGameSessionsOK

NewGetActiveMatchmakingGameSessionsOK creates a GetActiveMatchmakingGameSessionsOK with default headers values

func (*GetActiveMatchmakingGameSessionsOK) Error added in v0.4.0

func (*GetActiveMatchmakingGameSessionsOK) GetPayload added in v0.4.0

type GetActiveMatchmakingGameSessionsParams added in v0.4.0

type GetActiveMatchmakingGameSessionsParams struct {

	/*MatchID
	  matchmaking ID

	*/
	MatchID *string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*ServerRegion
	  server region

	*/
	ServerRegion *string
	/*SessionID
	  game session ID

	*/
	SessionID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetActiveMatchmakingGameSessionsParams contains all the parameters to send to the API endpoint for the get active matchmaking game sessions operation typically these are written to a http.Request

func NewGetActiveMatchmakingGameSessionsParams added in v0.4.0

func NewGetActiveMatchmakingGameSessionsParams() *GetActiveMatchmakingGameSessionsParams

NewGetActiveMatchmakingGameSessionsParams creates a new GetActiveMatchmakingGameSessionsParams object with the default values initialized.

func NewGetActiveMatchmakingGameSessionsParamsWithContext added in v0.4.0

func NewGetActiveMatchmakingGameSessionsParamsWithContext(ctx context.Context) *GetActiveMatchmakingGameSessionsParams

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

func NewGetActiveMatchmakingGameSessionsParamsWithHTTPClient added in v0.4.0

func NewGetActiveMatchmakingGameSessionsParamsWithHTTPClient(client *http.Client) *GetActiveMatchmakingGameSessionsParams

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

func NewGetActiveMatchmakingGameSessionsParamsWithTimeout added in v0.4.0

func NewGetActiveMatchmakingGameSessionsParamsWithTimeout(timeout time.Duration) *GetActiveMatchmakingGameSessionsParams

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

func (*GetActiveMatchmakingGameSessionsParams) SetContext added in v0.4.0

SetContext adds the context to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) SetMatchID added in v0.4.0

func (o *GetActiveMatchmakingGameSessionsParams) SetMatchID(matchID *string)

SetMatchID adds the matchId to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) SetNamespace added in v0.4.0

func (o *GetActiveMatchmakingGameSessionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) SetServerRegion added in v0.4.0

func (o *GetActiveMatchmakingGameSessionsParams) SetServerRegion(serverRegion *string)

SetServerRegion adds the serverRegion to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) SetSessionID added in v0.4.0

func (o *GetActiveMatchmakingGameSessionsParams) SetSessionID(sessionID *string)

SetSessionID adds the sessionId to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) WithContext added in v0.4.0

WithContext adds the context to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) WithMatchID added in v0.4.0

WithMatchID adds the matchID to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) WithNamespace added in v0.4.0

WithNamespace adds the namespace to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) WithServerRegion added in v0.4.0

WithServerRegion adds the serverRegion to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) WithSessionID added in v0.4.0

WithSessionID adds the sessionID to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetActiveMatchmakingGameSessionsReader added in v0.4.0

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

GetActiveMatchmakingGameSessionsReader is a Reader for the GetActiveMatchmakingGameSessions structure.

func (*GetActiveMatchmakingGameSessionsReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type GetRecentPlayerBadRequest added in v0.4.0

type GetRecentPlayerBadRequest struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

GetRecentPlayerBadRequest handles this case with default header values.

malformed request

func NewGetRecentPlayerBadRequest added in v0.4.0

func NewGetRecentPlayerBadRequest() *GetRecentPlayerBadRequest

NewGetRecentPlayerBadRequest creates a GetRecentPlayerBadRequest with default headers values

func (*GetRecentPlayerBadRequest) Error added in v0.4.0

func (o *GetRecentPlayerBadRequest) Error() string

func (*GetRecentPlayerBadRequest) GetPayload added in v0.4.0

type GetRecentPlayerInternalServerError added in v0.4.0

type GetRecentPlayerInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

GetRecentPlayerInternalServerError handles this case with default header values.

Internal Server Error

func NewGetRecentPlayerInternalServerError added in v0.4.0

func NewGetRecentPlayerInternalServerError() *GetRecentPlayerInternalServerError

NewGetRecentPlayerInternalServerError creates a GetRecentPlayerInternalServerError with default headers values

func (*GetRecentPlayerInternalServerError) Error added in v0.4.0

func (*GetRecentPlayerInternalServerError) GetPayload added in v0.4.0

type GetRecentPlayerOK added in v0.4.0

type GetRecentPlayerOK struct {
	Payload *sessionbrowserclientmodels.ModelsRecentPlayerQueryResponse
}

GetRecentPlayerOK handles this case with default header values.

recent player get

func NewGetRecentPlayerOK added in v0.4.0

func NewGetRecentPlayerOK() *GetRecentPlayerOK

NewGetRecentPlayerOK creates a GetRecentPlayerOK with default headers values

func (*GetRecentPlayerOK) Error added in v0.4.0

func (o *GetRecentPlayerOK) Error() string

func (*GetRecentPlayerOK) GetPayload added in v0.4.0

type GetRecentPlayerParams added in v0.4.0

type GetRecentPlayerParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewGetRecentPlayerParams added in v0.4.0

func NewGetRecentPlayerParams() *GetRecentPlayerParams

NewGetRecentPlayerParams creates a new GetRecentPlayerParams object with the default values initialized.

func NewGetRecentPlayerParamsWithContext added in v0.4.0

func NewGetRecentPlayerParamsWithContext(ctx context.Context) *GetRecentPlayerParams

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

func NewGetRecentPlayerParamsWithHTTPClient added in v0.4.0

func NewGetRecentPlayerParamsWithHTTPClient(client *http.Client) *GetRecentPlayerParams

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

func NewGetRecentPlayerParamsWithTimeout added in v0.4.0

func NewGetRecentPlayerParamsWithTimeout(timeout time.Duration) *GetRecentPlayerParams

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

func (*GetRecentPlayerParams) SetContext added in v0.4.0

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

SetContext adds the context to the get recent player params

func (*GetRecentPlayerParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the get recent player params

func (*GetRecentPlayerParams) SetNamespace added in v0.4.0

func (o *GetRecentPlayerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get recent player params

func (*GetRecentPlayerParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the get recent player params

func (*GetRecentPlayerParams) SetUserID added in v0.4.0

func (o *GetRecentPlayerParams) SetUserID(userID string)

SetUserID adds the userId to the get recent player params

func (*GetRecentPlayerParams) WithContext added in v0.4.0

WithContext adds the context to the get recent player params

func (*GetRecentPlayerParams) WithHTTPClient added in v0.4.0

func (o *GetRecentPlayerParams) WithHTTPClient(client *http.Client) *GetRecentPlayerParams

WithHTTPClient adds the HTTPClient to the get recent player params

func (*GetRecentPlayerParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the get recent player params

func (*GetRecentPlayerParams) WithTimeout added in v0.4.0

func (o *GetRecentPlayerParams) WithTimeout(timeout time.Duration) *GetRecentPlayerParams

WithTimeout adds the timeout to the get recent player params

func (*GetRecentPlayerParams) WithUserID added in v0.4.0

func (o *GetRecentPlayerParams) WithUserID(userID string) *GetRecentPlayerParams

WithUserID adds the userID to the get recent player params

func (*GetRecentPlayerParams) WriteToRequest added in v0.4.0

func (o *GetRecentPlayerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRecentPlayerReader added in v0.4.0

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

GetRecentPlayerReader is a Reader for the GetRecentPlayer structure.

func (*GetRecentPlayerReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type GetSessionByUserIDsBadRequest

type GetSessionByUserIDsBadRequest struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

GetSessionByUserIDsBadRequest handles this case with default header values.

malformed request

func NewGetSessionByUserIDsBadRequest

func NewGetSessionByUserIDsBadRequest() *GetSessionByUserIDsBadRequest

NewGetSessionByUserIDsBadRequest creates a GetSessionByUserIDsBadRequest with default headers values

func (*GetSessionByUserIDsBadRequest) Error

func (*GetSessionByUserIDsBadRequest) GetPayload

type GetSessionByUserIDsInternalServerError

type GetSessionByUserIDsInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

GetSessionByUserIDsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetSessionByUserIDsInternalServerError

func NewGetSessionByUserIDsInternalServerError() *GetSessionByUserIDsInternalServerError

NewGetSessionByUserIDsInternalServerError creates a GetSessionByUserIDsInternalServerError with default headers values

func (*GetSessionByUserIDsInternalServerError) Error

func (*GetSessionByUserIDsInternalServerError) GetPayload

type GetSessionByUserIDsOK

type GetSessionByUserIDsOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionByUserIDsResponse
}

GetSessionByUserIDsOK handles this case with default header values.

session get

func NewGetSessionByUserIDsOK

func NewGetSessionByUserIDsOK() *GetSessionByUserIDsOK

NewGetSessionByUserIDsOK creates a GetSessionByUserIDsOK with default headers values

func (*GetSessionByUserIDsOK) Error

func (o *GetSessionByUserIDsOK) Error() string

func (*GetSessionByUserIDsOK) GetPayload

type GetSessionByUserIDsParams

type GetSessionByUserIDsParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserIds
	  comma separated user ids

	*/
	UserIds string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSessionByUserIDsParams contains all the parameters to send to the API endpoint for the get session by user i ds operation typically these are written to a http.Request

func NewGetSessionByUserIDsParams

func NewGetSessionByUserIDsParams() *GetSessionByUserIDsParams

NewGetSessionByUserIDsParams creates a new GetSessionByUserIDsParams object with the default values initialized.

func NewGetSessionByUserIDsParamsWithContext

func NewGetSessionByUserIDsParamsWithContext(ctx context.Context) *GetSessionByUserIDsParams

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

func NewGetSessionByUserIDsParamsWithHTTPClient

func NewGetSessionByUserIDsParamsWithHTTPClient(client *http.Client) *GetSessionByUserIDsParams

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

func NewGetSessionByUserIDsParamsWithTimeout

func NewGetSessionByUserIDsParamsWithTimeout(timeout time.Duration) *GetSessionByUserIDsParams

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

func (*GetSessionByUserIDsParams) SetContext

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

SetContext adds the context to the get session by user i ds params

func (*GetSessionByUserIDsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get session by user i ds params

func (*GetSessionByUserIDsParams) SetNamespace

func (o *GetSessionByUserIDsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get session by user i ds params

func (*GetSessionByUserIDsParams) SetTimeout

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

SetTimeout adds the timeout to the get session by user i ds params

func (*GetSessionByUserIDsParams) SetUserIds

func (o *GetSessionByUserIDsParams) SetUserIds(userIds string)

SetUserIds adds the userIds to the get session by user i ds params

func (*GetSessionByUserIDsParams) WithContext

WithContext adds the context to the get session by user i ds params

func (*GetSessionByUserIDsParams) WithHTTPClient

func (o *GetSessionByUserIDsParams) WithHTTPClient(client *http.Client) *GetSessionByUserIDsParams

WithHTTPClient adds the HTTPClient to the get session by user i ds params

func (*GetSessionByUserIDsParams) WithNamespace

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

WithNamespace adds the namespace to the get session by user i ds params

func (*GetSessionByUserIDsParams) WithTimeout

WithTimeout adds the timeout to the get session by user i ds params

func (*GetSessionByUserIDsParams) WithUserIds

WithUserIds adds the userIds to the get session by user i ds params

func (*GetSessionByUserIDsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSessionByUserIDsReader

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

GetSessionByUserIDsReader is a Reader for the GetSessionByUserIDs structure.

func (*GetSessionByUserIDsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSessionInternalServerError

type GetSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

GetSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewGetSessionInternalServerError

func NewGetSessionInternalServerError() *GetSessionInternalServerError

NewGetSessionInternalServerError creates a GetSessionInternalServerError with default headers values

func (*GetSessionInternalServerError) Error

func (*GetSessionInternalServerError) GetPayload

type GetSessionNotFound

type GetSessionNotFound struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

GetSessionNotFound handles this case with default header values.

session not found

func NewGetSessionNotFound

func NewGetSessionNotFound() *GetSessionNotFound

NewGetSessionNotFound creates a GetSessionNotFound with default headers values

func (*GetSessionNotFound) Error

func (o *GetSessionNotFound) Error() string

func (*GetSessionNotFound) GetPayload

type GetSessionOK

type GetSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionResponse
}

GetSessionOK handles this case with default header values.

session get

func NewGetSessionOK

func NewGetSessionOK() *GetSessionOK

NewGetSessionOK creates a GetSessionOK with default headers values

func (*GetSessionOK) Error

func (o *GetSessionOK) Error() string

func (*GetSessionOK) GetPayload

type GetSessionParams

type GetSessionParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSessionParams contains all the parameters to send to the API endpoint for the get session operation typically these are written to a http.Request

func NewGetSessionParams

func NewGetSessionParams() *GetSessionParams

NewGetSessionParams creates a new GetSessionParams object with the default values initialized.

func NewGetSessionParamsWithContext

func NewGetSessionParamsWithContext(ctx context.Context) *GetSessionParams

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

func NewGetSessionParamsWithHTTPClient

func NewGetSessionParamsWithHTTPClient(client *http.Client) *GetSessionParams

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

func NewGetSessionParamsWithTimeout

func NewGetSessionParamsWithTimeout(timeout time.Duration) *GetSessionParams

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

func (*GetSessionParams) SetContext

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

SetContext adds the context to the get session params

func (*GetSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get session params

func (*GetSessionParams) SetNamespace

func (o *GetSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get session params

func (*GetSessionParams) SetSessionID

func (o *GetSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the get session params

func (*GetSessionParams) SetTimeout

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

SetTimeout adds the timeout to the get session params

func (*GetSessionParams) WithContext

func (o *GetSessionParams) WithContext(ctx context.Context) *GetSessionParams

WithContext adds the context to the get session params

func (*GetSessionParams) WithHTTPClient

func (o *GetSessionParams) WithHTTPClient(client *http.Client) *GetSessionParams

WithHTTPClient adds the HTTPClient to the get session params

func (*GetSessionParams) WithNamespace

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

WithNamespace adds the namespace to the get session params

func (*GetSessionParams) WithSessionID

func (o *GetSessionParams) WithSessionID(sessionID string) *GetSessionParams

WithSessionID adds the sessionID to the get session params

func (*GetSessionParams) WithTimeout

func (o *GetSessionParams) WithTimeout(timeout time.Duration) *GetSessionParams

WithTimeout adds the timeout to the get session params

func (*GetSessionParams) WriteToRequest

func (o *GetSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetSessionReader

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

GetSessionReader is a Reader for the GetSession structure.

func (*GetSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTotalActiveSessionBadRequest added in v0.4.0

type GetTotalActiveSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetTotalActiveSessionBadRequest handles this case with default header values.

malformed request

func NewGetTotalActiveSessionBadRequest added in v0.4.0

func NewGetTotalActiveSessionBadRequest() *GetTotalActiveSessionBadRequest

NewGetTotalActiveSessionBadRequest creates a GetTotalActiveSessionBadRequest with default headers values

func (*GetTotalActiveSessionBadRequest) Error added in v0.4.0

func (*GetTotalActiveSessionBadRequest) GetPayload added in v0.4.0

type GetTotalActiveSessionInternalServerError added in v0.4.0

type GetTotalActiveSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetTotalActiveSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewGetTotalActiveSessionInternalServerError added in v0.4.0

func NewGetTotalActiveSessionInternalServerError() *GetTotalActiveSessionInternalServerError

NewGetTotalActiveSessionInternalServerError creates a GetTotalActiveSessionInternalServerError with default headers values

func (*GetTotalActiveSessionInternalServerError) Error added in v0.4.0

func (*GetTotalActiveSessionInternalServerError) GetPayload added in v0.4.0

type GetTotalActiveSessionOK added in v0.4.0

type GetTotalActiveSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsCountActiveSessionResponse
}

GetTotalActiveSessionOK handles this case with default header values.

total active session, p2p session will only have 'total' attribute

func NewGetTotalActiveSessionOK added in v0.4.0

func NewGetTotalActiveSessionOK() *GetTotalActiveSessionOK

NewGetTotalActiveSessionOK creates a GetTotalActiveSessionOK with default headers values

func (*GetTotalActiveSessionOK) Error added in v0.4.0

func (o *GetTotalActiveSessionOK) Error() string

func (*GetTotalActiveSessionOK) GetPayload added in v0.4.0

type GetTotalActiveSessionParams added in v0.4.0

type GetTotalActiveSessionParams struct {

	/*Namespace
	  namespace

	*/
	Namespace string
	/*SessionType
	  session type to query, accept 'dedicated' or 'p2p'

	*/
	SessionType *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTotalActiveSessionParams contains all the parameters to send to the API endpoint for the get total active session operation typically these are written to a http.Request

func NewGetTotalActiveSessionParams added in v0.4.0

func NewGetTotalActiveSessionParams() *GetTotalActiveSessionParams

NewGetTotalActiveSessionParams creates a new GetTotalActiveSessionParams object with the default values initialized.

func NewGetTotalActiveSessionParamsWithContext added in v0.4.0

func NewGetTotalActiveSessionParamsWithContext(ctx context.Context) *GetTotalActiveSessionParams

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

func NewGetTotalActiveSessionParamsWithHTTPClient added in v0.4.0

func NewGetTotalActiveSessionParamsWithHTTPClient(client *http.Client) *GetTotalActiveSessionParams

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

func NewGetTotalActiveSessionParamsWithTimeout added in v0.4.0

func NewGetTotalActiveSessionParamsWithTimeout(timeout time.Duration) *GetTotalActiveSessionParams

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

func (*GetTotalActiveSessionParams) SetContext added in v0.4.0

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

SetContext adds the context to the get total active session params

func (*GetTotalActiveSessionParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the get total active session params

func (*GetTotalActiveSessionParams) SetNamespace added in v0.4.0

func (o *GetTotalActiveSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get total active session params

func (*GetTotalActiveSessionParams) SetSessionType added in v0.4.0

func (o *GetTotalActiveSessionParams) SetSessionType(sessionType *string)

SetSessionType adds the sessionType to the get total active session params

func (*GetTotalActiveSessionParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the get total active session params

func (*GetTotalActiveSessionParams) WithContext added in v0.4.0

WithContext adds the context to the get total active session params

func (*GetTotalActiveSessionParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get total active session params

func (*GetTotalActiveSessionParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the get total active session params

func (*GetTotalActiveSessionParams) WithSessionType added in v0.4.0

func (o *GetTotalActiveSessionParams) WithSessionType(sessionType *string) *GetTotalActiveSessionParams

WithSessionType adds the sessionType to the get total active session params

func (*GetTotalActiveSessionParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get total active session params

func (*GetTotalActiveSessionParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetTotalActiveSessionReader added in v0.4.0

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

GetTotalActiveSessionReader is a Reader for the GetTotalActiveSession structure.

func (*GetTotalActiveSessionReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type JoinSessionBadRequest added in v0.4.0

type JoinSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

JoinSessionBadRequest handles this case with default header values.

malformed request

func NewJoinSessionBadRequest added in v0.4.0

func NewJoinSessionBadRequest() *JoinSessionBadRequest

NewJoinSessionBadRequest creates a JoinSessionBadRequest with default headers values

func (*JoinSessionBadRequest) Error added in v0.4.0

func (o *JoinSessionBadRequest) Error() string

func (*JoinSessionBadRequest) GetPayload added in v0.4.0

type JoinSessionForbidden added in v0.7.0

type JoinSessionForbidden struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

JoinSessionForbidden handles this case with default header values.

user is banned from joining session

func NewJoinSessionForbidden added in v0.7.0

func NewJoinSessionForbidden() *JoinSessionForbidden

NewJoinSessionForbidden creates a JoinSessionForbidden with default headers values

func (*JoinSessionForbidden) Error added in v0.7.0

func (o *JoinSessionForbidden) Error() string

func (*JoinSessionForbidden) GetPayload added in v0.7.0

type JoinSessionInternalServerError added in v0.4.0

type JoinSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

JoinSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewJoinSessionInternalServerError added in v0.4.0

func NewJoinSessionInternalServerError() *JoinSessionInternalServerError

NewJoinSessionInternalServerError creates a JoinSessionInternalServerError with default headers values

func (*JoinSessionInternalServerError) Error added in v0.4.0

func (*JoinSessionInternalServerError) GetPayload added in v0.4.0

type JoinSessionNotFound added in v0.4.0

type JoinSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

JoinSessionNotFound handles this case with default header values.

session not found

func NewJoinSessionNotFound added in v0.4.0

func NewJoinSessionNotFound() *JoinSessionNotFound

NewJoinSessionNotFound creates a JoinSessionNotFound with default headers values

func (*JoinSessionNotFound) Error added in v0.4.0

func (o *JoinSessionNotFound) Error() string

func (*JoinSessionNotFound) GetPayload added in v0.4.0

type JoinSessionOK added in v0.4.0

type JoinSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionResponse
}

JoinSessionOK handles this case with default header values.

session get

func NewJoinSessionOK added in v0.4.0

func NewJoinSessionOK() *JoinSessionOK

NewJoinSessionOK creates a JoinSessionOK with default headers values

func (*JoinSessionOK) Error added in v0.4.0

func (o *JoinSessionOK) Error() string

func (*JoinSessionOK) GetPayload added in v0.4.0

type JoinSessionParams added in v0.4.0

type JoinSessionParams struct {

	/*Body*/
	Body *sessionbrowserclientmodels.ModelsJoinGameSessionRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

JoinSessionParams contains all the parameters to send to the API endpoint for the join session operation typically these are written to a http.Request

func NewJoinSessionParams added in v0.4.0

func NewJoinSessionParams() *JoinSessionParams

NewJoinSessionParams creates a new JoinSessionParams object with the default values initialized.

func NewJoinSessionParamsWithContext added in v0.4.0

func NewJoinSessionParamsWithContext(ctx context.Context) *JoinSessionParams

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

func NewJoinSessionParamsWithHTTPClient added in v0.4.0

func NewJoinSessionParamsWithHTTPClient(client *http.Client) *JoinSessionParams

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

func NewJoinSessionParamsWithTimeout added in v0.4.0

func NewJoinSessionParamsWithTimeout(timeout time.Duration) *JoinSessionParams

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

func (*JoinSessionParams) SetBody added in v0.4.0

SetBody adds the body to the join session params

func (*JoinSessionParams) SetContext added in v0.4.0

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

SetContext adds the context to the join session params

func (*JoinSessionParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the join session params

func (*JoinSessionParams) SetNamespace added in v0.4.0

func (o *JoinSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the join session params

func (*JoinSessionParams) SetSessionID added in v0.4.0

func (o *JoinSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the join session params

func (*JoinSessionParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the join session params

func (*JoinSessionParams) WithBody added in v0.4.0

WithBody adds the body to the join session params

func (*JoinSessionParams) WithContext added in v0.4.0

func (o *JoinSessionParams) WithContext(ctx context.Context) *JoinSessionParams

WithContext adds the context to the join session params

func (*JoinSessionParams) WithHTTPClient added in v0.4.0

func (o *JoinSessionParams) WithHTTPClient(client *http.Client) *JoinSessionParams

WithHTTPClient adds the HTTPClient to the join session params

func (*JoinSessionParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the join session params

func (*JoinSessionParams) WithSessionID added in v0.4.0

func (o *JoinSessionParams) WithSessionID(sessionID string) *JoinSessionParams

WithSessionID adds the sessionID to the join session params

func (*JoinSessionParams) WithTimeout added in v0.4.0

func (o *JoinSessionParams) WithTimeout(timeout time.Duration) *JoinSessionParams

WithTimeout adds the timeout to the join session params

func (*JoinSessionParams) WriteToRequest added in v0.4.0

func (o *JoinSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type JoinSessionReader added in v0.4.0

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

JoinSessionReader is a Reader for the JoinSession structure.

func (*JoinSessionReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type QuerySessionBadRequest

type QuerySessionBadRequest struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

QuerySessionBadRequest handles this case with default header values.

malformed request

func NewQuerySessionBadRequest

func NewQuerySessionBadRequest() *QuerySessionBadRequest

NewQuerySessionBadRequest creates a QuerySessionBadRequest with default headers values

func (*QuerySessionBadRequest) Error

func (o *QuerySessionBadRequest) Error() string

func (*QuerySessionBadRequest) GetPayload

type QuerySessionInternalServerError

type QuerySessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

QuerySessionInternalServerError handles this case with default header values.

Internal Server Error

func NewQuerySessionInternalServerError

func NewQuerySessionInternalServerError() *QuerySessionInternalServerError

NewQuerySessionInternalServerError creates a QuerySessionInternalServerError with default headers values

func (*QuerySessionInternalServerError) Error

func (*QuerySessionInternalServerError) GetPayload

type QuerySessionOK

type QuerySessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionQueryResponse
}

QuerySessionOK handles this case with default header values.

session get

func NewQuerySessionOK

func NewQuerySessionOK() *QuerySessionOK

NewQuerySessionOK creates a QuerySessionOK with default headers values

func (*QuerySessionOK) Error

func (o *QuerySessionOK) Error() string

func (*QuerySessionOK) GetPayload

type QuerySessionParams

type QuerySessionParams struct {

	/*GameMode
	  Game mode of the session to query

	*/
	GameMode *string
	/*GameVersion
	  Game version of the session to query

	*/
	GameVersion *string
	/*Joinable
	  filter session if joinable or not, accept 'true' or 'false'

	*/
	Joinable *string
	/*Limit
	  max item to be returned

	*/
	Limit *string
	/*MatchExist
	  filter session by match existence, accept 'true' or 'false'

	*/
	MatchExist *string
	/*MatchID
	  filter session by matchmaking ID

	*/
	MatchID *string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  skip some item(s), offset=3, will skip 3 first items

	*/
	Offset *string
	/*ServerStatus
	  filter session by server status, accept CREATING,READY,BUSY,REMOVING,UNREACHABLE

	*/
	ServerStatus *string
	/*SessionType
	  Session type to query, value is 'p2p' or 'dedicated'

	*/
	SessionType string
	/*UserID
	  Owner of the P2P session. Dedicated server does not have user_id

	*/
	UserID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

QuerySessionParams contains all the parameters to send to the API endpoint for the query session operation typically these are written to a http.Request

func NewQuerySessionParams

func NewQuerySessionParams() *QuerySessionParams

NewQuerySessionParams creates a new QuerySessionParams object with the default values initialized.

func NewQuerySessionParamsWithContext

func NewQuerySessionParamsWithContext(ctx context.Context) *QuerySessionParams

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

func NewQuerySessionParamsWithHTTPClient

func NewQuerySessionParamsWithHTTPClient(client *http.Client) *QuerySessionParams

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

func NewQuerySessionParamsWithTimeout

func NewQuerySessionParamsWithTimeout(timeout time.Duration) *QuerySessionParams

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

func (*QuerySessionParams) SetContext

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

SetContext adds the context to the query session params

func (*QuerySessionParams) SetGameMode

func (o *QuerySessionParams) SetGameMode(gameMode *string)

SetGameMode adds the gameMode to the query session params

func (*QuerySessionParams) SetGameVersion

func (o *QuerySessionParams) SetGameVersion(gameVersion *string)

SetGameVersion adds the gameVersion to the query session params

func (*QuerySessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query session params

func (*QuerySessionParams) SetJoinable

func (o *QuerySessionParams) SetJoinable(joinable *string)

SetJoinable adds the joinable to the query session params

func (*QuerySessionParams) SetLimit

func (o *QuerySessionParams) SetLimit(limit *string)

SetLimit adds the limit to the query session params

func (*QuerySessionParams) SetMatchExist added in v0.4.0

func (o *QuerySessionParams) SetMatchExist(matchExist *string)

SetMatchExist adds the matchExist to the query session params

func (*QuerySessionParams) SetMatchID

func (o *QuerySessionParams) SetMatchID(matchID *string)

SetMatchID adds the matchId to the query session params

func (*QuerySessionParams) SetNamespace

func (o *QuerySessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query session params

func (*QuerySessionParams) SetOffset

func (o *QuerySessionParams) SetOffset(offset *string)

SetOffset adds the offset to the query session params

func (*QuerySessionParams) SetServerStatus

func (o *QuerySessionParams) SetServerStatus(serverStatus *string)

SetServerStatus adds the serverStatus to the query session params

func (*QuerySessionParams) SetSessionType

func (o *QuerySessionParams) SetSessionType(sessionType string)

SetSessionType adds the sessionType to the query session params

func (*QuerySessionParams) SetTimeout

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

SetTimeout adds the timeout to the query session params

func (*QuerySessionParams) SetUserID

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

SetUserID adds the userId to the query session params

func (*QuerySessionParams) WithContext

WithContext adds the context to the query session params

func (*QuerySessionParams) WithGameMode

func (o *QuerySessionParams) WithGameMode(gameMode *string) *QuerySessionParams

WithGameMode adds the gameMode to the query session params

func (*QuerySessionParams) WithGameVersion

func (o *QuerySessionParams) WithGameVersion(gameVersion *string) *QuerySessionParams

WithGameVersion adds the gameVersion to the query session params

func (*QuerySessionParams) WithHTTPClient

func (o *QuerySessionParams) WithHTTPClient(client *http.Client) *QuerySessionParams

WithHTTPClient adds the HTTPClient to the query session params

func (*QuerySessionParams) WithJoinable

func (o *QuerySessionParams) WithJoinable(joinable *string) *QuerySessionParams

WithJoinable adds the joinable to the query session params

func (*QuerySessionParams) WithLimit

func (o *QuerySessionParams) WithLimit(limit *string) *QuerySessionParams

WithLimit adds the limit to the query session params

func (*QuerySessionParams) WithMatchExist added in v0.4.0

func (o *QuerySessionParams) WithMatchExist(matchExist *string) *QuerySessionParams

WithMatchExist adds the matchExist to the query session params

func (*QuerySessionParams) WithMatchID

func (o *QuerySessionParams) WithMatchID(matchID *string) *QuerySessionParams

WithMatchID adds the matchID to the query session params

func (*QuerySessionParams) WithNamespace

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

WithNamespace adds the namespace to the query session params

func (*QuerySessionParams) WithOffset

func (o *QuerySessionParams) WithOffset(offset *string) *QuerySessionParams

WithOffset adds the offset to the query session params

func (*QuerySessionParams) WithServerStatus

func (o *QuerySessionParams) WithServerStatus(serverStatus *string) *QuerySessionParams

WithServerStatus adds the serverStatus to the query session params

func (*QuerySessionParams) WithSessionType

func (o *QuerySessionParams) WithSessionType(sessionType string) *QuerySessionParams

WithSessionType adds the sessionType to the query session params

func (*QuerySessionParams) WithTimeout

func (o *QuerySessionParams) WithTimeout(timeout time.Duration) *QuerySessionParams

WithTimeout adds the timeout to the query session params

func (*QuerySessionParams) WithUserID

func (o *QuerySessionParams) WithUserID(userID *string) *QuerySessionParams

WithUserID adds the userID to the query session params

func (*QuerySessionParams) WriteToRequest

func (o *QuerySessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QuerySessionReader

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

QuerySessionReader is a Reader for the QuerySession structure.

func (*QuerySessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemovePlayerFromSessionBadRequest added in v0.4.0

type RemovePlayerFromSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

RemovePlayerFromSessionBadRequest handles this case with default header values.

malformed request

func NewRemovePlayerFromSessionBadRequest added in v0.4.0

func NewRemovePlayerFromSessionBadRequest() *RemovePlayerFromSessionBadRequest

NewRemovePlayerFromSessionBadRequest creates a RemovePlayerFromSessionBadRequest with default headers values

func (*RemovePlayerFromSessionBadRequest) Error added in v0.4.0

func (*RemovePlayerFromSessionBadRequest) GetPayload added in v0.4.0

type RemovePlayerFromSessionInternalServerError added in v0.4.0

type RemovePlayerFromSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

RemovePlayerFromSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewRemovePlayerFromSessionInternalServerError added in v0.4.0

func NewRemovePlayerFromSessionInternalServerError() *RemovePlayerFromSessionInternalServerError

NewRemovePlayerFromSessionInternalServerError creates a RemovePlayerFromSessionInternalServerError with default headers values

func (*RemovePlayerFromSessionInternalServerError) Error added in v0.4.0

func (*RemovePlayerFromSessionInternalServerError) GetPayload added in v0.4.0

type RemovePlayerFromSessionNotFound added in v0.4.0

type RemovePlayerFromSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

RemovePlayerFromSessionNotFound handles this case with default header values.

session not found

func NewRemovePlayerFromSessionNotFound added in v0.4.0

func NewRemovePlayerFromSessionNotFound() *RemovePlayerFromSessionNotFound

NewRemovePlayerFromSessionNotFound creates a RemovePlayerFromSessionNotFound with default headers values

func (*RemovePlayerFromSessionNotFound) Error added in v0.4.0

func (*RemovePlayerFromSessionNotFound) GetPayload added in v0.4.0

type RemovePlayerFromSessionOK added in v0.4.0

type RemovePlayerFromSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsAddPlayerResponse
}

RemovePlayerFromSessionOK handles this case with default header values.

player removed

func NewRemovePlayerFromSessionOK added in v0.4.0

func NewRemovePlayerFromSessionOK() *RemovePlayerFromSessionOK

NewRemovePlayerFromSessionOK creates a RemovePlayerFromSessionOK with default headers values

func (*RemovePlayerFromSessionOK) Error added in v0.4.0

func (o *RemovePlayerFromSessionOK) Error() string

func (*RemovePlayerFromSessionOK) GetPayload added in v0.4.0

type RemovePlayerFromSessionParams added in v0.4.0

type RemovePlayerFromSessionParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string
	/*UserID
	  user ID

	*/
	UserID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemovePlayerFromSessionParams contains all the parameters to send to the API endpoint for the remove player from session operation typically these are written to a http.Request

func NewRemovePlayerFromSessionParams added in v0.4.0

func NewRemovePlayerFromSessionParams() *RemovePlayerFromSessionParams

NewRemovePlayerFromSessionParams creates a new RemovePlayerFromSessionParams object with the default values initialized.

func NewRemovePlayerFromSessionParamsWithContext added in v0.4.0

func NewRemovePlayerFromSessionParamsWithContext(ctx context.Context) *RemovePlayerFromSessionParams

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

func NewRemovePlayerFromSessionParamsWithHTTPClient added in v0.4.0

func NewRemovePlayerFromSessionParamsWithHTTPClient(client *http.Client) *RemovePlayerFromSessionParams

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

func NewRemovePlayerFromSessionParamsWithTimeout added in v0.4.0

func NewRemovePlayerFromSessionParamsWithTimeout(timeout time.Duration) *RemovePlayerFromSessionParams

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

func (*RemovePlayerFromSessionParams) SetContext added in v0.4.0

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

SetContext adds the context to the remove player from session params

func (*RemovePlayerFromSessionParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the remove player from session params

func (*RemovePlayerFromSessionParams) SetNamespace added in v0.4.0

func (o *RemovePlayerFromSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the remove player from session params

func (*RemovePlayerFromSessionParams) SetSessionID added in v0.4.0

func (o *RemovePlayerFromSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the remove player from session params

func (*RemovePlayerFromSessionParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the remove player from session params

func (*RemovePlayerFromSessionParams) SetUserID added in v0.4.0

func (o *RemovePlayerFromSessionParams) SetUserID(userID string)

SetUserID adds the userId to the remove player from session params

func (*RemovePlayerFromSessionParams) WithContext added in v0.4.0

WithContext adds the context to the remove player from session params

func (*RemovePlayerFromSessionParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the remove player from session params

func (*RemovePlayerFromSessionParams) WithNamespace added in v0.4.0

WithNamespace adds the namespace to the remove player from session params

func (*RemovePlayerFromSessionParams) WithSessionID added in v0.4.0

WithSessionID adds the sessionID to the remove player from session params

func (*RemovePlayerFromSessionParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the remove player from session params

func (*RemovePlayerFromSessionParams) WithUserID added in v0.4.0

WithUserID adds the userID to the remove player from session params

func (*RemovePlayerFromSessionParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type RemovePlayerFromSessionReader added in v0.4.0

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

RemovePlayerFromSessionReader is a Reader for the RemovePlayerFromSession structure.

func (*RemovePlayerFromSessionReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type UpdateSessionBadRequest

type UpdateSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

UpdateSessionBadRequest handles this case with default header values.

malformed request

func NewUpdateSessionBadRequest

func NewUpdateSessionBadRequest() *UpdateSessionBadRequest

NewUpdateSessionBadRequest creates a UpdateSessionBadRequest with default headers values

func (*UpdateSessionBadRequest) Error

func (o *UpdateSessionBadRequest) Error() string

func (*UpdateSessionBadRequest) GetPayload

type UpdateSessionInternalServerError

type UpdateSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

UpdateSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateSessionInternalServerError

func NewUpdateSessionInternalServerError() *UpdateSessionInternalServerError

NewUpdateSessionInternalServerError creates a UpdateSessionInternalServerError with default headers values

func (*UpdateSessionInternalServerError) Error

func (*UpdateSessionInternalServerError) GetPayload

type UpdateSessionNotFound

type UpdateSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

UpdateSessionNotFound handles this case with default header values.

session not found

func NewUpdateSessionNotFound

func NewUpdateSessionNotFound() *UpdateSessionNotFound

NewUpdateSessionNotFound creates a UpdateSessionNotFound with default headers values

func (*UpdateSessionNotFound) Error

func (o *UpdateSessionNotFound) Error() string

func (*UpdateSessionNotFound) GetPayload

type UpdateSessionOK

type UpdateSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionResponse
}

UpdateSessionOK handles this case with default header values.

session updated

func NewUpdateSessionOK

func NewUpdateSessionOK() *UpdateSessionOK

NewUpdateSessionOK creates a UpdateSessionOK with default headers values

func (*UpdateSessionOK) Error

func (o *UpdateSessionOK) Error() string

func (*UpdateSessionOK) GetPayload

type UpdateSessionParams

type UpdateSessionParams struct {

	/*Body*/
	Body *sessionbrowserclientmodels.ModelsUpdateSessionRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateSessionParams contains all the parameters to send to the API endpoint for the update session operation typically these are written to a http.Request

func NewUpdateSessionParams

func NewUpdateSessionParams() *UpdateSessionParams

NewUpdateSessionParams creates a new UpdateSessionParams object with the default values initialized.

func NewUpdateSessionParamsWithContext

func NewUpdateSessionParamsWithContext(ctx context.Context) *UpdateSessionParams

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

func NewUpdateSessionParamsWithHTTPClient

func NewUpdateSessionParamsWithHTTPClient(client *http.Client) *UpdateSessionParams

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

func NewUpdateSessionParamsWithTimeout

func NewUpdateSessionParamsWithTimeout(timeout time.Duration) *UpdateSessionParams

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

func (*UpdateSessionParams) SetBody

SetBody adds the body to the update session params

func (*UpdateSessionParams) SetContext

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

SetContext adds the context to the update session params

func (*UpdateSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update session params

func (*UpdateSessionParams) SetNamespace

func (o *UpdateSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update session params

func (*UpdateSessionParams) SetSessionID

func (o *UpdateSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the update session params

func (*UpdateSessionParams) SetTimeout

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

SetTimeout adds the timeout to the update session params

func (*UpdateSessionParams) WithBody

WithBody adds the body to the update session params

func (*UpdateSessionParams) WithContext

WithContext adds the context to the update session params

func (*UpdateSessionParams) WithHTTPClient

func (o *UpdateSessionParams) WithHTTPClient(client *http.Client) *UpdateSessionParams

WithHTTPClient adds the HTTPClient to the update session params

func (*UpdateSessionParams) WithNamespace

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

WithNamespace adds the namespace to the update session params

func (*UpdateSessionParams) WithSessionID

func (o *UpdateSessionParams) WithSessionID(sessionID string) *UpdateSessionParams

WithSessionID adds the sessionID to the update session params

func (*UpdateSessionParams) WithTimeout

func (o *UpdateSessionParams) WithTimeout(timeout time.Duration) *UpdateSessionParams

WithTimeout adds the timeout to the update session params

func (*UpdateSessionParams) WriteToRequest

func (o *UpdateSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateSessionReader

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

UpdateSessionReader is a Reader for the UpdateSession structure.

func (*UpdateSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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