game_session

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 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 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
	/*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
	/*Namespace
	  namespace of the game

	*/
	Namespace 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
	  Append new member or team to session

	*/
	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) AdminQueryGameSessions deprecated

Deprecated: Use AdminQueryGameSessionsShort instead.

AdminQueryGameSessions gets 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 gets all game sessions

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

func (*Client) AdminUpdateGameSessionMember deprecated

Deprecated: Use AdminUpdateGameSessionMemberShort instead.

AdminUpdateGameSessionMember updates status of a game session member requires a d m i n n a m e s p a c e namespace s e s s i o n g a m e u p d a t e

Update a game session member status.

func (*Client) AdminUpdateGameSessionMemberShort

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

AdminUpdateGameSessionMemberShort updates status of a game session member requires a d m i n n a m e s p a c e namespace s e s s i o n g a m e u p d a t e

Update a game session member status.

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

Deprecated: Use AppendTeamGameSessionShort instead.

AppendTeamGameSession appends new member or team to session requires n a m e s p a c e namespace s e s s i o n g a m e u p d a t e

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 appends new member or team to session requires n a m e s p a c e namespace s e s s i o n g a m e u p d a t e

Append new member or team to session

func (*Client) CreateGameSession deprecated

Deprecated: Use CreateGameSessionShort instead.

CreateGameSession creates a game session requires n a m e s p a c e namespace s e s s i o n g a m e c r e a t e

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
 - minPlayers
 - maxPlayers
 - inviteTimeout
 - inactiveTimeout

    When the session type is a DS, a DS creation request will be sent to DSMC 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.

func (*Client) CreateGameSessionShort

func (a *Client) CreateGameSessionShort(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, error)
CreateGameSessionShort creates a game session requires n a m e s p a c e namespace s e s s i o n g a m e c r e a t e

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
 - minPlayers
 - maxPlayers
 - inviteTimeout
 - inactiveTimeout

    When the session type is a DS, a DS creation request will be sent to DSMC 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.

func (*Client) DeleteGameSession deprecated

Deprecated: Use DeleteGameSessionShort instead.

DeleteGameSession deletes a game session requires n a m e s p a c e namespace s e s s i o n g a m e d e l e t e

Delete a game session.

func (*Client) DeleteGameSessionShort

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

DeleteGameSessionShort deletes a game session requires n a m e s p a c e namespace s e s s i o n g a m e d e l e t e

Delete a game session.

func (*Client) GetGameSession deprecated

Deprecated: Use GetGameSessionShort instead.

GetGameSession gets game session detail requires n a m e s p a c e namespace s e s s i o n g a m e r e a d

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

GetGameSessionByPodName gets game session detail requires n a m e s p a c e namespace s e s s i o n g a m e r e a d

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 gets game session detail requires n a m e s p a c e namespace s e s s i o n g a m e r e a d

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 gets game session detail requires n a m e s p a c e namespace s e s s i o n g a m e r e a d

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

JoinGameSession joins a game session requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r c r e a t e

Join a game session.

func (*Client) JoinGameSessionShort

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

JoinGameSessionShort joins a game session requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r c r e a t e

Join a game session.

func (*Client) LeaveGameSession deprecated

Deprecated: Use LeaveGameSessionShort instead.

LeaveGameSession leaves a game session requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r d e l e t e

Leave a game session.

func (*Client) LeaveGameSessionShort

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

LeaveGameSessionShort leaves a game session requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r d e l e t e

Leave a game session.

func (*Client) PatchUpdateGameSession deprecated

Deprecated: Use PatchUpdateGameSessionShort instead.

PatchUpdateGameSession patches update a game session requires n a m e s p a c e namespace s e s s i o n g a m e u p d a t e

Update specified fields from game session data.

func (*Client) PatchUpdateGameSessionShort

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

PatchUpdateGameSessionShort patches update a game session requires n a m e s p a c e namespace s e s s i o n g a m e u p d a t e

Update specified fields from game session data.

func (*Client) PublicGameSessionInvite deprecated

Deprecated: Use PublicGameSessionInviteShort instead.

PublicGameSessionInvite invites a user to a game session requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r c r e a t e

Invite a user to a game session.

func (*Client) PublicGameSessionInviteShort

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

PublicGameSessionInviteShort invites a user to a game session requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r c r e a t e

Invite a user to a game session.

func (*Client) PublicGameSessionReject deprecated

Deprecated: Use PublicGameSessionRejectShort instead.

PublicGameSessionReject rejects a game session invitation requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r d e l e t e

Reject a game session invitation.

func (*Client) PublicGameSessionRejectShort

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

PublicGameSessionRejectShort rejects a game session invitation requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r d e l e t e

Reject a game session invitation.

func (*Client) PublicQueryGameSessions deprecated

Deprecated: Use PublicQueryGameSessionsShort instead.

PublicQueryGameSessions queries 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.

func (*Client) PublicQueryGameSessionsShort

func (a *Client) PublicQueryGameSessionsShort(params *PublicQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsOK, error)
PublicQueryGameSessionsShort queries 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.

func (*Client) PublicQueryMyGameSessions deprecated

Deprecated: Use PublicQueryMyGameSessionsShort instead.

PublicQueryMyGameSessions queries 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 queries 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) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateGameSession deprecated

Deprecated: Use UpdateGameSessionShort instead.

UpdateGameSession updates a game session requires n a m e s p a c e namespace s e s s i o n g a m e u p d a t e

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

UpdateGameSessionBackfillTicketID updates game session backfill ticket id requires n a m e s p a c e namespace s e s s i o n g a m e u p d a t e

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 updates game session backfill ticket id requires n a m e s p a c e namespace s e s s i o n g a m e u p d a t e

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 updates a game session requires n a m e s p a c e namespace s e s s i o n g a m e u p d a t e

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)
	AdminUpdateGameSessionMember(params *AdminUpdateGameSessionMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGameSessionMemberOK, *AdminUpdateGameSessionMemberBadRequest, *AdminUpdateGameSessionMemberUnauthorized, *AdminUpdateGameSessionMemberForbidden, *AdminUpdateGameSessionMemberNotFound, *AdminUpdateGameSessionMemberInternalServerError, error)
	AdminUpdateGameSessionMemberShort(params *AdminUpdateGameSessionMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGameSessionMemberOK, error)
	AppendTeamGameSession(params *AppendTeamGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AppendTeamGameSessionOK, *AppendTeamGameSessionUnauthorized, *AppendTeamGameSessionForbidden, *AppendTeamGameSessionNotFound, *AppendTeamGameSessionInternalServerError, error)
	AppendTeamGameSessionShort(params *AppendTeamGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AppendTeamGameSessionOK, error)
	CreateGameSession(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, *CreateGameSessionBadRequest, *CreateGameSessionUnauthorized, *CreateGameSessionForbidden, *CreateGameSessionInternalServerError, error)
	CreateGameSessionShort(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, error)
	DeleteGameSession(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, *DeleteGameSessionUnauthorized, *DeleteGameSessionForbidden, *DeleteGameSessionInternalServerError, error)
	DeleteGameSessionShort(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, error)
	GetGameSession(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, *GetGameSessionBadRequest, *GetGameSessionUnauthorized, *GetGameSessionForbidden, *GetGameSessionNotFound, *GetGameSessionInternalServerError, error)
	GetGameSessionShort(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, error)
	GetGameSessionByPodName(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, *GetGameSessionByPodNameBadRequest, *GetGameSessionByPodNameUnauthorized, *GetGameSessionByPodNameForbidden, *GetGameSessionByPodNameNotFound, *GetGameSessionByPodNameInternalServerError, error)
	GetGameSessionByPodNameShort(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, error)
	JoinGameSession(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, *JoinGameSessionBadRequest, *JoinGameSessionUnauthorized, *JoinGameSessionForbidden, *JoinGameSessionNotFound, *JoinGameSessionInternalServerError, error)
	JoinGameSessionShort(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, error)
	LeaveGameSession(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, *LeaveGameSessionBadRequest, *LeaveGameSessionUnauthorized, *LeaveGameSessionForbidden, *LeaveGameSessionNotFound, *LeaveGameSessionInternalServerError, error)
	LeaveGameSessionShort(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, error)
	PatchUpdateGameSession(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, *PatchUpdateGameSessionBadRequest, *PatchUpdateGameSessionUnauthorized, *PatchUpdateGameSessionForbidden, *PatchUpdateGameSessionNotFound, *PatchUpdateGameSessionInternalServerError, error)
	PatchUpdateGameSessionShort(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, error)
	PublicGameSessionInvite(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, *PublicGameSessionInviteNoContent, *PublicGameSessionInviteBadRequest, *PublicGameSessionInviteUnauthorized, *PublicGameSessionInviteNotFound, *PublicGameSessionInviteInternalServerError, error)
	PublicGameSessionInviteShort(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, error)
	PublicGameSessionReject(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, *PublicGameSessionRejectBadRequest, *PublicGameSessionRejectUnauthorized, *PublicGameSessionRejectForbidden, *PublicGameSessionRejectNotFound, *PublicGameSessionRejectInternalServerError, error)
	PublicGameSessionRejectShort(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, error)
	PublicQueryGameSessions(params *PublicQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsOK, *PublicQueryGameSessionsBadRequest, *PublicQueryGameSessionsUnauthorized, *PublicQueryGameSessionsForbidden, *PublicQueryGameSessionsInternalServerError, error)
	PublicQueryGameSessionsShort(params *PublicQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsOK, error)
	PublicQueryMyGameSessions(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, *PublicQueryMyGameSessionsBadRequest, *PublicQueryMyGameSessionsUnauthorized, *PublicQueryMyGameSessionsInternalServerError, error)
	PublicQueryMyGameSessionsShort(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, error)
	UpdateGameSession(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, *UpdateGameSessionBadRequest, *UpdateGameSessionUnauthorized, *UpdateGameSessionForbidden, *UpdateGameSessionNotFound, *UpdateGameSessionInternalServerError, error)
	UpdateGameSessionShort(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, error)
	UpdateGameSessionBackfillTicketID(params *UpdateGameSessionBackfillTicketIDParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionBackfillTicketIDOK, *UpdateGameSessionBackfillTicketIDUnauthorized, *UpdateGameSessionBackfillTicketIDForbidden, *UpdateGameSessionBackfillTicketIDNotFound, *UpdateGameSessionBackfillTicketIDInternalServerError, error)
	UpdateGameSessionBackfillTicketIDShort(params *UpdateGameSessionBackfillTicketIDParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionBackfillTicketIDOK, 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
	  Create game session request

	*/
	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 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
	  Update game session request

	*/
	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
	  Session invite request

	*/
	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 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
	  a list of attributes to filter from available sessions

	*/
	Body 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 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 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 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
	  Update game session backfill ticket id request

	*/
	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
	  Update game session request

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

Jump to

Keyboard shortcuts

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