session

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddPlayerToSessionBadRequest

type AddPlayerToSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AddPlayerToSessionBadRequest handles this case with default header values.

malformed request

func NewAddPlayerToSessionBadRequest

func NewAddPlayerToSessionBadRequest() *AddPlayerToSessionBadRequest

NewAddPlayerToSessionBadRequest creates a AddPlayerToSessionBadRequest with default headers values

func (*AddPlayerToSessionBadRequest) Error

func (*AddPlayerToSessionBadRequest) GetPayload

func (*AddPlayerToSessionBadRequest) ToJSONString

func (o *AddPlayerToSessionBadRequest) ToJSONString() string

type AddPlayerToSessionInternalServerError

type AddPlayerToSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AddPlayerToSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAddPlayerToSessionInternalServerError

func NewAddPlayerToSessionInternalServerError() *AddPlayerToSessionInternalServerError

NewAddPlayerToSessionInternalServerError creates a AddPlayerToSessionInternalServerError with default headers values

func (*AddPlayerToSessionInternalServerError) Error

func (*AddPlayerToSessionInternalServerError) GetPayload

func (*AddPlayerToSessionInternalServerError) ToJSONString

type AddPlayerToSessionNotFound

type AddPlayerToSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AddPlayerToSessionNotFound handles this case with default header values.

session not found

func NewAddPlayerToSessionNotFound

func NewAddPlayerToSessionNotFound() *AddPlayerToSessionNotFound

NewAddPlayerToSessionNotFound creates a AddPlayerToSessionNotFound with default headers values

func (*AddPlayerToSessionNotFound) Error

func (*AddPlayerToSessionNotFound) GetPayload

func (*AddPlayerToSessionNotFound) ToJSONString

func (o *AddPlayerToSessionNotFound) ToJSONString() string

type AddPlayerToSessionOK

type AddPlayerToSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsAddPlayerResponse
}

AddPlayerToSessionOK handles this case with default header values.

session updated

func NewAddPlayerToSessionOK

func NewAddPlayerToSessionOK() *AddPlayerToSessionOK

NewAddPlayerToSessionOK creates a AddPlayerToSessionOK with default headers values

func (*AddPlayerToSessionOK) Error

func (o *AddPlayerToSessionOK) Error() string

func (*AddPlayerToSessionOK) GetPayload

func (*AddPlayerToSessionOK) ToJSONString

func (o *AddPlayerToSessionOK) ToJSONString() string

type AddPlayerToSessionParams

type AddPlayerToSessionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionbrowserclientmodels.ModelsAddPlayerRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewAddPlayerToSessionParams() *AddPlayerToSessionParams

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

func NewAddPlayerToSessionParamsWithContext

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

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

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the add player to session params

func (*AddPlayerToSessionParams) SetBody

SetBody adds the body to the add player to session params

func (*AddPlayerToSessionParams) SetContext

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

SetContext adds the context to the add player to session params

func (*AddPlayerToSessionParams) SetFlightId

func (o *AddPlayerToSessionParams) SetFlightId(flightId string)

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

func (*AddPlayerToSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add player to session params

func (*AddPlayerToSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the add player to session params

func (*AddPlayerToSessionParams) SetNamespace

func (o *AddPlayerToSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the add player to session params

func (*AddPlayerToSessionParams) SetSessionID

func (o *AddPlayerToSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the add player to session params

func (*AddPlayerToSessionParams) SetTimeout

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

SetTimeout adds the timeout to the add player to session params

func (*AddPlayerToSessionParams) WithBody

WithBody adds the body to the add player to session params

func (*AddPlayerToSessionParams) WithContext

WithContext adds the context to the add player to session params

func (*AddPlayerToSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add player to session params

func (*AddPlayerToSessionParams) WithNamespace

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

WithNamespace adds the namespace to the add player to session params

func (*AddPlayerToSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the add player to session params

func (*AddPlayerToSessionParams) WithTimeout

WithTimeout adds the timeout to the add player to session params

func (*AddPlayerToSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddPlayerToSessionReader

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

AddPlayerToSessionReader is a Reader for the AddPlayerToSession structure.

func (*AddPlayerToSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteSessionBadRequest

type AdminDeleteSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminDeleteSessionBadRequest handles this case with default header values.

malformed request

func NewAdminDeleteSessionBadRequest

func NewAdminDeleteSessionBadRequest() *AdminDeleteSessionBadRequest

NewAdminDeleteSessionBadRequest creates a AdminDeleteSessionBadRequest with default headers values

func (*AdminDeleteSessionBadRequest) Error

func (*AdminDeleteSessionBadRequest) GetPayload

func (*AdminDeleteSessionBadRequest) ToJSONString

func (o *AdminDeleteSessionBadRequest) ToJSONString() string

type AdminDeleteSessionInternalServerError

type AdminDeleteSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminDeleteSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminDeleteSessionInternalServerError

func NewAdminDeleteSessionInternalServerError() *AdminDeleteSessionInternalServerError

NewAdminDeleteSessionInternalServerError creates a AdminDeleteSessionInternalServerError with default headers values

func (*AdminDeleteSessionInternalServerError) Error

func (*AdminDeleteSessionInternalServerError) GetPayload

func (*AdminDeleteSessionInternalServerError) ToJSONString

type AdminDeleteSessionNotFound

type AdminDeleteSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminDeleteSessionNotFound handles this case with default header values.

session not found

func NewAdminDeleteSessionNotFound

func NewAdminDeleteSessionNotFound() *AdminDeleteSessionNotFound

NewAdminDeleteSessionNotFound creates a AdminDeleteSessionNotFound with default headers values

func (*AdminDeleteSessionNotFound) Error

func (*AdminDeleteSessionNotFound) GetPayload

func (*AdminDeleteSessionNotFound) ToJSONString

func (o *AdminDeleteSessionNotFound) ToJSONString() string

type AdminDeleteSessionOK

type AdminDeleteSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsAdminSessionResponse
}

AdminDeleteSessionOK handles this case with default header values.

session deleted

func NewAdminDeleteSessionOK

func NewAdminDeleteSessionOK() *AdminDeleteSessionOK

NewAdminDeleteSessionOK creates a AdminDeleteSessionOK with default headers values

func (*AdminDeleteSessionOK) Error

func (o *AdminDeleteSessionOK) Error() string

func (*AdminDeleteSessionOK) GetPayload

func (*AdminDeleteSessionOK) ToJSONString

func (o *AdminDeleteSessionOK) ToJSONString() string

type AdminDeleteSessionParams

type AdminDeleteSessionParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewAdminDeleteSessionParams

func NewAdminDeleteSessionParams() *AdminDeleteSessionParams

NewAdminDeleteSessionParams creates a new AdminDeleteSessionParams object with the default values initialized.

func NewAdminDeleteSessionParamsWithContext

func NewAdminDeleteSessionParamsWithContext(ctx context.Context) *AdminDeleteSessionParams

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

func NewAdminDeleteSessionParamsWithHTTPClient

func NewAdminDeleteSessionParamsWithHTTPClient(client *http.Client) *AdminDeleteSessionParams

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

func NewAdminDeleteSessionParamsWithTimeout

func NewAdminDeleteSessionParamsWithTimeout(timeout time.Duration) *AdminDeleteSessionParams

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

func (*AdminDeleteSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete session params

func (*AdminDeleteSessionParams) SetContext

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

SetContext adds the context to the admin delete session params

func (*AdminDeleteSessionParams) SetFlightId

func (o *AdminDeleteSessionParams) SetFlightId(flightId string)

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

func (*AdminDeleteSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete session params

func (*AdminDeleteSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin delete session params

func (*AdminDeleteSessionParams) SetNamespace

func (o *AdminDeleteSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete session params

func (*AdminDeleteSessionParams) SetSessionID

func (o *AdminDeleteSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the admin delete session params

func (*AdminDeleteSessionParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete session params

func (*AdminDeleteSessionParams) WithContext

WithContext adds the context to the admin delete session params

func (*AdminDeleteSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin delete session params

func (*AdminDeleteSessionParams) WithNamespace

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

WithNamespace adds the namespace to the admin delete session params

func (*AdminDeleteSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the admin delete session params

func (*AdminDeleteSessionParams) WithTimeout

WithTimeout adds the timeout to the admin delete session params

func (*AdminDeleteSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteSessionReader

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

AdminDeleteSessionReader is a Reader for the AdminDeleteSession structure.

func (*AdminDeleteSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetSessionInternalServerError

type AdminGetSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminGetSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetSessionInternalServerError

func NewAdminGetSessionInternalServerError() *AdminGetSessionInternalServerError

NewAdminGetSessionInternalServerError creates a AdminGetSessionInternalServerError with default headers values

func (*AdminGetSessionInternalServerError) Error

func (*AdminGetSessionInternalServerError) GetPayload

func (*AdminGetSessionInternalServerError) ToJSONString

func (o *AdminGetSessionInternalServerError) ToJSONString() string

type AdminGetSessionNotFound

type AdminGetSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminGetSessionNotFound handles this case with default header values.

session not found

func NewAdminGetSessionNotFound

func NewAdminGetSessionNotFound() *AdminGetSessionNotFound

NewAdminGetSessionNotFound creates a AdminGetSessionNotFound with default headers values

func (*AdminGetSessionNotFound) Error

func (o *AdminGetSessionNotFound) Error() string

func (*AdminGetSessionNotFound) GetPayload

func (*AdminGetSessionNotFound) ToJSONString

func (o *AdminGetSessionNotFound) ToJSONString() string

type AdminGetSessionOK

type AdminGetSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsAdminSessionResponse
}

AdminGetSessionOK handles this case with default header values.

session get

func NewAdminGetSessionOK

func NewAdminGetSessionOK() *AdminGetSessionOK

NewAdminGetSessionOK creates a AdminGetSessionOK with default headers values

func (*AdminGetSessionOK) Error

func (o *AdminGetSessionOK) Error() string

func (*AdminGetSessionOK) GetPayload

func (*AdminGetSessionOK) ToJSONString

func (o *AdminGetSessionOK) ToJSONString() string

type AdminGetSessionParams

type AdminGetSessionParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewAdminGetSessionParams() *AdminGetSessionParams

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

func NewAdminGetSessionParamsWithContext

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

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

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get session params

func (*AdminGetSessionParams) SetContext

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

SetContext adds the context to the admin get session params

func (*AdminGetSessionParams) SetFlightId

func (o *AdminGetSessionParams) SetFlightId(flightId string)

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

func (*AdminGetSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get session params

func (*AdminGetSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get session params

func (*AdminGetSessionParams) SetNamespace

func (o *AdminGetSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get session params

func (*AdminGetSessionParams) SetSessionID

func (o *AdminGetSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the admin get session params

func (*AdminGetSessionParams) SetTimeout

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

SetTimeout adds the timeout to the admin get session params

func (*AdminGetSessionParams) WithContext

WithContext adds the context to the admin get session params

func (*AdminGetSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get session params

func (*AdminGetSessionParams) WithNamespace

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

WithNamespace adds the namespace to the admin get session params

func (*AdminGetSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the admin get session params

func (*AdminGetSessionParams) WithTimeout

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

WithTimeout adds the timeout to the admin get session params

func (*AdminGetSessionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminGetSessionReader

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

AdminGetSessionReader is a Reader for the AdminGetSession structure.

func (*AdminGetSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminQuerySessionBadRequest

type AdminQuerySessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminQuerySessionBadRequest handles this case with default header values.

malformed request

func NewAdminQuerySessionBadRequest

func NewAdminQuerySessionBadRequest() *AdminQuerySessionBadRequest

NewAdminQuerySessionBadRequest creates a AdminQuerySessionBadRequest with default headers values

func (*AdminQuerySessionBadRequest) Error

func (*AdminQuerySessionBadRequest) GetPayload

func (*AdminQuerySessionBadRequest) ToJSONString

func (o *AdminQuerySessionBadRequest) ToJSONString() string

type AdminQuerySessionInternalServerError

type AdminQuerySessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminQuerySessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminQuerySessionInternalServerError

func NewAdminQuerySessionInternalServerError() *AdminQuerySessionInternalServerError

NewAdminQuerySessionInternalServerError creates a AdminQuerySessionInternalServerError with default headers values

func (*AdminQuerySessionInternalServerError) Error

func (*AdminQuerySessionInternalServerError) GetPayload

func (*AdminQuerySessionInternalServerError) ToJSONString

func (o *AdminQuerySessionInternalServerError) ToJSONString() string

type AdminQuerySessionOK

type AdminQuerySessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionQueryResponse
}

AdminQuerySessionOK handles this case with default header values.

session get

func NewAdminQuerySessionOK

func NewAdminQuerySessionOK() *AdminQuerySessionOK

NewAdminQuerySessionOK creates a AdminQuerySessionOK with default headers values

func (*AdminQuerySessionOK) Error

func (o *AdminQuerySessionOK) Error() string

func (*AdminQuerySessionOK) GetPayload

func (*AdminQuerySessionOK) ToJSONString

func (o *AdminQuerySessionOK) ToJSONString() string

type AdminQuerySessionParams

type AdminQuerySessionParams struct {

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

	*/
	Namespace string
	/*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 *int64
	/*MatchExist
	  filter session by match existence, accept 'true' or 'false'

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

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

	*/
	Offset *int64
	/*ServerStatus
	  filter session by server status (only for dedicated), accept CREATING,READY,BUSY,REMOVING,UNREACHABLE

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

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

	*/
	SessionType string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewAdminQuerySessionParams

func NewAdminQuerySessionParams() *AdminQuerySessionParams

NewAdminQuerySessionParams creates a new AdminQuerySessionParams object with the default values initialized.

func NewAdminQuerySessionParamsWithContext

func NewAdminQuerySessionParamsWithContext(ctx context.Context) *AdminQuerySessionParams

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

func NewAdminQuerySessionParamsWithHTTPClient

func NewAdminQuerySessionParamsWithHTTPClient(client *http.Client) *AdminQuerySessionParams

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

func NewAdminQuerySessionParamsWithTimeout

func NewAdminQuerySessionParamsWithTimeout(timeout time.Duration) *AdminQuerySessionParams

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

func (*AdminQuerySessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin query session params

func (*AdminQuerySessionParams) SetContext

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

SetContext adds the context to the admin query session params

func (*AdminQuerySessionParams) SetFlightId

func (o *AdminQuerySessionParams) SetFlightId(flightId string)

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

func (*AdminQuerySessionParams) SetGameMode

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

SetGameMode adds the gameMode to the admin query session params

func (*AdminQuerySessionParams) SetGameVersion

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

SetGameVersion adds the gameVersion to the admin query session params

func (*AdminQuerySessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin query session params

func (*AdminQuerySessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin query session params

func (*AdminQuerySessionParams) SetJoinable

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

SetJoinable adds the joinable to the admin query session params

func (*AdminQuerySessionParams) SetLimit

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

SetLimit adds the limit to the admin query session params

func (*AdminQuerySessionParams) SetMatchExist

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

SetMatchExist adds the matchExist to the admin query session params

func (*AdminQuerySessionParams) SetMatchID

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

SetMatchID adds the matchId to the admin query session params

func (*AdminQuerySessionParams) SetNamespace

func (o *AdminQuerySessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin query session params

func (*AdminQuerySessionParams) SetOffset

func (o *AdminQuerySessionParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin query session params

func (*AdminQuerySessionParams) SetServerStatus

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

SetServerStatus adds the serverStatus to the admin query session params

func (*AdminQuerySessionParams) SetSessionType

func (o *AdminQuerySessionParams) SetSessionType(sessionType string)

SetSessionType adds the sessionType to the admin query session params

func (*AdminQuerySessionParams) SetTimeout

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

SetTimeout adds the timeout to the admin query session params

func (*AdminQuerySessionParams) SetUserID

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

SetUserID adds the userId to the admin query session params

func (*AdminQuerySessionParams) WithContext

WithContext adds the context to the admin query session params

func (*AdminQuerySessionParams) WithGameMode

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

WithGameMode adds the gameMode to the admin query session params

func (*AdminQuerySessionParams) WithGameVersion

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

WithGameVersion adds the gameVersion to the admin query session params

func (*AdminQuerySessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin query session params

func (*AdminQuerySessionParams) WithJoinable

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

WithJoinable adds the joinable to the admin query session params

func (*AdminQuerySessionParams) WithLimit

WithLimit adds the limit to the admin query session params

func (*AdminQuerySessionParams) WithMatchExist

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

WithMatchExist adds the matchExist to the admin query session params

func (*AdminQuerySessionParams) WithMatchID

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

WithMatchID adds the matchID to the admin query session params

func (*AdminQuerySessionParams) WithNamespace

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

WithNamespace adds the namespace to the admin query session params

func (*AdminQuerySessionParams) WithOffset

func (o *AdminQuerySessionParams) WithOffset(offset *int64) *AdminQuerySessionParams

WithOffset adds the offset to the admin query session params

func (*AdminQuerySessionParams) WithServerStatus

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

WithServerStatus adds the serverStatus to the admin query session params

func (*AdminQuerySessionParams) WithSessionType

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

WithSessionType adds the sessionType to the admin query session params

func (*AdminQuerySessionParams) WithTimeout

WithTimeout adds the timeout to the admin query session params

func (*AdminQuerySessionParams) WithUserID

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

WithUserID adds the userID to the admin query session params

func (*AdminQuerySessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminQuerySessionReader

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

AdminQuerySessionReader is a Reader for the AdminQuerySession structure.

func (*AdminQuerySessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminSearchSessionsV2BadRequest

type AdminSearchSessionsV2BadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorV1
}

AdminSearchSessionsV2BadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewAdminSearchSessionsV2BadRequest

func NewAdminSearchSessionsV2BadRequest() *AdminSearchSessionsV2BadRequest

NewAdminSearchSessionsV2BadRequest creates a AdminSearchSessionsV2BadRequest with default headers values

func (*AdminSearchSessionsV2BadRequest) Error

func (*AdminSearchSessionsV2BadRequest) GetPayload

func (*AdminSearchSessionsV2BadRequest) ToJSONString

func (o *AdminSearchSessionsV2BadRequest) ToJSONString() string

type AdminSearchSessionsV2Forbidden

type AdminSearchSessionsV2Forbidden struct {
	Payload *sessionbrowserclientmodels.RestapiErrorV1
}

AdminSearchSessionsV2Forbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>20014</td><td>invalid audience</td></tr><tr><td>20015</td><td>insufficient scope</td></tr></table>

func NewAdminSearchSessionsV2Forbidden

func NewAdminSearchSessionsV2Forbidden() *AdminSearchSessionsV2Forbidden

NewAdminSearchSessionsV2Forbidden creates a AdminSearchSessionsV2Forbidden with default headers values

func (*AdminSearchSessionsV2Forbidden) Error

func (*AdminSearchSessionsV2Forbidden) GetPayload

func (*AdminSearchSessionsV2Forbidden) ToJSONString

func (o *AdminSearchSessionsV2Forbidden) ToJSONString() string

type AdminSearchSessionsV2InternalServerError

type AdminSearchSessionsV2InternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

AdminSearchSessionsV2InternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewAdminSearchSessionsV2InternalServerError

func NewAdminSearchSessionsV2InternalServerError() *AdminSearchSessionsV2InternalServerError

NewAdminSearchSessionsV2InternalServerError creates a AdminSearchSessionsV2InternalServerError with default headers values

func (*AdminSearchSessionsV2InternalServerError) Error

func (*AdminSearchSessionsV2InternalServerError) GetPayload

func (*AdminSearchSessionsV2InternalServerError) ToJSONString

type AdminSearchSessionsV2OK

type AdminSearchSessionsV2OK struct {
	Payload *sessionbrowserclientmodels.ModelsGetSessionHistorySearchResponseV2
}

AdminSearchSessionsV2OK handles this case with default header values.

Operation succeeded

func NewAdminSearchSessionsV2OK

func NewAdminSearchSessionsV2OK() *AdminSearchSessionsV2OK

NewAdminSearchSessionsV2OK creates a AdminSearchSessionsV2OK with default headers values

func (*AdminSearchSessionsV2OK) Error

func (o *AdminSearchSessionsV2OK) Error() string

func (*AdminSearchSessionsV2OK) ToJSONString

func (o *AdminSearchSessionsV2OK) ToJSONString() string

type AdminSearchSessionsV2Params

type AdminSearchSessionsV2Params struct {

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

	*/
	Namespace string
	/*Channel
	  ID of the channel

	*/
	Channel *string
	/*Deleted
	  only deleted session

	*/
	Deleted *bool
	/*MatchID
	  ID of the match session

	*/
	MatchID *string
	/*PartyID
	  ID of the party

	*/
	PartyID *string
	/*SessionType
	  Type of the session, value must be 'p2p' or 'dedicated'

	*/
	SessionType *string
	/*Status
	  Status of the session, value must be 'active' or 'deleted'. Only work with p2p session type

	*/
	Status *string
	/*UserID
	  ID of the user

	*/
	UserID *string
	/*Limit
	  limit

	*/
	Limit int64
	/*Offset
	  offset

	*/
	Offset int64

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminSearchSessionsV2Params contains all the parameters to send to the API endpoint for the admin search sessions v2 operation typically these are written to a http.Request

func NewAdminSearchSessionsV2Params

func NewAdminSearchSessionsV2Params() *AdminSearchSessionsV2Params

NewAdminSearchSessionsV2Params creates a new AdminSearchSessionsV2Params object with the default values initialized.

func NewAdminSearchSessionsV2ParamsWithContext

func NewAdminSearchSessionsV2ParamsWithContext(ctx context.Context) *AdminSearchSessionsV2Params

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

func NewAdminSearchSessionsV2ParamsWithHTTPClient

func NewAdminSearchSessionsV2ParamsWithHTTPClient(client *http.Client) *AdminSearchSessionsV2Params

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

func NewAdminSearchSessionsV2ParamsWithTimeout

func NewAdminSearchSessionsV2ParamsWithTimeout(timeout time.Duration) *AdminSearchSessionsV2Params

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

func (*AdminSearchSessionsV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetChannel

func (o *AdminSearchSessionsV2Params) SetChannel(channel *string)

SetChannel adds the channel to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetContext

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

SetContext adds the context to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetDeleted

func (o *AdminSearchSessionsV2Params) SetDeleted(deleted *bool)

SetDeleted adds the deleted to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetFlightId

func (o *AdminSearchSessionsV2Params) SetFlightId(flightId string)

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

func (*AdminSearchSessionsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetLimit

func (o *AdminSearchSessionsV2Params) SetLimit(limit int64)

SetLimit adds the limit to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetMatchID

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

SetMatchID adds the matchId to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetNamespace

func (o *AdminSearchSessionsV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetOffset

func (o *AdminSearchSessionsV2Params) SetOffset(offset int64)

SetOffset adds the offset to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetPartyID

func (o *AdminSearchSessionsV2Params) SetPartyID(partyID *string)

SetPartyID adds the partyId to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetSessionType

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

SetSessionType adds the sessionType to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetStatus

func (o *AdminSearchSessionsV2Params) SetStatus(status *string)

SetStatus adds the status to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetTimeout

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

SetTimeout adds the timeout to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetUserID

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

SetUserID adds the userId to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithChannel

WithChannel adds the channel to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithContext

WithContext adds the context to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithDeleted

WithDeleted adds the deleted to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithLimit

WithLimit adds the limit to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithMatchID

WithMatchID adds the matchID to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithNamespace

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

WithNamespace adds the namespace to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithOffset

WithOffset adds the offset to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithPartyID

WithPartyID adds the partyID to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithSessionType

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

WithSessionType adds the sessionType to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithStatus

WithStatus adds the status to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithTimeout

WithTimeout adds the timeout to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithUserID

WithUserID adds the userID to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminSearchSessionsV2Reader

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

AdminSearchSessionsV2Reader is a Reader for the AdminSearchSessionsV2 structure.

func (*AdminSearchSessionsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminSearchSessionsV2Unauthorized

type AdminSearchSessionsV2Unauthorized struct {
	Payload *sessionbrowserclientmodels.RestapiErrorV1
}

AdminSearchSessionsV2Unauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewAdminSearchSessionsV2Unauthorized

func NewAdminSearchSessionsV2Unauthorized() *AdminSearchSessionsV2Unauthorized

NewAdminSearchSessionsV2Unauthorized creates a AdminSearchSessionsV2Unauthorized with default headers values

func (*AdminSearchSessionsV2Unauthorized) Error

func (*AdminSearchSessionsV2Unauthorized) GetPayload

func (*AdminSearchSessionsV2Unauthorized) ToJSONString

func (o *AdminSearchSessionsV2Unauthorized) ToJSONString() string

type Client

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

Client for session API

func (*Client) AddPlayerToSession deprecated

Deprecated: 2022-08-10 - Use AddPlayerToSessionShort instead.

AddPlayerToSession add player to game session Add player to game session

func (*Client) AddPlayerToSessionShort

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

AddPlayerToSessionShort add player to game session Add player to game session

func (*Client) AdminDeleteSession deprecated

Deprecated: 2022-08-10 - Use AdminDeleteSessionShort instead.

AdminDeleteSession admin delete specified session by session id Admin delete the session by session ID

func (*Client) AdminDeleteSessionShort

func (a *Client) AdminDeleteSessionShort(params *AdminDeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteSessionOK, error)

AdminDeleteSessionShort admin delete specified session by session id Admin delete the session by session ID

func (*Client) AdminGetSession deprecated

Deprecated: 2022-08-10 - Use AdminGetSessionShort instead.

AdminGetSession admin get specified session by session id Get the session by session ID for admin user

func (*Client) AdminGetSessionShort

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

AdminGetSessionShort admin get specified session by session id Get the session by session ID for admin user

func (*Client) AdminQuerySession deprecated

Deprecated: 2022-08-10 - Use AdminQuerySessionShort instead.

AdminQuerySession query to available game session Query to available game session

func (*Client) AdminQuerySessionShort

func (a *Client) AdminQuerySessionShort(params *AdminQuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQuerySessionOK, error)

AdminQuerySessionShort query to available game session Query to available game session

func (*Client) AdminSearchSessionsV2 deprecated

Deprecated: 2022-08-10 - Use AdminSearchSessionsV2Short instead.

AdminSearchSessionsV2 search sessions Search sessions. Optimize the query by differentiating query with filter namespace only and filter with namespace & other filter (partyID, userID, matchID). Query with filter namespace only will not group whole session data while query with filter namespace & other filter will include session data.

func (*Client) AdminSearchSessionsV2Short

func (a *Client) AdminSearchSessionsV2Short(params *AdminSearchSessionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchSessionsV2OK, error)

AdminSearchSessionsV2Short search sessions Search sessions. Optimize the query by differentiating query with filter namespace only and filter with namespace & other filter (partyID, userID, matchID). Query with filter namespace only will not group whole session data while query with filter namespace & other filter will include session data.

func (*Client) CreateSession deprecated

Deprecated: 2022-08-10 - Use CreateSessionShort instead.

CreateSession register a new game session This end point intended to be called directly by P2P game client host or by DSMC

func (*Client) CreateSessionShort

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

CreateSessionShort register a new game session This end point intended to be called directly by P2P game client host or by DSMC

func (*Client) DeleteSession deprecated

Deprecated: 2022-08-10 - Use DeleteSessionShort instead.

DeleteSession delete specified (p2p) session by session id Delete the session (p2p) by session ID

func (*Client) DeleteSessionLocalDS deprecated

Deprecated: 2022-08-10 - Use DeleteSessionLocalDSShort instead.

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

func (*Client) DeleteSessionLocalDSShort

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

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

func (*Client) DeleteSessionShort

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

DeleteSessionShort delete specified (p2p) session by session id Delete the session (p2p) by session ID

func (*Client) GetActiveCustomGameSessions deprecated

Deprecated: 2022-08-10 - Use GetActiveCustomGameSessionsShort instead.

GetActiveCustomGameSessions get all active session for custom game, this return only dedicated session type Get all active session for custom game, this return only dedicated session type

func (*Client) GetActiveCustomGameSessionsShort

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

GetActiveCustomGameSessionsShort get all active session for custom game, this return only dedicated session type Get all active session for custom game, this return only dedicated session type

func (*Client) GetActiveMatchmakingGameSessions deprecated

Deprecated: 2022-08-10 - Use GetActiveMatchmakingGameSessionsShort instead.

GetActiveMatchmakingGameSessions get all active session for matchmaking game, this return only dedicated session type Get all active session for matchmaking game, this return only dedicated session type

func (*Client) GetActiveMatchmakingGameSessionsShort

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

GetActiveMatchmakingGameSessionsShort get all active session for matchmaking game, this return only dedicated session type Get all active session for matchmaking game, this return only dedicated session type

func (*Client) GetRecentPlayer deprecated

Deprecated: 2022-08-10 - Use GetRecentPlayerShort instead.

GetRecentPlayer query recent players with given user id Query recent player by user ID

func (*Client) GetRecentPlayerShort

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

GetRecentPlayerShort query recent players with given user id Query recent player by user ID

func (*Client) GetSession deprecated

Deprecated: 2022-08-10 - Use GetSessionShort instead.

GetSession get specified session by session id Get the session by session ID

func (*Client) GetSessionByUserIDs deprecated

Deprecated: 2022-08-10 - Use GetSessionByUserIDsShort instead.

GetSessionByUserIDs query game sessions by comma separated user ids Query game sessions by comma separated user ids

func (*Client) GetSessionByUserIDsShort

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

GetSessionByUserIDsShort query game sessions by comma separated user ids Query game sessions by comma separated user ids

func (*Client) GetSessionHistoryDetailed deprecated

Deprecated: 2022-08-10 - Use GetSessionHistoryDetailedShort instead.

GetSessionHistoryDetailed get session history detailed Get session history detailed.

if party_id value empty/null, field will not show in response body.

func (*Client) GetSessionHistoryDetailedShort

func (a *Client) GetSessionHistoryDetailedShort(params *GetSessionHistoryDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionHistoryDetailedOK, error)

GetSessionHistoryDetailedShort get session history detailed Get session history detailed.

if party_id value empty/null, field will not show in response body.

func (*Client) GetSessionShort

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

GetSessionShort get specified session by session id Get the session by session ID

func (*Client) GetTotalActiveSession deprecated

Deprecated: 2022-08-10 - Use GetTotalActiveSessionShort instead.

GetTotalActiveSession get all active session Get all active session

func (*Client) GetTotalActiveSessionShort

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

GetTotalActiveSessionShort get all active session Get all active session

func (*Client) JoinSession deprecated

Deprecated: 2022-08-10 - Use JoinSessionShort instead.

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

func (*Client) JoinSessionShort

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

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

func (*Client) RemovePlayerFromSession deprecated

Deprecated: 2022-08-10 - Use RemovePlayerFromSessionShort instead.

RemovePlayerFromSession remove player from game session Remove player from game session

func (*Client) RemovePlayerFromSessionShort

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

RemovePlayerFromSessionShort remove player from game session Remove player from game session

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateSession deprecated

Deprecated: 2022-08-10 - Use UpdateSessionShort instead.

UpdateSession update session Update game session, used to update the current player

func (*Client) UpdateSessionShort

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

UpdateSessionShort update session Update game session, used to update the current player

func (*Client) UpdateSettings deprecated

Deprecated: 2022-08-10 - Use UpdateSettingsShort instead.

UpdateSettings update settings Update game session, used to update OtherSettings

func (*Client) UpdateSettingsShort

func (a *Client) UpdateSettingsShort(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, error)

UpdateSettingsShort update settings Update game session, used to update OtherSettings

func (*Client) UserQuerySession deprecated

Deprecated: 2022-08-10 - Use UserQuerySessionShort instead.

UserQuerySession query to available game session Query available game session

func (*Client) UserQuerySessionShort

func (a *Client) UserQuerySessionShort(params *UserQuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*UserQuerySessionOK, error)

UserQuerySessionShort query to available game session Query available game session

type ClientService

type ClientService interface {
	AdminQuerySession(params *AdminQuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQuerySessionOK, *AdminQuerySessionBadRequest, *AdminQuerySessionInternalServerError, error)
	AdminQuerySessionShort(params *AdminQuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQuerySessionOK, error)
	GetTotalActiveSession(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, *GetTotalActiveSessionBadRequest, *GetTotalActiveSessionInternalServerError, error)
	GetTotalActiveSessionShort(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, 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)
	AdminGetSession(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, *AdminGetSessionNotFound, *AdminGetSessionInternalServerError, error)
	AdminGetSessionShort(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, error)
	AdminDeleteSession(params *AdminDeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteSessionOK, *AdminDeleteSessionBadRequest, *AdminDeleteSessionNotFound, *AdminDeleteSessionInternalServerError, error)
	AdminDeleteSessionShort(params *AdminDeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteSessionOK, error)
	AdminSearchSessionsV2(params *AdminSearchSessionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchSessionsV2OK, *AdminSearchSessionsV2BadRequest, *AdminSearchSessionsV2Unauthorized, *AdminSearchSessionsV2Forbidden, *AdminSearchSessionsV2InternalServerError, error)
	AdminSearchSessionsV2Short(params *AdminSearchSessionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchSessionsV2OK, error)
	GetSessionHistoryDetailed(params *GetSessionHistoryDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionHistoryDetailedOK, *GetSessionHistoryDetailedBadRequest, *GetSessionHistoryDetailedUnauthorized, *GetSessionHistoryDetailedForbidden, *GetSessionHistoryDetailedInternalServerError, error)
	GetSessionHistoryDetailedShort(params *GetSessionHistoryDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionHistoryDetailedOK, error)
	UserQuerySession(params *UserQuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*UserQuerySessionOK, *UserQuerySessionBadRequest, *UserQuerySessionInternalServerError, error)
	UserQuerySessionShort(params *UserQuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*UserQuerySessionOK, error)
	CreateSession(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, *CreateSessionBadRequest, *CreateSessionForbidden, *CreateSessionConflict, *CreateSessionInternalServerError, error)
	CreateSessionShort(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, error)
	GetSessionByUserIDs(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, *GetSessionByUserIDsBadRequest, *GetSessionByUserIDsInternalServerError, error)
	GetSessionByUserIDsShort(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, error)
	GetSession(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, *GetSessionNotFound, *GetSessionInternalServerError, error)
	GetSessionShort(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, error)
	UpdateSession(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, *UpdateSessionBadRequest, *UpdateSessionNotFound, *UpdateSessionInternalServerError, error)
	UpdateSessionShort(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, error)
	DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, *DeleteSessionBadRequest, *DeleteSessionNotFound, *DeleteSessionInternalServerError, error)
	DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, error)
	JoinSession(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, *JoinSessionBadRequest, *JoinSessionForbidden, *JoinSessionNotFound, *JoinSessionInternalServerError, error)
	JoinSessionShort(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, error)
	DeleteSessionLocalDS(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, *DeleteSessionLocalDSBadRequest, *DeleteSessionLocalDSNotFound, *DeleteSessionLocalDSInternalServerError, error)
	DeleteSessionLocalDSShort(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, error)
	AddPlayerToSession(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, *AddPlayerToSessionBadRequest, *AddPlayerToSessionNotFound, *AddPlayerToSessionInternalServerError, error)
	AddPlayerToSessionShort(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, error)
	RemovePlayerFromSession(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, *RemovePlayerFromSessionBadRequest, *RemovePlayerFromSessionNotFound, *RemovePlayerFromSessionInternalServerError, error)
	RemovePlayerFromSessionShort(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, error)
	UpdateSettings(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, *UpdateSettingsBadRequest, *UpdateSettingsNotFound, *UpdateSettingsInternalServerError, error)
	UpdateSettingsShort(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, error)
	GetRecentPlayer(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, *GetRecentPlayerBadRequest, *GetRecentPlayerInternalServerError, error)
	GetRecentPlayerShort(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, 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

func (*CreateSessionBadRequest) ToJSONString

func (o *CreateSessionBadRequest) ToJSONString() string

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

func (*CreateSessionConflict) ToJSONString

func (o *CreateSessionConflict) ToJSONString() string

type CreateSessionForbidden

type CreateSessionForbidden struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

CreateSessionForbidden handles this case with default header values.

user is banned from creating session

func NewCreateSessionForbidden

func NewCreateSessionForbidden() *CreateSessionForbidden

NewCreateSessionForbidden creates a CreateSessionForbidden with default headers values

func (*CreateSessionForbidden) Error

func (o *CreateSessionForbidden) Error() string

func (*CreateSessionForbidden) GetPayload

func (*CreateSessionForbidden) ToJSONString

func (o *CreateSessionForbidden) ToJSONString() string

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

func (*CreateSessionInternalServerError) ToJSONString

func (o *CreateSessionInternalServerError) ToJSONString() string

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

func (*CreateSessionOK) ToJSONString

func (o *CreateSessionOK) ToJSONString() string

type CreateSessionParams

type CreateSessionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionbrowserclientmodels.ModelsCreateSessionRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create session params

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) SetFlightId

func (o *CreateSessionParams) SetFlightId(flightId string)

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

func (*CreateSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create session params

func (*CreateSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport 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

func (*DeleteSessionBadRequest) ToJSONString

func (o *DeleteSessionBadRequest) ToJSONString() string

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

func (*DeleteSessionInternalServerError) ToJSONString

func (o *DeleteSessionInternalServerError) ToJSONString() string

type DeleteSessionLocalDSBadRequest

type DeleteSessionLocalDSBadRequest struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionLocalDSBadRequest handles this case with default header values.

malformed request

func NewDeleteSessionLocalDSBadRequest

func NewDeleteSessionLocalDSBadRequest() *DeleteSessionLocalDSBadRequest

NewDeleteSessionLocalDSBadRequest creates a DeleteSessionLocalDSBadRequest with default headers values

func (*DeleteSessionLocalDSBadRequest) Error

func (*DeleteSessionLocalDSBadRequest) GetPayload

func (*DeleteSessionLocalDSBadRequest) ToJSONString

func (o *DeleteSessionLocalDSBadRequest) ToJSONString() string

type DeleteSessionLocalDSInternalServerError

type DeleteSessionLocalDSInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionLocalDSInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteSessionLocalDSInternalServerError

func NewDeleteSessionLocalDSInternalServerError() *DeleteSessionLocalDSInternalServerError

NewDeleteSessionLocalDSInternalServerError creates a DeleteSessionLocalDSInternalServerError with default headers values

func (*DeleteSessionLocalDSInternalServerError) Error

func (*DeleteSessionLocalDSInternalServerError) GetPayload

func (*DeleteSessionLocalDSInternalServerError) ToJSONString

type DeleteSessionLocalDSNotFound

type DeleteSessionLocalDSNotFound struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionLocalDSNotFound handles this case with default header values.

session not found

func NewDeleteSessionLocalDSNotFound

func NewDeleteSessionLocalDSNotFound() *DeleteSessionLocalDSNotFound

NewDeleteSessionLocalDSNotFound creates a DeleteSessionLocalDSNotFound with default headers values

func (*DeleteSessionLocalDSNotFound) Error

func (*DeleteSessionLocalDSNotFound) GetPayload

func (*DeleteSessionLocalDSNotFound) ToJSONString

func (o *DeleteSessionLocalDSNotFound) ToJSONString() string

type DeleteSessionLocalDSOK

type DeleteSessionLocalDSOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionResponse
}

DeleteSessionLocalDSOK handles this case with default header values.

session get

func NewDeleteSessionLocalDSOK

func NewDeleteSessionLocalDSOK() *DeleteSessionLocalDSOK

NewDeleteSessionLocalDSOK creates a DeleteSessionLocalDSOK with default headers values

func (*DeleteSessionLocalDSOK) Error

func (o *DeleteSessionLocalDSOK) Error() string

func (*DeleteSessionLocalDSOK) GetPayload

func (*DeleteSessionLocalDSOK) ToJSONString

func (o *DeleteSessionLocalDSOK) ToJSONString() string

type DeleteSessionLocalDSParams

type DeleteSessionLocalDSParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewDeleteSessionLocalDSParams

func NewDeleteSessionLocalDSParams() *DeleteSessionLocalDSParams

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

func NewDeleteSessionLocalDSParamsWithContext

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

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

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete session local ds params

func (*DeleteSessionLocalDSParams) SetContext

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

SetContext adds the context to the delete session local ds params

func (*DeleteSessionLocalDSParams) SetFlightId

func (o *DeleteSessionLocalDSParams) SetFlightId(flightId string)

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

func (*DeleteSessionLocalDSParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete session local ds params

func (*DeleteSessionLocalDSParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete session local ds params

func (*DeleteSessionLocalDSParams) SetNamespace

func (o *DeleteSessionLocalDSParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete session local ds params

func (*DeleteSessionLocalDSParams) SetSessionID

func (o *DeleteSessionLocalDSParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the delete session local ds params

func (*DeleteSessionLocalDSParams) SetTimeout

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

SetTimeout adds the timeout to the delete session local ds params

func (*DeleteSessionLocalDSParams) WithContext

WithContext adds the context to the delete session local ds params

func (*DeleteSessionLocalDSParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete session local ds params

func (*DeleteSessionLocalDSParams) WithNamespace

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

WithNamespace adds the namespace to the delete session local ds params

func (*DeleteSessionLocalDSParams) WithSessionID

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

WithSessionID adds the sessionID to the delete session local ds params

func (*DeleteSessionLocalDSParams) WithTimeout

WithTimeout adds the timeout to the delete session local ds params

func (*DeleteSessionLocalDSParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSessionLocalDSReader

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

DeleteSessionLocalDSReader is a Reader for the DeleteSessionLocalDS structure.

func (*DeleteSessionLocalDSReader) ReadResponse

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

func (*DeleteSessionNotFound) ToJSONString

func (o *DeleteSessionNotFound) ToJSONString() string

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

func (*DeleteSessionOK) ToJSONString

func (o *DeleteSessionOK) ToJSONString() string

type DeleteSessionParams

type DeleteSessionParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete session params

func (*DeleteSessionParams) SetContext

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

SetContext adds the context to the delete session params

func (*DeleteSessionParams) SetFlightId

func (o *DeleteSessionParams) SetFlightId(flightId string)

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

func (*DeleteSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete session params

func (*DeleteSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport 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

type GetActiveCustomGameSessionsBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetActiveCustomGameSessionsBadRequest handles this case with default header values.

malformed request

func NewGetActiveCustomGameSessionsBadRequest

func NewGetActiveCustomGameSessionsBadRequest() *GetActiveCustomGameSessionsBadRequest

NewGetActiveCustomGameSessionsBadRequest creates a GetActiveCustomGameSessionsBadRequest with default headers values

func (*GetActiveCustomGameSessionsBadRequest) Error

func (*GetActiveCustomGameSessionsBadRequest) GetPayload

func (*GetActiveCustomGameSessionsBadRequest) ToJSONString

type GetActiveCustomGameSessionsInternalServerError

type GetActiveCustomGameSessionsInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetActiveCustomGameSessionsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetActiveCustomGameSessionsInternalServerError

func NewGetActiveCustomGameSessionsInternalServerError() *GetActiveCustomGameSessionsInternalServerError

NewGetActiveCustomGameSessionsInternalServerError creates a GetActiveCustomGameSessionsInternalServerError with default headers values

func (*GetActiveCustomGameSessionsInternalServerError) Error

func (*GetActiveCustomGameSessionsInternalServerError) GetPayload

func (*GetActiveCustomGameSessionsInternalServerError) ToJSONString

type GetActiveCustomGameSessionsOK

type GetActiveCustomGameSessionsOK struct {
	Payload *sessionbrowserclientmodels.ModelsActiveCustomGameResponse
}

GetActiveCustomGameSessionsOK handles this case with default header values.

custom game session list

func NewGetActiveCustomGameSessionsOK

func NewGetActiveCustomGameSessionsOK() *GetActiveCustomGameSessionsOK

NewGetActiveCustomGameSessionsOK creates a GetActiveCustomGameSessionsOK with default headers values

func (*GetActiveCustomGameSessionsOK) Error

func (*GetActiveCustomGameSessionsOK) GetPayload

func (*GetActiveCustomGameSessionsOK) ToJSONString

func (o *GetActiveCustomGameSessionsOK) ToJSONString() string

type GetActiveCustomGameSessionsParams

type GetActiveCustomGameSessionsParams struct {

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

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

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

	*/
	Offset *int64
	/*ServerRegion
	  server region

	*/
	ServerRegion *string
	/*SessionID
	  game session ID

	*/
	SessionID *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewGetActiveCustomGameSessionsParams() *GetActiveCustomGameSessionsParams

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

func NewGetActiveCustomGameSessionsParamsWithContext

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

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

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) SetContext

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

func (*GetActiveCustomGameSessionsParams) SetFlightId

func (o *GetActiveCustomGameSessionsParams) SetFlightId(flightId string)

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

func (*GetActiveCustomGameSessionsParams) SetHTTPClient

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

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

func (*GetActiveCustomGameSessionsParams) SetHTTPClientTransport

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

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

func (*GetActiveCustomGameSessionsParams) SetLimit

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

SetLimit adds the limit to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) SetNamespace

func (o *GetActiveCustomGameSessionsParams) SetNamespace(namespace string)

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

func (*GetActiveCustomGameSessionsParams) SetOffset

func (o *GetActiveCustomGameSessionsParams) SetOffset(offset *int64)

SetOffset adds the offset to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) SetServerRegion

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

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

func (*GetActiveCustomGameSessionsParams) SetSessionID

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

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

func (*GetActiveCustomGameSessionsParams) SetTimeout

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

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

func (*GetActiveCustomGameSessionsParams) WithContext

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

func (*GetActiveCustomGameSessionsParams) WithHTTPClient

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

func (*GetActiveCustomGameSessionsParams) WithLimit

WithLimit adds the limit to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) WithNamespace

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

func (*GetActiveCustomGameSessionsParams) WithOffset

WithOffset adds the offset to the get active custom game sessions params

func (*GetActiveCustomGameSessionsParams) WithServerRegion

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

func (*GetActiveCustomGameSessionsParams) WithSessionID

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

func (*GetActiveCustomGameSessionsParams) WithTimeout

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

func (*GetActiveCustomGameSessionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetActiveCustomGameSessionsReader

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

GetActiveCustomGameSessionsReader is a Reader for the GetActiveCustomGameSessions structure.

func (*GetActiveCustomGameSessionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetActiveMatchmakingGameSessionsBadRequest

type GetActiveMatchmakingGameSessionsBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetActiveMatchmakingGameSessionsBadRequest handles this case with default header values.

malformed request

func NewGetActiveMatchmakingGameSessionsBadRequest

func NewGetActiveMatchmakingGameSessionsBadRequest() *GetActiveMatchmakingGameSessionsBadRequest

NewGetActiveMatchmakingGameSessionsBadRequest creates a GetActiveMatchmakingGameSessionsBadRequest with default headers values

func (*GetActiveMatchmakingGameSessionsBadRequest) Error

func (*GetActiveMatchmakingGameSessionsBadRequest) GetPayload

func (*GetActiveMatchmakingGameSessionsBadRequest) ToJSONString

type GetActiveMatchmakingGameSessionsInternalServerError

type GetActiveMatchmakingGameSessionsInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetActiveMatchmakingGameSessionsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetActiveMatchmakingGameSessionsInternalServerError

func NewGetActiveMatchmakingGameSessionsInternalServerError() *GetActiveMatchmakingGameSessionsInternalServerError

NewGetActiveMatchmakingGameSessionsInternalServerError creates a GetActiveMatchmakingGameSessionsInternalServerError with default headers values

func (*GetActiveMatchmakingGameSessionsInternalServerError) Error

func (*GetActiveMatchmakingGameSessionsInternalServerError) GetPayload

func (*GetActiveMatchmakingGameSessionsInternalServerError) ToJSONString

type GetActiveMatchmakingGameSessionsOK

type GetActiveMatchmakingGameSessionsOK struct {
	Payload *sessionbrowserclientmodels.ModelsActiveMatchmakingGameResponse
}

GetActiveMatchmakingGameSessionsOK handles this case with default header values.

matchmaking game session list

func NewGetActiveMatchmakingGameSessionsOK

func NewGetActiveMatchmakingGameSessionsOK() *GetActiveMatchmakingGameSessionsOK

NewGetActiveMatchmakingGameSessionsOK creates a GetActiveMatchmakingGameSessionsOK with default headers values

func (*GetActiveMatchmakingGameSessionsOK) Error

func (*GetActiveMatchmakingGameSessionsOK) GetPayload

func (*GetActiveMatchmakingGameSessionsOK) ToJSONString

func (o *GetActiveMatchmakingGameSessionsOK) ToJSONString() string

type GetActiveMatchmakingGameSessionsParams

type GetActiveMatchmakingGameSessionsParams struct {

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

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

	*/
	Limit *int64
	/*MatchID
	  matchmaking ID

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

	*/
	Offset *int64
	/*ServerRegion
	  server region

	*/
	ServerRegion *string
	/*SessionID
	  game session ID

	*/
	SessionID *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewGetActiveMatchmakingGameSessionsParams() *GetActiveMatchmakingGameSessionsParams

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

func NewGetActiveMatchmakingGameSessionsParamsWithContext

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

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

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) SetContext

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

func (*GetActiveMatchmakingGameSessionsParams) SetFlightId

func (o *GetActiveMatchmakingGameSessionsParams) SetFlightId(flightId string)

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

func (*GetActiveMatchmakingGameSessionsParams) SetHTTPClient

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetHTTPClientTransport

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetLimit

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

SetLimit adds the limit to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) SetMatchID

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetNamespace

func (o *GetActiveMatchmakingGameSessionsParams) SetNamespace(namespace string)

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

func (*GetActiveMatchmakingGameSessionsParams) SetOffset

func (o *GetActiveMatchmakingGameSessionsParams) SetOffset(offset *int64)

SetOffset adds the offset to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) SetServerRegion

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetSessionID

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetTimeout

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

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

func (*GetActiveMatchmakingGameSessionsParams) WithContext

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

func (*GetActiveMatchmakingGameSessionsParams) WithHTTPClient

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

func (*GetActiveMatchmakingGameSessionsParams) WithLimit

WithLimit adds the limit to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) WithMatchID

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

func (*GetActiveMatchmakingGameSessionsParams) WithNamespace

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

func (*GetActiveMatchmakingGameSessionsParams) WithOffset

WithOffset adds the offset to the get active matchmaking game sessions params

func (*GetActiveMatchmakingGameSessionsParams) WithServerRegion

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

func (*GetActiveMatchmakingGameSessionsParams) WithSessionID

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

func (*GetActiveMatchmakingGameSessionsParams) WithTimeout

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

func (*GetActiveMatchmakingGameSessionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetActiveMatchmakingGameSessionsReader

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

GetActiveMatchmakingGameSessionsReader is a Reader for the GetActiveMatchmakingGameSessions structure.

func (*GetActiveMatchmakingGameSessionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRecentPlayerBadRequest

type GetRecentPlayerBadRequest struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

GetRecentPlayerBadRequest handles this case with default header values.

malformed request

func NewGetRecentPlayerBadRequest

func NewGetRecentPlayerBadRequest() *GetRecentPlayerBadRequest

NewGetRecentPlayerBadRequest creates a GetRecentPlayerBadRequest with default headers values

func (*GetRecentPlayerBadRequest) Error

func (o *GetRecentPlayerBadRequest) Error() string

func (*GetRecentPlayerBadRequest) GetPayload

func (*GetRecentPlayerBadRequest) ToJSONString

func (o *GetRecentPlayerBadRequest) ToJSONString() string

type GetRecentPlayerInternalServerError

type GetRecentPlayerInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

GetRecentPlayerInternalServerError handles this case with default header values.

Internal Server Error

func NewGetRecentPlayerInternalServerError

func NewGetRecentPlayerInternalServerError() *GetRecentPlayerInternalServerError

NewGetRecentPlayerInternalServerError creates a GetRecentPlayerInternalServerError with default headers values

func (*GetRecentPlayerInternalServerError) Error

func (*GetRecentPlayerInternalServerError) GetPayload

func (*GetRecentPlayerInternalServerError) ToJSONString

func (o *GetRecentPlayerInternalServerError) ToJSONString() string

type GetRecentPlayerOK

type GetRecentPlayerOK struct {
	Payload *sessionbrowserclientmodels.ModelsRecentPlayerQueryResponse
}

GetRecentPlayerOK handles this case with default header values.

recent player get

func NewGetRecentPlayerOK

func NewGetRecentPlayerOK() *GetRecentPlayerOK

NewGetRecentPlayerOK creates a GetRecentPlayerOK with default headers values

func (*GetRecentPlayerOK) Error

func (o *GetRecentPlayerOK) Error() string

func (*GetRecentPlayerOK) ToJSONString

func (o *GetRecentPlayerOK) ToJSONString() string

type GetRecentPlayerParams

type GetRecentPlayerParams struct {

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

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewGetRecentPlayerParams() *GetRecentPlayerParams

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

func NewGetRecentPlayerParamsWithContext

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

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

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get recent player params

func (*GetRecentPlayerParams) SetContext

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

SetContext adds the context to the get recent player params

func (*GetRecentPlayerParams) SetFlightId

func (o *GetRecentPlayerParams) SetFlightId(flightId string)

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

func (*GetRecentPlayerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get recent player params

func (*GetRecentPlayerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get recent player params

func (*GetRecentPlayerParams) SetNamespace

func (o *GetRecentPlayerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get recent player params

func (*GetRecentPlayerParams) SetTimeout

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

SetTimeout adds the timeout to the get recent player params

func (*GetRecentPlayerParams) SetUserID

func (o *GetRecentPlayerParams) SetUserID(userID string)

SetUserID adds the userId to the get recent player params

func (*GetRecentPlayerParams) WithContext

WithContext adds the context to the get recent player params

func (*GetRecentPlayerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get recent player params

func (*GetRecentPlayerParams) WithNamespace

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

WithNamespace adds the namespace to the get recent player params

func (*GetRecentPlayerParams) WithTimeout

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

WithTimeout adds the timeout to the get recent player params

func (*GetRecentPlayerParams) WithUserID

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

WithUserID adds the userID to the get recent player params

func (*GetRecentPlayerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRecentPlayerReader

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

GetRecentPlayerReader is a Reader for the GetRecentPlayer structure.

func (*GetRecentPlayerReader) ReadResponse

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

func (*GetSessionByUserIDsBadRequest) ToJSONString

func (o *GetSessionByUserIDsBadRequest) ToJSONString() string

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

func (*GetSessionByUserIDsInternalServerError) ToJSONString

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

func (*GetSessionByUserIDsOK) ToJSONString

func (o *GetSessionByUserIDsOK) ToJSONString() string

type GetSessionByUserIDsParams

type GetSessionByUserIDsParams struct {

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

	*/
	Namespace string
	/*UserIds
	  comma separated user ids

	*/
	UserIds string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get session by user i ds params

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) SetFlightId

func (o *GetSessionByUserIDsParams) SetFlightId(flightId string)

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

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) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport 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 GetSessionHistoryDetailedBadRequest

type GetSessionHistoryDetailedBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorV1
}

GetSessionHistoryDetailedBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewGetSessionHistoryDetailedBadRequest

func NewGetSessionHistoryDetailedBadRequest() *GetSessionHistoryDetailedBadRequest

NewGetSessionHistoryDetailedBadRequest creates a GetSessionHistoryDetailedBadRequest with default headers values

func (*GetSessionHistoryDetailedBadRequest) Error

func (*GetSessionHistoryDetailedBadRequest) GetPayload

func (*GetSessionHistoryDetailedBadRequest) ToJSONString

func (o *GetSessionHistoryDetailedBadRequest) ToJSONString() string

type GetSessionHistoryDetailedForbidden

type GetSessionHistoryDetailedForbidden struct {
	Payload *sessionbrowserclientmodels.RestapiErrorV1
}

GetSessionHistoryDetailedForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>20014</td><td>invalid audience</td></tr><tr><td>20015</td><td>insufficient scope</td></tr></table>

func NewGetSessionHistoryDetailedForbidden

func NewGetSessionHistoryDetailedForbidden() *GetSessionHistoryDetailedForbidden

NewGetSessionHistoryDetailedForbidden creates a GetSessionHistoryDetailedForbidden with default headers values

func (*GetSessionHistoryDetailedForbidden) Error

func (*GetSessionHistoryDetailedForbidden) GetPayload

func (*GetSessionHistoryDetailedForbidden) ToJSONString

func (o *GetSessionHistoryDetailedForbidden) ToJSONString() string

type GetSessionHistoryDetailedInternalServerError

type GetSessionHistoryDetailedInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorV1
}

GetSessionHistoryDetailedInternalServerError handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>

func NewGetSessionHistoryDetailedInternalServerError

func NewGetSessionHistoryDetailedInternalServerError() *GetSessionHistoryDetailedInternalServerError

NewGetSessionHistoryDetailedInternalServerError creates a GetSessionHistoryDetailedInternalServerError with default headers values

func (*GetSessionHistoryDetailedInternalServerError) Error

func (*GetSessionHistoryDetailedInternalServerError) GetPayload

func (*GetSessionHistoryDetailedInternalServerError) ToJSONString

type GetSessionHistoryDetailedOK

type GetSessionHistoryDetailedOK struct {
	Payload []*sessionbrowserclientmodels.ModelsGetSessionHistoryDetailedResponseItem
}

GetSessionHistoryDetailedOK handles this case with default header values.

Operation succeeded

func NewGetSessionHistoryDetailedOK

func NewGetSessionHistoryDetailedOK() *GetSessionHistoryDetailedOK

NewGetSessionHistoryDetailedOK creates a GetSessionHistoryDetailedOK with default headers values

func (*GetSessionHistoryDetailedOK) Error

func (*GetSessionHistoryDetailedOK) ToJSONString

func (o *GetSessionHistoryDetailedOK) ToJSONString() string

type GetSessionHistoryDetailedParams

type GetSessionHistoryDetailedParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*MatchID
	  ID of the match session

	*/
	MatchID string
	/*Namespace
	  namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewGetSessionHistoryDetailedParams

func NewGetSessionHistoryDetailedParams() *GetSessionHistoryDetailedParams

NewGetSessionHistoryDetailedParams creates a new GetSessionHistoryDetailedParams object with the default values initialized.

func NewGetSessionHistoryDetailedParamsWithContext

func NewGetSessionHistoryDetailedParamsWithContext(ctx context.Context) *GetSessionHistoryDetailedParams

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

func NewGetSessionHistoryDetailedParamsWithHTTPClient

func NewGetSessionHistoryDetailedParamsWithHTTPClient(client *http.Client) *GetSessionHistoryDetailedParams

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

func NewGetSessionHistoryDetailedParamsWithTimeout

func NewGetSessionHistoryDetailedParamsWithTimeout(timeout time.Duration) *GetSessionHistoryDetailedParams

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

func (*GetSessionHistoryDetailedParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get session history detailed params

func (*GetSessionHistoryDetailedParams) SetContext

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

SetContext adds the context to the get session history detailed params

func (*GetSessionHistoryDetailedParams) SetFlightId

func (o *GetSessionHistoryDetailedParams) SetFlightId(flightId string)

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

func (*GetSessionHistoryDetailedParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get session history detailed params

func (*GetSessionHistoryDetailedParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get session history detailed params

func (*GetSessionHistoryDetailedParams) SetMatchID

func (o *GetSessionHistoryDetailedParams) SetMatchID(matchID string)

SetMatchID adds the matchId to the get session history detailed params

func (*GetSessionHistoryDetailedParams) SetNamespace

func (o *GetSessionHistoryDetailedParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get session history detailed params

func (*GetSessionHistoryDetailedParams) SetTimeout

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

SetTimeout adds the timeout to the get session history detailed params

func (*GetSessionHistoryDetailedParams) WithContext

WithContext adds the context to the get session history detailed params

func (*GetSessionHistoryDetailedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get session history detailed params

func (*GetSessionHistoryDetailedParams) WithMatchID

WithMatchID adds the matchID to the get session history detailed params

func (*GetSessionHistoryDetailedParams) WithNamespace

WithNamespace adds the namespace to the get session history detailed params

func (*GetSessionHistoryDetailedParams) WithTimeout

WithTimeout adds the timeout to the get session history detailed params

func (*GetSessionHistoryDetailedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSessionHistoryDetailedReader

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

GetSessionHistoryDetailedReader is a Reader for the GetSessionHistoryDetailed structure.

func (*GetSessionHistoryDetailedReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSessionHistoryDetailedUnauthorized

type GetSessionHistoryDetailedUnauthorized struct {
	Payload *sessionbrowserclientmodels.RestapiErrorV1
}

GetSessionHistoryDetailedUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>

func NewGetSessionHistoryDetailedUnauthorized

func NewGetSessionHistoryDetailedUnauthorized() *GetSessionHistoryDetailedUnauthorized

NewGetSessionHistoryDetailedUnauthorized creates a GetSessionHistoryDetailedUnauthorized with default headers values

func (*GetSessionHistoryDetailedUnauthorized) Error

func (*GetSessionHistoryDetailedUnauthorized) GetPayload

func (*GetSessionHistoryDetailedUnauthorized) ToJSONString

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

func (*GetSessionInternalServerError) ToJSONString

func (o *GetSessionInternalServerError) ToJSONString() string

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

func (*GetSessionNotFound) ToJSONString

func (o *GetSessionNotFound) ToJSONString() string

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

func (*GetSessionOK) ToJSONString

func (o *GetSessionOK) ToJSONString() string

type GetSessionParams

type GetSessionParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get session params

func (*GetSessionParams) SetContext

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

SetContext adds the context to the get session params

func (*GetSessionParams) SetFlightId

func (o *GetSessionParams) SetFlightId(flightId string)

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

func (*GetSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get session params

func (*GetSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport 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

type GetTotalActiveSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetTotalActiveSessionBadRequest handles this case with default header values.

malformed request

func NewGetTotalActiveSessionBadRequest

func NewGetTotalActiveSessionBadRequest() *GetTotalActiveSessionBadRequest

NewGetTotalActiveSessionBadRequest creates a GetTotalActiveSessionBadRequest with default headers values

func (*GetTotalActiveSessionBadRequest) Error

func (*GetTotalActiveSessionBadRequest) GetPayload

func (*GetTotalActiveSessionBadRequest) ToJSONString

func (o *GetTotalActiveSessionBadRequest) ToJSONString() string

type GetTotalActiveSessionInternalServerError

type GetTotalActiveSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetTotalActiveSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewGetTotalActiveSessionInternalServerError

func NewGetTotalActiveSessionInternalServerError() *GetTotalActiveSessionInternalServerError

NewGetTotalActiveSessionInternalServerError creates a GetTotalActiveSessionInternalServerError with default headers values

func (*GetTotalActiveSessionInternalServerError) Error

func (*GetTotalActiveSessionInternalServerError) GetPayload

func (*GetTotalActiveSessionInternalServerError) ToJSONString

type GetTotalActiveSessionOK

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

func NewGetTotalActiveSessionOK() *GetTotalActiveSessionOK

NewGetTotalActiveSessionOK creates a GetTotalActiveSessionOK with default headers values

func (*GetTotalActiveSessionOK) Error

func (o *GetTotalActiveSessionOK) Error() string

func (*GetTotalActiveSessionOK) GetPayload

func (*GetTotalActiveSessionOK) ToJSONString

func (o *GetTotalActiveSessionOK) ToJSONString() string

type GetTotalActiveSessionParams

type GetTotalActiveSessionParams struct {

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

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

	*/
	SessionType *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewGetTotalActiveSessionParams() *GetTotalActiveSessionParams

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

func NewGetTotalActiveSessionParamsWithContext

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

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

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get total active session params

func (*GetTotalActiveSessionParams) SetContext

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

SetContext adds the context to the get total active session params

func (*GetTotalActiveSessionParams) SetFlightId

func (o *GetTotalActiveSessionParams) SetFlightId(flightId string)

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

func (*GetTotalActiveSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get total active session params

func (*GetTotalActiveSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get total active session params

func (*GetTotalActiveSessionParams) SetNamespace

func (o *GetTotalActiveSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get total active session params

func (*GetTotalActiveSessionParams) SetSessionType

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

SetSessionType adds the sessionType to the get total active session params

func (*GetTotalActiveSessionParams) SetTimeout

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

SetTimeout adds the timeout to the get total active session params

func (*GetTotalActiveSessionParams) WithContext

WithContext adds the context to the get total active session params

func (*GetTotalActiveSessionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get total active session params

func (*GetTotalActiveSessionParams) WithNamespace

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

WithNamespace adds the namespace to the get total active session params

func (*GetTotalActiveSessionParams) WithSessionType

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

WithSessionType adds the sessionType to the get total active session params

func (*GetTotalActiveSessionParams) WithTimeout

WithTimeout adds the timeout to the get total active session params

func (*GetTotalActiveSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTotalActiveSessionReader

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

GetTotalActiveSessionReader is a Reader for the GetTotalActiveSession structure.

func (*GetTotalActiveSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JoinSessionBadRequest

type JoinSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

JoinSessionBadRequest handles this case with default header values.

malformed request

func NewJoinSessionBadRequest

func NewJoinSessionBadRequest() *JoinSessionBadRequest

NewJoinSessionBadRequest creates a JoinSessionBadRequest with default headers values

func (*JoinSessionBadRequest) Error

func (o *JoinSessionBadRequest) Error() string

func (*JoinSessionBadRequest) GetPayload

func (*JoinSessionBadRequest) ToJSONString

func (o *JoinSessionBadRequest) ToJSONString() string

type JoinSessionForbidden

type JoinSessionForbidden struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

JoinSessionForbidden handles this case with default header values.

user is banned from joining session

func NewJoinSessionForbidden

func NewJoinSessionForbidden() *JoinSessionForbidden

NewJoinSessionForbidden creates a JoinSessionForbidden with default headers values

func (*JoinSessionForbidden) Error

func (o *JoinSessionForbidden) Error() string

func (*JoinSessionForbidden) GetPayload

func (*JoinSessionForbidden) ToJSONString

func (o *JoinSessionForbidden) ToJSONString() string

type JoinSessionInternalServerError

type JoinSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

JoinSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewJoinSessionInternalServerError

func NewJoinSessionInternalServerError() *JoinSessionInternalServerError

NewJoinSessionInternalServerError creates a JoinSessionInternalServerError with default headers values

func (*JoinSessionInternalServerError) Error

func (*JoinSessionInternalServerError) GetPayload

func (*JoinSessionInternalServerError) ToJSONString

func (o *JoinSessionInternalServerError) ToJSONString() string

type JoinSessionNotFound

type JoinSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

JoinSessionNotFound handles this case with default header values.

session not found

func NewJoinSessionNotFound

func NewJoinSessionNotFound() *JoinSessionNotFound

NewJoinSessionNotFound creates a JoinSessionNotFound with default headers values

func (*JoinSessionNotFound) Error

func (o *JoinSessionNotFound) Error() string

func (*JoinSessionNotFound) GetPayload

func (*JoinSessionNotFound) ToJSONString

func (o *JoinSessionNotFound) ToJSONString() string

type JoinSessionOK

type JoinSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionResponse
}

JoinSessionOK handles this case with default header values.

session get

func NewJoinSessionOK

func NewJoinSessionOK() *JoinSessionOK

NewJoinSessionOK creates a JoinSessionOK with default headers values

func (*JoinSessionOK) Error

func (o *JoinSessionOK) Error() string

func (*JoinSessionOK) GetPayload

func (*JoinSessionOK) ToJSONString

func (o *JoinSessionOK) ToJSONString() string

type JoinSessionParams

type JoinSessionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionbrowserclientmodels.ModelsJoinGameSessionRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewJoinSessionParams() *JoinSessionParams

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

func NewJoinSessionParamsWithContext

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

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

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the join session params

func (*JoinSessionParams) SetBody

SetBody adds the body to the join session params

func (*JoinSessionParams) SetContext

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

SetContext adds the context to the join session params

func (*JoinSessionParams) SetFlightId

func (o *JoinSessionParams) SetFlightId(flightId string)

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

func (*JoinSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the join session params

func (*JoinSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the join session params

func (*JoinSessionParams) SetNamespace

func (o *JoinSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the join session params

func (*JoinSessionParams) SetSessionID

func (o *JoinSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the join session params

func (*JoinSessionParams) SetTimeout

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

SetTimeout adds the timeout to the join session params

func (*JoinSessionParams) WithBody

WithBody adds the body to the join session params

func (*JoinSessionParams) WithContext

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

WithContext adds the context to the join session params

func (*JoinSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the join session params

func (*JoinSessionParams) WithNamespace

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

WithNamespace adds the namespace to the join session params

func (*JoinSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the join session params

func (*JoinSessionParams) WithTimeout

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

WithTimeout adds the timeout to the join session params

func (*JoinSessionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type JoinSessionReader

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

JoinSessionReader is a Reader for the JoinSession structure.

func (*JoinSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemovePlayerFromSessionBadRequest

type RemovePlayerFromSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

RemovePlayerFromSessionBadRequest handles this case with default header values.

malformed request

func NewRemovePlayerFromSessionBadRequest

func NewRemovePlayerFromSessionBadRequest() *RemovePlayerFromSessionBadRequest

NewRemovePlayerFromSessionBadRequest creates a RemovePlayerFromSessionBadRequest with default headers values

func (*RemovePlayerFromSessionBadRequest) Error

func (*RemovePlayerFromSessionBadRequest) GetPayload

func (*RemovePlayerFromSessionBadRequest) ToJSONString

func (o *RemovePlayerFromSessionBadRequest) ToJSONString() string

type RemovePlayerFromSessionInternalServerError

type RemovePlayerFromSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

RemovePlayerFromSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewRemovePlayerFromSessionInternalServerError

func NewRemovePlayerFromSessionInternalServerError() *RemovePlayerFromSessionInternalServerError

NewRemovePlayerFromSessionInternalServerError creates a RemovePlayerFromSessionInternalServerError with default headers values

func (*RemovePlayerFromSessionInternalServerError) Error

func (*RemovePlayerFromSessionInternalServerError) GetPayload

func (*RemovePlayerFromSessionInternalServerError) ToJSONString

type RemovePlayerFromSessionNotFound

type RemovePlayerFromSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

RemovePlayerFromSessionNotFound handles this case with default header values.

session not found

func NewRemovePlayerFromSessionNotFound

func NewRemovePlayerFromSessionNotFound() *RemovePlayerFromSessionNotFound

NewRemovePlayerFromSessionNotFound creates a RemovePlayerFromSessionNotFound with default headers values

func (*RemovePlayerFromSessionNotFound) Error

func (*RemovePlayerFromSessionNotFound) GetPayload

func (*RemovePlayerFromSessionNotFound) ToJSONString

func (o *RemovePlayerFromSessionNotFound) ToJSONString() string

type RemovePlayerFromSessionOK

type RemovePlayerFromSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsAddPlayerResponse
}

RemovePlayerFromSessionOK handles this case with default header values.

player removed

func NewRemovePlayerFromSessionOK

func NewRemovePlayerFromSessionOK() *RemovePlayerFromSessionOK

NewRemovePlayerFromSessionOK creates a RemovePlayerFromSessionOK with default headers values

func (*RemovePlayerFromSessionOK) Error

func (o *RemovePlayerFromSessionOK) Error() string

func (*RemovePlayerFromSessionOK) GetPayload

func (*RemovePlayerFromSessionOK) ToJSONString

func (o *RemovePlayerFromSessionOK) ToJSONString() string

type RemovePlayerFromSessionParams

type RemovePlayerFromSessionParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string
	/*UserID
	  user ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewRemovePlayerFromSessionParams() *RemovePlayerFromSessionParams

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

func NewRemovePlayerFromSessionParamsWithContext

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

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

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the remove player from session params

func (*RemovePlayerFromSessionParams) SetContext

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

SetContext adds the context to the remove player from session params

func (*RemovePlayerFromSessionParams) SetFlightId

func (o *RemovePlayerFromSessionParams) SetFlightId(flightId string)

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

func (*RemovePlayerFromSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove player from session params

func (*RemovePlayerFromSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the remove player from session params

func (*RemovePlayerFromSessionParams) SetNamespace

func (o *RemovePlayerFromSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the remove player from session params

func (*RemovePlayerFromSessionParams) SetSessionID

func (o *RemovePlayerFromSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the remove player from session params

func (*RemovePlayerFromSessionParams) SetTimeout

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

SetTimeout adds the timeout to the remove player from session params

func (*RemovePlayerFromSessionParams) SetUserID

func (o *RemovePlayerFromSessionParams) SetUserID(userID string)

SetUserID adds the userId to the remove player from session params

func (*RemovePlayerFromSessionParams) WithContext

WithContext adds the context to the remove player from session params

func (*RemovePlayerFromSessionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove player from session params

func (*RemovePlayerFromSessionParams) WithNamespace

WithNamespace adds the namespace to the remove player from session params

func (*RemovePlayerFromSessionParams) WithSessionID

WithSessionID adds the sessionID to the remove player from session params

func (*RemovePlayerFromSessionParams) WithTimeout

WithTimeout adds the timeout to the remove player from session params

func (*RemovePlayerFromSessionParams) WithUserID

WithUserID adds the userID to the remove player from session params

func (*RemovePlayerFromSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemovePlayerFromSessionReader

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

RemovePlayerFromSessionReader is a Reader for the RemovePlayerFromSession structure.

func (*RemovePlayerFromSessionReader) ReadResponse

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

func (*UpdateSessionBadRequest) ToJSONString

func (o *UpdateSessionBadRequest) ToJSONString() string

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

func (*UpdateSessionInternalServerError) ToJSONString

func (o *UpdateSessionInternalServerError) ToJSONString() string

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

func (*UpdateSessionNotFound) ToJSONString

func (o *UpdateSessionNotFound) ToJSONString() string

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

func (*UpdateSessionOK) ToJSONString

func (o *UpdateSessionOK) ToJSONString() string

type UpdateSessionParams

type UpdateSessionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionbrowserclientmodels.ModelsUpdateSessionRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update session params

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) SetFlightId

func (o *UpdateSessionParams) SetFlightId(flightId string)

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

func (*UpdateSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update session params

func (*UpdateSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport 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.

type UpdateSettingsBadRequest

type UpdateSettingsBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

UpdateSettingsBadRequest handles this case with default header values.

malformed request

func NewUpdateSettingsBadRequest

func NewUpdateSettingsBadRequest() *UpdateSettingsBadRequest

NewUpdateSettingsBadRequest creates a UpdateSettingsBadRequest with default headers values

func (*UpdateSettingsBadRequest) Error

func (o *UpdateSettingsBadRequest) Error() string

func (*UpdateSettingsBadRequest) GetPayload

func (*UpdateSettingsBadRequest) ToJSONString

func (o *UpdateSettingsBadRequest) ToJSONString() string

type UpdateSettingsInternalServerError

type UpdateSettingsInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

UpdateSettingsInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateSettingsInternalServerError

func NewUpdateSettingsInternalServerError() *UpdateSettingsInternalServerError

NewUpdateSettingsInternalServerError creates a UpdateSettingsInternalServerError with default headers values

func (*UpdateSettingsInternalServerError) Error

func (*UpdateSettingsInternalServerError) GetPayload

func (*UpdateSettingsInternalServerError) ToJSONString

func (o *UpdateSettingsInternalServerError) ToJSONString() string

type UpdateSettingsNotFound

type UpdateSettingsNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

UpdateSettingsNotFound handles this case with default header values.

session not found

func NewUpdateSettingsNotFound

func NewUpdateSettingsNotFound() *UpdateSettingsNotFound

NewUpdateSettingsNotFound creates a UpdateSettingsNotFound with default headers values

func (*UpdateSettingsNotFound) Error

func (o *UpdateSettingsNotFound) Error() string

func (*UpdateSettingsNotFound) GetPayload

func (*UpdateSettingsNotFound) ToJSONString

func (o *UpdateSettingsNotFound) ToJSONString() string

type UpdateSettingsOK

type UpdateSettingsOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionResponse
}

UpdateSettingsOK handles this case with default header values.

session updated

func NewUpdateSettingsOK

func NewUpdateSettingsOK() *UpdateSettingsOK

NewUpdateSettingsOK creates a UpdateSettingsOK with default headers values

func (*UpdateSettingsOK) Error

func (o *UpdateSettingsOK) Error() string

func (*UpdateSettingsOK) GetPayload

func (*UpdateSettingsOK) ToJSONString

func (o *UpdateSettingsOK) ToJSONString() string

type UpdateSettingsParams

type UpdateSettingsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body sessionbrowserclientmodels.ModelsUpdateSettingsRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewUpdateSettingsParams

func NewUpdateSettingsParams() *UpdateSettingsParams

NewUpdateSettingsParams creates a new UpdateSettingsParams object with the default values initialized.

func NewUpdateSettingsParamsWithContext

func NewUpdateSettingsParamsWithContext(ctx context.Context) *UpdateSettingsParams

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

func NewUpdateSettingsParamsWithHTTPClient

func NewUpdateSettingsParamsWithHTTPClient(client *http.Client) *UpdateSettingsParams

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

func NewUpdateSettingsParamsWithTimeout

func NewUpdateSettingsParamsWithTimeout(timeout time.Duration) *UpdateSettingsParams

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

func (*UpdateSettingsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update settings params

func (*UpdateSettingsParams) SetBody

SetBody adds the body to the update settings params

func (*UpdateSettingsParams) SetContext

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

SetContext adds the context to the update settings params

func (*UpdateSettingsParams) SetFlightId

func (o *UpdateSettingsParams) SetFlightId(flightId string)

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

func (*UpdateSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update settings params

func (*UpdateSettingsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update settings params

func (*UpdateSettingsParams) SetNamespace

func (o *UpdateSettingsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update settings params

func (*UpdateSettingsParams) SetSessionID

func (o *UpdateSettingsParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the update settings params

func (*UpdateSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the update settings params

func (*UpdateSettingsParams) WithBody

WithBody adds the body to the update settings params

func (*UpdateSettingsParams) WithContext

WithContext adds the context to the update settings params

func (*UpdateSettingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update settings params

func (*UpdateSettingsParams) WithNamespace

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

WithNamespace adds the namespace to the update settings params

func (*UpdateSettingsParams) WithSessionID

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

WithSessionID adds the sessionID to the update settings params

func (*UpdateSettingsParams) WithTimeout

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

WithTimeout adds the timeout to the update settings params

func (*UpdateSettingsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateSettingsReader

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

UpdateSettingsReader is a Reader for the UpdateSettings structure.

func (*UpdateSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserQuerySessionBadRequest

type UserQuerySessionBadRequest struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

UserQuerySessionBadRequest handles this case with default header values.

malformed request

func NewUserQuerySessionBadRequest

func NewUserQuerySessionBadRequest() *UserQuerySessionBadRequest

NewUserQuerySessionBadRequest creates a UserQuerySessionBadRequest with default headers values

func (*UserQuerySessionBadRequest) Error

func (*UserQuerySessionBadRequest) GetPayload

func (*UserQuerySessionBadRequest) ToJSONString

func (o *UserQuerySessionBadRequest) ToJSONString() string

type UserQuerySessionInternalServerError

type UserQuerySessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

UserQuerySessionInternalServerError handles this case with default header values.

Internal Server Error

func NewUserQuerySessionInternalServerError

func NewUserQuerySessionInternalServerError() *UserQuerySessionInternalServerError

NewUserQuerySessionInternalServerError creates a UserQuerySessionInternalServerError with default headers values

func (*UserQuerySessionInternalServerError) Error

func (*UserQuerySessionInternalServerError) GetPayload

func (*UserQuerySessionInternalServerError) ToJSONString

func (o *UserQuerySessionInternalServerError) ToJSONString() string

type UserQuerySessionOK

type UserQuerySessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionQueryResponse
}

UserQuerySessionOK handles this case with default header values.

session get

func NewUserQuerySessionOK

func NewUserQuerySessionOK() *UserQuerySessionOK

NewUserQuerySessionOK creates a UserQuerySessionOK with default headers values

func (*UserQuerySessionOK) Error

func (o *UserQuerySessionOK) Error() string

func (*UserQuerySessionOK) GetPayload

func (*UserQuerySessionOK) ToJSONString

func (o *UserQuerySessionOK) ToJSONString() string

type UserQuerySessionParams

type UserQuerySessionParams struct {

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

	*/
	Namespace string
	/*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 *int64
	/*MatchExist
	  filter session by match existence, accept 'true' or 'false'

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

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

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

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

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

	*/
	SessionType string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewUserQuerySessionParams

func NewUserQuerySessionParams() *UserQuerySessionParams

NewUserQuerySessionParams creates a new UserQuerySessionParams object with the default values initialized.

func NewUserQuerySessionParamsWithContext

func NewUserQuerySessionParamsWithContext(ctx context.Context) *UserQuerySessionParams

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

func NewUserQuerySessionParamsWithHTTPClient

func NewUserQuerySessionParamsWithHTTPClient(client *http.Client) *UserQuerySessionParams

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

func NewUserQuerySessionParamsWithTimeout

func NewUserQuerySessionParamsWithTimeout(timeout time.Duration) *UserQuerySessionParams

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

func (*UserQuerySessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the user query session params

func (*UserQuerySessionParams) SetContext

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

SetContext adds the context to the user query session params

func (*UserQuerySessionParams) SetFlightId

func (o *UserQuerySessionParams) SetFlightId(flightId string)

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

func (*UserQuerySessionParams) SetGameMode

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

SetGameMode adds the gameMode to the user query session params

func (*UserQuerySessionParams) SetGameVersion

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

SetGameVersion adds the gameVersion to the user query session params

func (*UserQuerySessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user query session params

func (*UserQuerySessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the user query session params

func (*UserQuerySessionParams) SetJoinable

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

SetJoinable adds the joinable to the user query session params

func (*UserQuerySessionParams) SetLimit

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

SetLimit adds the limit to the user query session params

func (*UserQuerySessionParams) SetMatchExist

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

SetMatchExist adds the matchExist to the user query session params

func (*UserQuerySessionParams) SetMatchID

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

SetMatchID adds the matchId to the user query session params

func (*UserQuerySessionParams) SetNamespace

func (o *UserQuerySessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the user query session params

func (*UserQuerySessionParams) SetOffset

func (o *UserQuerySessionParams) SetOffset(offset *int64)

SetOffset adds the offset to the user query session params

func (*UserQuerySessionParams) SetServerStatus

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

SetServerStatus adds the serverStatus to the user query session params

func (*UserQuerySessionParams) SetSessionType

func (o *UserQuerySessionParams) SetSessionType(sessionType string)

SetSessionType adds the sessionType to the user query session params

func (*UserQuerySessionParams) SetTimeout

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

SetTimeout adds the timeout to the user query session params

func (*UserQuerySessionParams) SetUserID

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

SetUserID adds the userId to the user query session params

func (*UserQuerySessionParams) WithContext

WithContext adds the context to the user query session params

func (*UserQuerySessionParams) WithGameMode

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

WithGameMode adds the gameMode to the user query session params

func (*UserQuerySessionParams) WithGameVersion

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

WithGameVersion adds the gameVersion to the user query session params

func (*UserQuerySessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user query session params

func (*UserQuerySessionParams) WithJoinable

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

WithJoinable adds the joinable to the user query session params

func (*UserQuerySessionParams) WithLimit

func (o *UserQuerySessionParams) WithLimit(limit *int64) *UserQuerySessionParams

WithLimit adds the limit to the user query session params

func (*UserQuerySessionParams) WithMatchExist

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

WithMatchExist adds the matchExist to the user query session params

func (*UserQuerySessionParams) WithMatchID

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

WithMatchID adds the matchID to the user query session params

func (*UserQuerySessionParams) WithNamespace

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

WithNamespace adds the namespace to the user query session params

func (*UserQuerySessionParams) WithOffset

func (o *UserQuerySessionParams) WithOffset(offset *int64) *UserQuerySessionParams

WithOffset adds the offset to the user query session params

func (*UserQuerySessionParams) WithServerStatus

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

WithServerStatus adds the serverStatus to the user query session params

func (*UserQuerySessionParams) WithSessionType

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

WithSessionType adds the sessionType to the user query session params

func (*UserQuerySessionParams) WithTimeout

WithTimeout adds the timeout to the user query session params

func (*UserQuerySessionParams) WithUserID

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

WithUserID adds the userID to the user query session params

func (*UserQuerySessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserQuerySessionReader

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

UserQuerySessionReader is a Reader for the UserQuerySession structure.

func (*UserQuerySessionReader) ReadResponse

func (o *UserQuerySessionReader) 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