session

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 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 added in v0.4.0

type AddPlayerToSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AddPlayerToSessionBadRequest handles this case with default header values.

malformed request

func NewAddPlayerToSessionBadRequest added in v0.4.0

func NewAddPlayerToSessionBadRequest() *AddPlayerToSessionBadRequest

NewAddPlayerToSessionBadRequest creates a AddPlayerToSessionBadRequest with default headers values

func (*AddPlayerToSessionBadRequest) Error added in v0.4.0

func (*AddPlayerToSessionBadRequest) GetPayload added in v0.4.0

func (*AddPlayerToSessionBadRequest) ToJSONString added in v0.25.0

func (o *AddPlayerToSessionBadRequest) ToJSONString() string

type AddPlayerToSessionInternalServerError added in v0.4.0

type AddPlayerToSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AddPlayerToSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAddPlayerToSessionInternalServerError added in v0.4.0

func NewAddPlayerToSessionInternalServerError() *AddPlayerToSessionInternalServerError

NewAddPlayerToSessionInternalServerError creates a AddPlayerToSessionInternalServerError with default headers values

func (*AddPlayerToSessionInternalServerError) Error added in v0.4.0

func (*AddPlayerToSessionInternalServerError) GetPayload added in v0.4.0

func (*AddPlayerToSessionInternalServerError) ToJSONString added in v0.25.0

type AddPlayerToSessionNotFound added in v0.4.0

type AddPlayerToSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AddPlayerToSessionNotFound handles this case with default header values.

session not found

func NewAddPlayerToSessionNotFound added in v0.4.0

func NewAddPlayerToSessionNotFound() *AddPlayerToSessionNotFound

NewAddPlayerToSessionNotFound creates a AddPlayerToSessionNotFound with default headers values

func (*AddPlayerToSessionNotFound) Error added in v0.4.0

func (*AddPlayerToSessionNotFound) GetPayload added in v0.4.0

func (*AddPlayerToSessionNotFound) ToJSONString added in v0.25.0

func (o *AddPlayerToSessionNotFound) ToJSONString() string

type AddPlayerToSessionOK added in v0.4.0

type AddPlayerToSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsAddPlayerResponse
}

AddPlayerToSessionOK handles this case with default header values.

session updated

func NewAddPlayerToSessionOK added in v0.4.0

func NewAddPlayerToSessionOK() *AddPlayerToSessionOK

NewAddPlayerToSessionOK creates a AddPlayerToSessionOK with default headers values

func (*AddPlayerToSessionOK) Error added in v0.4.0

func (o *AddPlayerToSessionOK) Error() string

func (*AddPlayerToSessionOK) GetPayload added in v0.4.0

func (*AddPlayerToSessionOK) ToJSONString added in v0.25.0

func (o *AddPlayerToSessionOK) ToJSONString() string

type AddPlayerToSessionParams added in v0.4.0

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
	// contains filtered or unexported fields
}

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

func NewAddPlayerToSessionParams added in v0.4.0

func NewAddPlayerToSessionParams() *AddPlayerToSessionParams

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

func NewAddPlayerToSessionParamsWithContext added in v0.4.0

func NewAddPlayerToSessionParamsWithContext(ctx context.Context) *AddPlayerToSessionParams

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

func NewAddPlayerToSessionParamsWithHTTPClient added in v0.4.0

func NewAddPlayerToSessionParamsWithHTTPClient(client *http.Client) *AddPlayerToSessionParams

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

func NewAddPlayerToSessionParamsWithTimeout added in v0.4.0

func NewAddPlayerToSessionParamsWithTimeout(timeout time.Duration) *AddPlayerToSessionParams

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

func (*AddPlayerToSessionParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the add player to session params

func (*AddPlayerToSessionParams) SetBody added in v0.4.0

SetBody adds the body to the add player to session params

func (*AddPlayerToSessionParams) SetContext added in v0.4.0

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

SetContext adds the context to the add player to session params

func (*AddPlayerToSessionParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the add player to session params

func (*AddPlayerToSessionParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*AddPlayerToSessionParams) SetNamespace added in v0.4.0

func (o *AddPlayerToSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the add player to session params

func (*AddPlayerToSessionParams) SetSessionID added in v0.4.0

func (o *AddPlayerToSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the add player to session params

func (*AddPlayerToSessionParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the add player to session params

func (*AddPlayerToSessionParams) WithBody added in v0.4.0

WithBody adds the body to the add player to session params

func (*AddPlayerToSessionParams) WithContext added in v0.4.0

WithContext adds the context to the add player to session params

func (*AddPlayerToSessionParams) WithHTTPClient added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the add player to session params

func (*AddPlayerToSessionParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the add player to session params

func (*AddPlayerToSessionParams) WithSessionID added in v0.4.0

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

WithSessionID adds the sessionID to the add player to session params

func (*AddPlayerToSessionParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the add player to session params

func (*AddPlayerToSessionParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type AddPlayerToSessionReader added in v0.4.0

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

AddPlayerToSessionReader is a Reader for the AddPlayerToSession structure.

func (*AddPlayerToSessionReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type AdminDeleteSessionBadRequest added in v0.30.0

type AdminDeleteSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminDeleteSessionBadRequest handles this case with default header values.

malformed request

func NewAdminDeleteSessionBadRequest added in v0.30.0

func NewAdminDeleteSessionBadRequest() *AdminDeleteSessionBadRequest

NewAdminDeleteSessionBadRequest creates a AdminDeleteSessionBadRequest with default headers values

func (*AdminDeleteSessionBadRequest) Error added in v0.30.0

func (*AdminDeleteSessionBadRequest) GetPayload added in v0.30.0

func (*AdminDeleteSessionBadRequest) ToJSONString added in v0.30.0

func (o *AdminDeleteSessionBadRequest) ToJSONString() string

type AdminDeleteSessionInternalServerError added in v0.30.0

type AdminDeleteSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminDeleteSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminDeleteSessionInternalServerError added in v0.30.0

func NewAdminDeleteSessionInternalServerError() *AdminDeleteSessionInternalServerError

NewAdminDeleteSessionInternalServerError creates a AdminDeleteSessionInternalServerError with default headers values

func (*AdminDeleteSessionInternalServerError) Error added in v0.30.0

func (*AdminDeleteSessionInternalServerError) GetPayload added in v0.30.0

func (*AdminDeleteSessionInternalServerError) ToJSONString added in v0.30.0

type AdminDeleteSessionNotFound added in v0.30.0

type AdminDeleteSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminDeleteSessionNotFound handles this case with default header values.

session not found

func NewAdminDeleteSessionNotFound added in v0.30.0

func NewAdminDeleteSessionNotFound() *AdminDeleteSessionNotFound

NewAdminDeleteSessionNotFound creates a AdminDeleteSessionNotFound with default headers values

func (*AdminDeleteSessionNotFound) Error added in v0.30.0

func (*AdminDeleteSessionNotFound) GetPayload added in v0.30.0

func (*AdminDeleteSessionNotFound) ToJSONString added in v0.30.0

func (o *AdminDeleteSessionNotFound) ToJSONString() string

type AdminDeleteSessionOK added in v0.30.0

type AdminDeleteSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsAdminSessionResponse
}

AdminDeleteSessionOK handles this case with default header values.

session deleted

func NewAdminDeleteSessionOK added in v0.30.0

func NewAdminDeleteSessionOK() *AdminDeleteSessionOK

NewAdminDeleteSessionOK creates a AdminDeleteSessionOK with default headers values

func (*AdminDeleteSessionOK) Error added in v0.30.0

func (o *AdminDeleteSessionOK) Error() string

func (*AdminDeleteSessionOK) GetPayload added in v0.30.0

func (*AdminDeleteSessionOK) ToJSONString added in v0.30.0

func (o *AdminDeleteSessionOK) ToJSONString() string

type AdminDeleteSessionParams added in v0.30.0

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
	// 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 added in v0.30.0

func NewAdminDeleteSessionParams() *AdminDeleteSessionParams

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

func NewAdminDeleteSessionParamsWithContext added in v0.30.0

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 added in v0.30.0

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 added in v0.30.0

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 added in v0.30.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete session params

func (*AdminDeleteSessionParams) SetContext added in v0.30.0

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

SetContext adds the context to the admin delete session params

func (*AdminDeleteSessionParams) SetHTTPClient added in v0.30.0

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

SetHTTPClient adds the HTTPClient to the admin delete session params

func (*AdminDeleteSessionParams) SetHTTPClientTransport added in v0.30.0

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

SetHTTPClient adds the HTTPClient Transport to the admin delete session params

func (*AdminDeleteSessionParams) SetNamespace added in v0.30.0

func (o *AdminDeleteSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete session params

func (*AdminDeleteSessionParams) SetSessionID added in v0.30.0

func (o *AdminDeleteSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the admin delete session params

func (*AdminDeleteSessionParams) SetTimeout added in v0.30.0

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

SetTimeout adds the timeout to the admin delete session params

func (*AdminDeleteSessionParams) WithContext added in v0.30.0

WithContext adds the context to the admin delete session params

func (*AdminDeleteSessionParams) WithHTTPClient added in v0.30.0

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

WithHTTPClient adds the HTTPClient to the admin delete session params

func (*AdminDeleteSessionParams) WithNamespace added in v0.30.0

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

WithNamespace adds the namespace to the admin delete session params

func (*AdminDeleteSessionParams) WithSessionID added in v0.30.0

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

WithSessionID adds the sessionID to the admin delete session params

func (*AdminDeleteSessionParams) WithTimeout added in v0.30.0

WithTimeout adds the timeout to the admin delete session params

func (*AdminDeleteSessionParams) WriteToRequest added in v0.30.0

WriteToRequest writes these params to a swagger request

type AdminDeleteSessionReader added in v0.30.0

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

AdminDeleteSessionReader is a Reader for the AdminDeleteSession structure.

func (*AdminDeleteSessionReader) ReadResponse added in v0.30.0

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

ReadResponse reads a server response into the received o.

type AdminGetSessionInternalServerError added in v0.4.0

type AdminGetSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminGetSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetSessionInternalServerError added in v0.4.0

func NewAdminGetSessionInternalServerError() *AdminGetSessionInternalServerError

NewAdminGetSessionInternalServerError creates a AdminGetSessionInternalServerError with default headers values

func (*AdminGetSessionInternalServerError) Error added in v0.4.0

func (*AdminGetSessionInternalServerError) GetPayload added in v0.4.0

func (*AdminGetSessionInternalServerError) ToJSONString added in v0.25.0

func (o *AdminGetSessionInternalServerError) ToJSONString() string

type AdminGetSessionNotFound added in v0.4.0

type AdminGetSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

AdminGetSessionNotFound handles this case with default header values.

session not found

func NewAdminGetSessionNotFound added in v0.4.0

func NewAdminGetSessionNotFound() *AdminGetSessionNotFound

NewAdminGetSessionNotFound creates a AdminGetSessionNotFound with default headers values

func (*AdminGetSessionNotFound) Error added in v0.4.0

func (o *AdminGetSessionNotFound) Error() string

func (*AdminGetSessionNotFound) GetPayload added in v0.4.0

func (*AdminGetSessionNotFound) ToJSONString added in v0.25.0

func (o *AdminGetSessionNotFound) ToJSONString() string

type AdminGetSessionOK added in v0.4.0

type AdminGetSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsAdminSessionResponse
}

AdminGetSessionOK handles this case with default header values.

session get

func NewAdminGetSessionOK added in v0.4.0

func NewAdminGetSessionOK() *AdminGetSessionOK

NewAdminGetSessionOK creates a AdminGetSessionOK with default headers values

func (*AdminGetSessionOK) Error added in v0.4.0

func (o *AdminGetSessionOK) Error() string

func (*AdminGetSessionOK) GetPayload added in v0.4.0

func (*AdminGetSessionOK) ToJSONString added in v0.25.0

func (o *AdminGetSessionOK) ToJSONString() string

type AdminGetSessionParams added in v0.4.0

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
	// contains filtered or unexported fields
}

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

func NewAdminGetSessionParams added in v0.4.0

func NewAdminGetSessionParams() *AdminGetSessionParams

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

func NewAdminGetSessionParamsWithContext added in v0.4.0

func NewAdminGetSessionParamsWithContext(ctx context.Context) *AdminGetSessionParams

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

func NewAdminGetSessionParamsWithHTTPClient added in v0.4.0

func NewAdminGetSessionParamsWithHTTPClient(client *http.Client) *AdminGetSessionParams

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

func NewAdminGetSessionParamsWithTimeout added in v0.4.0

func NewAdminGetSessionParamsWithTimeout(timeout time.Duration) *AdminGetSessionParams

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

func (*AdminGetSessionParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get session params

func (*AdminGetSessionParams) SetContext added in v0.4.0

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

SetContext adds the context to the admin get session params

func (*AdminGetSessionParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the admin get session params

func (*AdminGetSessionParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin get session params

func (*AdminGetSessionParams) SetNamespace added in v0.4.0

func (o *AdminGetSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get session params

func (*AdminGetSessionParams) SetSessionID added in v0.4.0

func (o *AdminGetSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the admin get session params

func (*AdminGetSessionParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the admin get session params

func (*AdminGetSessionParams) WithContext added in v0.4.0

WithContext adds the context to the admin get session params

func (*AdminGetSessionParams) WithHTTPClient added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the admin get session params

func (*AdminGetSessionParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the admin get session params

func (*AdminGetSessionParams) WithSessionID added in v0.4.0

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

WithSessionID adds the sessionID to the admin get session params

func (*AdminGetSessionParams) WithTimeout added in v0.4.0

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

WithTimeout adds the timeout to the admin get session params

func (*AdminGetSessionParams) WriteToRequest added in v0.4.0

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

WriteToRequest writes these params to a swagger request

type AdminGetSessionReader added in v0.4.0

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

AdminGetSessionReader is a Reader for the AdminGetSession structure.

func (*AdminGetSessionReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type AdminSearchSessionsV2BadRequest added in v0.28.0

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 added in v0.28.0

func NewAdminSearchSessionsV2BadRequest() *AdminSearchSessionsV2BadRequest

NewAdminSearchSessionsV2BadRequest creates a AdminSearchSessionsV2BadRequest with default headers values

func (*AdminSearchSessionsV2BadRequest) Error added in v0.28.0

func (*AdminSearchSessionsV2BadRequest) GetPayload added in v0.28.0

func (*AdminSearchSessionsV2BadRequest) ToJSONString added in v0.28.0

func (o *AdminSearchSessionsV2BadRequest) ToJSONString() string

type AdminSearchSessionsV2Forbidden added in v0.28.0

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 added in v0.28.0

func NewAdminSearchSessionsV2Forbidden() *AdminSearchSessionsV2Forbidden

NewAdminSearchSessionsV2Forbidden creates a AdminSearchSessionsV2Forbidden with default headers values

func (*AdminSearchSessionsV2Forbidden) Error added in v0.28.0

func (*AdminSearchSessionsV2Forbidden) GetPayload added in v0.28.0

func (*AdminSearchSessionsV2Forbidden) ToJSONString added in v0.28.0

func (o *AdminSearchSessionsV2Forbidden) ToJSONString() string

type AdminSearchSessionsV2InternalServerError added in v0.28.0

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 added in v0.28.0

func NewAdminSearchSessionsV2InternalServerError() *AdminSearchSessionsV2InternalServerError

NewAdminSearchSessionsV2InternalServerError creates a AdminSearchSessionsV2InternalServerError with default headers values

func (*AdminSearchSessionsV2InternalServerError) Error added in v0.28.0

func (*AdminSearchSessionsV2InternalServerError) GetPayload added in v0.28.0

func (*AdminSearchSessionsV2InternalServerError) ToJSONString added in v0.28.0

type AdminSearchSessionsV2OK added in v0.28.0

type AdminSearchSessionsV2OK struct {
	Payload *sessionbrowserclientmodels.ModelsGetSessionHistorySearchResponseV2
}

AdminSearchSessionsV2OK handles this case with default header values.

Operation succeeded

func NewAdminSearchSessionsV2OK added in v0.28.0

func NewAdminSearchSessionsV2OK() *AdminSearchSessionsV2OK

NewAdminSearchSessionsV2OK creates a AdminSearchSessionsV2OK with default headers values

func (*AdminSearchSessionsV2OK) Error added in v0.28.0

func (o *AdminSearchSessionsV2OK) Error() string

func (*AdminSearchSessionsV2OK) GetPayload added in v0.28.0

func (*AdminSearchSessionsV2OK) ToJSONString added in v0.28.0

func (o *AdminSearchSessionsV2OK) ToJSONString() string

type AdminSearchSessionsV2Params added in v0.28.0

type AdminSearchSessionsV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Channel
	  ID of the channel

	*/
	Channel *string
	/*Deleted
	  only deleted session

	*/
	Deleted *bool
	/*Limit
	  limit

	*/
	Limit int64
	/*MatchID
	  ID of the match session

	*/
	MatchID *string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Offset
	  offset

	*/
	Offset int64
	/*PartyID
	  ID of the party

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

	*/
	UserID *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// 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 added in v0.28.0

func NewAdminSearchSessionsV2Params() *AdminSearchSessionsV2Params

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

func NewAdminSearchSessionsV2ParamsWithContext added in v0.28.0

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 added in v0.28.0

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 added in v0.28.0

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 added in v0.28.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetChannel added in v0.28.0

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

SetChannel adds the channel to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetContext added in v0.28.0

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

SetContext adds the context to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetDeleted added in v0.28.0

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

SetDeleted adds the deleted to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetHTTPClient added in v0.28.0

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

SetHTTPClient adds the HTTPClient to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetHTTPClientTransport added in v0.28.0

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

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

func (*AdminSearchSessionsV2Params) SetLimit added in v0.28.0

func (o *AdminSearchSessionsV2Params) SetLimit(limit int64)

SetLimit adds the limit to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetMatchID added in v0.28.0

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

SetMatchID adds the matchId to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetNamespace added in v0.28.0

func (o *AdminSearchSessionsV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetOffset added in v0.28.0

func (o *AdminSearchSessionsV2Params) SetOffset(offset int64)

SetOffset adds the offset to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetPartyID added in v0.28.0

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

SetPartyID adds the partyId to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetTimeout added in v0.28.0

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

SetTimeout adds the timeout to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) SetUserID added in v0.28.0

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

SetUserID adds the userId to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithChannel added in v0.28.0

WithChannel adds the channel to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithContext added in v0.28.0

WithContext adds the context to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithDeleted added in v0.28.0

WithDeleted adds the deleted to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithHTTPClient added in v0.28.0

WithHTTPClient adds the HTTPClient to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithLimit added in v0.28.0

WithLimit adds the limit to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithMatchID added in v0.28.0

WithMatchID adds the matchID to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithNamespace added in v0.28.0

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

WithNamespace adds the namespace to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithOffset added in v0.28.0

WithOffset adds the offset to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithPartyID added in v0.28.0

WithPartyID adds the partyID to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithTimeout added in v0.28.0

WithTimeout adds the timeout to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WithUserID added in v0.28.0

WithUserID adds the userID to the admin search sessions v2 params

func (*AdminSearchSessionsV2Params) WriteToRequest added in v0.28.0

WriteToRequest writes these params to a swagger request

type AdminSearchSessionsV2Reader added in v0.28.0

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

AdminSearchSessionsV2Reader is a Reader for the AdminSearchSessionsV2 structure.

func (*AdminSearchSessionsV2Reader) ReadResponse added in v0.28.0

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

ReadResponse reads a server response into the received o.

type AdminSearchSessionsV2Unauthorized added in v0.28.0

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 added in v0.28.0

func NewAdminSearchSessionsV2Unauthorized() *AdminSearchSessionsV2Unauthorized

NewAdminSearchSessionsV2Unauthorized creates a AdminSearchSessionsV2Unauthorized with default headers values

func (*AdminSearchSessionsV2Unauthorized) Error added in v0.28.0

func (*AdminSearchSessionsV2Unauthorized) GetPayload added in v0.28.0

func (*AdminSearchSessionsV2Unauthorized) ToJSONString added in v0.28.0

func (o *AdminSearchSessionsV2Unauthorized) ToJSONString() string

type Client

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

Client for session API

func (*Client) AddPlayerToSession deprecated added in v0.4.0

Deprecated: Use AddPlayerToSessionShort instead.

AddPlayerToSession adds player to game session

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

Required scope: social

Add player to game session

func (*Client) AddPlayerToSessionShort added in v0.8.0

func (a *Client) AddPlayerToSessionShort(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, error)
AddPlayerToSessionShort adds player to game session

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

Required scope: social

Add player to game session

func (*Client) AdminDeleteSession deprecated added in v0.30.0

Deprecated: Use AdminDeleteSessionShort instead.

AdminDeleteSession admins delete specified session by session ID

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

Required scope: social

Admin delete the session by session ID

func (*Client) AdminDeleteSessionShort added in v0.30.0

func (a *Client) AdminDeleteSessionShort(params *AdminDeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteSessionOK, error)
AdminDeleteSessionShort admins delete specified session by session ID

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

Required scope: social

Admin delete the session by session ID

func (*Client) AdminGetSession deprecated added in v0.4.0

Deprecated: Use AdminGetSessionShort instead.

AdminGetSession admins get specified session by session ID

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

Required scope: social

Get the session by session ID for admin user

func (*Client) AdminGetSessionShort added in v0.8.0

func (a *Client) AdminGetSessionShort(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, error)
AdminGetSessionShort admins get specified session by session ID

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

Required scope: social

Get the session by session ID for admin user

func (*Client) AdminSearchSessionsV2 deprecated added in v0.28.0

Deprecated: Use AdminSearchSessionsV2Short instead.

AdminSearchSessionsV2 searches sessions

Required Permission: ADMIN:NAMESPACE:{namespace}:SESSION [Read]

Required Scope: social

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

func (*Client) AdminSearchSessionsV2Short added in v0.28.0

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

Required Permission: ADMIN:NAMESPACE:{namespace}:SESSION [Read]

Required Scope: social

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

func (*Client) CreateSession deprecated

Deprecated: Use CreateSessionShort instead.

CreateSession registers a new game session

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

Required scope: social

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

func (*Client) CreateSessionShort added in v0.8.0

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

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

Required scope: social

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

func (*Client) DeleteSession deprecated

Deprecated: Use DeleteSessionShort instead.

DeleteSession deletes specified p2p session by session ID

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

Required scope: social

Delete the session (p2p) by session ID

func (*Client) DeleteSessionLocalDS deprecated added in v0.4.0

Deprecated: Use DeleteSessionLocalDSShort instead.

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

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

Required scope: social

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

func (*Client) DeleteSessionLocalDSShort added in v0.8.0

func (a *Client) DeleteSessionLocalDSShort(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, error)
DeleteSessionLocalDSShort onlies use for local d s entry will error when calling non local d s entry

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

Required scope: social

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

func (*Client) DeleteSessionShort added in v0.8.0

func (a *Client) DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, error)
DeleteSessionShort deletes specified p2p session by session ID

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

Required scope: social

Delete the session (p2p) by session ID

func (*Client) GetActiveCustomGameSessions deprecated added in v0.4.0

Deprecated: Use GetActiveCustomGameSessionsShort instead.

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

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

Required scope: social

func (*Client) GetActiveCustomGameSessionsShort added in v0.8.0

func (a *Client) GetActiveCustomGameSessionsShort(params *GetActiveCustomGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveCustomGameSessionsOK, error)
GetActiveCustomGameSessionsShort gets all active session for custom game this return only dedicated session type

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

Required scope: social

func (*Client) GetActiveMatchmakingGameSessions deprecated added in v0.4.0

Deprecated: Use GetActiveMatchmakingGameSessionsShort instead.

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

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

Required scope: social

func (*Client) GetActiveMatchmakingGameSessionsShort added in v0.8.0

func (a *Client) GetActiveMatchmakingGameSessionsShort(params *GetActiveMatchmakingGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveMatchmakingGameSessionsOK, error)
GetActiveMatchmakingGameSessionsShort gets all active session for matchmaking game this return only dedicated session type

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

Required scope: social

func (*Client) GetRecentPlayer deprecated added in v0.4.0

Deprecated: Use GetRecentPlayerShort instead.

GetRecentPlayer queries recent players with given user id

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

Required scope: social

Query recent player by user ID

func (*Client) GetRecentPlayerShort added in v0.8.0

func (a *Client) GetRecentPlayerShort(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, error)
GetRecentPlayerShort queries recent players with given user id

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

Required scope: social

Query recent player by user ID

func (*Client) GetSession deprecated

Deprecated: Use GetSessionShort instead.

GetSession gets specified session by session ID

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

Required scope: social

Get the session by session ID

func (*Client) GetSessionByUserIDs deprecated

Deprecated: Use GetSessionByUserIDsShort instead.

GetSessionByUserIDs queries game sessions by comma separated user ids

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

Required scope: social

Query game sessions by comma separated user ids

func (*Client) GetSessionByUserIDsShort added in v0.8.0

func (a *Client) GetSessionByUserIDsShort(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, error)
GetSessionByUserIDsShort queries game sessions by comma separated user ids

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

Required scope: social

Query game sessions by comma separated user ids

func (*Client) GetSessionHistoryDetailed deprecated added in v0.28.0

Deprecated: Use GetSessionHistoryDetailedShort instead.

GetSessionHistoryDetailed gets session history detailed

Required Permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [Read]

Required Scope: social

Get session history detailed.

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

func (*Client) GetSessionHistoryDetailedShort added in v0.28.0

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

Required Permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [Read]

Required Scope: social

Get session history detailed.

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

func (*Client) GetSessionShort added in v0.8.0

func (a *Client) GetSessionShort(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, error)
GetSessionShort gets specified session by session ID

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

Required scope: social

Get the session by session ID

func (*Client) GetTotalActiveSession deprecated added in v0.4.0

Deprecated: Use GetTotalActiveSessionShort instead.

GetTotalActiveSession gets all active session

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

Required scope: social

func (*Client) GetTotalActiveSessionShort added in v0.8.0

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

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

Required scope: social

func (*Client) JoinSession deprecated added in v0.4.0

Deprecated: Use JoinSessionShort instead.

JoinSession joins specified session by session ID

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

Required scope: social

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

func (*Client) JoinSessionShort added in v0.8.0

func (a *Client) JoinSessionShort(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, error)
JoinSessionShort joins specified session by session ID

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

Required scope: social

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

func (*Client) QuerySession deprecated

Deprecated: Use QuerySessionShort instead.

QuerySession queries to available game session

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

Required scope: social

Query available game session

func (*Client) QuerySessionShort added in v0.8.0

func (a *Client) QuerySessionShort(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, error)
QuerySessionShort queries to available game session

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

Required scope: social

Query available game session

func (*Client) RemovePlayerFromSession deprecated added in v0.4.0

Deprecated: Use RemovePlayerFromSessionShort instead.

RemovePlayerFromSession removes player from game session

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

Required scope: social

Remove player from game session

func (*Client) RemovePlayerFromSessionShort added in v0.8.0

func (a *Client) RemovePlayerFromSessionShort(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, error)
RemovePlayerFromSessionShort removes player from game session

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

Required scope: social

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: Use UpdateSessionShort instead.

UpdateSession updates session

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

Required scope: social

Update game session, used to update the current player

func (*Client) UpdateSessionShort added in v0.8.0

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

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

Required scope: social

Update game session, used to update the current player

func (*Client) UpdateSettings deprecated added in v0.18.0

Deprecated: Use UpdateSettingsShort instead.

UpdateSettings updates settings

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

Required scope: social

Update game session, used to update OtherSettings

func (*Client) UpdateSettingsShort added in v0.18.0

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

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

Required scope: social

Update game session, used to update OtherSettings

type ClientService

type ClientService interface {
	AddPlayerToSession(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, *AddPlayerToSessionBadRequest, *AddPlayerToSessionNotFound, *AddPlayerToSessionInternalServerError, error)
	AddPlayerToSessionShort(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, error)
	AdminDeleteSession(params *AdminDeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteSessionOK, *AdminDeleteSessionBadRequest, *AdminDeleteSessionNotFound, *AdminDeleteSessionInternalServerError, error)
	AdminDeleteSessionShort(params *AdminDeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteSessionOK, error)
	AdminGetSession(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, *AdminGetSessionNotFound, *AdminGetSessionInternalServerError, error)
	AdminGetSessionShort(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, error)
	AdminSearchSessionsV2(params *AdminSearchSessionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchSessionsV2OK, *AdminSearchSessionsV2BadRequest, *AdminSearchSessionsV2Unauthorized, *AdminSearchSessionsV2Forbidden, *AdminSearchSessionsV2InternalServerError, error)
	AdminSearchSessionsV2Short(params *AdminSearchSessionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchSessionsV2OK, error)
	CreateSession(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, *CreateSessionBadRequest, *CreateSessionForbidden, *CreateSessionConflict, *CreateSessionInternalServerError, error)
	CreateSessionShort(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, error)
	DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, *DeleteSessionBadRequest, *DeleteSessionNotFound, *DeleteSessionInternalServerError, error)
	DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, error)
	DeleteSessionLocalDS(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, *DeleteSessionLocalDSBadRequest, *DeleteSessionLocalDSNotFound, *DeleteSessionLocalDSInternalServerError, error)
	DeleteSessionLocalDSShort(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, error)
	GetActiveCustomGameSessions(params *GetActiveCustomGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveCustomGameSessionsOK, *GetActiveCustomGameSessionsBadRequest, *GetActiveCustomGameSessionsInternalServerError, error)
	GetActiveCustomGameSessionsShort(params *GetActiveCustomGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveCustomGameSessionsOK, error)
	GetActiveMatchmakingGameSessions(params *GetActiveMatchmakingGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveMatchmakingGameSessionsOK, *GetActiveMatchmakingGameSessionsBadRequest, *GetActiveMatchmakingGameSessionsInternalServerError, error)
	GetActiveMatchmakingGameSessionsShort(params *GetActiveMatchmakingGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveMatchmakingGameSessionsOK, error)
	GetRecentPlayer(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, *GetRecentPlayerBadRequest, *GetRecentPlayerInternalServerError, error)
	GetRecentPlayerShort(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, error)
	GetSession(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, *GetSessionNotFound, *GetSessionInternalServerError, error)
	GetSessionShort(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, error)
	GetSessionByUserIDs(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, *GetSessionByUserIDsBadRequest, *GetSessionByUserIDsInternalServerError, error)
	GetSessionByUserIDsShort(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, error)
	GetSessionHistoryDetailed(params *GetSessionHistoryDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionHistoryDetailedOK, *GetSessionHistoryDetailedBadRequest, *GetSessionHistoryDetailedUnauthorized, *GetSessionHistoryDetailedForbidden, *GetSessionHistoryDetailedInternalServerError, error)
	GetSessionHistoryDetailedShort(params *GetSessionHistoryDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionHistoryDetailedOK, error)
	GetTotalActiveSession(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, *GetTotalActiveSessionBadRequest, *GetTotalActiveSessionInternalServerError, error)
	GetTotalActiveSessionShort(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, error)
	JoinSession(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, *JoinSessionBadRequest, *JoinSessionForbidden, *JoinSessionNotFound, *JoinSessionInternalServerError, error)
	JoinSessionShort(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, error)
	QuerySession(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, *QuerySessionBadRequest, *QuerySessionInternalServerError, error)
	QuerySessionShort(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, error)
	RemovePlayerFromSession(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, *RemovePlayerFromSessionBadRequest, *RemovePlayerFromSessionNotFound, *RemovePlayerFromSessionInternalServerError, error)
	RemovePlayerFromSessionShort(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, error)
	UpdateSession(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, *UpdateSessionBadRequest, *UpdateSessionNotFound, *UpdateSessionInternalServerError, error)
	UpdateSessionShort(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, error)
	UpdateSettings(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, *UpdateSettingsBadRequest, *UpdateSettingsNotFound, *UpdateSettingsInternalServerError, error)
	UpdateSettingsShort(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, 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 added in v0.25.0

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 added in v0.25.0

func (o *CreateSessionConflict) ToJSONString() string

type CreateSessionForbidden added in v0.7.0

type CreateSessionForbidden struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

CreateSessionForbidden handles this case with default header values.

user is banned from creating session

func NewCreateSessionForbidden added in v0.7.0

func NewCreateSessionForbidden() *CreateSessionForbidden

NewCreateSessionForbidden creates a CreateSessionForbidden with default headers values

func (*CreateSessionForbidden) Error added in v0.7.0

func (o *CreateSessionForbidden) Error() string

func (*CreateSessionForbidden) GetPayload added in v0.7.0

func (*CreateSessionForbidden) ToJSONString added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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

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

SetHTTPClient adds the HTTPClient to the create session params

func (*CreateSessionParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.25.0

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 added in v0.25.0

func (o *DeleteSessionInternalServerError) ToJSONString() string

type DeleteSessionLocalDSBadRequest added in v0.4.0

type DeleteSessionLocalDSBadRequest struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionLocalDSBadRequest handles this case with default header values.

malformed request

func NewDeleteSessionLocalDSBadRequest added in v0.4.0

func NewDeleteSessionLocalDSBadRequest() *DeleteSessionLocalDSBadRequest

NewDeleteSessionLocalDSBadRequest creates a DeleteSessionLocalDSBadRequest with default headers values

func (*DeleteSessionLocalDSBadRequest) Error added in v0.4.0

func (*DeleteSessionLocalDSBadRequest) GetPayload added in v0.4.0

func (*DeleteSessionLocalDSBadRequest) ToJSONString added in v0.25.0

func (o *DeleteSessionLocalDSBadRequest) ToJSONString() string

type DeleteSessionLocalDSInternalServerError added in v0.4.0

type DeleteSessionLocalDSInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionLocalDSInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteSessionLocalDSInternalServerError added in v0.4.0

func NewDeleteSessionLocalDSInternalServerError() *DeleteSessionLocalDSInternalServerError

NewDeleteSessionLocalDSInternalServerError creates a DeleteSessionLocalDSInternalServerError with default headers values

func (*DeleteSessionLocalDSInternalServerError) Error added in v0.4.0

func (*DeleteSessionLocalDSInternalServerError) GetPayload added in v0.4.0

func (*DeleteSessionLocalDSInternalServerError) ToJSONString added in v0.25.0

type DeleteSessionLocalDSNotFound added in v0.4.0

type DeleteSessionLocalDSNotFound struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionLocalDSNotFound handles this case with default header values.

session not found

func NewDeleteSessionLocalDSNotFound added in v0.4.0

func NewDeleteSessionLocalDSNotFound() *DeleteSessionLocalDSNotFound

NewDeleteSessionLocalDSNotFound creates a DeleteSessionLocalDSNotFound with default headers values

func (*DeleteSessionLocalDSNotFound) Error added in v0.4.0

func (*DeleteSessionLocalDSNotFound) GetPayload added in v0.4.0

func (*DeleteSessionLocalDSNotFound) ToJSONString added in v0.25.0

func (o *DeleteSessionLocalDSNotFound) ToJSONString() string

type DeleteSessionLocalDSOK added in v0.4.0

type DeleteSessionLocalDSOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionResponse
}

DeleteSessionLocalDSOK handles this case with default header values.

session get

func NewDeleteSessionLocalDSOK added in v0.4.0

func NewDeleteSessionLocalDSOK() *DeleteSessionLocalDSOK

NewDeleteSessionLocalDSOK creates a DeleteSessionLocalDSOK with default headers values

func (*DeleteSessionLocalDSOK) Error added in v0.4.0

func (o *DeleteSessionLocalDSOK) Error() string

func (*DeleteSessionLocalDSOK) GetPayload added in v0.4.0

func (*DeleteSessionLocalDSOK) ToJSONString added in v0.25.0

func (o *DeleteSessionLocalDSOK) ToJSONString() string

type DeleteSessionLocalDSParams added in v0.4.0

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
	// contains filtered or unexported fields
}

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

func NewDeleteSessionLocalDSParams added in v0.4.0

func NewDeleteSessionLocalDSParams() *DeleteSessionLocalDSParams

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

func NewDeleteSessionLocalDSParamsWithContext added in v0.4.0

func NewDeleteSessionLocalDSParamsWithContext(ctx context.Context) *DeleteSessionLocalDSParams

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

func NewDeleteSessionLocalDSParamsWithHTTPClient added in v0.4.0

func NewDeleteSessionLocalDSParamsWithHTTPClient(client *http.Client) *DeleteSessionLocalDSParams

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

func NewDeleteSessionLocalDSParamsWithTimeout added in v0.4.0

func NewDeleteSessionLocalDSParamsWithTimeout(timeout time.Duration) *DeleteSessionLocalDSParams

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

func (*DeleteSessionLocalDSParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete session local d s params

func (*DeleteSessionLocalDSParams) SetContext added in v0.4.0

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

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

func (*DeleteSessionLocalDSParams) SetHTTPClient added in v0.4.0

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

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

func (*DeleteSessionLocalDSParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*DeleteSessionLocalDSParams) SetNamespace added in v0.4.0

func (o *DeleteSessionLocalDSParams) SetNamespace(namespace string)

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

func (*DeleteSessionLocalDSParams) SetSessionID added in v0.4.0

func (o *DeleteSessionLocalDSParams) SetSessionID(sessionID string)

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

func (*DeleteSessionLocalDSParams) SetTimeout added in v0.4.0

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

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

func (*DeleteSessionLocalDSParams) WithContext added in v0.4.0

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

func (*DeleteSessionLocalDSParams) WithHTTPClient added in v0.4.0

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

func (*DeleteSessionLocalDSParams) WithNamespace added in v0.4.0

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

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

func (*DeleteSessionLocalDSParams) WithSessionID added in v0.4.0

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

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

func (*DeleteSessionLocalDSParams) WithTimeout added in v0.4.0

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

func (*DeleteSessionLocalDSParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type DeleteSessionLocalDSReader added in v0.4.0

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

DeleteSessionLocalDSReader is a Reader for the DeleteSessionLocalDS structure.

func (*DeleteSessionLocalDSReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type DeleteSessionNotFound

type DeleteSessionNotFound struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

DeleteSessionNotFound handles this case with default header values.

session not found

func NewDeleteSessionNotFound

func NewDeleteSessionNotFound() *DeleteSessionNotFound

NewDeleteSessionNotFound creates a DeleteSessionNotFound with default headers values

func (*DeleteSessionNotFound) Error

func (o *DeleteSessionNotFound) Error() string

func (*DeleteSessionNotFound) GetPayload

func (*DeleteSessionNotFound) ToJSONString added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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

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

SetHTTPClient adds the HTTPClient to the delete session params

func (*DeleteSessionParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.4.0

type GetActiveCustomGameSessionsBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetActiveCustomGameSessionsBadRequest handles this case with default header values.

malformed request

func NewGetActiveCustomGameSessionsBadRequest added in v0.4.0

func NewGetActiveCustomGameSessionsBadRequest() *GetActiveCustomGameSessionsBadRequest

NewGetActiveCustomGameSessionsBadRequest creates a GetActiveCustomGameSessionsBadRequest with default headers values

func (*GetActiveCustomGameSessionsBadRequest) Error added in v0.4.0

func (*GetActiveCustomGameSessionsBadRequest) GetPayload added in v0.4.0

func (*GetActiveCustomGameSessionsBadRequest) ToJSONString added in v0.25.0

type GetActiveCustomGameSessionsInternalServerError added in v0.4.0

type GetActiveCustomGameSessionsInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetActiveCustomGameSessionsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetActiveCustomGameSessionsInternalServerError added in v0.4.0

func NewGetActiveCustomGameSessionsInternalServerError() *GetActiveCustomGameSessionsInternalServerError

NewGetActiveCustomGameSessionsInternalServerError creates a GetActiveCustomGameSessionsInternalServerError with default headers values

func (*GetActiveCustomGameSessionsInternalServerError) Error added in v0.4.0

func (*GetActiveCustomGameSessionsInternalServerError) GetPayload added in v0.4.0

func (*GetActiveCustomGameSessionsInternalServerError) ToJSONString added in v0.25.0

type GetActiveCustomGameSessionsOK added in v0.4.0

type GetActiveCustomGameSessionsOK struct {
	Payload *sessionbrowserclientmodels.ModelsActiveCustomGameResponse
}

GetActiveCustomGameSessionsOK handles this case with default header values.

custom game session list

func NewGetActiveCustomGameSessionsOK added in v0.4.0

func NewGetActiveCustomGameSessionsOK() *GetActiveCustomGameSessionsOK

NewGetActiveCustomGameSessionsOK creates a GetActiveCustomGameSessionsOK with default headers values

func (*GetActiveCustomGameSessionsOK) Error added in v0.4.0

func (*GetActiveCustomGameSessionsOK) GetPayload added in v0.4.0

func (*GetActiveCustomGameSessionsOK) ToJSONString added in v0.25.0

func (o *GetActiveCustomGameSessionsOK) ToJSONString() string

type GetActiveCustomGameSessionsParams added in v0.4.0

type GetActiveCustomGameSessionsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Limit
	  max item to be returned

	*/
	Limit *int64
	/*Namespace
	  namespace

	*/
	Namespace 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
	// contains filtered or unexported fields
}

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

func NewGetActiveCustomGameSessionsParams added in v0.4.0

func NewGetActiveCustomGameSessionsParams() *GetActiveCustomGameSessionsParams

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

func NewGetActiveCustomGameSessionsParamsWithContext added in v0.4.0

func NewGetActiveCustomGameSessionsParamsWithContext(ctx context.Context) *GetActiveCustomGameSessionsParams

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

func NewGetActiveCustomGameSessionsParamsWithHTTPClient added in v0.4.0

func NewGetActiveCustomGameSessionsParamsWithHTTPClient(client *http.Client) *GetActiveCustomGameSessionsParams

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

func NewGetActiveCustomGameSessionsParamsWithTimeout added in v0.4.0

func NewGetActiveCustomGameSessionsParamsWithTimeout(timeout time.Duration) *GetActiveCustomGameSessionsParams

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

func (*GetActiveCustomGameSessionsParams) SetAuthInfoWriter added in v0.17.0

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

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

func (*GetActiveCustomGameSessionsParams) SetContext added in v0.4.0

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

func (*GetActiveCustomGameSessionsParams) SetHTTPClient added in v0.4.0

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

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

func (*GetActiveCustomGameSessionsParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*GetActiveCustomGameSessionsParams) SetLimit added in v0.35.0

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

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

func (*GetActiveCustomGameSessionsParams) SetNamespace added in v0.4.0

func (o *GetActiveCustomGameSessionsParams) SetNamespace(namespace string)

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

func (*GetActiveCustomGameSessionsParams) SetOffset added in v0.35.0

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

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

func (*GetActiveCustomGameSessionsParams) SetServerRegion added in v0.4.0

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

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

func (*GetActiveCustomGameSessionsParams) SetSessionID added in v0.4.0

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

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

func (*GetActiveCustomGameSessionsParams) SetTimeout added in v0.4.0

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

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

func (*GetActiveCustomGameSessionsParams) WithContext added in v0.4.0

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

func (*GetActiveCustomGameSessionsParams) WithHTTPClient added in v0.4.0

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

func (*GetActiveCustomGameSessionsParams) WithLimit added in v0.35.0

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

func (*GetActiveCustomGameSessionsParams) WithNamespace added in v0.4.0

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

func (*GetActiveCustomGameSessionsParams) WithOffset added in v0.35.0

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

func (*GetActiveCustomGameSessionsParams) WithServerRegion added in v0.4.0

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

func (*GetActiveCustomGameSessionsParams) WithSessionID added in v0.4.0

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

func (*GetActiveCustomGameSessionsParams) WithTimeout added in v0.4.0

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

func (*GetActiveCustomGameSessionsParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetActiveCustomGameSessionsReader added in v0.4.0

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

GetActiveCustomGameSessionsReader is a Reader for the GetActiveCustomGameSessions structure.

func (*GetActiveCustomGameSessionsReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type GetActiveMatchmakingGameSessionsBadRequest added in v0.4.0

type GetActiveMatchmakingGameSessionsBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetActiveMatchmakingGameSessionsBadRequest handles this case with default header values.

malformed request

func NewGetActiveMatchmakingGameSessionsBadRequest added in v0.4.0

func NewGetActiveMatchmakingGameSessionsBadRequest() *GetActiveMatchmakingGameSessionsBadRequest

NewGetActiveMatchmakingGameSessionsBadRequest creates a GetActiveMatchmakingGameSessionsBadRequest with default headers values

func (*GetActiveMatchmakingGameSessionsBadRequest) Error added in v0.4.0

func (*GetActiveMatchmakingGameSessionsBadRequest) GetPayload added in v0.4.0

func (*GetActiveMatchmakingGameSessionsBadRequest) ToJSONString added in v0.25.0

type GetActiveMatchmakingGameSessionsInternalServerError added in v0.4.0

type GetActiveMatchmakingGameSessionsInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetActiveMatchmakingGameSessionsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetActiveMatchmakingGameSessionsInternalServerError added in v0.4.0

func NewGetActiveMatchmakingGameSessionsInternalServerError() *GetActiveMatchmakingGameSessionsInternalServerError

NewGetActiveMatchmakingGameSessionsInternalServerError creates a GetActiveMatchmakingGameSessionsInternalServerError with default headers values

func (*GetActiveMatchmakingGameSessionsInternalServerError) Error added in v0.4.0

func (*GetActiveMatchmakingGameSessionsInternalServerError) GetPayload added in v0.4.0

func (*GetActiveMatchmakingGameSessionsInternalServerError) ToJSONString added in v0.25.0

type GetActiveMatchmakingGameSessionsOK added in v0.4.0

type GetActiveMatchmakingGameSessionsOK struct {
	Payload *sessionbrowserclientmodels.ModelsActiveMatchmakingGameResponse
}

GetActiveMatchmakingGameSessionsOK handles this case with default header values.

matchmaking game session list

func NewGetActiveMatchmakingGameSessionsOK added in v0.4.0

func NewGetActiveMatchmakingGameSessionsOK() *GetActiveMatchmakingGameSessionsOK

NewGetActiveMatchmakingGameSessionsOK creates a GetActiveMatchmakingGameSessionsOK with default headers values

func (*GetActiveMatchmakingGameSessionsOK) Error added in v0.4.0

func (*GetActiveMatchmakingGameSessionsOK) GetPayload added in v0.4.0

func (*GetActiveMatchmakingGameSessionsOK) ToJSONString added in v0.25.0

func (o *GetActiveMatchmakingGameSessionsOK) ToJSONString() string

type GetActiveMatchmakingGameSessionsParams added in v0.4.0

type GetActiveMatchmakingGameSessionsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Limit
	  max item to be returned

	*/
	Limit *int64
	/*MatchID
	  matchmaking ID

	*/
	MatchID *string
	/*Namespace
	  namespace

	*/
	Namespace 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
	// contains filtered or unexported fields
}

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

func NewGetActiveMatchmakingGameSessionsParams added in v0.4.0

func NewGetActiveMatchmakingGameSessionsParams() *GetActiveMatchmakingGameSessionsParams

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

func NewGetActiveMatchmakingGameSessionsParamsWithContext added in v0.4.0

func NewGetActiveMatchmakingGameSessionsParamsWithContext(ctx context.Context) *GetActiveMatchmakingGameSessionsParams

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

func NewGetActiveMatchmakingGameSessionsParamsWithHTTPClient added in v0.4.0

func NewGetActiveMatchmakingGameSessionsParamsWithHTTPClient(client *http.Client) *GetActiveMatchmakingGameSessionsParams

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

func NewGetActiveMatchmakingGameSessionsParamsWithTimeout added in v0.4.0

func NewGetActiveMatchmakingGameSessionsParamsWithTimeout(timeout time.Duration) *GetActiveMatchmakingGameSessionsParams

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

func (*GetActiveMatchmakingGameSessionsParams) SetAuthInfoWriter added in v0.17.0

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetContext added in v0.4.0

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

func (*GetActiveMatchmakingGameSessionsParams) SetHTTPClient added in v0.4.0

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetLimit added in v0.35.0

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetMatchID added in v0.4.0

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetNamespace added in v0.4.0

func (o *GetActiveMatchmakingGameSessionsParams) SetNamespace(namespace string)

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

func (*GetActiveMatchmakingGameSessionsParams) SetOffset added in v0.35.0

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetServerRegion added in v0.4.0

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetSessionID added in v0.4.0

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

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

func (*GetActiveMatchmakingGameSessionsParams) SetTimeout added in v0.4.0

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

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

func (*GetActiveMatchmakingGameSessionsParams) WithContext added in v0.4.0

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

func (*GetActiveMatchmakingGameSessionsParams) WithHTTPClient added in v0.4.0

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

func (*GetActiveMatchmakingGameSessionsParams) WithLimit added in v0.35.0

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

func (*GetActiveMatchmakingGameSessionsParams) WithMatchID added in v0.4.0

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

func (*GetActiveMatchmakingGameSessionsParams) WithNamespace added in v0.4.0

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

func (*GetActiveMatchmakingGameSessionsParams) WithOffset added in v0.35.0

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

func (*GetActiveMatchmakingGameSessionsParams) WithServerRegion added in v0.4.0

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

func (*GetActiveMatchmakingGameSessionsParams) WithSessionID added in v0.4.0

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

func (*GetActiveMatchmakingGameSessionsParams) WithTimeout added in v0.4.0

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

func (*GetActiveMatchmakingGameSessionsParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetActiveMatchmakingGameSessionsReader added in v0.4.0

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

GetActiveMatchmakingGameSessionsReader is a Reader for the GetActiveMatchmakingGameSessions structure.

func (*GetActiveMatchmakingGameSessionsReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type GetRecentPlayerBadRequest added in v0.4.0

type GetRecentPlayerBadRequest struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

GetRecentPlayerBadRequest handles this case with default header values.

malformed request

func NewGetRecentPlayerBadRequest added in v0.4.0

func NewGetRecentPlayerBadRequest() *GetRecentPlayerBadRequest

NewGetRecentPlayerBadRequest creates a GetRecentPlayerBadRequest with default headers values

func (*GetRecentPlayerBadRequest) Error added in v0.4.0

func (o *GetRecentPlayerBadRequest) Error() string

func (*GetRecentPlayerBadRequest) GetPayload added in v0.4.0

func (*GetRecentPlayerBadRequest) ToJSONString added in v0.25.0

func (o *GetRecentPlayerBadRequest) ToJSONString() string

type GetRecentPlayerInternalServerError added in v0.4.0

type GetRecentPlayerInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

GetRecentPlayerInternalServerError handles this case with default header values.

Internal Server Error

func NewGetRecentPlayerInternalServerError added in v0.4.0

func NewGetRecentPlayerInternalServerError() *GetRecentPlayerInternalServerError

NewGetRecentPlayerInternalServerError creates a GetRecentPlayerInternalServerError with default headers values

func (*GetRecentPlayerInternalServerError) Error added in v0.4.0

func (*GetRecentPlayerInternalServerError) GetPayload added in v0.4.0

func (*GetRecentPlayerInternalServerError) ToJSONString added in v0.25.0

func (o *GetRecentPlayerInternalServerError) ToJSONString() string

type GetRecentPlayerOK added in v0.4.0

type GetRecentPlayerOK struct {
	Payload *sessionbrowserclientmodels.ModelsRecentPlayerQueryResponse
}

GetRecentPlayerOK handles this case with default header values.

recent player get

func NewGetRecentPlayerOK added in v0.4.0

func NewGetRecentPlayerOK() *GetRecentPlayerOK

NewGetRecentPlayerOK creates a GetRecentPlayerOK with default headers values

func (*GetRecentPlayerOK) Error added in v0.4.0

func (o *GetRecentPlayerOK) Error() string

func (*GetRecentPlayerOK) GetPayload added in v0.4.0

func (*GetRecentPlayerOK) ToJSONString added in v0.25.0

func (o *GetRecentPlayerOK) ToJSONString() string

type GetRecentPlayerParams added in v0.4.0

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
	// contains filtered or unexported fields
}

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

func NewGetRecentPlayerParams added in v0.4.0

func NewGetRecentPlayerParams() *GetRecentPlayerParams

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

func NewGetRecentPlayerParamsWithContext added in v0.4.0

func NewGetRecentPlayerParamsWithContext(ctx context.Context) *GetRecentPlayerParams

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

func NewGetRecentPlayerParamsWithHTTPClient added in v0.4.0

func NewGetRecentPlayerParamsWithHTTPClient(client *http.Client) *GetRecentPlayerParams

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

func NewGetRecentPlayerParamsWithTimeout added in v0.4.0

func NewGetRecentPlayerParamsWithTimeout(timeout time.Duration) *GetRecentPlayerParams

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

func (*GetRecentPlayerParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get recent player params

func (*GetRecentPlayerParams) SetContext added in v0.4.0

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

SetContext adds the context to the get recent player params

func (*GetRecentPlayerParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the get recent player params

func (*GetRecentPlayerParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get recent player params

func (*GetRecentPlayerParams) SetNamespace added in v0.4.0

func (o *GetRecentPlayerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get recent player params

func (*GetRecentPlayerParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the get recent player params

func (*GetRecentPlayerParams) SetUserID added in v0.4.0

func (o *GetRecentPlayerParams) SetUserID(userID string)

SetUserID adds the userId to the get recent player params

func (*GetRecentPlayerParams) WithContext added in v0.4.0

WithContext adds the context to the get recent player params

func (*GetRecentPlayerParams) WithHTTPClient added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the get recent player params

func (*GetRecentPlayerParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the get recent player params

func (*GetRecentPlayerParams) WithTimeout added in v0.4.0

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

WithTimeout adds the timeout to the get recent player params

func (*GetRecentPlayerParams) WithUserID added in v0.4.0

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

WithUserID adds the userID to the get recent player params

func (*GetRecentPlayerParams) WriteToRequest added in v0.4.0

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

WriteToRequest writes these params to a swagger request

type GetRecentPlayerReader added in v0.4.0

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

GetRecentPlayerReader is a Reader for the GetRecentPlayer structure.

func (*GetRecentPlayerReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type GetSessionByUserIDsBadRequest

type GetSessionByUserIDsBadRequest struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

GetSessionByUserIDsBadRequest handles this case with default header values.

malformed request

func NewGetSessionByUserIDsBadRequest

func NewGetSessionByUserIDsBadRequest() *GetSessionByUserIDsBadRequest

NewGetSessionByUserIDsBadRequest creates a GetSessionByUserIDsBadRequest with default headers values

func (*GetSessionByUserIDsBadRequest) Error

func (*GetSessionByUserIDsBadRequest) GetPayload

func (*GetSessionByUserIDsBadRequest) ToJSONString added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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

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

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

func (*GetSessionByUserIDsParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.28.0

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 added in v0.28.0

func NewGetSessionHistoryDetailedBadRequest() *GetSessionHistoryDetailedBadRequest

NewGetSessionHistoryDetailedBadRequest creates a GetSessionHistoryDetailedBadRequest with default headers values

func (*GetSessionHistoryDetailedBadRequest) Error added in v0.28.0

func (*GetSessionHistoryDetailedBadRequest) GetPayload added in v0.28.0

func (*GetSessionHistoryDetailedBadRequest) ToJSONString added in v0.28.0

func (o *GetSessionHistoryDetailedBadRequest) ToJSONString() string

type GetSessionHistoryDetailedForbidden added in v0.28.0

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 added in v0.28.0

func NewGetSessionHistoryDetailedForbidden() *GetSessionHistoryDetailedForbidden

NewGetSessionHistoryDetailedForbidden creates a GetSessionHistoryDetailedForbidden with default headers values

func (*GetSessionHistoryDetailedForbidden) Error added in v0.28.0

func (*GetSessionHistoryDetailedForbidden) GetPayload added in v0.28.0

func (*GetSessionHistoryDetailedForbidden) ToJSONString added in v0.28.0

func (o *GetSessionHistoryDetailedForbidden) ToJSONString() string

type GetSessionHistoryDetailedInternalServerError added in v0.28.0

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 added in v0.28.0

func NewGetSessionHistoryDetailedInternalServerError() *GetSessionHistoryDetailedInternalServerError

NewGetSessionHistoryDetailedInternalServerError creates a GetSessionHistoryDetailedInternalServerError with default headers values

func (*GetSessionHistoryDetailedInternalServerError) Error added in v0.28.0

func (*GetSessionHistoryDetailedInternalServerError) GetPayload added in v0.28.0

func (*GetSessionHistoryDetailedInternalServerError) ToJSONString added in v0.28.0

type GetSessionHistoryDetailedOK added in v0.28.0

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

GetSessionHistoryDetailedOK handles this case with default header values.

Operation succeeded

func NewGetSessionHistoryDetailedOK added in v0.28.0

func NewGetSessionHistoryDetailedOK() *GetSessionHistoryDetailedOK

NewGetSessionHistoryDetailedOK creates a GetSessionHistoryDetailedOK with default headers values

func (*GetSessionHistoryDetailedOK) Error added in v0.28.0

func (*GetSessionHistoryDetailedOK) GetPayload added in v0.28.0

func (*GetSessionHistoryDetailedOK) ToJSONString added in v0.28.0

func (o *GetSessionHistoryDetailedOK) ToJSONString() string

type GetSessionHistoryDetailedParams added in v0.28.0

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
	// 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 added in v0.28.0

func NewGetSessionHistoryDetailedParams() *GetSessionHistoryDetailedParams

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

func NewGetSessionHistoryDetailedParamsWithContext added in v0.28.0

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 added in v0.28.0

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 added in v0.28.0

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 added in v0.28.0

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

SetAuthInfoWriter adds the authInfoWriter to the get session history detailed params

func (*GetSessionHistoryDetailedParams) SetContext added in v0.28.0

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

SetContext adds the context to the get session history detailed params

func (*GetSessionHistoryDetailedParams) SetHTTPClient added in v0.28.0

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

SetHTTPClient adds the HTTPClient to the get session history detailed params

func (*GetSessionHistoryDetailedParams) SetHTTPClientTransport added in v0.28.0

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

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

func (*GetSessionHistoryDetailedParams) SetMatchID added in v0.28.0

func (o *GetSessionHistoryDetailedParams) SetMatchID(matchID string)

SetMatchID adds the matchId to the get session history detailed params

func (*GetSessionHistoryDetailedParams) SetNamespace added in v0.28.0

func (o *GetSessionHistoryDetailedParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get session history detailed params

func (*GetSessionHistoryDetailedParams) SetTimeout added in v0.28.0

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

SetTimeout adds the timeout to the get session history detailed params

func (*GetSessionHistoryDetailedParams) WithContext added in v0.28.0

WithContext adds the context to the get session history detailed params

func (*GetSessionHistoryDetailedParams) WithHTTPClient added in v0.28.0

WithHTTPClient adds the HTTPClient to the get session history detailed params

func (*GetSessionHistoryDetailedParams) WithMatchID added in v0.28.0

WithMatchID adds the matchID to the get session history detailed params

func (*GetSessionHistoryDetailedParams) WithNamespace added in v0.28.0

WithNamespace adds the namespace to the get session history detailed params

func (*GetSessionHistoryDetailedParams) WithTimeout added in v0.28.0

WithTimeout adds the timeout to the get session history detailed params

func (*GetSessionHistoryDetailedParams) WriteToRequest added in v0.28.0

WriteToRequest writes these params to a swagger request

type GetSessionHistoryDetailedReader added in v0.28.0

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

GetSessionHistoryDetailedReader is a Reader for the GetSessionHistoryDetailed structure.

func (*GetSessionHistoryDetailedReader) ReadResponse added in v0.28.0

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

ReadResponse reads a server response into the received o.

type GetSessionHistoryDetailedUnauthorized added in v0.28.0

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 added in v0.28.0

func NewGetSessionHistoryDetailedUnauthorized() *GetSessionHistoryDetailedUnauthorized

NewGetSessionHistoryDetailedUnauthorized creates a GetSessionHistoryDetailedUnauthorized with default headers values

func (*GetSessionHistoryDetailedUnauthorized) Error added in v0.28.0

func (*GetSessionHistoryDetailedUnauthorized) GetPayload added in v0.28.0

func (*GetSessionHistoryDetailedUnauthorized) ToJSONString added in v0.28.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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

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

SetHTTPClient adds the HTTPClient to the get session params

func (*GetSessionParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.4.0

type GetTotalActiveSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetTotalActiveSessionBadRequest handles this case with default header values.

malformed request

func NewGetTotalActiveSessionBadRequest added in v0.4.0

func NewGetTotalActiveSessionBadRequest() *GetTotalActiveSessionBadRequest

NewGetTotalActiveSessionBadRequest creates a GetTotalActiveSessionBadRequest with default headers values

func (*GetTotalActiveSessionBadRequest) Error added in v0.4.0

func (*GetTotalActiveSessionBadRequest) GetPayload added in v0.4.0

func (*GetTotalActiveSessionBadRequest) ToJSONString added in v0.25.0

func (o *GetTotalActiveSessionBadRequest) ToJSONString() string

type GetTotalActiveSessionInternalServerError added in v0.4.0

type GetTotalActiveSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

GetTotalActiveSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewGetTotalActiveSessionInternalServerError added in v0.4.0

func NewGetTotalActiveSessionInternalServerError() *GetTotalActiveSessionInternalServerError

NewGetTotalActiveSessionInternalServerError creates a GetTotalActiveSessionInternalServerError with default headers values

func (*GetTotalActiveSessionInternalServerError) Error added in v0.4.0

func (*GetTotalActiveSessionInternalServerError) GetPayload added in v0.4.0

func (*GetTotalActiveSessionInternalServerError) ToJSONString added in v0.25.0

type GetTotalActiveSessionOK added in v0.4.0

type GetTotalActiveSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsCountActiveSessionResponse
}

GetTotalActiveSessionOK handles this case with default header values.

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

func NewGetTotalActiveSessionOK added in v0.4.0

func NewGetTotalActiveSessionOK() *GetTotalActiveSessionOK

NewGetTotalActiveSessionOK creates a GetTotalActiveSessionOK with default headers values

func (*GetTotalActiveSessionOK) Error added in v0.4.0

func (o *GetTotalActiveSessionOK) Error() string

func (*GetTotalActiveSessionOK) GetPayload added in v0.4.0

func (*GetTotalActiveSessionOK) ToJSONString added in v0.25.0

func (o *GetTotalActiveSessionOK) ToJSONString() string

type GetTotalActiveSessionParams added in v0.4.0

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
	// contains filtered or unexported fields
}

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

func NewGetTotalActiveSessionParams added in v0.4.0

func NewGetTotalActiveSessionParams() *GetTotalActiveSessionParams

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

func NewGetTotalActiveSessionParamsWithContext added in v0.4.0

func NewGetTotalActiveSessionParamsWithContext(ctx context.Context) *GetTotalActiveSessionParams

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

func NewGetTotalActiveSessionParamsWithHTTPClient added in v0.4.0

func NewGetTotalActiveSessionParamsWithHTTPClient(client *http.Client) *GetTotalActiveSessionParams

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

func NewGetTotalActiveSessionParamsWithTimeout added in v0.4.0

func NewGetTotalActiveSessionParamsWithTimeout(timeout time.Duration) *GetTotalActiveSessionParams

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

func (*GetTotalActiveSessionParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get total active session params

func (*GetTotalActiveSessionParams) SetContext added in v0.4.0

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

SetContext adds the context to the get total active session params

func (*GetTotalActiveSessionParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the get total active session params

func (*GetTotalActiveSessionParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*GetTotalActiveSessionParams) SetNamespace added in v0.4.0

func (o *GetTotalActiveSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get total active session params

func (*GetTotalActiveSessionParams) SetSessionType added in v0.4.0

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

SetSessionType adds the sessionType to the get total active session params

func (*GetTotalActiveSessionParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the get total active session params

func (*GetTotalActiveSessionParams) WithContext added in v0.4.0

WithContext adds the context to the get total active session params

func (*GetTotalActiveSessionParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the get total active session params

func (*GetTotalActiveSessionParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the get total active session params

func (*GetTotalActiveSessionParams) WithSessionType added in v0.4.0

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

WithSessionType adds the sessionType to the get total active session params

func (*GetTotalActiveSessionParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the get total active session params

func (*GetTotalActiveSessionParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type GetTotalActiveSessionReader added in v0.4.0

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

GetTotalActiveSessionReader is a Reader for the GetTotalActiveSession structure.

func (*GetTotalActiveSessionReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type JoinSessionBadRequest added in v0.4.0

type JoinSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

JoinSessionBadRequest handles this case with default header values.

malformed request

func NewJoinSessionBadRequest added in v0.4.0

func NewJoinSessionBadRequest() *JoinSessionBadRequest

NewJoinSessionBadRequest creates a JoinSessionBadRequest with default headers values

func (*JoinSessionBadRequest) Error added in v0.4.0

func (o *JoinSessionBadRequest) Error() string

func (*JoinSessionBadRequest) GetPayload added in v0.4.0

func (*JoinSessionBadRequest) ToJSONString added in v0.25.0

func (o *JoinSessionBadRequest) ToJSONString() string

type JoinSessionForbidden added in v0.7.0

type JoinSessionForbidden struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

JoinSessionForbidden handles this case with default header values.

user is banned from joining session

func NewJoinSessionForbidden added in v0.7.0

func NewJoinSessionForbidden() *JoinSessionForbidden

NewJoinSessionForbidden creates a JoinSessionForbidden with default headers values

func (*JoinSessionForbidden) Error added in v0.7.0

func (o *JoinSessionForbidden) Error() string

func (*JoinSessionForbidden) GetPayload added in v0.7.0

func (*JoinSessionForbidden) ToJSONString added in v0.25.0

func (o *JoinSessionForbidden) ToJSONString() string

type JoinSessionInternalServerError added in v0.4.0

type JoinSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

JoinSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewJoinSessionInternalServerError added in v0.4.0

func NewJoinSessionInternalServerError() *JoinSessionInternalServerError

NewJoinSessionInternalServerError creates a JoinSessionInternalServerError with default headers values

func (*JoinSessionInternalServerError) Error added in v0.4.0

func (*JoinSessionInternalServerError) GetPayload added in v0.4.0

func (*JoinSessionInternalServerError) ToJSONString added in v0.25.0

func (o *JoinSessionInternalServerError) ToJSONString() string

type JoinSessionNotFound added in v0.4.0

type JoinSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

JoinSessionNotFound handles this case with default header values.

session not found

func NewJoinSessionNotFound added in v0.4.0

func NewJoinSessionNotFound() *JoinSessionNotFound

NewJoinSessionNotFound creates a JoinSessionNotFound with default headers values

func (*JoinSessionNotFound) Error added in v0.4.0

func (o *JoinSessionNotFound) Error() string

func (*JoinSessionNotFound) GetPayload added in v0.4.0

func (*JoinSessionNotFound) ToJSONString added in v0.25.0

func (o *JoinSessionNotFound) ToJSONString() string

type JoinSessionOK added in v0.4.0

type JoinSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionResponse
}

JoinSessionOK handles this case with default header values.

session get

func NewJoinSessionOK added in v0.4.0

func NewJoinSessionOK() *JoinSessionOK

NewJoinSessionOK creates a JoinSessionOK with default headers values

func (*JoinSessionOK) Error added in v0.4.0

func (o *JoinSessionOK) Error() string

func (*JoinSessionOK) GetPayload added in v0.4.0

func (*JoinSessionOK) ToJSONString added in v0.25.0

func (o *JoinSessionOK) ToJSONString() string

type JoinSessionParams added in v0.4.0

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
	// contains filtered or unexported fields
}

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

func NewJoinSessionParams added in v0.4.0

func NewJoinSessionParams() *JoinSessionParams

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

func NewJoinSessionParamsWithContext added in v0.4.0

func NewJoinSessionParamsWithContext(ctx context.Context) *JoinSessionParams

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

func NewJoinSessionParamsWithHTTPClient added in v0.4.0

func NewJoinSessionParamsWithHTTPClient(client *http.Client) *JoinSessionParams

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

func NewJoinSessionParamsWithTimeout added in v0.4.0

func NewJoinSessionParamsWithTimeout(timeout time.Duration) *JoinSessionParams

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

func (*JoinSessionParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the join session params

func (*JoinSessionParams) SetBody added in v0.4.0

SetBody adds the body to the join session params

func (*JoinSessionParams) SetContext added in v0.4.0

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

SetContext adds the context to the join session params

func (*JoinSessionParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the join session params

func (*JoinSessionParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the join session params

func (*JoinSessionParams) SetNamespace added in v0.4.0

func (o *JoinSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the join session params

func (*JoinSessionParams) SetSessionID added in v0.4.0

func (o *JoinSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the join session params

func (*JoinSessionParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the join session params

func (*JoinSessionParams) WithBody added in v0.4.0

WithBody adds the body to the join session params

func (*JoinSessionParams) WithContext added in v0.4.0

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

WithContext adds the context to the join session params

func (*JoinSessionParams) WithHTTPClient added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the join session params

func (*JoinSessionParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the join session params

func (*JoinSessionParams) WithSessionID added in v0.4.0

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

WithSessionID adds the sessionID to the join session params

func (*JoinSessionParams) WithTimeout added in v0.4.0

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

WithTimeout adds the timeout to the join session params

func (*JoinSessionParams) WriteToRequest added in v0.4.0

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

WriteToRequest writes these params to a swagger request

type JoinSessionReader added in v0.4.0

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

JoinSessionReader is a Reader for the JoinSession structure.

func (*JoinSessionReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type QuerySessionBadRequest

type QuerySessionBadRequest struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

QuerySessionBadRequest handles this case with default header values.

malformed request

func NewQuerySessionBadRequest

func NewQuerySessionBadRequest() *QuerySessionBadRequest

NewQuerySessionBadRequest creates a QuerySessionBadRequest with default headers values

func (*QuerySessionBadRequest) Error

func (o *QuerySessionBadRequest) Error() string

func (*QuerySessionBadRequest) GetPayload

func (*QuerySessionBadRequest) ToJSONString added in v0.25.0

func (o *QuerySessionBadRequest) ToJSONString() string

type QuerySessionInternalServerError

type QuerySessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.ResponseError
}

QuerySessionInternalServerError handles this case with default header values.

Internal Server Error

func NewQuerySessionInternalServerError

func NewQuerySessionInternalServerError() *QuerySessionInternalServerError

NewQuerySessionInternalServerError creates a QuerySessionInternalServerError with default headers values

func (*QuerySessionInternalServerError) Error

func (*QuerySessionInternalServerError) GetPayload

func (*QuerySessionInternalServerError) ToJSONString added in v0.25.0

func (o *QuerySessionInternalServerError) ToJSONString() string

type QuerySessionOK

type QuerySessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionQueryResponse
}

QuerySessionOK handles this case with default header values.

session get

func NewQuerySessionOK

func NewQuerySessionOK() *QuerySessionOK

NewQuerySessionOK creates a QuerySessionOK with default headers values

func (*QuerySessionOK) Error

func (o *QuerySessionOK) Error() string

func (*QuerySessionOK) GetPayload

func (*QuerySessionOK) ToJSONString added in v0.25.0

func (o *QuerySessionOK) ToJSONString() string

type QuerySessionParams

type QuerySessionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*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
	/*Namespace
	  namespace of the game

	*/
	Namespace 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
	/*SessionType
	  Session type to query, value is 'p2p' or 'dedicated'

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

	*/
	UserID *string

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

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

func NewQuerySessionParams

func NewQuerySessionParams() *QuerySessionParams

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

func NewQuerySessionParamsWithContext

func NewQuerySessionParamsWithContext(ctx context.Context) *QuerySessionParams

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

func NewQuerySessionParamsWithHTTPClient

func NewQuerySessionParamsWithHTTPClient(client *http.Client) *QuerySessionParams

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

func NewQuerySessionParamsWithTimeout

func NewQuerySessionParamsWithTimeout(timeout time.Duration) *QuerySessionParams

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

func (*QuerySessionParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the query session params

func (*QuerySessionParams) SetContext

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

SetContext adds the context to the query session params

func (*QuerySessionParams) SetGameMode

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

SetGameMode adds the gameMode to the query session params

func (*QuerySessionParams) SetGameVersion

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

SetGameVersion adds the gameVersion to the query session params

func (*QuerySessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query session params

func (*QuerySessionParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the query session params

func (*QuerySessionParams) SetJoinable

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

SetJoinable adds the joinable to the query session params

func (*QuerySessionParams) SetLimit

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

SetLimit adds the limit to the query session params

func (*QuerySessionParams) SetMatchExist added in v0.4.0

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

SetMatchExist adds the matchExist to the query session params

func (*QuerySessionParams) SetMatchID

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

SetMatchID adds the matchId to the query session params

func (*QuerySessionParams) SetNamespace

func (o *QuerySessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query session params

func (*QuerySessionParams) SetOffset

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

SetOffset adds the offset to the query session params

func (*QuerySessionParams) SetServerStatus

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

SetServerStatus adds the serverStatus to the query session params

func (*QuerySessionParams) SetSessionType

func (o *QuerySessionParams) SetSessionType(sessionType string)

SetSessionType adds the sessionType to the query session params

func (*QuerySessionParams) SetTimeout

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

SetTimeout adds the timeout to the query session params

func (*QuerySessionParams) SetUserID

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

SetUserID adds the userId to the query session params

func (*QuerySessionParams) WithContext

WithContext adds the context to the query session params

func (*QuerySessionParams) WithGameMode

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

WithGameMode adds the gameMode to the query session params

func (*QuerySessionParams) WithGameVersion

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

WithGameVersion adds the gameVersion to the query session params

func (*QuerySessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query session params

func (*QuerySessionParams) WithJoinable

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

WithJoinable adds the joinable to the query session params

func (*QuerySessionParams) WithLimit

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

WithLimit adds the limit to the query session params

func (*QuerySessionParams) WithMatchExist added in v0.4.0

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

WithMatchExist adds the matchExist to the query session params

func (*QuerySessionParams) WithMatchID

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

WithMatchID adds the matchID to the query session params

func (*QuerySessionParams) WithNamespace

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

WithNamespace adds the namespace to the query session params

func (*QuerySessionParams) WithOffset

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

WithOffset adds the offset to the query session params

func (*QuerySessionParams) WithServerStatus

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

WithServerStatus adds the serverStatus to the query session params

func (*QuerySessionParams) WithSessionType

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

WithSessionType adds the sessionType to the query session params

func (*QuerySessionParams) WithTimeout

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

WithTimeout adds the timeout to the query session params

func (*QuerySessionParams) WithUserID

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

WithUserID adds the userID to the query session params

func (*QuerySessionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QuerySessionReader

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

QuerySessionReader is a Reader for the QuerySession structure.

func (*QuerySessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemovePlayerFromSessionBadRequest added in v0.4.0

type RemovePlayerFromSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

RemovePlayerFromSessionBadRequest handles this case with default header values.

malformed request

func NewRemovePlayerFromSessionBadRequest added in v0.4.0

func NewRemovePlayerFromSessionBadRequest() *RemovePlayerFromSessionBadRequest

NewRemovePlayerFromSessionBadRequest creates a RemovePlayerFromSessionBadRequest with default headers values

func (*RemovePlayerFromSessionBadRequest) Error added in v0.4.0

func (*RemovePlayerFromSessionBadRequest) GetPayload added in v0.4.0

func (*RemovePlayerFromSessionBadRequest) ToJSONString added in v0.25.0

func (o *RemovePlayerFromSessionBadRequest) ToJSONString() string

type RemovePlayerFromSessionInternalServerError added in v0.4.0

type RemovePlayerFromSessionInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

RemovePlayerFromSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewRemovePlayerFromSessionInternalServerError added in v0.4.0

func NewRemovePlayerFromSessionInternalServerError() *RemovePlayerFromSessionInternalServerError

NewRemovePlayerFromSessionInternalServerError creates a RemovePlayerFromSessionInternalServerError with default headers values

func (*RemovePlayerFromSessionInternalServerError) Error added in v0.4.0

func (*RemovePlayerFromSessionInternalServerError) GetPayload added in v0.4.0

func (*RemovePlayerFromSessionInternalServerError) ToJSONString added in v0.25.0

type RemovePlayerFromSessionNotFound added in v0.4.0

type RemovePlayerFromSessionNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

RemovePlayerFromSessionNotFound handles this case with default header values.

session not found

func NewRemovePlayerFromSessionNotFound added in v0.4.0

func NewRemovePlayerFromSessionNotFound() *RemovePlayerFromSessionNotFound

NewRemovePlayerFromSessionNotFound creates a RemovePlayerFromSessionNotFound with default headers values

func (*RemovePlayerFromSessionNotFound) Error added in v0.4.0

func (*RemovePlayerFromSessionNotFound) GetPayload added in v0.4.0

func (*RemovePlayerFromSessionNotFound) ToJSONString added in v0.25.0

func (o *RemovePlayerFromSessionNotFound) ToJSONString() string

type RemovePlayerFromSessionOK added in v0.4.0

type RemovePlayerFromSessionOK struct {
	Payload *sessionbrowserclientmodels.ModelsAddPlayerResponse
}

RemovePlayerFromSessionOK handles this case with default header values.

player removed

func NewRemovePlayerFromSessionOK added in v0.4.0

func NewRemovePlayerFromSessionOK() *RemovePlayerFromSessionOK

NewRemovePlayerFromSessionOK creates a RemovePlayerFromSessionOK with default headers values

func (*RemovePlayerFromSessionOK) Error added in v0.4.0

func (o *RemovePlayerFromSessionOK) Error() string

func (*RemovePlayerFromSessionOK) GetPayload added in v0.4.0

func (*RemovePlayerFromSessionOK) ToJSONString added in v0.25.0

func (o *RemovePlayerFromSessionOK) ToJSONString() string

type RemovePlayerFromSessionParams added in v0.4.0

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
	// contains filtered or unexported fields
}

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

func NewRemovePlayerFromSessionParams added in v0.4.0

func NewRemovePlayerFromSessionParams() *RemovePlayerFromSessionParams

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

func NewRemovePlayerFromSessionParamsWithContext added in v0.4.0

func NewRemovePlayerFromSessionParamsWithContext(ctx context.Context) *RemovePlayerFromSessionParams

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

func NewRemovePlayerFromSessionParamsWithHTTPClient added in v0.4.0

func NewRemovePlayerFromSessionParamsWithHTTPClient(client *http.Client) *RemovePlayerFromSessionParams

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

func NewRemovePlayerFromSessionParamsWithTimeout added in v0.4.0

func NewRemovePlayerFromSessionParamsWithTimeout(timeout time.Duration) *RemovePlayerFromSessionParams

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

func (*RemovePlayerFromSessionParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the remove player from session params

func (*RemovePlayerFromSessionParams) SetContext added in v0.4.0

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

SetContext adds the context to the remove player from session params

func (*RemovePlayerFromSessionParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the remove player from session params

func (*RemovePlayerFromSessionParams) SetHTTPClientTransport added in v0.19.0

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

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

func (*RemovePlayerFromSessionParams) SetNamespace added in v0.4.0

func (o *RemovePlayerFromSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the remove player from session params

func (*RemovePlayerFromSessionParams) SetSessionID added in v0.4.0

func (o *RemovePlayerFromSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the remove player from session params

func (*RemovePlayerFromSessionParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the remove player from session params

func (*RemovePlayerFromSessionParams) SetUserID added in v0.4.0

func (o *RemovePlayerFromSessionParams) SetUserID(userID string)

SetUserID adds the userId to the remove player from session params

func (*RemovePlayerFromSessionParams) WithContext added in v0.4.0

WithContext adds the context to the remove player from session params

func (*RemovePlayerFromSessionParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the remove player from session params

func (*RemovePlayerFromSessionParams) WithNamespace added in v0.4.0

WithNamespace adds the namespace to the remove player from session params

func (*RemovePlayerFromSessionParams) WithSessionID added in v0.4.0

WithSessionID adds the sessionID to the remove player from session params

func (*RemovePlayerFromSessionParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the remove player from session params

func (*RemovePlayerFromSessionParams) WithUserID added in v0.4.0

WithUserID adds the userID to the remove player from session params

func (*RemovePlayerFromSessionParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type RemovePlayerFromSessionReader added in v0.4.0

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

RemovePlayerFromSessionReader is a Reader for the RemovePlayerFromSession structure.

func (*RemovePlayerFromSessionReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type UpdateSessionBadRequest

type UpdateSessionBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

UpdateSessionBadRequest handles this case with default header values.

malformed request

func NewUpdateSessionBadRequest

func NewUpdateSessionBadRequest() *UpdateSessionBadRequest

NewUpdateSessionBadRequest creates a UpdateSessionBadRequest with default headers values

func (*UpdateSessionBadRequest) Error

func (o *UpdateSessionBadRequest) Error() string

func (*UpdateSessionBadRequest) GetPayload

func (*UpdateSessionBadRequest) ToJSONString added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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
	// 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 added in v0.17.0

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

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

SetHTTPClient adds the HTTPClient to the update session params

func (*UpdateSessionParams) SetHTTPClientTransport added in v0.19.0

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 added in v0.18.0

type UpdateSettingsBadRequest struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

UpdateSettingsBadRequest handles this case with default header values.

malformed request

func NewUpdateSettingsBadRequest added in v0.18.0

func NewUpdateSettingsBadRequest() *UpdateSettingsBadRequest

NewUpdateSettingsBadRequest creates a UpdateSettingsBadRequest with default headers values

func (*UpdateSettingsBadRequest) Error added in v0.18.0

func (o *UpdateSettingsBadRequest) Error() string

func (*UpdateSettingsBadRequest) GetPayload added in v0.18.0

func (*UpdateSettingsBadRequest) ToJSONString added in v0.25.0

func (o *UpdateSettingsBadRequest) ToJSONString() string

type UpdateSettingsInternalServerError added in v0.18.0

type UpdateSettingsInternalServerError struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

UpdateSettingsInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateSettingsInternalServerError added in v0.18.0

func NewUpdateSettingsInternalServerError() *UpdateSettingsInternalServerError

NewUpdateSettingsInternalServerError creates a UpdateSettingsInternalServerError with default headers values

func (*UpdateSettingsInternalServerError) Error added in v0.18.0

func (*UpdateSettingsInternalServerError) GetPayload added in v0.18.0

func (*UpdateSettingsInternalServerError) ToJSONString added in v0.25.0

func (o *UpdateSettingsInternalServerError) ToJSONString() string

type UpdateSettingsNotFound added in v0.18.0

type UpdateSettingsNotFound struct {
	Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}

UpdateSettingsNotFound handles this case with default header values.

session not found

func NewUpdateSettingsNotFound added in v0.18.0

func NewUpdateSettingsNotFound() *UpdateSettingsNotFound

NewUpdateSettingsNotFound creates a UpdateSettingsNotFound with default headers values

func (*UpdateSettingsNotFound) Error added in v0.18.0

func (o *UpdateSettingsNotFound) Error() string

func (*UpdateSettingsNotFound) GetPayload added in v0.18.0

func (*UpdateSettingsNotFound) ToJSONString added in v0.25.0

func (o *UpdateSettingsNotFound) ToJSONString() string

type UpdateSettingsOK added in v0.18.0

type UpdateSettingsOK struct {
	Payload *sessionbrowserclientmodels.ModelsSessionResponse
}

UpdateSettingsOK handles this case with default header values.

session updated

func NewUpdateSettingsOK added in v0.18.0

func NewUpdateSettingsOK() *UpdateSettingsOK

NewUpdateSettingsOK creates a UpdateSettingsOK with default headers values

func (*UpdateSettingsOK) Error added in v0.18.0

func (o *UpdateSettingsOK) Error() string

func (*UpdateSettingsOK) GetPayload added in v0.18.0

func (*UpdateSettingsOK) ToJSONString added in v0.25.0

func (o *UpdateSettingsOK) ToJSONString() string

type UpdateSettingsParams added in v0.18.0

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
	// 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 added in v0.18.0

func NewUpdateSettingsParams() *UpdateSettingsParams

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

func NewUpdateSettingsParamsWithContext added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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 added in v0.18.0

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

SetAuthInfoWriter adds the authInfoWriter to the update settings params

func (*UpdateSettingsParams) SetBody added in v0.18.0

SetBody adds the body to the update settings params

func (*UpdateSettingsParams) SetContext added in v0.18.0

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

SetContext adds the context to the update settings params

func (*UpdateSettingsParams) SetHTTPClient added in v0.18.0

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

SetHTTPClient adds the HTTPClient to the update settings params

func (*UpdateSettingsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the update settings params

func (*UpdateSettingsParams) SetNamespace added in v0.18.0

func (o *UpdateSettingsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update settings params

func (*UpdateSettingsParams) SetSessionID added in v0.18.0

func (o *UpdateSettingsParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the update settings params

func (*UpdateSettingsParams) SetTimeout added in v0.18.0

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

SetTimeout adds the timeout to the update settings params

func (*UpdateSettingsParams) WithBody added in v0.18.0

WithBody adds the body to the update settings params

func (*UpdateSettingsParams) WithContext added in v0.18.0

WithContext adds the context to the update settings params

func (*UpdateSettingsParams) WithHTTPClient added in v0.18.0

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

WithHTTPClient adds the HTTPClient to the update settings params

func (*UpdateSettingsParams) WithNamespace added in v0.18.0

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

WithNamespace adds the namespace to the update settings params

func (*UpdateSettingsParams) WithSessionID added in v0.18.0

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

WithSessionID adds the sessionID to the update settings params

func (*UpdateSettingsParams) WithTimeout added in v0.18.0

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

WithTimeout adds the timeout to the update settings params

func (*UpdateSettingsParams) WriteToRequest added in v0.18.0

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

WriteToRequest writes these params to a swagger request

type UpdateSettingsReader added in v0.18.0

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

UpdateSettingsReader is a Reader for the UpdateSettings structure.

func (*UpdateSettingsReader) ReadResponse added in v0.18.0

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