game_session

package
v0.49.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 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 AdminDeleteBulkGameSessionsBadRequest added in v0.42.0

type AdminDeleteBulkGameSessionsBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminDeleteBulkGameSessionsBadRequest handles this case with default header values.

Bad Request

func NewAdminDeleteBulkGameSessionsBadRequest added in v0.42.0

func NewAdminDeleteBulkGameSessionsBadRequest() *AdminDeleteBulkGameSessionsBadRequest

NewAdminDeleteBulkGameSessionsBadRequest creates a AdminDeleteBulkGameSessionsBadRequest with default headers values

func (*AdminDeleteBulkGameSessionsBadRequest) Error added in v0.42.0

func (*AdminDeleteBulkGameSessionsBadRequest) GetPayload added in v0.42.0

func (*AdminDeleteBulkGameSessionsBadRequest) ToJSONString added in v0.42.0

type AdminDeleteBulkGameSessionsForbidden added in v0.42.0

type AdminDeleteBulkGameSessionsForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

AdminDeleteBulkGameSessionsForbidden handles this case with default header values.

Forbidden

func NewAdminDeleteBulkGameSessionsForbidden added in v0.42.0

func NewAdminDeleteBulkGameSessionsForbidden() *AdminDeleteBulkGameSessionsForbidden

NewAdminDeleteBulkGameSessionsForbidden creates a AdminDeleteBulkGameSessionsForbidden with default headers values

func (*AdminDeleteBulkGameSessionsForbidden) Error added in v0.42.0

func (*AdminDeleteBulkGameSessionsForbidden) GetPayload added in v0.42.0

func (*AdminDeleteBulkGameSessionsForbidden) ToJSONString added in v0.42.0

func (o *AdminDeleteBulkGameSessionsForbidden) ToJSONString() string

type AdminDeleteBulkGameSessionsInternalServerError added in v0.42.0

type AdminDeleteBulkGameSessionsInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminDeleteBulkGameSessionsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminDeleteBulkGameSessionsInternalServerError added in v0.42.0

func NewAdminDeleteBulkGameSessionsInternalServerError() *AdminDeleteBulkGameSessionsInternalServerError

NewAdminDeleteBulkGameSessionsInternalServerError creates a AdminDeleteBulkGameSessionsInternalServerError with default headers values

func (*AdminDeleteBulkGameSessionsInternalServerError) Error added in v0.42.0

func (*AdminDeleteBulkGameSessionsInternalServerError) GetPayload added in v0.42.0

func (*AdminDeleteBulkGameSessionsInternalServerError) ToJSONString added in v0.42.0

type AdminDeleteBulkGameSessionsOK added in v0.42.0

type AdminDeleteBulkGameSessionsOK struct {
	Payload *sessionclientmodels.ApimodelsDeleteBulkGameSessionsAPIResponse
}

AdminDeleteBulkGameSessionsOK handles this case with default header values.

OK

func NewAdminDeleteBulkGameSessionsOK added in v0.42.0

func NewAdminDeleteBulkGameSessionsOK() *AdminDeleteBulkGameSessionsOK

NewAdminDeleteBulkGameSessionsOK creates a AdminDeleteBulkGameSessionsOK with default headers values

func (*AdminDeleteBulkGameSessionsOK) Error added in v0.42.0

func (*AdminDeleteBulkGameSessionsOK) GetPayload added in v0.42.0

func (*AdminDeleteBulkGameSessionsOK) ToJSONString added in v0.42.0

func (o *AdminDeleteBulkGameSessionsOK) ToJSONString() string

type AdminDeleteBulkGameSessionsParams added in v0.42.0

type AdminDeleteBulkGameSessionsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.ApimodelsDeleteBulkGameSessionRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

AdminDeleteBulkGameSessionsParams contains all the parameters to send to the API endpoint for the admin delete bulk game sessions operation typically these are written to a http.Request

func NewAdminDeleteBulkGameSessionsParams added in v0.42.0

func NewAdminDeleteBulkGameSessionsParams() *AdminDeleteBulkGameSessionsParams

NewAdminDeleteBulkGameSessionsParams creates a new AdminDeleteBulkGameSessionsParams object with the default values initialized.

func NewAdminDeleteBulkGameSessionsParamsWithContext added in v0.42.0

func NewAdminDeleteBulkGameSessionsParamsWithContext(ctx context.Context) *AdminDeleteBulkGameSessionsParams

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

func NewAdminDeleteBulkGameSessionsParamsWithHTTPClient added in v0.42.0

func NewAdminDeleteBulkGameSessionsParamsWithHTTPClient(client *http.Client) *AdminDeleteBulkGameSessionsParams

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

func NewAdminDeleteBulkGameSessionsParamsWithTimeout added in v0.42.0

func NewAdminDeleteBulkGameSessionsParamsWithTimeout(timeout time.Duration) *AdminDeleteBulkGameSessionsParams

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

func (*AdminDeleteBulkGameSessionsParams) SetAuthInfoWriter added in v0.42.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete bulk game sessions params

func (*AdminDeleteBulkGameSessionsParams) SetBody added in v0.42.0

SetBody adds the body to the admin delete bulk game sessions params

func (*AdminDeleteBulkGameSessionsParams) SetContext added in v0.42.0

SetContext adds the context to the admin delete bulk game sessions params

func (*AdminDeleteBulkGameSessionsParams) SetHTTPClient added in v0.42.0

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

SetHTTPClient adds the HTTPClient to the admin delete bulk game sessions params

func (*AdminDeleteBulkGameSessionsParams) SetHTTPClientTransport added in v0.42.0

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

SetHTTPClient adds the HTTPClient Transport to the admin delete bulk game sessions params

func (*AdminDeleteBulkGameSessionsParams) SetNamespace added in v0.42.0

func (o *AdminDeleteBulkGameSessionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete bulk game sessions params

func (*AdminDeleteBulkGameSessionsParams) SetTimeout added in v0.42.0

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

SetTimeout adds the timeout to the admin delete bulk game sessions params

func (*AdminDeleteBulkGameSessionsParams) WithBody added in v0.42.0

WithBody adds the body to the admin delete bulk game sessions params

func (*AdminDeleteBulkGameSessionsParams) WithContext added in v0.42.0

WithContext adds the context to the admin delete bulk game sessions params

func (*AdminDeleteBulkGameSessionsParams) WithHTTPClient added in v0.42.0

WithHTTPClient adds the HTTPClient to the admin delete bulk game sessions params

func (*AdminDeleteBulkGameSessionsParams) WithNamespace added in v0.42.0

WithNamespace adds the namespace to the admin delete bulk game sessions params

func (*AdminDeleteBulkGameSessionsParams) WithTimeout added in v0.42.0

WithTimeout adds the timeout to the admin delete bulk game sessions params

func (*AdminDeleteBulkGameSessionsParams) WriteToRequest added in v0.42.0

WriteToRequest writes these params to a swagger request

type AdminDeleteBulkGameSessionsReader added in v0.42.0

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

AdminDeleteBulkGameSessionsReader is a Reader for the AdminDeleteBulkGameSessions structure.

func (*AdminDeleteBulkGameSessionsReader) ReadResponse added in v0.42.0

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

ReadResponse reads a server response into the received o.

type AdminDeleteBulkGameSessionsUnauthorized added in v0.42.0

type AdminDeleteBulkGameSessionsUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminDeleteBulkGameSessionsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminDeleteBulkGameSessionsUnauthorized added in v0.42.0

func NewAdminDeleteBulkGameSessionsUnauthorized() *AdminDeleteBulkGameSessionsUnauthorized

NewAdminDeleteBulkGameSessionsUnauthorized creates a AdminDeleteBulkGameSessionsUnauthorized with default headers values

func (*AdminDeleteBulkGameSessionsUnauthorized) Error added in v0.42.0

func (*AdminDeleteBulkGameSessionsUnauthorized) GetPayload added in v0.42.0

func (*AdminDeleteBulkGameSessionsUnauthorized) ToJSONString added in v0.42.0

type AdminQueryGameSessionsBadRequest

type AdminQueryGameSessionsBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryGameSessionsBadRequest handles this case with default header values.

Bad Request

func NewAdminQueryGameSessionsBadRequest

func NewAdminQueryGameSessionsBadRequest() *AdminQueryGameSessionsBadRequest

NewAdminQueryGameSessionsBadRequest creates a AdminQueryGameSessionsBadRequest with default headers values

func (*AdminQueryGameSessionsBadRequest) Error

func (*AdminQueryGameSessionsBadRequest) GetPayload

func (*AdminQueryGameSessionsBadRequest) ToJSONString

func (o *AdminQueryGameSessionsBadRequest) ToJSONString() string

type AdminQueryGameSessionsForbidden

type AdminQueryGameSessionsForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryGameSessionsForbidden handles this case with default header values.

Forbidden

func NewAdminQueryGameSessionsForbidden

func NewAdminQueryGameSessionsForbidden() *AdminQueryGameSessionsForbidden

NewAdminQueryGameSessionsForbidden creates a AdminQueryGameSessionsForbidden with default headers values

func (*AdminQueryGameSessionsForbidden) Error

func (*AdminQueryGameSessionsForbidden) GetPayload

func (*AdminQueryGameSessionsForbidden) ToJSONString

func (o *AdminQueryGameSessionsForbidden) ToJSONString() string

type AdminQueryGameSessionsInternalServerError

type AdminQueryGameSessionsInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryGameSessionsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminQueryGameSessionsInternalServerError

func NewAdminQueryGameSessionsInternalServerError() *AdminQueryGameSessionsInternalServerError

NewAdminQueryGameSessionsInternalServerError creates a AdminQueryGameSessionsInternalServerError with default headers values

func (*AdminQueryGameSessionsInternalServerError) Error

func (*AdminQueryGameSessionsInternalServerError) GetPayload

func (*AdminQueryGameSessionsInternalServerError) ToJSONString

type AdminQueryGameSessionsOK

type AdminQueryGameSessionsOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionQueryResponse
}

AdminQueryGameSessionsOK handles this case with default header values.

OK

func NewAdminQueryGameSessionsOK

func NewAdminQueryGameSessionsOK() *AdminQueryGameSessionsOK

NewAdminQueryGameSessionsOK creates a AdminQueryGameSessionsOK with default headers values

func (*AdminQueryGameSessionsOK) Error

func (o *AdminQueryGameSessionsOK) Error() string

func (*AdminQueryGameSessionsOK) GetPayload

func (*AdminQueryGameSessionsOK) ToJSONString

func (o *AdminQueryGameSessionsOK) ToJSONString() string

type AdminQueryGameSessionsParams

type AdminQueryGameSessionsParams struct {

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

	*/
	Namespace string
	/*ConfigurationName
	  configuration template name

	*/
	ConfigurationName *string
	/*DsPodName
	  pod name of a dedicated server

	*/
	DsPodName *string
	/*FromTime
	  beginning of game session creation time range in RFC 3339 format e.g. 2022-10-21T07:20:50Z

	*/
	FromTime *string
	/*GameMode
	  game mode

	*/
	GameMode *string
	/*IsPersistent
	  game session is Persistent. supported: TRUE, FALSE

	*/
	IsPersistent *string
	/*IsSoftDeleted
	  game session is soft deleted. supported: TRUE, FALSE

	*/
	IsSoftDeleted *string
	/*Joinability
	  game session joinability to filter. joinability types: OPEN,CLOSED,INVITE_ONLY

	*/
	Joinability *string
	/*Limit
	  Pagination limit

	*/
	Limit *int64
	/*MatchPool
	  matchmaking pool

	*/
	MatchPool *string
	/*MemberID
	  member user ID

	*/
	MemberID *string
	/*Offset
	  Pagination offset

	*/
	Offset *int64
	/*Order
	  Order of the result. Supported: desc (default), asc

	*/
	Order *string
	/*OrderBy
	  Order result by specific attribute. Supported: createdAt (default), updatedAt

	*/
	OrderBy *string
	/*SessionID
	  game session ID

	*/
	SessionID *string
	/*Status
	  game session status to filter. supported status: NEED_TO_REQUEST,REQUESTED,AVAILABLE,FAILED_TO_REQUEST

	*/
	Status *string
	/*StatusV2
	  game session status to filter. supported status: NEED_TO_REQUEST,REQUESTED,AVAILABLE,FAILED_TO_REQUEST,UNKNOWN,ENDED

	*/
	StatusV2 *string
	/*ToTime
	  end of game session creation time range in RFC 3339 format e.g. 2022-10-21T07:20:50Z

	*/
	ToTime *string

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

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

func NewAdminQueryGameSessionsParams

func NewAdminQueryGameSessionsParams() *AdminQueryGameSessionsParams

NewAdminQueryGameSessionsParams creates a new AdminQueryGameSessionsParams object with the default values initialized.

func NewAdminQueryGameSessionsParamsWithContext

func NewAdminQueryGameSessionsParamsWithContext(ctx context.Context) *AdminQueryGameSessionsParams

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

func NewAdminQueryGameSessionsParamsWithHTTPClient

func NewAdminQueryGameSessionsParamsWithHTTPClient(client *http.Client) *AdminQueryGameSessionsParams

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

func NewAdminQueryGameSessionsParamsWithTimeout

func NewAdminQueryGameSessionsParamsWithTimeout(timeout time.Duration) *AdminQueryGameSessionsParams

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

func (*AdminQueryGameSessionsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetConfigurationName

func (o *AdminQueryGameSessionsParams) SetConfigurationName(configurationName *string)

SetConfigurationName adds the configurationName to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetContext

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

SetContext adds the context to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetDsPodName

func (o *AdminQueryGameSessionsParams) SetDsPodName(dsPodName *string)

SetDsPodName adds the dsPodName to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetFromTime

func (o *AdminQueryGameSessionsParams) SetFromTime(fromTime *string)

SetFromTime adds the fromTime to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetGameMode

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

SetGameMode adds the gameMode to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetIsPersistent added in v0.41.0

func (o *AdminQueryGameSessionsParams) SetIsPersistent(isPersistent *string)

SetIsPersistent adds the isPersistent to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetIsSoftDeleted added in v0.37.0

func (o *AdminQueryGameSessionsParams) SetIsSoftDeleted(isSoftDeleted *string)

SetIsSoftDeleted adds the isSoftDeleted to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetJoinability

func (o *AdminQueryGameSessionsParams) SetJoinability(joinability *string)

SetJoinability adds the joinability to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetLimit

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

SetLimit adds the limit to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetMatchPool

func (o *AdminQueryGameSessionsParams) SetMatchPool(matchPool *string)

SetMatchPool adds the matchPool to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetMemberID

func (o *AdminQueryGameSessionsParams) SetMemberID(memberID *string)

SetMemberID adds the memberId to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetNamespace

func (o *AdminQueryGameSessionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetOffset

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

SetOffset adds the offset to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetOrder

func (o *AdminQueryGameSessionsParams) SetOrder(order *string)

SetOrder adds the order to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetOrderBy

func (o *AdminQueryGameSessionsParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetSessionID

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

SetSessionID adds the sessionId to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetStatus

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

SetStatus adds the status to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetStatusV2 added in v0.36.0

func (o *AdminQueryGameSessionsParams) SetStatusV2(statusV2 *string)

SetStatusV2 adds the statusV2 to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetTimeout

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

SetTimeout adds the timeout to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetToTime

func (o *AdminQueryGameSessionsParams) SetToTime(toTime *string)

SetToTime adds the toTime to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithConfigurationName

func (o *AdminQueryGameSessionsParams) WithConfigurationName(configurationName *string) *AdminQueryGameSessionsParams

WithConfigurationName adds the configurationName to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithContext

WithContext adds the context to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithDsPodName

WithDsPodName adds the dsPodName to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithFromTime

WithFromTime adds the fromTime to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithGameMode

WithGameMode adds the gameMode to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithIsPersistent added in v0.41.0

func (o *AdminQueryGameSessionsParams) WithIsPersistent(isPersistent *string) *AdminQueryGameSessionsParams

WithIsPersistent adds the isPersistent to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithIsSoftDeleted added in v0.37.0

func (o *AdminQueryGameSessionsParams) WithIsSoftDeleted(isSoftDeleted *string) *AdminQueryGameSessionsParams

WithIsSoftDeleted adds the isSoftDeleted to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithJoinability

func (o *AdminQueryGameSessionsParams) WithJoinability(joinability *string) *AdminQueryGameSessionsParams

WithJoinability adds the joinability to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithLimit

WithLimit adds the limit to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithMatchPool

WithMatchPool adds the matchPool to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithMemberID

WithMemberID adds the memberID to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithNamespace

WithNamespace adds the namespace to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithOffset

WithOffset adds the offset to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithOrder

WithOrder adds the order to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithOrderBy

WithOrderBy adds the orderBy to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithSessionID

WithSessionID adds the sessionID to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithStatus

WithStatus adds the status to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithStatusV2 added in v0.36.0

WithStatusV2 adds the statusV2 to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithTimeout

WithTimeout adds the timeout to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithToTime

WithToTime adds the toTime to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminQueryGameSessionsReader

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

AdminQueryGameSessionsReader is a Reader for the AdminQueryGameSessions structure.

func (*AdminQueryGameSessionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminQueryGameSessionsUnauthorized

type AdminQueryGameSessionsUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryGameSessionsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminQueryGameSessionsUnauthorized

func NewAdminQueryGameSessionsUnauthorized() *AdminQueryGameSessionsUnauthorized

NewAdminQueryGameSessionsUnauthorized creates a AdminQueryGameSessionsUnauthorized with default headers values

func (*AdminQueryGameSessionsUnauthorized) Error

func (*AdminQueryGameSessionsUnauthorized) GetPayload

func (*AdminQueryGameSessionsUnauthorized) ToJSONString

func (o *AdminQueryGameSessionsUnauthorized) ToJSONString() string

type AdminUpdateGameSessionMemberBadRequest

type AdminUpdateGameSessionMemberBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminUpdateGameSessionMemberBadRequest handles this case with default header values.

Bad Request

func NewAdminUpdateGameSessionMemberBadRequest

func NewAdminUpdateGameSessionMemberBadRequest() *AdminUpdateGameSessionMemberBadRequest

NewAdminUpdateGameSessionMemberBadRequest creates a AdminUpdateGameSessionMemberBadRequest with default headers values

func (*AdminUpdateGameSessionMemberBadRequest) Error

func (*AdminUpdateGameSessionMemberBadRequest) GetPayload

func (*AdminUpdateGameSessionMemberBadRequest) ToJSONString

type AdminUpdateGameSessionMemberForbidden

type AdminUpdateGameSessionMemberForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

AdminUpdateGameSessionMemberForbidden handles this case with default header values.

Forbidden

func NewAdminUpdateGameSessionMemberForbidden

func NewAdminUpdateGameSessionMemberForbidden() *AdminUpdateGameSessionMemberForbidden

NewAdminUpdateGameSessionMemberForbidden creates a AdminUpdateGameSessionMemberForbidden with default headers values

func (*AdminUpdateGameSessionMemberForbidden) Error

func (*AdminUpdateGameSessionMemberForbidden) GetPayload

func (*AdminUpdateGameSessionMemberForbidden) ToJSONString

type AdminUpdateGameSessionMemberInternalServerError

type AdminUpdateGameSessionMemberInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminUpdateGameSessionMemberInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUpdateGameSessionMemberInternalServerError

func NewAdminUpdateGameSessionMemberInternalServerError() *AdminUpdateGameSessionMemberInternalServerError

NewAdminUpdateGameSessionMemberInternalServerError creates a AdminUpdateGameSessionMemberInternalServerError with default headers values

func (*AdminUpdateGameSessionMemberInternalServerError) Error

func (*AdminUpdateGameSessionMemberInternalServerError) GetPayload

func (*AdminUpdateGameSessionMemberInternalServerError) ToJSONString

type AdminUpdateGameSessionMemberNotFound

type AdminUpdateGameSessionMemberNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

AdminUpdateGameSessionMemberNotFound handles this case with default header values.

Not Found

func NewAdminUpdateGameSessionMemberNotFound

func NewAdminUpdateGameSessionMemberNotFound() *AdminUpdateGameSessionMemberNotFound

NewAdminUpdateGameSessionMemberNotFound creates a AdminUpdateGameSessionMemberNotFound with default headers values

func (*AdminUpdateGameSessionMemberNotFound) Error

func (*AdminUpdateGameSessionMemberNotFound) GetPayload

func (*AdminUpdateGameSessionMemberNotFound) ToJSONString

func (o *AdminUpdateGameSessionMemberNotFound) ToJSONString() string

type AdminUpdateGameSessionMemberOK

type AdminUpdateGameSessionMemberOK struct {
	Payload *sessionclientmodels.ApimodelsUpdateGameSessionMemberStatusResponse
}

AdminUpdateGameSessionMemberOK handles this case with default header values.

OK

func NewAdminUpdateGameSessionMemberOK

func NewAdminUpdateGameSessionMemberOK() *AdminUpdateGameSessionMemberOK

NewAdminUpdateGameSessionMemberOK creates a AdminUpdateGameSessionMemberOK with default headers values

func (*AdminUpdateGameSessionMemberOK) Error

func (*AdminUpdateGameSessionMemberOK) ToJSONString

func (o *AdminUpdateGameSessionMemberOK) ToJSONString() string

type AdminUpdateGameSessionMemberParams

type AdminUpdateGameSessionMemberParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*MemberID
	  member ID

	*/
	MemberID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string
	/*StatusType
	  status type: INVITED, REJECTED, JOINED, LEFT. Lowercase status type param will be converted to uppercase.

	*/
	StatusType string

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

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

func NewAdminUpdateGameSessionMemberParams

func NewAdminUpdateGameSessionMemberParams() *AdminUpdateGameSessionMemberParams

NewAdminUpdateGameSessionMemberParams creates a new AdminUpdateGameSessionMemberParams object with the default values initialized.

func NewAdminUpdateGameSessionMemberParamsWithContext

func NewAdminUpdateGameSessionMemberParamsWithContext(ctx context.Context) *AdminUpdateGameSessionMemberParams

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

func NewAdminUpdateGameSessionMemberParamsWithHTTPClient

func NewAdminUpdateGameSessionMemberParamsWithHTTPClient(client *http.Client) *AdminUpdateGameSessionMemberParams

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

func NewAdminUpdateGameSessionMemberParamsWithTimeout

func NewAdminUpdateGameSessionMemberParamsWithTimeout(timeout time.Duration) *AdminUpdateGameSessionMemberParams

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

func (*AdminUpdateGameSessionMemberParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) SetContext

SetContext adds the context to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) SetMemberID

func (o *AdminUpdateGameSessionMemberParams) SetMemberID(memberID string)

SetMemberID adds the memberId to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) SetNamespace

func (o *AdminUpdateGameSessionMemberParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) SetSessionID

func (o *AdminUpdateGameSessionMemberParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) SetStatusType

func (o *AdminUpdateGameSessionMemberParams) SetStatusType(statusType string)

SetStatusType adds the statusType to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) SetTimeout

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

SetTimeout adds the timeout to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) WithContext

WithContext adds the context to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) WithMemberID

WithMemberID adds the memberID to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) WithNamespace

WithNamespace adds the namespace to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) WithSessionID

WithSessionID adds the sessionID to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) WithStatusType

WithStatusType adds the statusType to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) WithTimeout

WithTimeout adds the timeout to the admin update game session member params

func (*AdminUpdateGameSessionMemberParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateGameSessionMemberReader

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

AdminUpdateGameSessionMemberReader is a Reader for the AdminUpdateGameSessionMember structure.

func (*AdminUpdateGameSessionMemberReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateGameSessionMemberUnauthorized

type AdminUpdateGameSessionMemberUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminUpdateGameSessionMemberUnauthorized handles this case with default header values.

Unauthorized

func NewAdminUpdateGameSessionMemberUnauthorized

func NewAdminUpdateGameSessionMemberUnauthorized() *AdminUpdateGameSessionMemberUnauthorized

NewAdminUpdateGameSessionMemberUnauthorized creates a AdminUpdateGameSessionMemberUnauthorized with default headers values

func (*AdminUpdateGameSessionMemberUnauthorized) Error

func (*AdminUpdateGameSessionMemberUnauthorized) GetPayload

func (*AdminUpdateGameSessionMemberUnauthorized) ToJSONString

type AppendTeamGameSessionForbidden added in v0.41.0

type AppendTeamGameSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

AppendTeamGameSessionForbidden handles this case with default header values.

Forbidden

func NewAppendTeamGameSessionForbidden added in v0.41.0

func NewAppendTeamGameSessionForbidden() *AppendTeamGameSessionForbidden

NewAppendTeamGameSessionForbidden creates a AppendTeamGameSessionForbidden with default headers values

func (*AppendTeamGameSessionForbidden) Error added in v0.41.0

func (*AppendTeamGameSessionForbidden) GetPayload added in v0.41.0

func (*AppendTeamGameSessionForbidden) ToJSONString added in v0.41.0

func (o *AppendTeamGameSessionForbidden) ToJSONString() string

type AppendTeamGameSessionInternalServerError added in v0.41.0

type AppendTeamGameSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AppendTeamGameSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAppendTeamGameSessionInternalServerError added in v0.41.0

func NewAppendTeamGameSessionInternalServerError() *AppendTeamGameSessionInternalServerError

NewAppendTeamGameSessionInternalServerError creates a AppendTeamGameSessionInternalServerError with default headers values

func (*AppendTeamGameSessionInternalServerError) Error added in v0.41.0

func (*AppendTeamGameSessionInternalServerError) GetPayload added in v0.41.0

func (*AppendTeamGameSessionInternalServerError) ToJSONString added in v0.41.0

type AppendTeamGameSessionNotFound added in v0.41.0

type AppendTeamGameSessionNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

AppendTeamGameSessionNotFound handles this case with default header values.

Not Found

func NewAppendTeamGameSessionNotFound added in v0.41.0

func NewAppendTeamGameSessionNotFound() *AppendTeamGameSessionNotFound

NewAppendTeamGameSessionNotFound creates a AppendTeamGameSessionNotFound with default headers values

func (*AppendTeamGameSessionNotFound) Error added in v0.41.0

func (*AppendTeamGameSessionNotFound) GetPayload added in v0.41.0

func (*AppendTeamGameSessionNotFound) ToJSONString added in v0.41.0

func (o *AppendTeamGameSessionNotFound) ToJSONString() string

type AppendTeamGameSessionOK added in v0.41.0

type AppendTeamGameSessionOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

AppendTeamGameSessionOK handles this case with default header values.

OK

func NewAppendTeamGameSessionOK added in v0.41.0

func NewAppendTeamGameSessionOK() *AppendTeamGameSessionOK

NewAppendTeamGameSessionOK creates a AppendTeamGameSessionOK with default headers values

func (*AppendTeamGameSessionOK) Error added in v0.41.0

func (o *AppendTeamGameSessionOK) Error() string

func (*AppendTeamGameSessionOK) GetPayload added in v0.41.0

func (*AppendTeamGameSessionOK) ToJSONString added in v0.41.0

func (o *AppendTeamGameSessionOK) ToJSONString() string

type AppendTeamGameSessionParams added in v0.41.0

type AppendTeamGameSessionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.ApimodelsAppendTeamGameSessionRequest
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

AppendTeamGameSessionParams contains all the parameters to send to the API endpoint for the append team game session operation typically these are written to a http.Request

func NewAppendTeamGameSessionParams added in v0.41.0

func NewAppendTeamGameSessionParams() *AppendTeamGameSessionParams

NewAppendTeamGameSessionParams creates a new AppendTeamGameSessionParams object with the default values initialized.

func NewAppendTeamGameSessionParamsWithContext added in v0.41.0

func NewAppendTeamGameSessionParamsWithContext(ctx context.Context) *AppendTeamGameSessionParams

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

func NewAppendTeamGameSessionParamsWithHTTPClient added in v0.41.0

func NewAppendTeamGameSessionParamsWithHTTPClient(client *http.Client) *AppendTeamGameSessionParams

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

func NewAppendTeamGameSessionParamsWithTimeout added in v0.41.0

func NewAppendTeamGameSessionParamsWithTimeout(timeout time.Duration) *AppendTeamGameSessionParams

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

func (*AppendTeamGameSessionParams) SetAuthInfoWriter added in v0.41.0

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

SetAuthInfoWriter adds the authInfoWriter to the append team game session params

func (*AppendTeamGameSessionParams) SetBody added in v0.41.0

SetBody adds the body to the append team game session params

func (*AppendTeamGameSessionParams) SetContext added in v0.41.0

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

SetContext adds the context to the append team game session params

func (*AppendTeamGameSessionParams) SetHTTPClient added in v0.41.0

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

SetHTTPClient adds the HTTPClient to the append team game session params

func (*AppendTeamGameSessionParams) SetHTTPClientTransport added in v0.41.0

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

SetHTTPClient adds the HTTPClient Transport to the append team game session params

func (*AppendTeamGameSessionParams) SetNamespace added in v0.41.0

func (o *AppendTeamGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the append team game session params

func (*AppendTeamGameSessionParams) SetSessionID added in v0.41.0

func (o *AppendTeamGameSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the append team game session params

func (*AppendTeamGameSessionParams) SetTimeout added in v0.41.0

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

SetTimeout adds the timeout to the append team game session params

func (*AppendTeamGameSessionParams) WithBody added in v0.41.0

WithBody adds the body to the append team game session params

func (*AppendTeamGameSessionParams) WithContext added in v0.41.0

WithContext adds the context to the append team game session params

func (*AppendTeamGameSessionParams) WithHTTPClient added in v0.41.0

WithHTTPClient adds the HTTPClient to the append team game session params

func (*AppendTeamGameSessionParams) WithNamespace added in v0.41.0

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

WithNamespace adds the namespace to the append team game session params

func (*AppendTeamGameSessionParams) WithSessionID added in v0.41.0

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

WithSessionID adds the sessionID to the append team game session params

func (*AppendTeamGameSessionParams) WithTimeout added in v0.41.0

WithTimeout adds the timeout to the append team game session params

func (*AppendTeamGameSessionParams) WriteToRequest added in v0.41.0

WriteToRequest writes these params to a swagger request

type AppendTeamGameSessionReader added in v0.41.0

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

AppendTeamGameSessionReader is a Reader for the AppendTeamGameSession structure.

func (*AppendTeamGameSessionReader) ReadResponse added in v0.41.0

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

ReadResponse reads a server response into the received o.

type AppendTeamGameSessionUnauthorized added in v0.41.0

type AppendTeamGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AppendTeamGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewAppendTeamGameSessionUnauthorized added in v0.41.0

func NewAppendTeamGameSessionUnauthorized() *AppendTeamGameSessionUnauthorized

NewAppendTeamGameSessionUnauthorized creates a AppendTeamGameSessionUnauthorized with default headers values

func (*AppendTeamGameSessionUnauthorized) Error added in v0.41.0

func (*AppendTeamGameSessionUnauthorized) GetPayload added in v0.41.0

func (*AppendTeamGameSessionUnauthorized) ToJSONString added in v0.41.0

func (o *AppendTeamGameSessionUnauthorized) ToJSONString() string

type Client

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

Client for game session API

func (*Client) AdminDeleteBulkGameSessions deprecated added in v0.42.0

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

AdminDeleteBulkGameSessions delete bulk game sessions. requires admin:namespace:{namespace}:session:game [delete] Delete bulk game sessions.

func (*Client) AdminDeleteBulkGameSessionsShort added in v0.42.0

func (a *Client) AdminDeleteBulkGameSessionsShort(params *AdminDeleteBulkGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteBulkGameSessionsOK, error)

AdminDeleteBulkGameSessionsShort delete bulk game sessions. requires admin:namespace:{namespace}:session:game [delete] Delete bulk game sessions.

func (*Client) AdminQueryGameSessions deprecated

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

AdminQueryGameSessions get all game sessions. Get all game sessions. Requires ADMIN:NAMESPACE:{namespace}:SESSION:GAME [READ]

func (*Client) AdminQueryGameSessionsShort

func (a *Client) AdminQueryGameSessionsShort(params *AdminQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryGameSessionsOK, error)

AdminQueryGameSessionsShort get all game sessions. Get all game sessions. Requires ADMIN:NAMESPACE:{namespace}:SESSION:GAME [READ]

func (*Client) AdminUpdateGameSessionMember deprecated

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

AdminUpdateGameSessionMember update status of a game session member. requires admin:namespace:{namespace}:session:game [update] Update a game session member status.

func (*Client) AdminUpdateGameSessionMemberShort

func (a *Client) AdminUpdateGameSessionMemberShort(params *AdminUpdateGameSessionMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGameSessionMemberOK, error)

AdminUpdateGameSessionMemberShort update status of a game session member. requires admin:namespace:{namespace}:session:game [update] Update a game session member status.

func (*Client) AppendTeamGameSession deprecated added in v0.41.0

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

AppendTeamGameSession append new member or team to session. requires namespace:{namespace}:session:game [update] Append new member or team to session

func (*Client) AppendTeamGameSessionShort added in v0.41.0

func (a *Client) AppendTeamGameSessionShort(params *AppendTeamGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AppendTeamGameSessionOK, error)

AppendTeamGameSessionShort append new member or team to session. requires namespace:{namespace}:session:game [update] Append new member or team to session

func (*Client) CreateGameSession deprecated

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

CreateGameSession create a game session. requires namespace:{namespace}:session:game [create] Create a game session. Session configuration name is mandatory, this API will refer following values from the session template if they're not provided in the request: - type - joinability - autoJoin. If enabled (set to true), players provided in the request will automatically joined the initial game session creation. Game session will not send any invite and players dont need to act upon it. - minPlayers - maxPlayers - inviteTimeout - inactiveTimeout - dsSource - tieTeamsSessionLifetime

When the tieTeamsSessionLifetime is true, the lifetime of any partyId inside teams attribute will be tied to the game session. Only applies when the teams partyId is a game session.

When the session type is a DS, a DS creation request will be sent if number of active players reaches session's minPlayers.

Active user is a user who present within the session, has status CONNECTED/JOINED.

Session service has several DSInformation status to track DS request to DSMC: - NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested. - REQUESTED: DS is being requested to DSMC. - AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY. - FAILED_TO_REQUEST: DSMC fails to create the DS.

By default, DS requests are sent to DSMC, but if dsSource is set to "AMS": - A DS will be requested from AMS instead of DSMC. - The server will be chosen based on a set of claim keys, in order of preference, to match with fleets. - The claim key list is built build from the preferredClaimKeys, fallbackClaimKeys, and clientVersion as follows: [preferredClaimKeys.., clientVersion, fallbackClaimKeys...]

func (*Client) CreateGameSessionShort

func (a *Client) CreateGameSessionShort(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, error)

CreateGameSessionShort create a game session. requires namespace:{namespace}:session:game [create] Create a game session. Session configuration name is mandatory, this API will refer following values from the session template if they're not provided in the request: - type - joinability - autoJoin. If enabled (set to true), players provided in the request will automatically joined the initial game session creation. Game session will not send any invite and players dont need to act upon it. - minPlayers - maxPlayers - inviteTimeout - inactiveTimeout - dsSource - tieTeamsSessionLifetime

When the tieTeamsSessionLifetime is true, the lifetime of any partyId inside teams attribute will be tied to the game session. Only applies when the teams partyId is a game session.

When the session type is a DS, a DS creation request will be sent if number of active players reaches session's minPlayers.

Active user is a user who present within the session, has status CONNECTED/JOINED.

Session service has several DSInformation status to track DS request to DSMC: - NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested. - REQUESTED: DS is being requested to DSMC. - AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY. - FAILED_TO_REQUEST: DSMC fails to create the DS.

By default, DS requests are sent to DSMC, but if dsSource is set to "AMS": - A DS will be requested from AMS instead of DSMC. - The server will be chosen based on a set of claim keys, in order of preference, to match with fleets. - The claim key list is built build from the preferredClaimKeys, fallbackClaimKeys, and clientVersion as follows: [preferredClaimKeys.., clientVersion, fallbackClaimKeys...]

func (*Client) DeleteGameSession deprecated

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

DeleteGameSession delete a game session. requires namespace:{namespace}:session:game [delete] Delete a game session.

func (*Client) DeleteGameSessionShort

func (a *Client) DeleteGameSessionShort(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, error)

DeleteGameSessionShort delete a game session. requires namespace:{namespace}:session:game [delete] Delete a game session.

func (*Client) GameSessionGenerateCode deprecated added in v0.46.0

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

GameSessionGenerateCode generate a game session code. requires namespace:{namespace}:session:game [update] Generate a new code for the game session. Only leader can generate a code.

func (*Client) GameSessionGenerateCodeShort added in v0.46.0

func (a *Client) GameSessionGenerateCodeShort(params *GameSessionGenerateCodeParams, authInfo runtime.ClientAuthInfoWriter) (*GameSessionGenerateCodeOK, error)

GameSessionGenerateCodeShort generate a game session code. requires namespace:{namespace}:session:game [update] Generate a new code for the game session. Only leader can generate a code.

func (*Client) GetGameSession deprecated

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

GetGameSession get game session detail. requires namespace:{namespace}:session:game [read] Get game session detail. Session service has several DSInformation status to track DS request to DSMC: - NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested. - REQUESTED: DS is being requested to DSMC. - AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY. - FAILED_TO_REQUEST: DSMC fails to create the DS.

func (*Client) GetGameSessionByPodName deprecated

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

GetGameSessionByPodName get game session detail. requires namespace:{namespace}:session:game [read] Get game session detail by podname. Session service has several DSInformation status to track DS request to DSMC: - NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested. - REQUESTED: DS is being requested to DSMC. - AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY. - FAILED_TO_REQUEST: DSMC fails to create the DS.

func (*Client) GetGameSessionByPodNameShort

func (a *Client) GetGameSessionByPodNameShort(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, error)

GetGameSessionByPodNameShort get game session detail. requires namespace:{namespace}:session:game [read] Get game session detail by podname. Session service has several DSInformation status to track DS request to DSMC: - NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested. - REQUESTED: DS is being requested to DSMC. - AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY. - FAILED_TO_REQUEST: DSMC fails to create the DS.

func (*Client) GetGameSessionShort

func (a *Client) GetGameSessionShort(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, error)

GetGameSessionShort get game session detail. requires namespace:{namespace}:session:game [read] Get game session detail. Session service has several DSInformation status to track DS request to DSMC: - NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested. - REQUESTED: DS is being requested to DSMC. - AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY. - FAILED_TO_REQUEST: DSMC fails to create the DS.

func (*Client) JoinGameSession deprecated

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

JoinGameSession join a game session. requires namespace:{namespace}:session:game:player [create] Join a game session.

func (*Client) JoinGameSessionShort

func (a *Client) JoinGameSessionShort(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, error)

JoinGameSessionShort join a game session. requires namespace:{namespace}:session:game:player [create] Join a game session.

func (*Client) LeaveGameSession deprecated

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

LeaveGameSession leave a game session. requires namespace:{namespace}:session:game:player [delete] Leave a game session.

func (*Client) LeaveGameSessionShort

func (a *Client) LeaveGameSessionShort(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, error)

LeaveGameSessionShort leave a game session. requires namespace:{namespace}:session:game:player [delete] Leave a game session.

func (*Client) PatchUpdateGameSession deprecated

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

PatchUpdateGameSession patch update a game session. requires namespace:{namespace}:session:game [update] Update specified fields from game session data.

func (*Client) PatchUpdateGameSessionShort

func (a *Client) PatchUpdateGameSessionShort(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, error)

PatchUpdateGameSessionShort patch update a game session. requires namespace:{namespace}:session:game [update] Update specified fields from game session data.

func (*Client) PublicGameSessionInvite deprecated

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

PublicGameSessionInvite invite a user to a game session. requires namespace:{namespace}:session:game:player [create] Invite a user to a game session. platformID represents the native platform of the invitee. API will return the corresponding native platform's userID. supported platforms: - STEAM - XBOX - PSN

func (*Client) PublicGameSessionInviteShort

func (a *Client) PublicGameSessionInviteShort(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, error)

PublicGameSessionInviteShort invite a user to a game session. requires namespace:{namespace}:session:game:player [create] Invite a user to a game session. platformID represents the native platform of the invitee. API will return the corresponding native platform's userID. supported platforms: - STEAM - XBOX - PSN

func (*Client) PublicGameSessionReject deprecated

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

PublicGameSessionReject reject a game session invitation. requires namespace:{namespace}:session:game:player [delete] Reject a game session invitation.

func (*Client) PublicGameSessionRejectShort

func (a *Client) PublicGameSessionRejectShort(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, error)

PublicGameSessionRejectShort reject a game session invitation. requires namespace:{namespace}:session:game:player [delete] Reject a game session invitation.

func (*Client) PublicPromoteGameSessionLeader deprecated added in v0.48.0

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

PublicPromoteGameSessionLeader promote new game session leader. requires namespace:{namespace}:session:game [update] Promote game session member to become the new game session leader.

This API requires the NAMESPACE:{namespace}:SESSION:GAME [UPDATE] permission.

This API can be operated by: - User (game session member) who is the current leader of the game session - Game Client - Dedicated Server (DS)

This API will promote game session leader candidate with the following criteria: - Leader candidate is a member of the game session - Leader candidate has a "CONNECTED" or "JOINED" status - If the leader candidate is the current leader, then no promotion process is carried out

func (*Client) PublicPromoteGameSessionLeaderShort added in v0.48.0

func (a *Client) PublicPromoteGameSessionLeaderShort(params *PublicPromoteGameSessionLeaderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicPromoteGameSessionLeaderOK, error)

PublicPromoteGameSessionLeaderShort promote new game session leader. requires namespace:{namespace}:session:game [update] Promote game session member to become the new game session leader.

This API requires the NAMESPACE:{namespace}:SESSION:GAME [UPDATE] permission.

This API can be operated by: - User (game session member) who is the current leader of the game session - Game Client - Dedicated Server (DS)

This API will promote game session leader candidate with the following criteria: - Leader candidate is a member of the game session - Leader candidate has a "CONNECTED" or "JOINED" status - If the leader candidate is the current leader, then no promotion process is carried out

func (*Client) PublicQueryGameSessions deprecated

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

PublicQueryGameSessions query game sessions Query game sessions.

By default, API will return a list of available game sessions (joinability: open). Session service has several DSInformation status to track DS request to DSMC: - NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested. - REQUESTED: DS is being requested to DSMC. - AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY. - FAILED_TO_REQUEST: DSMC fails to create the DS.

query parameter "availability" to filter sessions' availability: all: return all sessions regardless it's full full: only return active sessions default behavior (unset or else): return only available sessions (not full)

func (*Client) PublicQueryGameSessionsShort

func (a *Client) PublicQueryGameSessionsShort(params *PublicQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsOK, error)

PublicQueryGameSessionsShort query game sessions Query game sessions.

By default, API will return a list of available game sessions (joinability: open). Session service has several DSInformation status to track DS request to DSMC: - NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested. - REQUESTED: DS is being requested to DSMC. - AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY. - FAILED_TO_REQUEST: DSMC fails to create the DS.

query parameter "availability" to filter sessions' availability: all: return all sessions regardless it's full full: only return active sessions default behavior (unset or else): return only available sessions (not full)

func (*Client) PublicQueryMyGameSessions deprecated

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

PublicQueryMyGameSessions query user's game sessions Query user's game sessions. By default, API will return a list of user's active game sessions (INVITED,JOINED,CONNECTED).

Session service has several DSInformation status to track DS request to DSMC: - NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested. - REQUESTED: DS is being requested to DSMC. - AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY. - FAILED_TO_REQUEST: DSMC fails to create the DS.

func (*Client) PublicQueryMyGameSessionsShort

func (a *Client) PublicQueryMyGameSessionsShort(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, error)

PublicQueryMyGameSessionsShort query user's game sessions Query user's game sessions. By default, API will return a list of user's active game sessions (INVITED,JOINED,CONNECTED).

Session service has several DSInformation status to track DS request to DSMC: - NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested. - REQUESTED: DS is being requested to DSMC. - AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY. - FAILED_TO_REQUEST: DSMC fails to create the DS.

func (*Client) PublicRevokeGameSessionCode deprecated added in v0.46.0

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

PublicRevokeGameSessionCode revoke game session code. requires namespace:{namespace}:session:game [update] Revoke code of the game session. Only leader can revoke a code.

func (*Client) PublicRevokeGameSessionCodeShort added in v0.46.0

func (a *Client) PublicRevokeGameSessionCodeShort(params *PublicRevokeGameSessionCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRevokeGameSessionCodeOK, error)

PublicRevokeGameSessionCodeShort revoke game session code. requires namespace:{namespace}:session:game [update] Revoke code of the game session. Only leader can revoke a code.

func (*Client) PublicSessionJoinCode deprecated added in v0.46.0

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

PublicSessionJoinCode join a session by code. requires namespace:{namespace}:session:game:player [create] Join a session by code. The user can join a session as long as the code is valid

func (*Client) PublicSessionJoinCodeShort added in v0.46.0

func (a *Client) PublicSessionJoinCodeShort(params *PublicSessionJoinCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSessionJoinCodeOK, error)

PublicSessionJoinCodeShort join a session by code. requires namespace:{namespace}:session:game:player [create] Join a session by code. The user can join a session as long as the code is valid

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateGameSession deprecated

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

UpdateGameSession update a game session. requires namespace:{namespace}:session:game [update] Updates a game session, this endpoint will override stored gamesession data. To update only specified fields, please use following endpoint: method : PATCH API : /session/v1/public/namespaces/{namespace}/gamesessions/{sessionId}

To update DS attributes (clientVersion, deployment, requestedRegions) it will only be applied only as long as no DS has been requested, otherwise ignored.

func (*Client) UpdateGameSessionBackfillTicketID deprecated added in v0.40.0

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

UpdateGameSessionBackfillTicketID update game session backfill ticket id . requires namespace:{namespace}:session:game [update] Update game session backfill ticket id. Will override game session backfill ticket based on given request parameter

func (*Client) UpdateGameSessionBackfillTicketIDShort added in v0.40.0

func (a *Client) UpdateGameSessionBackfillTicketIDShort(params *UpdateGameSessionBackfillTicketIDParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionBackfillTicketIDOK, error)

UpdateGameSessionBackfillTicketIDShort update game session backfill ticket id . requires namespace:{namespace}:session:game [update] Update game session backfill ticket id. Will override game session backfill ticket based on given request parameter

func (*Client) UpdateGameSessionShort

func (a *Client) UpdateGameSessionShort(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, error)

UpdateGameSessionShort update a game session. requires namespace:{namespace}:session:game [update] Updates a game session, this endpoint will override stored gamesession data. To update only specified fields, please use following endpoint: method : PATCH API : /session/v1/public/namespaces/{namespace}/gamesessions/{sessionId}

To update DS attributes (clientVersion, deployment, requestedRegions) it will only be applied only as long as no DS has been requested, otherwise ignored.

type ClientService

type ClientService interface {
	AdminQueryGameSessions(params *AdminQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryGameSessionsOK, *AdminQueryGameSessionsBadRequest, *AdminQueryGameSessionsUnauthorized, *AdminQueryGameSessionsForbidden, *AdminQueryGameSessionsInternalServerError, error)
	AdminQueryGameSessionsShort(params *AdminQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryGameSessionsOK, error)
	AdminDeleteBulkGameSessions(params *AdminDeleteBulkGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteBulkGameSessionsOK, *AdminDeleteBulkGameSessionsBadRequest, *AdminDeleteBulkGameSessionsUnauthorized, *AdminDeleteBulkGameSessionsForbidden, *AdminDeleteBulkGameSessionsInternalServerError, error)
	AdminDeleteBulkGameSessionsShort(params *AdminDeleteBulkGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteBulkGameSessionsOK, error)
	AdminUpdateGameSessionMember(params *AdminUpdateGameSessionMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGameSessionMemberOK, *AdminUpdateGameSessionMemberBadRequest, *AdminUpdateGameSessionMemberUnauthorized, *AdminUpdateGameSessionMemberForbidden, *AdminUpdateGameSessionMemberNotFound, *AdminUpdateGameSessionMemberInternalServerError, error)
	AdminUpdateGameSessionMemberShort(params *AdminUpdateGameSessionMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGameSessionMemberOK, error)
	CreateGameSession(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, *CreateGameSessionBadRequest, *CreateGameSessionUnauthorized, *CreateGameSessionForbidden, *CreateGameSessionInternalServerError, error)
	CreateGameSessionShort(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, error)
	PublicQueryGameSessions(params *PublicQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsOK, *PublicQueryGameSessionsBadRequest, *PublicQueryGameSessionsUnauthorized, *PublicQueryGameSessionsForbidden, *PublicQueryGameSessionsInternalServerError, error)
	PublicQueryGameSessionsShort(params *PublicQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsOK, error)
	PublicSessionJoinCode(params *PublicSessionJoinCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSessionJoinCodeOK, *PublicSessionJoinCodeBadRequest, *PublicSessionJoinCodeUnauthorized, *PublicSessionJoinCodeForbidden, *PublicSessionJoinCodeNotFound, *PublicSessionJoinCodeInternalServerError, error)
	PublicSessionJoinCodeShort(params *PublicSessionJoinCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSessionJoinCodeOK, error)
	GetGameSessionByPodName(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, *GetGameSessionByPodNameBadRequest, *GetGameSessionByPodNameUnauthorized, *GetGameSessionByPodNameForbidden, *GetGameSessionByPodNameNotFound, *GetGameSessionByPodNameInternalServerError, error)
	GetGameSessionByPodNameShort(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, error)
	GetGameSession(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, *GetGameSessionBadRequest, *GetGameSessionUnauthorized, *GetGameSessionForbidden, *GetGameSessionNotFound, *GetGameSessionInternalServerError, error)
	GetGameSessionShort(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, error)
	UpdateGameSession(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, *UpdateGameSessionBadRequest, *UpdateGameSessionUnauthorized, *UpdateGameSessionForbidden, *UpdateGameSessionNotFound, *UpdateGameSessionInternalServerError, error)
	UpdateGameSessionShort(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, error)
	DeleteGameSession(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, *DeleteGameSessionUnauthorized, *DeleteGameSessionForbidden, *DeleteGameSessionInternalServerError, error)
	DeleteGameSessionShort(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, error)
	PatchUpdateGameSession(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, *PatchUpdateGameSessionBadRequest, *PatchUpdateGameSessionUnauthorized, *PatchUpdateGameSessionForbidden, *PatchUpdateGameSessionNotFound, *PatchUpdateGameSessionInternalServerError, error)
	PatchUpdateGameSessionShort(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, error)
	UpdateGameSessionBackfillTicketID(params *UpdateGameSessionBackfillTicketIDParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionBackfillTicketIDOK, *UpdateGameSessionBackfillTicketIDUnauthorized, *UpdateGameSessionBackfillTicketIDForbidden, *UpdateGameSessionBackfillTicketIDNotFound, *UpdateGameSessionBackfillTicketIDInternalServerError, error)
	UpdateGameSessionBackfillTicketIDShort(params *UpdateGameSessionBackfillTicketIDParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionBackfillTicketIDOK, error)
	GameSessionGenerateCode(params *GameSessionGenerateCodeParams, authInfo runtime.ClientAuthInfoWriter) (*GameSessionGenerateCodeOK, *GameSessionGenerateCodeBadRequest, *GameSessionGenerateCodeUnauthorized, *GameSessionGenerateCodeForbidden, *GameSessionGenerateCodeNotFound, *GameSessionGenerateCodeInternalServerError, error)
	GameSessionGenerateCodeShort(params *GameSessionGenerateCodeParams, authInfo runtime.ClientAuthInfoWriter) (*GameSessionGenerateCodeOK, error)
	PublicRevokeGameSessionCode(params *PublicRevokeGameSessionCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRevokeGameSessionCodeOK, *PublicRevokeGameSessionCodeBadRequest, *PublicRevokeGameSessionCodeUnauthorized, *PublicRevokeGameSessionCodeForbidden, *PublicRevokeGameSessionCodeNotFound, *PublicRevokeGameSessionCodeInternalServerError, error)
	PublicRevokeGameSessionCodeShort(params *PublicRevokeGameSessionCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRevokeGameSessionCodeOK, error)
	PublicGameSessionInvite(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, *PublicGameSessionInviteNoContent, *PublicGameSessionInviteBadRequest, *PublicGameSessionInviteUnauthorized, *PublicGameSessionInviteNotFound, *PublicGameSessionInviteInternalServerError, error)
	PublicGameSessionInviteShort(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, error)
	JoinGameSession(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, *JoinGameSessionBadRequest, *JoinGameSessionUnauthorized, *JoinGameSessionForbidden, *JoinGameSessionNotFound, *JoinGameSessionInternalServerError, error)
	JoinGameSessionShort(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, error)
	PublicPromoteGameSessionLeader(params *PublicPromoteGameSessionLeaderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicPromoteGameSessionLeaderOK, *PublicPromoteGameSessionLeaderBadRequest, *PublicPromoteGameSessionLeaderUnauthorized, *PublicPromoteGameSessionLeaderForbidden, *PublicPromoteGameSessionLeaderNotFound, *PublicPromoteGameSessionLeaderInternalServerError, error)
	PublicPromoteGameSessionLeaderShort(params *PublicPromoteGameSessionLeaderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicPromoteGameSessionLeaderOK, error)
	LeaveGameSession(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, *LeaveGameSessionBadRequest, *LeaveGameSessionUnauthorized, *LeaveGameSessionForbidden, *LeaveGameSessionNotFound, *LeaveGameSessionInternalServerError, error)
	LeaveGameSessionShort(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, error)
	PublicGameSessionReject(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, *PublicGameSessionRejectBadRequest, *PublicGameSessionRejectUnauthorized, *PublicGameSessionRejectForbidden, *PublicGameSessionRejectNotFound, *PublicGameSessionRejectInternalServerError, error)
	PublicGameSessionRejectShort(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, error)
	AppendTeamGameSession(params *AppendTeamGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AppendTeamGameSessionOK, *AppendTeamGameSessionUnauthorized, *AppendTeamGameSessionForbidden, *AppendTeamGameSessionNotFound, *AppendTeamGameSessionInternalServerError, error)
	AppendTeamGameSessionShort(params *AppendTeamGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AppendTeamGameSessionOK, error)
	PublicQueryMyGameSessions(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, *PublicQueryMyGameSessionsBadRequest, *PublicQueryMyGameSessionsUnauthorized, *PublicQueryMyGameSessionsInternalServerError, error)
	PublicQueryMyGameSessionsShort(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, 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 game session API client.

type CreateGameSessionBadRequest

type CreateGameSessionBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

CreateGameSessionBadRequest handles this case with default header values.

Bad Request

func NewCreateGameSessionBadRequest

func NewCreateGameSessionBadRequest() *CreateGameSessionBadRequest

NewCreateGameSessionBadRequest creates a CreateGameSessionBadRequest with default headers values

func (*CreateGameSessionBadRequest) Error

func (*CreateGameSessionBadRequest) GetPayload

func (*CreateGameSessionBadRequest) ToJSONString

func (o *CreateGameSessionBadRequest) ToJSONString() string

type CreateGameSessionCreated

type CreateGameSessionCreated struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

CreateGameSessionCreated handles this case with default header values.

Created

func NewCreateGameSessionCreated

func NewCreateGameSessionCreated() *CreateGameSessionCreated

NewCreateGameSessionCreated creates a CreateGameSessionCreated with default headers values

func (*CreateGameSessionCreated) Error

func (o *CreateGameSessionCreated) Error() string

func (*CreateGameSessionCreated) GetPayload

func (*CreateGameSessionCreated) ToJSONString

func (o *CreateGameSessionCreated) ToJSONString() string

type CreateGameSessionForbidden

type CreateGameSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

CreateGameSessionForbidden handles this case with default header values.

Forbidden

func NewCreateGameSessionForbidden

func NewCreateGameSessionForbidden() *CreateGameSessionForbidden

NewCreateGameSessionForbidden creates a CreateGameSessionForbidden with default headers values

func (*CreateGameSessionForbidden) Error

func (*CreateGameSessionForbidden) GetPayload

func (*CreateGameSessionForbidden) ToJSONString

func (o *CreateGameSessionForbidden) ToJSONString() string

type CreateGameSessionInternalServerError

type CreateGameSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

CreateGameSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateGameSessionInternalServerError

func NewCreateGameSessionInternalServerError() *CreateGameSessionInternalServerError

NewCreateGameSessionInternalServerError creates a CreateGameSessionInternalServerError with default headers values

func (*CreateGameSessionInternalServerError) Error

func (*CreateGameSessionInternalServerError) GetPayload

func (*CreateGameSessionInternalServerError) ToJSONString

func (o *CreateGameSessionInternalServerError) ToJSONString() string

type CreateGameSessionParams

type CreateGameSessionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.ApimodelsCreateGameSessionRequest
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

func NewCreateGameSessionParams

func NewCreateGameSessionParams() *CreateGameSessionParams

NewCreateGameSessionParams creates a new CreateGameSessionParams object with the default values initialized.

func NewCreateGameSessionParamsWithContext

func NewCreateGameSessionParamsWithContext(ctx context.Context) *CreateGameSessionParams

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

func NewCreateGameSessionParamsWithHTTPClient

func NewCreateGameSessionParamsWithHTTPClient(client *http.Client) *CreateGameSessionParams

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

func NewCreateGameSessionParamsWithTimeout

func NewCreateGameSessionParamsWithTimeout(timeout time.Duration) *CreateGameSessionParams

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

func (*CreateGameSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create game session params

func (*CreateGameSessionParams) SetBody

SetBody adds the body to the create game session params

func (*CreateGameSessionParams) SetContext

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

SetContext adds the context to the create game session params

func (*CreateGameSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create game session params

func (*CreateGameSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create game session params

func (*CreateGameSessionParams) SetNamespace

func (o *CreateGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create game session params

func (*CreateGameSessionParams) SetTimeout

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

SetTimeout adds the timeout to the create game session params

func (*CreateGameSessionParams) WithBody

WithBody adds the body to the create game session params

func (*CreateGameSessionParams) WithContext

WithContext adds the context to the create game session params

func (*CreateGameSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create game session params

func (*CreateGameSessionParams) WithNamespace

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

WithNamespace adds the namespace to the create game session params

func (*CreateGameSessionParams) WithTimeout

WithTimeout adds the timeout to the create game session params

func (*CreateGameSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateGameSessionReader

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

CreateGameSessionReader is a Reader for the CreateGameSession structure.

func (*CreateGameSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateGameSessionUnauthorized

type CreateGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

CreateGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewCreateGameSessionUnauthorized

func NewCreateGameSessionUnauthorized() *CreateGameSessionUnauthorized

NewCreateGameSessionUnauthorized creates a CreateGameSessionUnauthorized with default headers values

func (*CreateGameSessionUnauthorized) Error

func (*CreateGameSessionUnauthorized) GetPayload

func (*CreateGameSessionUnauthorized) ToJSONString

func (o *CreateGameSessionUnauthorized) ToJSONString() string

type DeleteGameSessionForbidden

type DeleteGameSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

DeleteGameSessionForbidden handles this case with default header values.

Forbidden

func NewDeleteGameSessionForbidden

func NewDeleteGameSessionForbidden() *DeleteGameSessionForbidden

NewDeleteGameSessionForbidden creates a DeleteGameSessionForbidden with default headers values

func (*DeleteGameSessionForbidden) Error

func (*DeleteGameSessionForbidden) GetPayload

func (*DeleteGameSessionForbidden) ToJSONString

func (o *DeleteGameSessionForbidden) ToJSONString() string

type DeleteGameSessionInternalServerError

type DeleteGameSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

DeleteGameSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteGameSessionInternalServerError

func NewDeleteGameSessionInternalServerError() *DeleteGameSessionInternalServerError

NewDeleteGameSessionInternalServerError creates a DeleteGameSessionInternalServerError with default headers values

func (*DeleteGameSessionInternalServerError) Error

func (*DeleteGameSessionInternalServerError) GetPayload

func (*DeleteGameSessionInternalServerError) ToJSONString

func (o *DeleteGameSessionInternalServerError) ToJSONString() string

type DeleteGameSessionNoContent

type DeleteGameSessionNoContent struct {
}

DeleteGameSessionNoContent handles this case with default header values.

No Content

func NewDeleteGameSessionNoContent

func NewDeleteGameSessionNoContent() *DeleteGameSessionNoContent

NewDeleteGameSessionNoContent creates a DeleteGameSessionNoContent with default headers values

func (*DeleteGameSessionNoContent) Error

type DeleteGameSessionParams

type DeleteGameSessionParams 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
}

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

func NewDeleteGameSessionParams

func NewDeleteGameSessionParams() *DeleteGameSessionParams

NewDeleteGameSessionParams creates a new DeleteGameSessionParams object with the default values initialized.

func NewDeleteGameSessionParamsWithContext

func NewDeleteGameSessionParamsWithContext(ctx context.Context) *DeleteGameSessionParams

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

func NewDeleteGameSessionParamsWithHTTPClient

func NewDeleteGameSessionParamsWithHTTPClient(client *http.Client) *DeleteGameSessionParams

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

func NewDeleteGameSessionParamsWithTimeout

func NewDeleteGameSessionParamsWithTimeout(timeout time.Duration) *DeleteGameSessionParams

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

func (*DeleteGameSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete game session params

func (*DeleteGameSessionParams) SetContext

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

SetContext adds the context to the delete game session params

func (*DeleteGameSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete game session params

func (*DeleteGameSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete game session params

func (*DeleteGameSessionParams) SetNamespace

func (o *DeleteGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete game session params

func (*DeleteGameSessionParams) SetSessionID

func (o *DeleteGameSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the delete game session params

func (*DeleteGameSessionParams) SetTimeout

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

SetTimeout adds the timeout to the delete game session params

func (*DeleteGameSessionParams) WithContext

WithContext adds the context to the delete game session params

func (*DeleteGameSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete game session params

func (*DeleteGameSessionParams) WithNamespace

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

WithNamespace adds the namespace to the delete game session params

func (*DeleteGameSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the delete game session params

func (*DeleteGameSessionParams) WithTimeout

WithTimeout adds the timeout to the delete game session params

func (*DeleteGameSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteGameSessionReader

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

DeleteGameSessionReader is a Reader for the DeleteGameSession structure.

func (*DeleteGameSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGameSessionUnauthorized

type DeleteGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

DeleteGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteGameSessionUnauthorized

func NewDeleteGameSessionUnauthorized() *DeleteGameSessionUnauthorized

NewDeleteGameSessionUnauthorized creates a DeleteGameSessionUnauthorized with default headers values

func (*DeleteGameSessionUnauthorized) Error

func (*DeleteGameSessionUnauthorized) GetPayload

func (*DeleteGameSessionUnauthorized) ToJSONString

func (o *DeleteGameSessionUnauthorized) ToJSONString() string

type GameSessionGenerateCodeBadRequest added in v0.46.0

type GameSessionGenerateCodeBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

GameSessionGenerateCodeBadRequest handles this case with default header values.

Bad Request

func NewGameSessionGenerateCodeBadRequest added in v0.46.0

func NewGameSessionGenerateCodeBadRequest() *GameSessionGenerateCodeBadRequest

NewGameSessionGenerateCodeBadRequest creates a GameSessionGenerateCodeBadRequest with default headers values

func (*GameSessionGenerateCodeBadRequest) Error added in v0.46.0

func (*GameSessionGenerateCodeBadRequest) GetPayload added in v0.46.0

func (*GameSessionGenerateCodeBadRequest) ToJSONString added in v0.46.0

func (o *GameSessionGenerateCodeBadRequest) ToJSONString() string

type GameSessionGenerateCodeForbidden added in v0.46.0

type GameSessionGenerateCodeForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

GameSessionGenerateCodeForbidden handles this case with default header values.

Forbidden

func NewGameSessionGenerateCodeForbidden added in v0.46.0

func NewGameSessionGenerateCodeForbidden() *GameSessionGenerateCodeForbidden

NewGameSessionGenerateCodeForbidden creates a GameSessionGenerateCodeForbidden with default headers values

func (*GameSessionGenerateCodeForbidden) Error added in v0.46.0

func (*GameSessionGenerateCodeForbidden) GetPayload added in v0.46.0

func (*GameSessionGenerateCodeForbidden) ToJSONString added in v0.46.0

func (o *GameSessionGenerateCodeForbidden) ToJSONString() string

type GameSessionGenerateCodeInternalServerError added in v0.46.0

type GameSessionGenerateCodeInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

GameSessionGenerateCodeInternalServerError handles this case with default header values.

Internal Server Error

func NewGameSessionGenerateCodeInternalServerError added in v0.46.0

func NewGameSessionGenerateCodeInternalServerError() *GameSessionGenerateCodeInternalServerError

NewGameSessionGenerateCodeInternalServerError creates a GameSessionGenerateCodeInternalServerError with default headers values

func (*GameSessionGenerateCodeInternalServerError) Error added in v0.46.0

func (*GameSessionGenerateCodeInternalServerError) GetPayload added in v0.46.0

func (*GameSessionGenerateCodeInternalServerError) ToJSONString added in v0.46.0

type GameSessionGenerateCodeNotFound added in v0.46.0

type GameSessionGenerateCodeNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

GameSessionGenerateCodeNotFound handles this case with default header values.

Not Found

func NewGameSessionGenerateCodeNotFound added in v0.46.0

func NewGameSessionGenerateCodeNotFound() *GameSessionGenerateCodeNotFound

NewGameSessionGenerateCodeNotFound creates a GameSessionGenerateCodeNotFound with default headers values

func (*GameSessionGenerateCodeNotFound) Error added in v0.46.0

func (*GameSessionGenerateCodeNotFound) GetPayload added in v0.46.0

func (*GameSessionGenerateCodeNotFound) ToJSONString added in v0.46.0

func (o *GameSessionGenerateCodeNotFound) ToJSONString() string

type GameSessionGenerateCodeOK added in v0.46.0

type GameSessionGenerateCodeOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

GameSessionGenerateCodeOK handles this case with default header values.

OK

func NewGameSessionGenerateCodeOK added in v0.46.0

func NewGameSessionGenerateCodeOK() *GameSessionGenerateCodeOK

NewGameSessionGenerateCodeOK creates a GameSessionGenerateCodeOK with default headers values

func (*GameSessionGenerateCodeOK) Error added in v0.46.0

func (o *GameSessionGenerateCodeOK) Error() string

func (*GameSessionGenerateCodeOK) GetPayload added in v0.46.0

func (*GameSessionGenerateCodeOK) ToJSONString added in v0.46.0

func (o *GameSessionGenerateCodeOK) ToJSONString() string

type GameSessionGenerateCodeParams added in v0.46.0

type GameSessionGenerateCodeParams 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
}

GameSessionGenerateCodeParams contains all the parameters to send to the API endpoint for the game session generate code operation typically these are written to a http.Request

func NewGameSessionGenerateCodeParams added in v0.46.0

func NewGameSessionGenerateCodeParams() *GameSessionGenerateCodeParams

NewGameSessionGenerateCodeParams creates a new GameSessionGenerateCodeParams object with the default values initialized.

func NewGameSessionGenerateCodeParamsWithContext added in v0.46.0

func NewGameSessionGenerateCodeParamsWithContext(ctx context.Context) *GameSessionGenerateCodeParams

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

func NewGameSessionGenerateCodeParamsWithHTTPClient added in v0.46.0

func NewGameSessionGenerateCodeParamsWithHTTPClient(client *http.Client) *GameSessionGenerateCodeParams

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

func NewGameSessionGenerateCodeParamsWithTimeout added in v0.46.0

func NewGameSessionGenerateCodeParamsWithTimeout(timeout time.Duration) *GameSessionGenerateCodeParams

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

func (*GameSessionGenerateCodeParams) SetAuthInfoWriter added in v0.46.0

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

SetAuthInfoWriter adds the authInfoWriter to the game session generate code params

func (*GameSessionGenerateCodeParams) SetContext added in v0.46.0

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

SetContext adds the context to the game session generate code params

func (*GameSessionGenerateCodeParams) SetHTTPClient added in v0.46.0

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

SetHTTPClient adds the HTTPClient to the game session generate code params

func (*GameSessionGenerateCodeParams) SetHTTPClientTransport added in v0.46.0

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

SetHTTPClient adds the HTTPClient Transport to the game session generate code params

func (*GameSessionGenerateCodeParams) SetNamespace added in v0.46.0

func (o *GameSessionGenerateCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the game session generate code params

func (*GameSessionGenerateCodeParams) SetSessionID added in v0.46.0

func (o *GameSessionGenerateCodeParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the game session generate code params

func (*GameSessionGenerateCodeParams) SetTimeout added in v0.46.0

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

SetTimeout adds the timeout to the game session generate code params

func (*GameSessionGenerateCodeParams) WithContext added in v0.46.0

WithContext adds the context to the game session generate code params

func (*GameSessionGenerateCodeParams) WithHTTPClient added in v0.46.0

WithHTTPClient adds the HTTPClient to the game session generate code params

func (*GameSessionGenerateCodeParams) WithNamespace added in v0.46.0

WithNamespace adds the namespace to the game session generate code params

func (*GameSessionGenerateCodeParams) WithSessionID added in v0.46.0

WithSessionID adds the sessionID to the game session generate code params

func (*GameSessionGenerateCodeParams) WithTimeout added in v0.46.0

WithTimeout adds the timeout to the game session generate code params

func (*GameSessionGenerateCodeParams) WriteToRequest added in v0.46.0

WriteToRequest writes these params to a swagger request

type GameSessionGenerateCodeReader added in v0.46.0

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

GameSessionGenerateCodeReader is a Reader for the GameSessionGenerateCode structure.

func (*GameSessionGenerateCodeReader) ReadResponse added in v0.46.0

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

ReadResponse reads a server response into the received o.

type GameSessionGenerateCodeUnauthorized added in v0.46.0

type GameSessionGenerateCodeUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

GameSessionGenerateCodeUnauthorized handles this case with default header values.

Unauthorized

func NewGameSessionGenerateCodeUnauthorized added in v0.46.0

func NewGameSessionGenerateCodeUnauthorized() *GameSessionGenerateCodeUnauthorized

NewGameSessionGenerateCodeUnauthorized creates a GameSessionGenerateCodeUnauthorized with default headers values

func (*GameSessionGenerateCodeUnauthorized) Error added in v0.46.0

func (*GameSessionGenerateCodeUnauthorized) GetPayload added in v0.46.0

func (*GameSessionGenerateCodeUnauthorized) ToJSONString added in v0.46.0

func (o *GameSessionGenerateCodeUnauthorized) ToJSONString() string

type GetGameSessionBadRequest

type GetGameSessionBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionBadRequest handles this case with default header values.

Bad Request

func NewGetGameSessionBadRequest

func NewGetGameSessionBadRequest() *GetGameSessionBadRequest

NewGetGameSessionBadRequest creates a GetGameSessionBadRequest with default headers values

func (*GetGameSessionBadRequest) Error

func (o *GetGameSessionBadRequest) Error() string

func (*GetGameSessionBadRequest) GetPayload

func (*GetGameSessionBadRequest) ToJSONString

func (o *GetGameSessionBadRequest) ToJSONString() string

type GetGameSessionByPodNameBadRequest

type GetGameSessionByPodNameBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionByPodNameBadRequest handles this case with default header values.

Bad Request

func NewGetGameSessionByPodNameBadRequest

func NewGetGameSessionByPodNameBadRequest() *GetGameSessionByPodNameBadRequest

NewGetGameSessionByPodNameBadRequest creates a GetGameSessionByPodNameBadRequest with default headers values

func (*GetGameSessionByPodNameBadRequest) Error

func (*GetGameSessionByPodNameBadRequest) GetPayload

func (*GetGameSessionByPodNameBadRequest) ToJSONString

func (o *GetGameSessionByPodNameBadRequest) ToJSONString() string

type GetGameSessionByPodNameForbidden

type GetGameSessionByPodNameForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionByPodNameForbidden handles this case with default header values.

Forbidden

func NewGetGameSessionByPodNameForbidden

func NewGetGameSessionByPodNameForbidden() *GetGameSessionByPodNameForbidden

NewGetGameSessionByPodNameForbidden creates a GetGameSessionByPodNameForbidden with default headers values

func (*GetGameSessionByPodNameForbidden) Error

func (*GetGameSessionByPodNameForbidden) GetPayload

func (*GetGameSessionByPodNameForbidden) ToJSONString

func (o *GetGameSessionByPodNameForbidden) ToJSONString() string

type GetGameSessionByPodNameInternalServerError

type GetGameSessionByPodNameInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionByPodNameInternalServerError handles this case with default header values.

Internal Server Error

func NewGetGameSessionByPodNameInternalServerError

func NewGetGameSessionByPodNameInternalServerError() *GetGameSessionByPodNameInternalServerError

NewGetGameSessionByPodNameInternalServerError creates a GetGameSessionByPodNameInternalServerError with default headers values

func (*GetGameSessionByPodNameInternalServerError) Error

func (*GetGameSessionByPodNameInternalServerError) GetPayload

func (*GetGameSessionByPodNameInternalServerError) ToJSONString

type GetGameSessionByPodNameNotFound

type GetGameSessionByPodNameNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionByPodNameNotFound handles this case with default header values.

Not Found

func NewGetGameSessionByPodNameNotFound

func NewGetGameSessionByPodNameNotFound() *GetGameSessionByPodNameNotFound

NewGetGameSessionByPodNameNotFound creates a GetGameSessionByPodNameNotFound with default headers values

func (*GetGameSessionByPodNameNotFound) Error

func (*GetGameSessionByPodNameNotFound) GetPayload

func (*GetGameSessionByPodNameNotFound) ToJSONString

func (o *GetGameSessionByPodNameNotFound) ToJSONString() string

type GetGameSessionByPodNameOK

type GetGameSessionByPodNameOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

GetGameSessionByPodNameOK handles this case with default header values.

OK

func NewGetGameSessionByPodNameOK

func NewGetGameSessionByPodNameOK() *GetGameSessionByPodNameOK

NewGetGameSessionByPodNameOK creates a GetGameSessionByPodNameOK with default headers values

func (*GetGameSessionByPodNameOK) Error

func (o *GetGameSessionByPodNameOK) Error() string

func (*GetGameSessionByPodNameOK) GetPayload

func (*GetGameSessionByPodNameOK) ToJSONString

func (o *GetGameSessionByPodNameOK) ToJSONString() string

type GetGameSessionByPodNameParams

type GetGameSessionByPodNameParams struct {

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

	*/
	Namespace string
	/*PodName
	  Pod Name

	*/
	PodName string

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

GetGameSessionByPodNameParams contains all the parameters to send to the API endpoint for the get game session by pod name operation typically these are written to a http.Request

func NewGetGameSessionByPodNameParams

func NewGetGameSessionByPodNameParams() *GetGameSessionByPodNameParams

NewGetGameSessionByPodNameParams creates a new GetGameSessionByPodNameParams object with the default values initialized.

func NewGetGameSessionByPodNameParamsWithContext

func NewGetGameSessionByPodNameParamsWithContext(ctx context.Context) *GetGameSessionByPodNameParams

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

func NewGetGameSessionByPodNameParamsWithHTTPClient

func NewGetGameSessionByPodNameParamsWithHTTPClient(client *http.Client) *GetGameSessionByPodNameParams

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

func NewGetGameSessionByPodNameParamsWithTimeout

func NewGetGameSessionByPodNameParamsWithTimeout(timeout time.Duration) *GetGameSessionByPodNameParams

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

func (*GetGameSessionByPodNameParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get game session by pod name params

func (*GetGameSessionByPodNameParams) SetContext

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

SetContext adds the context to the get game session by pod name params

func (*GetGameSessionByPodNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get game session by pod name params

func (*GetGameSessionByPodNameParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get game session by pod name params

func (*GetGameSessionByPodNameParams) SetNamespace

func (o *GetGameSessionByPodNameParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get game session by pod name params

func (*GetGameSessionByPodNameParams) SetPodName

func (o *GetGameSessionByPodNameParams) SetPodName(podName string)

SetPodName adds the podName to the get game session by pod name params

func (*GetGameSessionByPodNameParams) SetTimeout

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

SetTimeout adds the timeout to the get game session by pod name params

func (*GetGameSessionByPodNameParams) WithContext

WithContext adds the context to the get game session by pod name params

func (*GetGameSessionByPodNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get game session by pod name params

func (*GetGameSessionByPodNameParams) WithNamespace

WithNamespace adds the namespace to the get game session by pod name params

func (*GetGameSessionByPodNameParams) WithPodName

WithPodName adds the podName to the get game session by pod name params

func (*GetGameSessionByPodNameParams) WithTimeout

WithTimeout adds the timeout to the get game session by pod name params

func (*GetGameSessionByPodNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGameSessionByPodNameReader

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

GetGameSessionByPodNameReader is a Reader for the GetGameSessionByPodName structure.

func (*GetGameSessionByPodNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGameSessionByPodNameUnauthorized

type GetGameSessionByPodNameUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionByPodNameUnauthorized handles this case with default header values.

Unauthorized

func NewGetGameSessionByPodNameUnauthorized

func NewGetGameSessionByPodNameUnauthorized() *GetGameSessionByPodNameUnauthorized

NewGetGameSessionByPodNameUnauthorized creates a GetGameSessionByPodNameUnauthorized with default headers values

func (*GetGameSessionByPodNameUnauthorized) Error

func (*GetGameSessionByPodNameUnauthorized) GetPayload

func (*GetGameSessionByPodNameUnauthorized) ToJSONString

func (o *GetGameSessionByPodNameUnauthorized) ToJSONString() string

type GetGameSessionForbidden

type GetGameSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionForbidden handles this case with default header values.

Forbidden

func NewGetGameSessionForbidden

func NewGetGameSessionForbidden() *GetGameSessionForbidden

NewGetGameSessionForbidden creates a GetGameSessionForbidden with default headers values

func (*GetGameSessionForbidden) Error

func (o *GetGameSessionForbidden) Error() string

func (*GetGameSessionForbidden) GetPayload

func (*GetGameSessionForbidden) ToJSONString

func (o *GetGameSessionForbidden) ToJSONString() string

type GetGameSessionInternalServerError

type GetGameSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewGetGameSessionInternalServerError

func NewGetGameSessionInternalServerError() *GetGameSessionInternalServerError

NewGetGameSessionInternalServerError creates a GetGameSessionInternalServerError with default headers values

func (*GetGameSessionInternalServerError) Error

func (*GetGameSessionInternalServerError) GetPayload

func (*GetGameSessionInternalServerError) ToJSONString

func (o *GetGameSessionInternalServerError) ToJSONString() string

type GetGameSessionNotFound

type GetGameSessionNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionNotFound handles this case with default header values.

Not Found

func NewGetGameSessionNotFound

func NewGetGameSessionNotFound() *GetGameSessionNotFound

NewGetGameSessionNotFound creates a GetGameSessionNotFound with default headers values

func (*GetGameSessionNotFound) Error

func (o *GetGameSessionNotFound) Error() string

func (*GetGameSessionNotFound) GetPayload

func (*GetGameSessionNotFound) ToJSONString

func (o *GetGameSessionNotFound) ToJSONString() string

type GetGameSessionOK

type GetGameSessionOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

GetGameSessionOK handles this case with default header values.

OK

func NewGetGameSessionOK

func NewGetGameSessionOK() *GetGameSessionOK

NewGetGameSessionOK creates a GetGameSessionOK with default headers values

func (*GetGameSessionOK) Error

func (o *GetGameSessionOK) Error() string

func (*GetGameSessionOK) GetPayload

func (*GetGameSessionOK) ToJSONString

func (o *GetGameSessionOK) ToJSONString() string

type GetGameSessionParams

type GetGameSessionParams 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
}

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

func NewGetGameSessionParams

func NewGetGameSessionParams() *GetGameSessionParams

NewGetGameSessionParams creates a new GetGameSessionParams object with the default values initialized.

func NewGetGameSessionParamsWithContext

func NewGetGameSessionParamsWithContext(ctx context.Context) *GetGameSessionParams

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

func NewGetGameSessionParamsWithHTTPClient

func NewGetGameSessionParamsWithHTTPClient(client *http.Client) *GetGameSessionParams

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

func NewGetGameSessionParamsWithTimeout

func NewGetGameSessionParamsWithTimeout(timeout time.Duration) *GetGameSessionParams

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

func (*GetGameSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get game session params

func (*GetGameSessionParams) SetContext

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

SetContext adds the context to the get game session params

func (*GetGameSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get game session params

func (*GetGameSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get game session params

func (*GetGameSessionParams) SetNamespace

func (o *GetGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get game session params

func (*GetGameSessionParams) SetSessionID

func (o *GetGameSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the get game session params

func (*GetGameSessionParams) SetTimeout

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

SetTimeout adds the timeout to the get game session params

func (*GetGameSessionParams) WithContext

WithContext adds the context to the get game session params

func (*GetGameSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get game session params

func (*GetGameSessionParams) WithNamespace

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

WithNamespace adds the namespace to the get game session params

func (*GetGameSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the get game session params

func (*GetGameSessionParams) WithTimeout

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

WithTimeout adds the timeout to the get game session params

func (*GetGameSessionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetGameSessionReader

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

GetGameSessionReader is a Reader for the GetGameSession structure.

func (*GetGameSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGameSessionUnauthorized

type GetGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewGetGameSessionUnauthorized

func NewGetGameSessionUnauthorized() *GetGameSessionUnauthorized

NewGetGameSessionUnauthorized creates a GetGameSessionUnauthorized with default headers values

func (*GetGameSessionUnauthorized) Error

func (*GetGameSessionUnauthorized) GetPayload

func (*GetGameSessionUnauthorized) ToJSONString

func (o *GetGameSessionUnauthorized) ToJSONString() string

type JoinGameSessionBadRequest

type JoinGameSessionBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

JoinGameSessionBadRequest handles this case with default header values.

Bad Request

func NewJoinGameSessionBadRequest

func NewJoinGameSessionBadRequest() *JoinGameSessionBadRequest

NewJoinGameSessionBadRequest creates a JoinGameSessionBadRequest with default headers values

func (*JoinGameSessionBadRequest) Error

func (o *JoinGameSessionBadRequest) Error() string

func (*JoinGameSessionBadRequest) GetPayload

func (*JoinGameSessionBadRequest) ToJSONString

func (o *JoinGameSessionBadRequest) ToJSONString() string

type JoinGameSessionForbidden

type JoinGameSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

JoinGameSessionForbidden handles this case with default header values.

Forbidden

func NewJoinGameSessionForbidden

func NewJoinGameSessionForbidden() *JoinGameSessionForbidden

NewJoinGameSessionForbidden creates a JoinGameSessionForbidden with default headers values

func (*JoinGameSessionForbidden) Error

func (o *JoinGameSessionForbidden) Error() string

func (*JoinGameSessionForbidden) GetPayload

func (*JoinGameSessionForbidden) ToJSONString

func (o *JoinGameSessionForbidden) ToJSONString() string

type JoinGameSessionInternalServerError

type JoinGameSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

JoinGameSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewJoinGameSessionInternalServerError

func NewJoinGameSessionInternalServerError() *JoinGameSessionInternalServerError

NewJoinGameSessionInternalServerError creates a JoinGameSessionInternalServerError with default headers values

func (*JoinGameSessionInternalServerError) Error

func (*JoinGameSessionInternalServerError) GetPayload

func (*JoinGameSessionInternalServerError) ToJSONString

func (o *JoinGameSessionInternalServerError) ToJSONString() string

type JoinGameSessionNotFound

type JoinGameSessionNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

JoinGameSessionNotFound handles this case with default header values.

Not Found

func NewJoinGameSessionNotFound

func NewJoinGameSessionNotFound() *JoinGameSessionNotFound

NewJoinGameSessionNotFound creates a JoinGameSessionNotFound with default headers values

func (*JoinGameSessionNotFound) Error

func (o *JoinGameSessionNotFound) Error() string

func (*JoinGameSessionNotFound) GetPayload

func (*JoinGameSessionNotFound) ToJSONString

func (o *JoinGameSessionNotFound) ToJSONString() string

type JoinGameSessionOK

type JoinGameSessionOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

JoinGameSessionOK handles this case with default header values.

OK

func NewJoinGameSessionOK

func NewJoinGameSessionOK() *JoinGameSessionOK

NewJoinGameSessionOK creates a JoinGameSessionOK with default headers values

func (*JoinGameSessionOK) Error

func (o *JoinGameSessionOK) Error() string

func (*JoinGameSessionOK) GetPayload

func (*JoinGameSessionOK) ToJSONString

func (o *JoinGameSessionOK) ToJSONString() string

type JoinGameSessionParams

type JoinGameSessionParams 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
}

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

func NewJoinGameSessionParams

func NewJoinGameSessionParams() *JoinGameSessionParams

NewJoinGameSessionParams creates a new JoinGameSessionParams object with the default values initialized.

func NewJoinGameSessionParamsWithContext

func NewJoinGameSessionParamsWithContext(ctx context.Context) *JoinGameSessionParams

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

func NewJoinGameSessionParamsWithHTTPClient

func NewJoinGameSessionParamsWithHTTPClient(client *http.Client) *JoinGameSessionParams

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

func NewJoinGameSessionParamsWithTimeout

func NewJoinGameSessionParamsWithTimeout(timeout time.Duration) *JoinGameSessionParams

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

func (*JoinGameSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the join game session params

func (*JoinGameSessionParams) SetContext

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

SetContext adds the context to the join game session params

func (*JoinGameSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the join game session params

func (*JoinGameSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the join game session params

func (*JoinGameSessionParams) SetNamespace

func (o *JoinGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the join game session params

func (*JoinGameSessionParams) SetSessionID

func (o *JoinGameSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the join game session params

func (*JoinGameSessionParams) SetTimeout

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

SetTimeout adds the timeout to the join game session params

func (*JoinGameSessionParams) WithContext

WithContext adds the context to the join game session params

func (*JoinGameSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the join game session params

func (*JoinGameSessionParams) WithNamespace

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

WithNamespace adds the namespace to the join game session params

func (*JoinGameSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the join game session params

func (*JoinGameSessionParams) WithTimeout

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

WithTimeout adds the timeout to the join game session params

func (*JoinGameSessionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type JoinGameSessionReader

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

JoinGameSessionReader is a Reader for the JoinGameSession structure.

func (*JoinGameSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type JoinGameSessionUnauthorized

type JoinGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

JoinGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewJoinGameSessionUnauthorized

func NewJoinGameSessionUnauthorized() *JoinGameSessionUnauthorized

NewJoinGameSessionUnauthorized creates a JoinGameSessionUnauthorized with default headers values

func (*JoinGameSessionUnauthorized) Error

func (*JoinGameSessionUnauthorized) GetPayload

func (*JoinGameSessionUnauthorized) ToJSONString

func (o *JoinGameSessionUnauthorized) ToJSONString() string

type LeaveGameSessionBadRequest

type LeaveGameSessionBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

LeaveGameSessionBadRequest handles this case with default header values.

Bad Request

func NewLeaveGameSessionBadRequest

func NewLeaveGameSessionBadRequest() *LeaveGameSessionBadRequest

NewLeaveGameSessionBadRequest creates a LeaveGameSessionBadRequest with default headers values

func (*LeaveGameSessionBadRequest) Error

func (*LeaveGameSessionBadRequest) GetPayload

func (*LeaveGameSessionBadRequest) ToJSONString

func (o *LeaveGameSessionBadRequest) ToJSONString() string

type LeaveGameSessionForbidden

type LeaveGameSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

LeaveGameSessionForbidden handles this case with default header values.

Forbidden

func NewLeaveGameSessionForbidden

func NewLeaveGameSessionForbidden() *LeaveGameSessionForbidden

NewLeaveGameSessionForbidden creates a LeaveGameSessionForbidden with default headers values

func (*LeaveGameSessionForbidden) Error

func (o *LeaveGameSessionForbidden) Error() string

func (*LeaveGameSessionForbidden) GetPayload

func (*LeaveGameSessionForbidden) ToJSONString

func (o *LeaveGameSessionForbidden) ToJSONString() string

type LeaveGameSessionInternalServerError

type LeaveGameSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

LeaveGameSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewLeaveGameSessionInternalServerError

func NewLeaveGameSessionInternalServerError() *LeaveGameSessionInternalServerError

NewLeaveGameSessionInternalServerError creates a LeaveGameSessionInternalServerError with default headers values

func (*LeaveGameSessionInternalServerError) Error

func (*LeaveGameSessionInternalServerError) GetPayload

func (*LeaveGameSessionInternalServerError) ToJSONString

func (o *LeaveGameSessionInternalServerError) ToJSONString() string

type LeaveGameSessionNoContent

type LeaveGameSessionNoContent struct {
}

LeaveGameSessionNoContent handles this case with default header values.

No Content

func NewLeaveGameSessionNoContent

func NewLeaveGameSessionNoContent() *LeaveGameSessionNoContent

NewLeaveGameSessionNoContent creates a LeaveGameSessionNoContent with default headers values

func (*LeaveGameSessionNoContent) Error

func (o *LeaveGameSessionNoContent) Error() string

type LeaveGameSessionNotFound

type LeaveGameSessionNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

LeaveGameSessionNotFound handles this case with default header values.

Not Found

func NewLeaveGameSessionNotFound

func NewLeaveGameSessionNotFound() *LeaveGameSessionNotFound

NewLeaveGameSessionNotFound creates a LeaveGameSessionNotFound with default headers values

func (*LeaveGameSessionNotFound) Error

func (o *LeaveGameSessionNotFound) Error() string

func (*LeaveGameSessionNotFound) GetPayload

func (*LeaveGameSessionNotFound) ToJSONString

func (o *LeaveGameSessionNotFound) ToJSONString() string

type LeaveGameSessionParams

type LeaveGameSessionParams 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
}

LeaveGameSessionParams contains all the parameters to send to the API endpoint for the leave game session operation typically these are written to a http.Request

func NewLeaveGameSessionParams

func NewLeaveGameSessionParams() *LeaveGameSessionParams

NewLeaveGameSessionParams creates a new LeaveGameSessionParams object with the default values initialized.

func NewLeaveGameSessionParamsWithContext

func NewLeaveGameSessionParamsWithContext(ctx context.Context) *LeaveGameSessionParams

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

func NewLeaveGameSessionParamsWithHTTPClient

func NewLeaveGameSessionParamsWithHTTPClient(client *http.Client) *LeaveGameSessionParams

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

func NewLeaveGameSessionParamsWithTimeout

func NewLeaveGameSessionParamsWithTimeout(timeout time.Duration) *LeaveGameSessionParams

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

func (*LeaveGameSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the leave game session params

func (*LeaveGameSessionParams) SetContext

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

SetContext adds the context to the leave game session params

func (*LeaveGameSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the leave game session params

func (*LeaveGameSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the leave game session params

func (*LeaveGameSessionParams) SetNamespace

func (o *LeaveGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the leave game session params

func (*LeaveGameSessionParams) SetSessionID

func (o *LeaveGameSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the leave game session params

func (*LeaveGameSessionParams) SetTimeout

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

SetTimeout adds the timeout to the leave game session params

func (*LeaveGameSessionParams) WithContext

WithContext adds the context to the leave game session params

func (*LeaveGameSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the leave game session params

func (*LeaveGameSessionParams) WithNamespace

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

WithNamespace adds the namespace to the leave game session params

func (*LeaveGameSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the leave game session params

func (*LeaveGameSessionParams) WithTimeout

WithTimeout adds the timeout to the leave game session params

func (*LeaveGameSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LeaveGameSessionReader

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

LeaveGameSessionReader is a Reader for the LeaveGameSession structure.

func (*LeaveGameSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LeaveGameSessionUnauthorized

type LeaveGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

LeaveGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewLeaveGameSessionUnauthorized

func NewLeaveGameSessionUnauthorized() *LeaveGameSessionUnauthorized

NewLeaveGameSessionUnauthorized creates a LeaveGameSessionUnauthorized with default headers values

func (*LeaveGameSessionUnauthorized) Error

func (*LeaveGameSessionUnauthorized) GetPayload

func (*LeaveGameSessionUnauthorized) ToJSONString

func (o *LeaveGameSessionUnauthorized) ToJSONString() string

type PatchUpdateGameSessionBadRequest

type PatchUpdateGameSessionBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PatchUpdateGameSessionBadRequest handles this case with default header values.

Bad Request

func NewPatchUpdateGameSessionBadRequest

func NewPatchUpdateGameSessionBadRequest() *PatchUpdateGameSessionBadRequest

NewPatchUpdateGameSessionBadRequest creates a PatchUpdateGameSessionBadRequest with default headers values

func (*PatchUpdateGameSessionBadRequest) Error

func (*PatchUpdateGameSessionBadRequest) GetPayload

func (*PatchUpdateGameSessionBadRequest) ToJSONString

func (o *PatchUpdateGameSessionBadRequest) ToJSONString() string

type PatchUpdateGameSessionForbidden

type PatchUpdateGameSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

PatchUpdateGameSessionForbidden handles this case with default header values.

Forbidden

func NewPatchUpdateGameSessionForbidden

func NewPatchUpdateGameSessionForbidden() *PatchUpdateGameSessionForbidden

NewPatchUpdateGameSessionForbidden creates a PatchUpdateGameSessionForbidden with default headers values

func (*PatchUpdateGameSessionForbidden) Error

func (*PatchUpdateGameSessionForbidden) GetPayload

func (*PatchUpdateGameSessionForbidden) ToJSONString

func (o *PatchUpdateGameSessionForbidden) ToJSONString() string

type PatchUpdateGameSessionInternalServerError

type PatchUpdateGameSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PatchUpdateGameSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewPatchUpdateGameSessionInternalServerError

func NewPatchUpdateGameSessionInternalServerError() *PatchUpdateGameSessionInternalServerError

NewPatchUpdateGameSessionInternalServerError creates a PatchUpdateGameSessionInternalServerError with default headers values

func (*PatchUpdateGameSessionInternalServerError) Error

func (*PatchUpdateGameSessionInternalServerError) GetPayload

func (*PatchUpdateGameSessionInternalServerError) ToJSONString

type PatchUpdateGameSessionNotFound

type PatchUpdateGameSessionNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PatchUpdateGameSessionNotFound handles this case with default header values.

Not Found

func NewPatchUpdateGameSessionNotFound

func NewPatchUpdateGameSessionNotFound() *PatchUpdateGameSessionNotFound

NewPatchUpdateGameSessionNotFound creates a PatchUpdateGameSessionNotFound with default headers values

func (*PatchUpdateGameSessionNotFound) Error

func (*PatchUpdateGameSessionNotFound) GetPayload

func (*PatchUpdateGameSessionNotFound) ToJSONString

func (o *PatchUpdateGameSessionNotFound) ToJSONString() string

type PatchUpdateGameSessionOK

type PatchUpdateGameSessionOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

PatchUpdateGameSessionOK handles this case with default header values.

OK

func NewPatchUpdateGameSessionOK

func NewPatchUpdateGameSessionOK() *PatchUpdateGameSessionOK

NewPatchUpdateGameSessionOK creates a PatchUpdateGameSessionOK with default headers values

func (*PatchUpdateGameSessionOK) Error

func (o *PatchUpdateGameSessionOK) Error() string

func (*PatchUpdateGameSessionOK) GetPayload

func (*PatchUpdateGameSessionOK) ToJSONString

func (o *PatchUpdateGameSessionOK) ToJSONString() string

type PatchUpdateGameSessionParams

type PatchUpdateGameSessionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.ApimodelsUpdateGameSessionRequest
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

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

func NewPatchUpdateGameSessionParams

func NewPatchUpdateGameSessionParams() *PatchUpdateGameSessionParams

NewPatchUpdateGameSessionParams creates a new PatchUpdateGameSessionParams object with the default values initialized.

func NewPatchUpdateGameSessionParamsWithContext

func NewPatchUpdateGameSessionParamsWithContext(ctx context.Context) *PatchUpdateGameSessionParams

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

func NewPatchUpdateGameSessionParamsWithHTTPClient

func NewPatchUpdateGameSessionParamsWithHTTPClient(client *http.Client) *PatchUpdateGameSessionParams

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

func NewPatchUpdateGameSessionParamsWithTimeout

func NewPatchUpdateGameSessionParamsWithTimeout(timeout time.Duration) *PatchUpdateGameSessionParams

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

func (*PatchUpdateGameSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the patch update game session params

func (*PatchUpdateGameSessionParams) SetBody

SetBody adds the body to the patch update game session params

func (*PatchUpdateGameSessionParams) SetContext

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

SetContext adds the context to the patch update game session params

func (*PatchUpdateGameSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch update game session params

func (*PatchUpdateGameSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the patch update game session params

func (*PatchUpdateGameSessionParams) SetNamespace

func (o *PatchUpdateGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the patch update game session params

func (*PatchUpdateGameSessionParams) SetSessionID

func (o *PatchUpdateGameSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the patch update game session params

func (*PatchUpdateGameSessionParams) SetTimeout

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

SetTimeout adds the timeout to the patch update game session params

func (*PatchUpdateGameSessionParams) WithBody

WithBody adds the body to the patch update game session params

func (*PatchUpdateGameSessionParams) WithContext

WithContext adds the context to the patch update game session params

func (*PatchUpdateGameSessionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch update game session params

func (*PatchUpdateGameSessionParams) WithNamespace

WithNamespace adds the namespace to the patch update game session params

func (*PatchUpdateGameSessionParams) WithSessionID

WithSessionID adds the sessionID to the patch update game session params

func (*PatchUpdateGameSessionParams) WithTimeout

WithTimeout adds the timeout to the patch update game session params

func (*PatchUpdateGameSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchUpdateGameSessionReader

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

PatchUpdateGameSessionReader is a Reader for the PatchUpdateGameSession structure.

func (*PatchUpdateGameSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchUpdateGameSessionUnauthorized

type PatchUpdateGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PatchUpdateGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewPatchUpdateGameSessionUnauthorized

func NewPatchUpdateGameSessionUnauthorized() *PatchUpdateGameSessionUnauthorized

NewPatchUpdateGameSessionUnauthorized creates a PatchUpdateGameSessionUnauthorized with default headers values

func (*PatchUpdateGameSessionUnauthorized) Error

func (*PatchUpdateGameSessionUnauthorized) GetPayload

func (*PatchUpdateGameSessionUnauthorized) ToJSONString

func (o *PatchUpdateGameSessionUnauthorized) ToJSONString() string

type PublicGameSessionInviteBadRequest

type PublicGameSessionInviteBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionInviteBadRequest handles this case with default header values.

Bad Request

func NewPublicGameSessionInviteBadRequest

func NewPublicGameSessionInviteBadRequest() *PublicGameSessionInviteBadRequest

NewPublicGameSessionInviteBadRequest creates a PublicGameSessionInviteBadRequest with default headers values

func (*PublicGameSessionInviteBadRequest) Error

func (*PublicGameSessionInviteBadRequest) GetPayload

func (*PublicGameSessionInviteBadRequest) ToJSONString

func (o *PublicGameSessionInviteBadRequest) ToJSONString() string

type PublicGameSessionInviteCreated

type PublicGameSessionInviteCreated struct {
}

PublicGameSessionInviteCreated handles this case with default header values.

Created

func NewPublicGameSessionInviteCreated

func NewPublicGameSessionInviteCreated() *PublicGameSessionInviteCreated

NewPublicGameSessionInviteCreated creates a PublicGameSessionInviteCreated with default headers values

func (*PublicGameSessionInviteCreated) Error

type PublicGameSessionInviteInternalServerError

type PublicGameSessionInviteInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionInviteInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicGameSessionInviteInternalServerError

func NewPublicGameSessionInviteInternalServerError() *PublicGameSessionInviteInternalServerError

NewPublicGameSessionInviteInternalServerError creates a PublicGameSessionInviteInternalServerError with default headers values

func (*PublicGameSessionInviteInternalServerError) Error

func (*PublicGameSessionInviteInternalServerError) GetPayload

func (*PublicGameSessionInviteInternalServerError) ToJSONString

type PublicGameSessionInviteNoContent

type PublicGameSessionInviteNoContent struct {
}

PublicGameSessionInviteNoContent handles this case with default header values.

No Content

func NewPublicGameSessionInviteNoContent

func NewPublicGameSessionInviteNoContent() *PublicGameSessionInviteNoContent

NewPublicGameSessionInviteNoContent creates a PublicGameSessionInviteNoContent with default headers values

func (*PublicGameSessionInviteNoContent) Error

type PublicGameSessionInviteNotFound

type PublicGameSessionInviteNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionInviteNotFound handles this case with default header values.

Not Found

func NewPublicGameSessionInviteNotFound

func NewPublicGameSessionInviteNotFound() *PublicGameSessionInviteNotFound

NewPublicGameSessionInviteNotFound creates a PublicGameSessionInviteNotFound with default headers values

func (*PublicGameSessionInviteNotFound) Error

func (*PublicGameSessionInviteNotFound) GetPayload

func (*PublicGameSessionInviteNotFound) ToJSONString

func (o *PublicGameSessionInviteNotFound) ToJSONString() string

type PublicGameSessionInviteParams

type PublicGameSessionInviteParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.ApimodelsSessionInviteRequest
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

PublicGameSessionInviteParams contains all the parameters to send to the API endpoint for the public game session invite operation typically these are written to a http.Request

func NewPublicGameSessionInviteParams

func NewPublicGameSessionInviteParams() *PublicGameSessionInviteParams

NewPublicGameSessionInviteParams creates a new PublicGameSessionInviteParams object with the default values initialized.

func NewPublicGameSessionInviteParamsWithContext

func NewPublicGameSessionInviteParamsWithContext(ctx context.Context) *PublicGameSessionInviteParams

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

func NewPublicGameSessionInviteParamsWithHTTPClient

func NewPublicGameSessionInviteParamsWithHTTPClient(client *http.Client) *PublicGameSessionInviteParams

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

func NewPublicGameSessionInviteParamsWithTimeout

func NewPublicGameSessionInviteParamsWithTimeout(timeout time.Duration) *PublicGameSessionInviteParams

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

func (*PublicGameSessionInviteParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public game session invite params

func (*PublicGameSessionInviteParams) SetBody

SetBody adds the body to the public game session invite params

func (*PublicGameSessionInviteParams) SetContext

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

SetContext adds the context to the public game session invite params

func (*PublicGameSessionInviteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public game session invite params

func (*PublicGameSessionInviteParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public game session invite params

func (*PublicGameSessionInviteParams) SetNamespace

func (o *PublicGameSessionInviteParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public game session invite params

func (*PublicGameSessionInviteParams) SetSessionID

func (o *PublicGameSessionInviteParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the public game session invite params

func (*PublicGameSessionInviteParams) SetTimeout

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

SetTimeout adds the timeout to the public game session invite params

func (*PublicGameSessionInviteParams) WithBody

WithBody adds the body to the public game session invite params

func (*PublicGameSessionInviteParams) WithContext

WithContext adds the context to the public game session invite params

func (*PublicGameSessionInviteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public game session invite params

func (*PublicGameSessionInviteParams) WithNamespace

WithNamespace adds the namespace to the public game session invite params

func (*PublicGameSessionInviteParams) WithSessionID

WithSessionID adds the sessionID to the public game session invite params

func (*PublicGameSessionInviteParams) WithTimeout

WithTimeout adds the timeout to the public game session invite params

func (*PublicGameSessionInviteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGameSessionInviteReader

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

PublicGameSessionInviteReader is a Reader for the PublicGameSessionInvite structure.

func (*PublicGameSessionInviteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGameSessionInviteUnauthorized

type PublicGameSessionInviteUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionInviteUnauthorized handles this case with default header values.

Unauthorized

func NewPublicGameSessionInviteUnauthorized

func NewPublicGameSessionInviteUnauthorized() *PublicGameSessionInviteUnauthorized

NewPublicGameSessionInviteUnauthorized creates a PublicGameSessionInviteUnauthorized with default headers values

func (*PublicGameSessionInviteUnauthorized) Error

func (*PublicGameSessionInviteUnauthorized) GetPayload

func (*PublicGameSessionInviteUnauthorized) ToJSONString

func (o *PublicGameSessionInviteUnauthorized) ToJSONString() string

type PublicGameSessionRejectBadRequest

type PublicGameSessionRejectBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionRejectBadRequest handles this case with default header values.

Bad Request

func NewPublicGameSessionRejectBadRequest

func NewPublicGameSessionRejectBadRequest() *PublicGameSessionRejectBadRequest

NewPublicGameSessionRejectBadRequest creates a PublicGameSessionRejectBadRequest with default headers values

func (*PublicGameSessionRejectBadRequest) Error

func (*PublicGameSessionRejectBadRequest) GetPayload

func (*PublicGameSessionRejectBadRequest) ToJSONString

func (o *PublicGameSessionRejectBadRequest) ToJSONString() string

type PublicGameSessionRejectForbidden

type PublicGameSessionRejectForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionRejectForbidden handles this case with default header values.

Forbidden

func NewPublicGameSessionRejectForbidden

func NewPublicGameSessionRejectForbidden() *PublicGameSessionRejectForbidden

NewPublicGameSessionRejectForbidden creates a PublicGameSessionRejectForbidden with default headers values

func (*PublicGameSessionRejectForbidden) Error

func (*PublicGameSessionRejectForbidden) GetPayload

func (*PublicGameSessionRejectForbidden) ToJSONString

func (o *PublicGameSessionRejectForbidden) ToJSONString() string

type PublicGameSessionRejectInternalServerError

type PublicGameSessionRejectInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionRejectInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicGameSessionRejectInternalServerError

func NewPublicGameSessionRejectInternalServerError() *PublicGameSessionRejectInternalServerError

NewPublicGameSessionRejectInternalServerError creates a PublicGameSessionRejectInternalServerError with default headers values

func (*PublicGameSessionRejectInternalServerError) Error

func (*PublicGameSessionRejectInternalServerError) GetPayload

func (*PublicGameSessionRejectInternalServerError) ToJSONString

type PublicGameSessionRejectNoContent

type PublicGameSessionRejectNoContent struct {
}

PublicGameSessionRejectNoContent handles this case with default header values.

No Content

func NewPublicGameSessionRejectNoContent

func NewPublicGameSessionRejectNoContent() *PublicGameSessionRejectNoContent

NewPublicGameSessionRejectNoContent creates a PublicGameSessionRejectNoContent with default headers values

func (*PublicGameSessionRejectNoContent) Error

type PublicGameSessionRejectNotFound

type PublicGameSessionRejectNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionRejectNotFound handles this case with default header values.

Not Found

func NewPublicGameSessionRejectNotFound

func NewPublicGameSessionRejectNotFound() *PublicGameSessionRejectNotFound

NewPublicGameSessionRejectNotFound creates a PublicGameSessionRejectNotFound with default headers values

func (*PublicGameSessionRejectNotFound) Error

func (*PublicGameSessionRejectNotFound) GetPayload

func (*PublicGameSessionRejectNotFound) ToJSONString

func (o *PublicGameSessionRejectNotFound) ToJSONString() string

type PublicGameSessionRejectParams

type PublicGameSessionRejectParams 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
}

PublicGameSessionRejectParams contains all the parameters to send to the API endpoint for the public game session reject operation typically these are written to a http.Request

func NewPublicGameSessionRejectParams

func NewPublicGameSessionRejectParams() *PublicGameSessionRejectParams

NewPublicGameSessionRejectParams creates a new PublicGameSessionRejectParams object with the default values initialized.

func NewPublicGameSessionRejectParamsWithContext

func NewPublicGameSessionRejectParamsWithContext(ctx context.Context) *PublicGameSessionRejectParams

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

func NewPublicGameSessionRejectParamsWithHTTPClient

func NewPublicGameSessionRejectParamsWithHTTPClient(client *http.Client) *PublicGameSessionRejectParams

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

func NewPublicGameSessionRejectParamsWithTimeout

func NewPublicGameSessionRejectParamsWithTimeout(timeout time.Duration) *PublicGameSessionRejectParams

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

func (*PublicGameSessionRejectParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public game session reject params

func (*PublicGameSessionRejectParams) SetContext

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

SetContext adds the context to the public game session reject params

func (*PublicGameSessionRejectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public game session reject params

func (*PublicGameSessionRejectParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public game session reject params

func (*PublicGameSessionRejectParams) SetNamespace

func (o *PublicGameSessionRejectParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public game session reject params

func (*PublicGameSessionRejectParams) SetSessionID

func (o *PublicGameSessionRejectParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the public game session reject params

func (*PublicGameSessionRejectParams) SetTimeout

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

SetTimeout adds the timeout to the public game session reject params

func (*PublicGameSessionRejectParams) WithContext

WithContext adds the context to the public game session reject params

func (*PublicGameSessionRejectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public game session reject params

func (*PublicGameSessionRejectParams) WithNamespace

WithNamespace adds the namespace to the public game session reject params

func (*PublicGameSessionRejectParams) WithSessionID

WithSessionID adds the sessionID to the public game session reject params

func (*PublicGameSessionRejectParams) WithTimeout

WithTimeout adds the timeout to the public game session reject params

func (*PublicGameSessionRejectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGameSessionRejectReader

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

PublicGameSessionRejectReader is a Reader for the PublicGameSessionReject structure.

func (*PublicGameSessionRejectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGameSessionRejectUnauthorized

type PublicGameSessionRejectUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionRejectUnauthorized handles this case with default header values.

Unauthorized

func NewPublicGameSessionRejectUnauthorized

func NewPublicGameSessionRejectUnauthorized() *PublicGameSessionRejectUnauthorized

NewPublicGameSessionRejectUnauthorized creates a PublicGameSessionRejectUnauthorized with default headers values

func (*PublicGameSessionRejectUnauthorized) Error

func (*PublicGameSessionRejectUnauthorized) GetPayload

func (*PublicGameSessionRejectUnauthorized) ToJSONString

func (o *PublicGameSessionRejectUnauthorized) ToJSONString() string

type PublicPromoteGameSessionLeaderBadRequest added in v0.48.0

type PublicPromoteGameSessionLeaderBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicPromoteGameSessionLeaderBadRequest handles this case with default header values.

Bad Request

func NewPublicPromoteGameSessionLeaderBadRequest added in v0.48.0

func NewPublicPromoteGameSessionLeaderBadRequest() *PublicPromoteGameSessionLeaderBadRequest

NewPublicPromoteGameSessionLeaderBadRequest creates a PublicPromoteGameSessionLeaderBadRequest with default headers values

func (*PublicPromoteGameSessionLeaderBadRequest) Error added in v0.48.0

func (*PublicPromoteGameSessionLeaderBadRequest) GetPayload added in v0.48.0

func (*PublicPromoteGameSessionLeaderBadRequest) ToJSONString added in v0.48.0

type PublicPromoteGameSessionLeaderForbidden added in v0.48.0

type PublicPromoteGameSessionLeaderForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

PublicPromoteGameSessionLeaderForbidden handles this case with default header values.

Forbidden

func NewPublicPromoteGameSessionLeaderForbidden added in v0.48.0

func NewPublicPromoteGameSessionLeaderForbidden() *PublicPromoteGameSessionLeaderForbidden

NewPublicPromoteGameSessionLeaderForbidden creates a PublicPromoteGameSessionLeaderForbidden with default headers values

func (*PublicPromoteGameSessionLeaderForbidden) Error added in v0.48.0

func (*PublicPromoteGameSessionLeaderForbidden) GetPayload added in v0.48.0

func (*PublicPromoteGameSessionLeaderForbidden) ToJSONString added in v0.48.0

type PublicPromoteGameSessionLeaderInternalServerError added in v0.48.0

type PublicPromoteGameSessionLeaderInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicPromoteGameSessionLeaderInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicPromoteGameSessionLeaderInternalServerError added in v0.48.0

func NewPublicPromoteGameSessionLeaderInternalServerError() *PublicPromoteGameSessionLeaderInternalServerError

NewPublicPromoteGameSessionLeaderInternalServerError creates a PublicPromoteGameSessionLeaderInternalServerError with default headers values

func (*PublicPromoteGameSessionLeaderInternalServerError) Error added in v0.48.0

func (*PublicPromoteGameSessionLeaderInternalServerError) GetPayload added in v0.48.0

func (*PublicPromoteGameSessionLeaderInternalServerError) ToJSONString added in v0.48.0

type PublicPromoteGameSessionLeaderNotFound added in v0.48.0

type PublicPromoteGameSessionLeaderNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicPromoteGameSessionLeaderNotFound handles this case with default header values.

Not Found

func NewPublicPromoteGameSessionLeaderNotFound added in v0.48.0

func NewPublicPromoteGameSessionLeaderNotFound() *PublicPromoteGameSessionLeaderNotFound

NewPublicPromoteGameSessionLeaderNotFound creates a PublicPromoteGameSessionLeaderNotFound with default headers values

func (*PublicPromoteGameSessionLeaderNotFound) Error added in v0.48.0

func (*PublicPromoteGameSessionLeaderNotFound) GetPayload added in v0.48.0

func (*PublicPromoteGameSessionLeaderNotFound) ToJSONString added in v0.48.0

type PublicPromoteGameSessionLeaderOK added in v0.48.0

type PublicPromoteGameSessionLeaderOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

PublicPromoteGameSessionLeaderOK handles this case with default header values.

OK

func NewPublicPromoteGameSessionLeaderOK added in v0.48.0

func NewPublicPromoteGameSessionLeaderOK() *PublicPromoteGameSessionLeaderOK

NewPublicPromoteGameSessionLeaderOK creates a PublicPromoteGameSessionLeaderOK with default headers values

func (*PublicPromoteGameSessionLeaderOK) Error added in v0.48.0

func (*PublicPromoteGameSessionLeaderOK) GetPayload added in v0.48.0

func (*PublicPromoteGameSessionLeaderOK) ToJSONString added in v0.48.0

func (o *PublicPromoteGameSessionLeaderOK) ToJSONString() string

type PublicPromoteGameSessionLeaderParams added in v0.48.0

type PublicPromoteGameSessionLeaderParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.ApimodelsPromoteLeaderRequest
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

PublicPromoteGameSessionLeaderParams contains all the parameters to send to the API endpoint for the public promote game session leader operation typically these are written to a http.Request

func NewPublicPromoteGameSessionLeaderParams added in v0.48.0

func NewPublicPromoteGameSessionLeaderParams() *PublicPromoteGameSessionLeaderParams

NewPublicPromoteGameSessionLeaderParams creates a new PublicPromoteGameSessionLeaderParams object with the default values initialized.

func NewPublicPromoteGameSessionLeaderParamsWithContext added in v0.48.0

func NewPublicPromoteGameSessionLeaderParamsWithContext(ctx context.Context) *PublicPromoteGameSessionLeaderParams

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

func NewPublicPromoteGameSessionLeaderParamsWithHTTPClient added in v0.48.0

func NewPublicPromoteGameSessionLeaderParamsWithHTTPClient(client *http.Client) *PublicPromoteGameSessionLeaderParams

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

func NewPublicPromoteGameSessionLeaderParamsWithTimeout added in v0.48.0

func NewPublicPromoteGameSessionLeaderParamsWithTimeout(timeout time.Duration) *PublicPromoteGameSessionLeaderParams

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

func (*PublicPromoteGameSessionLeaderParams) SetAuthInfoWriter added in v0.48.0

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

SetAuthInfoWriter adds the authInfoWriter to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) SetBody added in v0.48.0

SetBody adds the body to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) SetContext added in v0.48.0

SetContext adds the context to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) SetHTTPClient added in v0.48.0

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

SetHTTPClient adds the HTTPClient to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) SetHTTPClientTransport added in v0.48.0

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

SetHTTPClient adds the HTTPClient Transport to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) SetNamespace added in v0.48.0

func (o *PublicPromoteGameSessionLeaderParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) SetSessionID added in v0.48.0

func (o *PublicPromoteGameSessionLeaderParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) SetTimeout added in v0.48.0

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

SetTimeout adds the timeout to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) WithBody added in v0.48.0

WithBody adds the body to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) WithContext added in v0.48.0

WithContext adds the context to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) WithHTTPClient added in v0.48.0

WithHTTPClient adds the HTTPClient to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) WithNamespace added in v0.48.0

WithNamespace adds the namespace to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) WithSessionID added in v0.48.0

WithSessionID adds the sessionID to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) WithTimeout added in v0.48.0

WithTimeout adds the timeout to the public promote game session leader params

func (*PublicPromoteGameSessionLeaderParams) WriteToRequest added in v0.48.0

WriteToRequest writes these params to a swagger request

type PublicPromoteGameSessionLeaderReader added in v0.48.0

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

PublicPromoteGameSessionLeaderReader is a Reader for the PublicPromoteGameSessionLeader structure.

func (*PublicPromoteGameSessionLeaderReader) ReadResponse added in v0.48.0

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

ReadResponse reads a server response into the received o.

type PublicPromoteGameSessionLeaderUnauthorized added in v0.48.0

type PublicPromoteGameSessionLeaderUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicPromoteGameSessionLeaderUnauthorized handles this case with default header values.

Unauthorized

func NewPublicPromoteGameSessionLeaderUnauthorized added in v0.48.0

func NewPublicPromoteGameSessionLeaderUnauthorized() *PublicPromoteGameSessionLeaderUnauthorized

NewPublicPromoteGameSessionLeaderUnauthorized creates a PublicPromoteGameSessionLeaderUnauthorized with default headers values

func (*PublicPromoteGameSessionLeaderUnauthorized) Error added in v0.48.0

func (*PublicPromoteGameSessionLeaderUnauthorized) GetPayload added in v0.48.0

func (*PublicPromoteGameSessionLeaderUnauthorized) ToJSONString added in v0.48.0

type PublicQueryGameSessionsBadRequest

type PublicQueryGameSessionsBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicQueryGameSessionsBadRequest handles this case with default header values.

Bad Request

func NewPublicQueryGameSessionsBadRequest

func NewPublicQueryGameSessionsBadRequest() *PublicQueryGameSessionsBadRequest

NewPublicQueryGameSessionsBadRequest creates a PublicQueryGameSessionsBadRequest with default headers values

func (*PublicQueryGameSessionsBadRequest) Error

func (*PublicQueryGameSessionsBadRequest) GetPayload

func (*PublicQueryGameSessionsBadRequest) ToJSONString

func (o *PublicQueryGameSessionsBadRequest) ToJSONString() string

type PublicQueryGameSessionsForbidden

type PublicQueryGameSessionsForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

PublicQueryGameSessionsForbidden handles this case with default header values.

Forbidden

func NewPublicQueryGameSessionsForbidden

func NewPublicQueryGameSessionsForbidden() *PublicQueryGameSessionsForbidden

NewPublicQueryGameSessionsForbidden creates a PublicQueryGameSessionsForbidden with default headers values

func (*PublicQueryGameSessionsForbidden) Error

func (*PublicQueryGameSessionsForbidden) GetPayload

func (*PublicQueryGameSessionsForbidden) ToJSONString

func (o *PublicQueryGameSessionsForbidden) ToJSONString() string

type PublicQueryGameSessionsInternalServerError

type PublicQueryGameSessionsInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicQueryGameSessionsInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicQueryGameSessionsInternalServerError

func NewPublicQueryGameSessionsInternalServerError() *PublicQueryGameSessionsInternalServerError

NewPublicQueryGameSessionsInternalServerError creates a PublicQueryGameSessionsInternalServerError with default headers values

func (*PublicQueryGameSessionsInternalServerError) Error

func (*PublicQueryGameSessionsInternalServerError) GetPayload

func (*PublicQueryGameSessionsInternalServerError) ToJSONString

type PublicQueryGameSessionsOK

type PublicQueryGameSessionsOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionQueryResponse
}

PublicQueryGameSessionsOK handles this case with default header values.

OK

func NewPublicQueryGameSessionsOK

func NewPublicQueryGameSessionsOK() *PublicQueryGameSessionsOK

NewPublicQueryGameSessionsOK creates a PublicQueryGameSessionsOK with default headers values

func (*PublicQueryGameSessionsOK) Error

func (o *PublicQueryGameSessionsOK) Error() string

func (*PublicQueryGameSessionsOK) GetPayload

func (*PublicQueryGameSessionsOK) ToJSONString

func (o *PublicQueryGameSessionsOK) ToJSONString() string

type PublicQueryGameSessionsParams

type PublicQueryGameSessionsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body map[string]interface{}
	/*Namespace
	  Namespace

	*/
	Namespace string

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

PublicQueryGameSessionsParams contains all the parameters to send to the API endpoint for the public query game sessions operation typically these are written to a http.Request

func NewPublicQueryGameSessionsParams

func NewPublicQueryGameSessionsParams() *PublicQueryGameSessionsParams

NewPublicQueryGameSessionsParams creates a new PublicQueryGameSessionsParams object with the default values initialized.

func NewPublicQueryGameSessionsParamsWithContext

func NewPublicQueryGameSessionsParamsWithContext(ctx context.Context) *PublicQueryGameSessionsParams

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

func NewPublicQueryGameSessionsParamsWithHTTPClient

func NewPublicQueryGameSessionsParamsWithHTTPClient(client *http.Client) *PublicQueryGameSessionsParams

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

func NewPublicQueryGameSessionsParamsWithTimeout

func NewPublicQueryGameSessionsParamsWithTimeout(timeout time.Duration) *PublicQueryGameSessionsParams

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

func (*PublicQueryGameSessionsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public query game sessions params

func (*PublicQueryGameSessionsParams) SetBody

func (o *PublicQueryGameSessionsParams) SetBody(body map[string]interface{})

SetBody adds the body to the public query game sessions params

func (*PublicQueryGameSessionsParams) SetContext

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

SetContext adds the context to the public query game sessions params

func (*PublicQueryGameSessionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public query game sessions params

func (*PublicQueryGameSessionsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public query game sessions params

func (*PublicQueryGameSessionsParams) SetNamespace

func (o *PublicQueryGameSessionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public query game sessions params

func (*PublicQueryGameSessionsParams) SetTimeout

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

SetTimeout adds the timeout to the public query game sessions params

func (*PublicQueryGameSessionsParams) WithBody

func (o *PublicQueryGameSessionsParams) WithBody(body map[string]interface{}) *PublicQueryGameSessionsParams

WithBody adds the body to the public query game sessions params

func (*PublicQueryGameSessionsParams) WithContext

WithContext adds the context to the public query game sessions params

func (*PublicQueryGameSessionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public query game sessions params

func (*PublicQueryGameSessionsParams) WithNamespace

WithNamespace adds the namespace to the public query game sessions params

func (*PublicQueryGameSessionsParams) WithTimeout

WithTimeout adds the timeout to the public query game sessions params

func (*PublicQueryGameSessionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicQueryGameSessionsReader

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

PublicQueryGameSessionsReader is a Reader for the PublicQueryGameSessions structure.

func (*PublicQueryGameSessionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicQueryGameSessionsUnauthorized

type PublicQueryGameSessionsUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicQueryGameSessionsUnauthorized handles this case with default header values.

Unauthorized

func NewPublicQueryGameSessionsUnauthorized

func NewPublicQueryGameSessionsUnauthorized() *PublicQueryGameSessionsUnauthorized

NewPublicQueryGameSessionsUnauthorized creates a PublicQueryGameSessionsUnauthorized with default headers values

func (*PublicQueryGameSessionsUnauthorized) Error

func (*PublicQueryGameSessionsUnauthorized) GetPayload

func (*PublicQueryGameSessionsUnauthorized) ToJSONString

func (o *PublicQueryGameSessionsUnauthorized) ToJSONString() string

type PublicQueryMyGameSessionsBadRequest

type PublicQueryMyGameSessionsBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicQueryMyGameSessionsBadRequest handles this case with default header values.

Bad Request

func NewPublicQueryMyGameSessionsBadRequest

func NewPublicQueryMyGameSessionsBadRequest() *PublicQueryMyGameSessionsBadRequest

NewPublicQueryMyGameSessionsBadRequest creates a PublicQueryMyGameSessionsBadRequest with default headers values

func (*PublicQueryMyGameSessionsBadRequest) Error

func (*PublicQueryMyGameSessionsBadRequest) GetPayload

func (*PublicQueryMyGameSessionsBadRequest) ToJSONString

func (o *PublicQueryMyGameSessionsBadRequest) ToJSONString() string

type PublicQueryMyGameSessionsInternalServerError

type PublicQueryMyGameSessionsInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicQueryMyGameSessionsInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicQueryMyGameSessionsInternalServerError

func NewPublicQueryMyGameSessionsInternalServerError() *PublicQueryMyGameSessionsInternalServerError

NewPublicQueryMyGameSessionsInternalServerError creates a PublicQueryMyGameSessionsInternalServerError with default headers values

func (*PublicQueryMyGameSessionsInternalServerError) Error

func (*PublicQueryMyGameSessionsInternalServerError) GetPayload

func (*PublicQueryMyGameSessionsInternalServerError) ToJSONString

type PublicQueryMyGameSessionsOK

type PublicQueryMyGameSessionsOK struct {
	Payload []*sessionclientmodels.ApimodelsGameSessionResponse
}

PublicQueryMyGameSessionsOK handles this case with default header values.

OK

func NewPublicQueryMyGameSessionsOK

func NewPublicQueryMyGameSessionsOK() *PublicQueryMyGameSessionsOK

NewPublicQueryMyGameSessionsOK creates a PublicQueryMyGameSessionsOK with default headers values

func (*PublicQueryMyGameSessionsOK) Error

func (*PublicQueryMyGameSessionsOK) GetPayload

func (*PublicQueryMyGameSessionsOK) ToJSONString

func (o *PublicQueryMyGameSessionsOK) ToJSONString() string

type PublicQueryMyGameSessionsParams

type PublicQueryMyGameSessionsParams struct {

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

	*/
	Namespace string
	/*Order
	  Order of the result. Supported: desc (default), asc

	*/
	Order *string
	/*OrderBy
	  Order result by specific attribute. Supported: createdAt (default), updatedAt

	*/
	OrderBy *string
	/*Status
	  game session status to filter. supported status: INVITED,JOINED,CONNECTED

	*/
	Status *string

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

PublicQueryMyGameSessionsParams contains all the parameters to send to the API endpoint for the public query my game sessions operation typically these are written to a http.Request

func NewPublicQueryMyGameSessionsParams

func NewPublicQueryMyGameSessionsParams() *PublicQueryMyGameSessionsParams

NewPublicQueryMyGameSessionsParams creates a new PublicQueryMyGameSessionsParams object with the default values initialized.

func NewPublicQueryMyGameSessionsParamsWithContext

func NewPublicQueryMyGameSessionsParamsWithContext(ctx context.Context) *PublicQueryMyGameSessionsParams

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

func NewPublicQueryMyGameSessionsParamsWithHTTPClient

func NewPublicQueryMyGameSessionsParamsWithHTTPClient(client *http.Client) *PublicQueryMyGameSessionsParams

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

func NewPublicQueryMyGameSessionsParamsWithTimeout

func NewPublicQueryMyGameSessionsParamsWithTimeout(timeout time.Duration) *PublicQueryMyGameSessionsParams

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

func (*PublicQueryMyGameSessionsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) SetContext

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

SetContext adds the context to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) SetNamespace

func (o *PublicQueryMyGameSessionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) SetOrder

func (o *PublicQueryMyGameSessionsParams) SetOrder(order *string)

SetOrder adds the order to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) SetOrderBy

func (o *PublicQueryMyGameSessionsParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) SetStatus

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

SetStatus adds the status to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) SetTimeout

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

SetTimeout adds the timeout to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) WithContext

WithContext adds the context to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) WithNamespace

WithNamespace adds the namespace to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) WithOrder

WithOrder adds the order to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) WithOrderBy

WithOrderBy adds the orderBy to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) WithStatus

WithStatus adds the status to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) WithTimeout

WithTimeout adds the timeout to the public query my game sessions params

func (*PublicQueryMyGameSessionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicQueryMyGameSessionsReader

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

PublicQueryMyGameSessionsReader is a Reader for the PublicQueryMyGameSessions structure.

func (*PublicQueryMyGameSessionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicQueryMyGameSessionsUnauthorized

type PublicQueryMyGameSessionsUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicQueryMyGameSessionsUnauthorized handles this case with default header values.

Unauthorized

func NewPublicQueryMyGameSessionsUnauthorized

func NewPublicQueryMyGameSessionsUnauthorized() *PublicQueryMyGameSessionsUnauthorized

NewPublicQueryMyGameSessionsUnauthorized creates a PublicQueryMyGameSessionsUnauthorized with default headers values

func (*PublicQueryMyGameSessionsUnauthorized) Error

func (*PublicQueryMyGameSessionsUnauthorized) GetPayload

func (*PublicQueryMyGameSessionsUnauthorized) ToJSONString

type PublicRevokeGameSessionCodeBadRequest added in v0.46.0

type PublicRevokeGameSessionCodeBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicRevokeGameSessionCodeBadRequest handles this case with default header values.

Bad Request

func NewPublicRevokeGameSessionCodeBadRequest added in v0.46.0

func NewPublicRevokeGameSessionCodeBadRequest() *PublicRevokeGameSessionCodeBadRequest

NewPublicRevokeGameSessionCodeBadRequest creates a PublicRevokeGameSessionCodeBadRequest with default headers values

func (*PublicRevokeGameSessionCodeBadRequest) Error added in v0.46.0

func (*PublicRevokeGameSessionCodeBadRequest) GetPayload added in v0.46.0

func (*PublicRevokeGameSessionCodeBadRequest) ToJSONString added in v0.46.0

type PublicRevokeGameSessionCodeForbidden added in v0.46.0

type PublicRevokeGameSessionCodeForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

PublicRevokeGameSessionCodeForbidden handles this case with default header values.

Forbidden

func NewPublicRevokeGameSessionCodeForbidden added in v0.46.0

func NewPublicRevokeGameSessionCodeForbidden() *PublicRevokeGameSessionCodeForbidden

NewPublicRevokeGameSessionCodeForbidden creates a PublicRevokeGameSessionCodeForbidden with default headers values

func (*PublicRevokeGameSessionCodeForbidden) Error added in v0.46.0

func (*PublicRevokeGameSessionCodeForbidden) GetPayload added in v0.46.0

func (*PublicRevokeGameSessionCodeForbidden) ToJSONString added in v0.46.0

func (o *PublicRevokeGameSessionCodeForbidden) ToJSONString() string

type PublicRevokeGameSessionCodeInternalServerError added in v0.46.0

type PublicRevokeGameSessionCodeInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicRevokeGameSessionCodeInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicRevokeGameSessionCodeInternalServerError added in v0.46.0

func NewPublicRevokeGameSessionCodeInternalServerError() *PublicRevokeGameSessionCodeInternalServerError

NewPublicRevokeGameSessionCodeInternalServerError creates a PublicRevokeGameSessionCodeInternalServerError with default headers values

func (*PublicRevokeGameSessionCodeInternalServerError) Error added in v0.46.0

func (*PublicRevokeGameSessionCodeInternalServerError) GetPayload added in v0.46.0

func (*PublicRevokeGameSessionCodeInternalServerError) ToJSONString added in v0.46.0

type PublicRevokeGameSessionCodeNotFound added in v0.46.0

type PublicRevokeGameSessionCodeNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicRevokeGameSessionCodeNotFound handles this case with default header values.

Not Found

func NewPublicRevokeGameSessionCodeNotFound added in v0.46.0

func NewPublicRevokeGameSessionCodeNotFound() *PublicRevokeGameSessionCodeNotFound

NewPublicRevokeGameSessionCodeNotFound creates a PublicRevokeGameSessionCodeNotFound with default headers values

func (*PublicRevokeGameSessionCodeNotFound) Error added in v0.46.0

func (*PublicRevokeGameSessionCodeNotFound) GetPayload added in v0.46.0

func (*PublicRevokeGameSessionCodeNotFound) ToJSONString added in v0.46.0

func (o *PublicRevokeGameSessionCodeNotFound) ToJSONString() string

type PublicRevokeGameSessionCodeOK added in v0.46.0

type PublicRevokeGameSessionCodeOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

PublicRevokeGameSessionCodeOK handles this case with default header values.

OK

func NewPublicRevokeGameSessionCodeOK added in v0.46.0

func NewPublicRevokeGameSessionCodeOK() *PublicRevokeGameSessionCodeOK

NewPublicRevokeGameSessionCodeOK creates a PublicRevokeGameSessionCodeOK with default headers values

func (*PublicRevokeGameSessionCodeOK) Error added in v0.46.0

func (*PublicRevokeGameSessionCodeOK) GetPayload added in v0.46.0

func (*PublicRevokeGameSessionCodeOK) ToJSONString added in v0.46.0

func (o *PublicRevokeGameSessionCodeOK) ToJSONString() string

type PublicRevokeGameSessionCodeParams added in v0.46.0

type PublicRevokeGameSessionCodeParams 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
}

PublicRevokeGameSessionCodeParams contains all the parameters to send to the API endpoint for the public revoke game session code operation typically these are written to a http.Request

func NewPublicRevokeGameSessionCodeParams added in v0.46.0

func NewPublicRevokeGameSessionCodeParams() *PublicRevokeGameSessionCodeParams

NewPublicRevokeGameSessionCodeParams creates a new PublicRevokeGameSessionCodeParams object with the default values initialized.

func NewPublicRevokeGameSessionCodeParamsWithContext added in v0.46.0

func NewPublicRevokeGameSessionCodeParamsWithContext(ctx context.Context) *PublicRevokeGameSessionCodeParams

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

func NewPublicRevokeGameSessionCodeParamsWithHTTPClient added in v0.46.0

func NewPublicRevokeGameSessionCodeParamsWithHTTPClient(client *http.Client) *PublicRevokeGameSessionCodeParams

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

func NewPublicRevokeGameSessionCodeParamsWithTimeout added in v0.46.0

func NewPublicRevokeGameSessionCodeParamsWithTimeout(timeout time.Duration) *PublicRevokeGameSessionCodeParams

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

func (*PublicRevokeGameSessionCodeParams) SetAuthInfoWriter added in v0.46.0

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

SetAuthInfoWriter adds the authInfoWriter to the public revoke game session code params

func (*PublicRevokeGameSessionCodeParams) SetContext added in v0.46.0

SetContext adds the context to the public revoke game session code params

func (*PublicRevokeGameSessionCodeParams) SetHTTPClient added in v0.46.0

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

SetHTTPClient adds the HTTPClient to the public revoke game session code params

func (*PublicRevokeGameSessionCodeParams) SetHTTPClientTransport added in v0.46.0

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

SetHTTPClient adds the HTTPClient Transport to the public revoke game session code params

func (*PublicRevokeGameSessionCodeParams) SetNamespace added in v0.46.0

func (o *PublicRevokeGameSessionCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public revoke game session code params

func (*PublicRevokeGameSessionCodeParams) SetSessionID added in v0.46.0

func (o *PublicRevokeGameSessionCodeParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the public revoke game session code params

func (*PublicRevokeGameSessionCodeParams) SetTimeout added in v0.46.0

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

SetTimeout adds the timeout to the public revoke game session code params

func (*PublicRevokeGameSessionCodeParams) WithContext added in v0.46.0

WithContext adds the context to the public revoke game session code params

func (*PublicRevokeGameSessionCodeParams) WithHTTPClient added in v0.46.0

WithHTTPClient adds the HTTPClient to the public revoke game session code params

func (*PublicRevokeGameSessionCodeParams) WithNamespace added in v0.46.0

WithNamespace adds the namespace to the public revoke game session code params

func (*PublicRevokeGameSessionCodeParams) WithSessionID added in v0.46.0

WithSessionID adds the sessionID to the public revoke game session code params

func (*PublicRevokeGameSessionCodeParams) WithTimeout added in v0.46.0

WithTimeout adds the timeout to the public revoke game session code params

func (*PublicRevokeGameSessionCodeParams) WriteToRequest added in v0.46.0

WriteToRequest writes these params to a swagger request

type PublicRevokeGameSessionCodeReader added in v0.46.0

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

PublicRevokeGameSessionCodeReader is a Reader for the PublicRevokeGameSessionCode structure.

func (*PublicRevokeGameSessionCodeReader) ReadResponse added in v0.46.0

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

ReadResponse reads a server response into the received o.

type PublicRevokeGameSessionCodeUnauthorized added in v0.46.0

type PublicRevokeGameSessionCodeUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicRevokeGameSessionCodeUnauthorized handles this case with default header values.

Unauthorized

func NewPublicRevokeGameSessionCodeUnauthorized added in v0.46.0

func NewPublicRevokeGameSessionCodeUnauthorized() *PublicRevokeGameSessionCodeUnauthorized

NewPublicRevokeGameSessionCodeUnauthorized creates a PublicRevokeGameSessionCodeUnauthorized with default headers values

func (*PublicRevokeGameSessionCodeUnauthorized) Error added in v0.46.0

func (*PublicRevokeGameSessionCodeUnauthorized) GetPayload added in v0.46.0

func (*PublicRevokeGameSessionCodeUnauthorized) ToJSONString added in v0.46.0

type PublicSessionJoinCodeBadRequest added in v0.46.0

type PublicSessionJoinCodeBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicSessionJoinCodeBadRequest handles this case with default header values.

Bad Request

func NewPublicSessionJoinCodeBadRequest added in v0.46.0

func NewPublicSessionJoinCodeBadRequest() *PublicSessionJoinCodeBadRequest

NewPublicSessionJoinCodeBadRequest creates a PublicSessionJoinCodeBadRequest with default headers values

func (*PublicSessionJoinCodeBadRequest) Error added in v0.46.0

func (*PublicSessionJoinCodeBadRequest) GetPayload added in v0.46.0

func (*PublicSessionJoinCodeBadRequest) ToJSONString added in v0.46.0

func (o *PublicSessionJoinCodeBadRequest) ToJSONString() string

type PublicSessionJoinCodeForbidden added in v0.46.0

type PublicSessionJoinCodeForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

PublicSessionJoinCodeForbidden handles this case with default header values.

Forbidden

func NewPublicSessionJoinCodeForbidden added in v0.46.0

func NewPublicSessionJoinCodeForbidden() *PublicSessionJoinCodeForbidden

NewPublicSessionJoinCodeForbidden creates a PublicSessionJoinCodeForbidden with default headers values

func (*PublicSessionJoinCodeForbidden) Error added in v0.46.0

func (*PublicSessionJoinCodeForbidden) GetPayload added in v0.46.0

func (*PublicSessionJoinCodeForbidden) ToJSONString added in v0.46.0

func (o *PublicSessionJoinCodeForbidden) ToJSONString() string

type PublicSessionJoinCodeInternalServerError added in v0.46.0

type PublicSessionJoinCodeInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicSessionJoinCodeInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicSessionJoinCodeInternalServerError added in v0.46.0

func NewPublicSessionJoinCodeInternalServerError() *PublicSessionJoinCodeInternalServerError

NewPublicSessionJoinCodeInternalServerError creates a PublicSessionJoinCodeInternalServerError with default headers values

func (*PublicSessionJoinCodeInternalServerError) Error added in v0.46.0

func (*PublicSessionJoinCodeInternalServerError) GetPayload added in v0.46.0

func (*PublicSessionJoinCodeInternalServerError) ToJSONString added in v0.46.0

type PublicSessionJoinCodeNotFound added in v0.46.0

type PublicSessionJoinCodeNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicSessionJoinCodeNotFound handles this case with default header values.

Not Found

func NewPublicSessionJoinCodeNotFound added in v0.46.0

func NewPublicSessionJoinCodeNotFound() *PublicSessionJoinCodeNotFound

NewPublicSessionJoinCodeNotFound creates a PublicSessionJoinCodeNotFound with default headers values

func (*PublicSessionJoinCodeNotFound) Error added in v0.46.0

func (*PublicSessionJoinCodeNotFound) GetPayload added in v0.46.0

func (*PublicSessionJoinCodeNotFound) ToJSONString added in v0.46.0

func (o *PublicSessionJoinCodeNotFound) ToJSONString() string

type PublicSessionJoinCodeOK added in v0.46.0

type PublicSessionJoinCodeOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

PublicSessionJoinCodeOK handles this case with default header values.

OK

func NewPublicSessionJoinCodeOK added in v0.46.0

func NewPublicSessionJoinCodeOK() *PublicSessionJoinCodeOK

NewPublicSessionJoinCodeOK creates a PublicSessionJoinCodeOK with default headers values

func (*PublicSessionJoinCodeOK) Error added in v0.46.0

func (o *PublicSessionJoinCodeOK) Error() string

func (*PublicSessionJoinCodeOK) GetPayload added in v0.46.0

func (*PublicSessionJoinCodeOK) ToJSONString added in v0.46.0

func (o *PublicSessionJoinCodeOK) ToJSONString() string

type PublicSessionJoinCodeParams added in v0.46.0

type PublicSessionJoinCodeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.ApimodelsJoinByCodeRequest
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

func NewPublicSessionJoinCodeParams added in v0.46.0

func NewPublicSessionJoinCodeParams() *PublicSessionJoinCodeParams

NewPublicSessionJoinCodeParams creates a new PublicSessionJoinCodeParams object with the default values initialized.

func NewPublicSessionJoinCodeParamsWithContext added in v0.46.0

func NewPublicSessionJoinCodeParamsWithContext(ctx context.Context) *PublicSessionJoinCodeParams

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

func NewPublicSessionJoinCodeParamsWithHTTPClient added in v0.46.0

func NewPublicSessionJoinCodeParamsWithHTTPClient(client *http.Client) *PublicSessionJoinCodeParams

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

func NewPublicSessionJoinCodeParamsWithTimeout added in v0.46.0

func NewPublicSessionJoinCodeParamsWithTimeout(timeout time.Duration) *PublicSessionJoinCodeParams

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

func (*PublicSessionJoinCodeParams) SetAuthInfoWriter added in v0.46.0

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

SetAuthInfoWriter adds the authInfoWriter to the public session join code params

func (*PublicSessionJoinCodeParams) SetBody added in v0.46.0

SetBody adds the body to the public session join code params

func (*PublicSessionJoinCodeParams) SetContext added in v0.46.0

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

SetContext adds the context to the public session join code params

func (*PublicSessionJoinCodeParams) SetHTTPClient added in v0.46.0

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

SetHTTPClient adds the HTTPClient to the public session join code params

func (*PublicSessionJoinCodeParams) SetHTTPClientTransport added in v0.46.0

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

SetHTTPClient adds the HTTPClient Transport to the public session join code params

func (*PublicSessionJoinCodeParams) SetNamespace added in v0.46.0

func (o *PublicSessionJoinCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public session join code params

func (*PublicSessionJoinCodeParams) SetTimeout added in v0.46.0

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

SetTimeout adds the timeout to the public session join code params

func (*PublicSessionJoinCodeParams) WithBody added in v0.46.0

WithBody adds the body to the public session join code params

func (*PublicSessionJoinCodeParams) WithContext added in v0.46.0

WithContext adds the context to the public session join code params

func (*PublicSessionJoinCodeParams) WithHTTPClient added in v0.46.0

WithHTTPClient adds the HTTPClient to the public session join code params

func (*PublicSessionJoinCodeParams) WithNamespace added in v0.46.0

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

WithNamespace adds the namespace to the public session join code params

func (*PublicSessionJoinCodeParams) WithTimeout added in v0.46.0

WithTimeout adds the timeout to the public session join code params

func (*PublicSessionJoinCodeParams) WriteToRequest added in v0.46.0

WriteToRequest writes these params to a swagger request

type PublicSessionJoinCodeReader added in v0.46.0

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

PublicSessionJoinCodeReader is a Reader for the PublicSessionJoinCode structure.

func (*PublicSessionJoinCodeReader) ReadResponse added in v0.46.0

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

ReadResponse reads a server response into the received o.

type PublicSessionJoinCodeUnauthorized added in v0.46.0

type PublicSessionJoinCodeUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicSessionJoinCodeUnauthorized handles this case with default header values.

Unauthorized

func NewPublicSessionJoinCodeUnauthorized added in v0.46.0

func NewPublicSessionJoinCodeUnauthorized() *PublicSessionJoinCodeUnauthorized

NewPublicSessionJoinCodeUnauthorized creates a PublicSessionJoinCodeUnauthorized with default headers values

func (*PublicSessionJoinCodeUnauthorized) Error added in v0.46.0

func (*PublicSessionJoinCodeUnauthorized) GetPayload added in v0.46.0

func (*PublicSessionJoinCodeUnauthorized) ToJSONString added in v0.46.0

func (o *PublicSessionJoinCodeUnauthorized) ToJSONString() string

type UpdateGameSessionBackfillTicketIDForbidden added in v0.40.0

type UpdateGameSessionBackfillTicketIDForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionBackfillTicketIDForbidden handles this case with default header values.

Forbidden

func NewUpdateGameSessionBackfillTicketIDForbidden added in v0.40.0

func NewUpdateGameSessionBackfillTicketIDForbidden() *UpdateGameSessionBackfillTicketIDForbidden

NewUpdateGameSessionBackfillTicketIDForbidden creates a UpdateGameSessionBackfillTicketIDForbidden with default headers values

func (*UpdateGameSessionBackfillTicketIDForbidden) Error added in v0.40.0

func (*UpdateGameSessionBackfillTicketIDForbidden) GetPayload added in v0.40.0

func (*UpdateGameSessionBackfillTicketIDForbidden) ToJSONString added in v0.40.0

type UpdateGameSessionBackfillTicketIDInternalServerError added in v0.40.0

type UpdateGameSessionBackfillTicketIDInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionBackfillTicketIDInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateGameSessionBackfillTicketIDInternalServerError added in v0.40.0

func NewUpdateGameSessionBackfillTicketIDInternalServerError() *UpdateGameSessionBackfillTicketIDInternalServerError

NewUpdateGameSessionBackfillTicketIDInternalServerError creates a UpdateGameSessionBackfillTicketIDInternalServerError with default headers values

func (*UpdateGameSessionBackfillTicketIDInternalServerError) Error added in v0.40.0

func (*UpdateGameSessionBackfillTicketIDInternalServerError) GetPayload added in v0.40.0

func (*UpdateGameSessionBackfillTicketIDInternalServerError) ToJSONString added in v0.40.0

type UpdateGameSessionBackfillTicketIDNotFound added in v0.40.0

type UpdateGameSessionBackfillTicketIDNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionBackfillTicketIDNotFound handles this case with default header values.

Not Found

func NewUpdateGameSessionBackfillTicketIDNotFound added in v0.40.0

func NewUpdateGameSessionBackfillTicketIDNotFound() *UpdateGameSessionBackfillTicketIDNotFound

NewUpdateGameSessionBackfillTicketIDNotFound creates a UpdateGameSessionBackfillTicketIDNotFound with default headers values

func (*UpdateGameSessionBackfillTicketIDNotFound) Error added in v0.40.0

func (*UpdateGameSessionBackfillTicketIDNotFound) GetPayload added in v0.40.0

func (*UpdateGameSessionBackfillTicketIDNotFound) ToJSONString added in v0.40.0

type UpdateGameSessionBackfillTicketIDOK added in v0.40.0

type UpdateGameSessionBackfillTicketIDOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

UpdateGameSessionBackfillTicketIDOK handles this case with default header values.

OK

func NewUpdateGameSessionBackfillTicketIDOK added in v0.40.0

func NewUpdateGameSessionBackfillTicketIDOK() *UpdateGameSessionBackfillTicketIDOK

NewUpdateGameSessionBackfillTicketIDOK creates a UpdateGameSessionBackfillTicketIDOK with default headers values

func (*UpdateGameSessionBackfillTicketIDOK) Error added in v0.40.0

func (*UpdateGameSessionBackfillTicketIDOK) GetPayload added in v0.40.0

func (*UpdateGameSessionBackfillTicketIDOK) ToJSONString added in v0.40.0

func (o *UpdateGameSessionBackfillTicketIDOK) ToJSONString() string

type UpdateGameSessionBackfillTicketIDParams added in v0.40.0

type UpdateGameSessionBackfillTicketIDParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.ApimodelsUpdateGameSessionBackfillRequest
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

UpdateGameSessionBackfillTicketIDParams contains all the parameters to send to the API endpoint for the update game session backfill ticket id operation typically these are written to a http.Request

func NewUpdateGameSessionBackfillTicketIDParams added in v0.40.0

func NewUpdateGameSessionBackfillTicketIDParams() *UpdateGameSessionBackfillTicketIDParams

NewUpdateGameSessionBackfillTicketIDParams creates a new UpdateGameSessionBackfillTicketIDParams object with the default values initialized.

func NewUpdateGameSessionBackfillTicketIDParamsWithContext added in v0.40.0

func NewUpdateGameSessionBackfillTicketIDParamsWithContext(ctx context.Context) *UpdateGameSessionBackfillTicketIDParams

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

func NewUpdateGameSessionBackfillTicketIDParamsWithHTTPClient added in v0.40.0

func NewUpdateGameSessionBackfillTicketIDParamsWithHTTPClient(client *http.Client) *UpdateGameSessionBackfillTicketIDParams

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

func NewUpdateGameSessionBackfillTicketIDParamsWithTimeout added in v0.40.0

func NewUpdateGameSessionBackfillTicketIDParamsWithTimeout(timeout time.Duration) *UpdateGameSessionBackfillTicketIDParams

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

func (*UpdateGameSessionBackfillTicketIDParams) SetAuthInfoWriter added in v0.40.0

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

SetAuthInfoWriter adds the authInfoWriter to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) SetBody added in v0.40.0

SetBody adds the body to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) SetContext added in v0.40.0

SetContext adds the context to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) SetHTTPClient added in v0.40.0

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

SetHTTPClient adds the HTTPClient to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) SetHTTPClientTransport added in v0.40.0

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

SetHTTPClient adds the HTTPClient Transport to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) SetNamespace added in v0.40.0

func (o *UpdateGameSessionBackfillTicketIDParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) SetSessionID added in v0.40.0

func (o *UpdateGameSessionBackfillTicketIDParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) SetTimeout added in v0.40.0

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

SetTimeout adds the timeout to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) WithBody added in v0.40.0

WithBody adds the body to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) WithContext added in v0.40.0

WithContext adds the context to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) WithHTTPClient added in v0.40.0

WithHTTPClient adds the HTTPClient to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) WithNamespace added in v0.40.0

WithNamespace adds the namespace to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) WithSessionID added in v0.40.0

WithSessionID adds the sessionID to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) WithTimeout added in v0.40.0

WithTimeout adds the timeout to the update game session backfill ticket id params

func (*UpdateGameSessionBackfillTicketIDParams) WriteToRequest added in v0.40.0

WriteToRequest writes these params to a swagger request

type UpdateGameSessionBackfillTicketIDReader added in v0.40.0

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

UpdateGameSessionBackfillTicketIDReader is a Reader for the UpdateGameSessionBackfillTicketID structure.

func (*UpdateGameSessionBackfillTicketIDReader) ReadResponse added in v0.40.0

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

ReadResponse reads a server response into the received o.

type UpdateGameSessionBackfillTicketIDUnauthorized added in v0.40.0

type UpdateGameSessionBackfillTicketIDUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionBackfillTicketIDUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateGameSessionBackfillTicketIDUnauthorized added in v0.40.0

func NewUpdateGameSessionBackfillTicketIDUnauthorized() *UpdateGameSessionBackfillTicketIDUnauthorized

NewUpdateGameSessionBackfillTicketIDUnauthorized creates a UpdateGameSessionBackfillTicketIDUnauthorized with default headers values

func (*UpdateGameSessionBackfillTicketIDUnauthorized) Error added in v0.40.0

func (*UpdateGameSessionBackfillTicketIDUnauthorized) GetPayload added in v0.40.0

func (*UpdateGameSessionBackfillTicketIDUnauthorized) ToJSONString added in v0.40.0

type UpdateGameSessionBadRequest

type UpdateGameSessionBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionBadRequest handles this case with default header values.

Bad Request

func NewUpdateGameSessionBadRequest

func NewUpdateGameSessionBadRequest() *UpdateGameSessionBadRequest

NewUpdateGameSessionBadRequest creates a UpdateGameSessionBadRequest with default headers values

func (*UpdateGameSessionBadRequest) Error

func (*UpdateGameSessionBadRequest) GetPayload

func (*UpdateGameSessionBadRequest) ToJSONString

func (o *UpdateGameSessionBadRequest) ToJSONString() string

type UpdateGameSessionForbidden

type UpdateGameSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionForbidden handles this case with default header values.

Forbidden

func NewUpdateGameSessionForbidden

func NewUpdateGameSessionForbidden() *UpdateGameSessionForbidden

NewUpdateGameSessionForbidden creates a UpdateGameSessionForbidden with default headers values

func (*UpdateGameSessionForbidden) Error

func (*UpdateGameSessionForbidden) GetPayload

func (*UpdateGameSessionForbidden) ToJSONString

func (o *UpdateGameSessionForbidden) ToJSONString() string

type UpdateGameSessionInternalServerError

type UpdateGameSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateGameSessionInternalServerError

func NewUpdateGameSessionInternalServerError() *UpdateGameSessionInternalServerError

NewUpdateGameSessionInternalServerError creates a UpdateGameSessionInternalServerError with default headers values

func (*UpdateGameSessionInternalServerError) Error

func (*UpdateGameSessionInternalServerError) GetPayload

func (*UpdateGameSessionInternalServerError) ToJSONString

func (o *UpdateGameSessionInternalServerError) ToJSONString() string

type UpdateGameSessionNotFound

type UpdateGameSessionNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionNotFound handles this case with default header values.

Not Found

func NewUpdateGameSessionNotFound

func NewUpdateGameSessionNotFound() *UpdateGameSessionNotFound

NewUpdateGameSessionNotFound creates a UpdateGameSessionNotFound with default headers values

func (*UpdateGameSessionNotFound) Error

func (o *UpdateGameSessionNotFound) Error() string

func (*UpdateGameSessionNotFound) GetPayload

func (*UpdateGameSessionNotFound) ToJSONString

func (o *UpdateGameSessionNotFound) ToJSONString() string

type UpdateGameSessionOK

type UpdateGameSessionOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

UpdateGameSessionOK handles this case with default header values.

OK

func NewUpdateGameSessionOK

func NewUpdateGameSessionOK() *UpdateGameSessionOK

NewUpdateGameSessionOK creates a UpdateGameSessionOK with default headers values

func (*UpdateGameSessionOK) Error

func (o *UpdateGameSessionOK) Error() string

func (*UpdateGameSessionOK) GetPayload

func (*UpdateGameSessionOK) ToJSONString

func (o *UpdateGameSessionOK) ToJSONString() string

type UpdateGameSessionParams

type UpdateGameSessionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.ApimodelsUpdateGameSessionRequest
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

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

func NewUpdateGameSessionParams

func NewUpdateGameSessionParams() *UpdateGameSessionParams

NewUpdateGameSessionParams creates a new UpdateGameSessionParams object with the default values initialized.

func NewUpdateGameSessionParamsWithContext

func NewUpdateGameSessionParamsWithContext(ctx context.Context) *UpdateGameSessionParams

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

func NewUpdateGameSessionParamsWithHTTPClient

func NewUpdateGameSessionParamsWithHTTPClient(client *http.Client) *UpdateGameSessionParams

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

func NewUpdateGameSessionParamsWithTimeout

func NewUpdateGameSessionParamsWithTimeout(timeout time.Duration) *UpdateGameSessionParams

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

func (*UpdateGameSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update game session params

func (*UpdateGameSessionParams) SetBody

SetBody adds the body to the update game session params

func (*UpdateGameSessionParams) SetContext

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

SetContext adds the context to the update game session params

func (*UpdateGameSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update game session params

func (*UpdateGameSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update game session params

func (*UpdateGameSessionParams) SetNamespace

func (o *UpdateGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update game session params

func (*UpdateGameSessionParams) SetSessionID

func (o *UpdateGameSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the update game session params

func (*UpdateGameSessionParams) SetTimeout

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

SetTimeout adds the timeout to the update game session params

func (*UpdateGameSessionParams) WithBody

WithBody adds the body to the update game session params

func (*UpdateGameSessionParams) WithContext

WithContext adds the context to the update game session params

func (*UpdateGameSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update game session params

func (*UpdateGameSessionParams) WithNamespace

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

WithNamespace adds the namespace to the update game session params

func (*UpdateGameSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the update game session params

func (*UpdateGameSessionParams) WithTimeout

WithTimeout adds the timeout to the update game session params

func (*UpdateGameSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateGameSessionReader

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

UpdateGameSessionReader is a Reader for the UpdateGameSession structure.

func (*UpdateGameSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateGameSessionUnauthorized

type UpdateGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateGameSessionUnauthorized

func NewUpdateGameSessionUnauthorized() *UpdateGameSessionUnauthorized

NewUpdateGameSessionUnauthorized creates a UpdateGameSessionUnauthorized with default headers values

func (*UpdateGameSessionUnauthorized) Error

func (*UpdateGameSessionUnauthorized) GetPayload

func (*UpdateGameSessionUnauthorized) ToJSONString

func (o *UpdateGameSessionUnauthorized) ToJSONString() string

Source Files

Jump to

Keyboard shortcuts

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