game_session

package
v0.1.0-alpha.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminDeleteBulkGameSessionsBadRequest

type AdminDeleteBulkGameSessionsBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminDeleteBulkGameSessionsBadRequest handles this case with default header values.

Bad Request

func NewAdminDeleteBulkGameSessionsBadRequest

func NewAdminDeleteBulkGameSessionsBadRequest() *AdminDeleteBulkGameSessionsBadRequest

NewAdminDeleteBulkGameSessionsBadRequest creates a AdminDeleteBulkGameSessionsBadRequest with default headers values

func (*AdminDeleteBulkGameSessionsBadRequest) Error

func (*AdminDeleteBulkGameSessionsBadRequest) GetPayload

func (*AdminDeleteBulkGameSessionsBadRequest) ToJSONString

type AdminDeleteBulkGameSessionsForbidden

type AdminDeleteBulkGameSessionsForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

AdminDeleteBulkGameSessionsForbidden handles this case with default header values.

Forbidden

func NewAdminDeleteBulkGameSessionsForbidden

func NewAdminDeleteBulkGameSessionsForbidden() *AdminDeleteBulkGameSessionsForbidden

NewAdminDeleteBulkGameSessionsForbidden creates a AdminDeleteBulkGameSessionsForbidden with default headers values

func (*AdminDeleteBulkGameSessionsForbidden) Error

func (*AdminDeleteBulkGameSessionsForbidden) GetPayload

func (*AdminDeleteBulkGameSessionsForbidden) ToJSONString

func (o *AdminDeleteBulkGameSessionsForbidden) ToJSONString() string

type AdminDeleteBulkGameSessionsInternalServerError

type AdminDeleteBulkGameSessionsInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminDeleteBulkGameSessionsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminDeleteBulkGameSessionsInternalServerError

func NewAdminDeleteBulkGameSessionsInternalServerError() *AdminDeleteBulkGameSessionsInternalServerError

NewAdminDeleteBulkGameSessionsInternalServerError creates a AdminDeleteBulkGameSessionsInternalServerError with default headers values

func (*AdminDeleteBulkGameSessionsInternalServerError) Error

func (*AdminDeleteBulkGameSessionsInternalServerError) GetPayload

func (*AdminDeleteBulkGameSessionsInternalServerError) ToJSONString

type AdminDeleteBulkGameSessionsOK

type AdminDeleteBulkGameSessionsOK struct {
	Payload *sessionclientmodels.ApimodelsDeleteBulkGameSessionsAPIResponse
}

AdminDeleteBulkGameSessionsOK handles this case with default header values.

OK

func NewAdminDeleteBulkGameSessionsOK

func NewAdminDeleteBulkGameSessionsOK() *AdminDeleteBulkGameSessionsOK

NewAdminDeleteBulkGameSessionsOK creates a AdminDeleteBulkGameSessionsOK with default headers values

func (*AdminDeleteBulkGameSessionsOK) Error

func (*AdminDeleteBulkGameSessionsOK) GetPayload

func (*AdminDeleteBulkGameSessionsOK) ToJSONString

func (o *AdminDeleteBulkGameSessionsOK) ToJSONString() string

type AdminDeleteBulkGameSessionsParams

type AdminDeleteBulkGameSessionsParams struct {

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

	*/
	Namespace string

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

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

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

func NewAdminDeleteBulkGameSessionsParams

func NewAdminDeleteBulkGameSessionsParams() *AdminDeleteBulkGameSessionsParams

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

func NewAdminDeleteBulkGameSessionsParamsWithContext

func NewAdminDeleteBulkGameSessionsParamsWithContext(ctx context.Context) *AdminDeleteBulkGameSessionsParams

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

func NewAdminDeleteBulkGameSessionsParamsWithHTTPClient

func NewAdminDeleteBulkGameSessionsParamsWithHTTPClient(client *http.Client) *AdminDeleteBulkGameSessionsParams

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

func NewAdminDeleteBulkGameSessionsParamsWithTimeout

func NewAdminDeleteBulkGameSessionsParamsWithTimeout(timeout time.Duration) *AdminDeleteBulkGameSessionsParams

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

func (*AdminDeleteBulkGameSessionsParams) SetAuthInfoWriter

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

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

func (*AdminDeleteBulkGameSessionsParams) SetBody

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

func (*AdminDeleteBulkGameSessionsParams) SetContext

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

func (*AdminDeleteBulkGameSessionsParams) SetFlightId

func (o *AdminDeleteBulkGameSessionsParams) SetFlightId(flightId string)

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

func (*AdminDeleteBulkGameSessionsParams) SetHTTPClient

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

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

func (*AdminDeleteBulkGameSessionsParams) SetHTTPClientTransport

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

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

func (*AdminDeleteBulkGameSessionsParams) SetNamespace

func (o *AdminDeleteBulkGameSessionsParams) SetNamespace(namespace string)

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

func (*AdminDeleteBulkGameSessionsParams) SetTimeout

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

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

func (*AdminDeleteBulkGameSessionsParams) WithBody

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

func (*AdminDeleteBulkGameSessionsParams) WithContext

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

func (*AdminDeleteBulkGameSessionsParams) WithHTTPClient

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

func (*AdminDeleteBulkGameSessionsParams) WithNamespace

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

func (*AdminDeleteBulkGameSessionsParams) WithTimeout

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

func (*AdminDeleteBulkGameSessionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteBulkGameSessionsReader

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

AdminDeleteBulkGameSessionsReader is a Reader for the AdminDeleteBulkGameSessions structure.

func (*AdminDeleteBulkGameSessionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteBulkGameSessionsUnauthorized

type AdminDeleteBulkGameSessionsUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminDeleteBulkGameSessionsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminDeleteBulkGameSessionsUnauthorized

func NewAdminDeleteBulkGameSessionsUnauthorized() *AdminDeleteBulkGameSessionsUnauthorized

NewAdminDeleteBulkGameSessionsUnauthorized creates a AdminDeleteBulkGameSessionsUnauthorized with default headers values

func (*AdminDeleteBulkGameSessionsUnauthorized) Error

func (*AdminDeleteBulkGameSessionsUnauthorized) GetPayload

func (*AdminDeleteBulkGameSessionsUnauthorized) ToJSONString

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 AdminQueryGameSessionsByAttributesBadRequest

type AdminQueryGameSessionsByAttributesBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryGameSessionsByAttributesBadRequest handles this case with default header values.

Bad Request

func NewAdminQueryGameSessionsByAttributesBadRequest

func NewAdminQueryGameSessionsByAttributesBadRequest() *AdminQueryGameSessionsByAttributesBadRequest

NewAdminQueryGameSessionsByAttributesBadRequest creates a AdminQueryGameSessionsByAttributesBadRequest with default headers values

func (*AdminQueryGameSessionsByAttributesBadRequest) Error

func (*AdminQueryGameSessionsByAttributesBadRequest) GetPayload

func (*AdminQueryGameSessionsByAttributesBadRequest) ToJSONString

type AdminQueryGameSessionsByAttributesForbidden

type AdminQueryGameSessionsByAttributesForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryGameSessionsByAttributesForbidden handles this case with default header values.

Forbidden

func NewAdminQueryGameSessionsByAttributesForbidden

func NewAdminQueryGameSessionsByAttributesForbidden() *AdminQueryGameSessionsByAttributesForbidden

NewAdminQueryGameSessionsByAttributesForbidden creates a AdminQueryGameSessionsByAttributesForbidden with default headers values

func (*AdminQueryGameSessionsByAttributesForbidden) Error

func (*AdminQueryGameSessionsByAttributesForbidden) GetPayload

func (*AdminQueryGameSessionsByAttributesForbidden) ToJSONString

type AdminQueryGameSessionsByAttributesInternalServerError

type AdminQueryGameSessionsByAttributesInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryGameSessionsByAttributesInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminQueryGameSessionsByAttributesInternalServerError

func NewAdminQueryGameSessionsByAttributesInternalServerError() *AdminQueryGameSessionsByAttributesInternalServerError

NewAdminQueryGameSessionsByAttributesInternalServerError creates a AdminQueryGameSessionsByAttributesInternalServerError with default headers values

func (*AdminQueryGameSessionsByAttributesInternalServerError) Error

func (*AdminQueryGameSessionsByAttributesInternalServerError) GetPayload

func (*AdminQueryGameSessionsByAttributesInternalServerError) ToJSONString

type AdminQueryGameSessionsByAttributesOK

type AdminQueryGameSessionsByAttributesOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionQueryResponse
}

AdminQueryGameSessionsByAttributesOK handles this case with default header values.

OK

func NewAdminQueryGameSessionsByAttributesOK

func NewAdminQueryGameSessionsByAttributesOK() *AdminQueryGameSessionsByAttributesOK

NewAdminQueryGameSessionsByAttributesOK creates a AdminQueryGameSessionsByAttributesOK with default headers values

func (*AdminQueryGameSessionsByAttributesOK) Error

func (*AdminQueryGameSessionsByAttributesOK) GetPayload

func (*AdminQueryGameSessionsByAttributesOK) ToJSONString

func (o *AdminQueryGameSessionsByAttributesOK) ToJSONString() string

type AdminQueryGameSessionsByAttributesParams

type AdminQueryGameSessionsByAttributesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body map[string]interface{}
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

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

func NewAdminQueryGameSessionsByAttributesParams

func NewAdminQueryGameSessionsByAttributesParams() *AdminQueryGameSessionsByAttributesParams

NewAdminQueryGameSessionsByAttributesParams creates a new AdminQueryGameSessionsByAttributesParams object with the default values initialized.

func NewAdminQueryGameSessionsByAttributesParamsWithContext

func NewAdminQueryGameSessionsByAttributesParamsWithContext(ctx context.Context) *AdminQueryGameSessionsByAttributesParams

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

func NewAdminQueryGameSessionsByAttributesParamsWithHTTPClient

func NewAdminQueryGameSessionsByAttributesParamsWithHTTPClient(client *http.Client) *AdminQueryGameSessionsByAttributesParams

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

func NewAdminQueryGameSessionsByAttributesParamsWithTimeout

func NewAdminQueryGameSessionsByAttributesParamsWithTimeout(timeout time.Duration) *AdminQueryGameSessionsByAttributesParams

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

func (*AdminQueryGameSessionsByAttributesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin query game sessions by attributes params

func (*AdminQueryGameSessionsByAttributesParams) SetBody

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

SetBody adds the body to the admin query game sessions by attributes params

func (*AdminQueryGameSessionsByAttributesParams) SetContext

SetContext adds the context to the admin query game sessions by attributes params

func (*AdminQueryGameSessionsByAttributesParams) SetFlightId

func (o *AdminQueryGameSessionsByAttributesParams) SetFlightId(flightId string)

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

func (*AdminQueryGameSessionsByAttributesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin query game sessions by attributes params

func (*AdminQueryGameSessionsByAttributesParams) SetHTTPClientTransport

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

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

func (*AdminQueryGameSessionsByAttributesParams) SetNamespace

func (o *AdminQueryGameSessionsByAttributesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin query game sessions by attributes params

func (*AdminQueryGameSessionsByAttributesParams) SetTimeout

SetTimeout adds the timeout to the admin query game sessions by attributes params

func (*AdminQueryGameSessionsByAttributesParams) WithBody

WithBody adds the body to the admin query game sessions by attributes params

func (*AdminQueryGameSessionsByAttributesParams) WithContext

WithContext adds the context to the admin query game sessions by attributes params

func (*AdminQueryGameSessionsByAttributesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin query game sessions by attributes params

func (*AdminQueryGameSessionsByAttributesParams) WithNamespace

WithNamespace adds the namespace to the admin query game sessions by attributes params

func (*AdminQueryGameSessionsByAttributesParams) WithTimeout

WithTimeout adds the timeout to the admin query game sessions by attributes params

func (*AdminQueryGameSessionsByAttributesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminQueryGameSessionsByAttributesReader

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

AdminQueryGameSessionsByAttributesReader is a Reader for the AdminQueryGameSessionsByAttributes structure.

func (*AdminQueryGameSessionsByAttributesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminQueryGameSessionsByAttributesUnauthorized

type AdminQueryGameSessionsByAttributesUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryGameSessionsByAttributesUnauthorized handles this case with default header values.

Unauthorized

func NewAdminQueryGameSessionsByAttributesUnauthorized

func NewAdminQueryGameSessionsByAttributesUnauthorized() *AdminQueryGameSessionsByAttributesUnauthorized

NewAdminQueryGameSessionsByAttributesUnauthorized creates a AdminQueryGameSessionsByAttributesUnauthorized with default headers values

func (*AdminQueryGameSessionsByAttributesUnauthorized) Error

func (*AdminQueryGameSessionsByAttributesUnauthorized) GetPayload

func (*AdminQueryGameSessionsByAttributesUnauthorized) ToJSONString

type AdminQueryGameSessionsForbidden

type AdminQueryGameSessionsForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryGameSessionsForbidden handles this case with default header values.

Forbidden

func NewAdminQueryGameSessionsForbidden

func NewAdminQueryGameSessionsForbidden() *AdminQueryGameSessionsForbidden

NewAdminQueryGameSessionsForbidden creates a AdminQueryGameSessionsForbidden with default headers values

func (*AdminQueryGameSessionsForbidden) Error

func (*AdminQueryGameSessionsForbidden) GetPayload

func (*AdminQueryGameSessionsForbidden) ToJSONString

func (o *AdminQueryGameSessionsForbidden) ToJSONString() string

type AdminQueryGameSessionsInternalServerError

type AdminQueryGameSessionsInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminQueryGameSessionsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminQueryGameSessionsInternalServerError

func NewAdminQueryGameSessionsInternalServerError() *AdminQueryGameSessionsInternalServerError

NewAdminQueryGameSessionsInternalServerError creates a AdminQueryGameSessionsInternalServerError with default headers values

func (*AdminQueryGameSessionsInternalServerError) Error

func (*AdminQueryGameSessionsInternalServerError) GetPayload

func (*AdminQueryGameSessionsInternalServerError) ToJSONString

type AdminQueryGameSessionsOK

type AdminQueryGameSessionsOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionQueryResponse
}

AdminQueryGameSessionsOK handles this case with default header values.

OK

func NewAdminQueryGameSessionsOK

func NewAdminQueryGameSessionsOK() *AdminQueryGameSessionsOK

NewAdminQueryGameSessionsOK creates a AdminQueryGameSessionsOK with default headers values

func (*AdminQueryGameSessionsOK) Error

func (o *AdminQueryGameSessionsOK) Error() string

func (*AdminQueryGameSessionsOK) GetPayload

func (*AdminQueryGameSessionsOK) ToJSONString

func (o *AdminQueryGameSessionsOK) ToJSONString() string

type AdminQueryGameSessionsParams

type AdminQueryGameSessionsParams struct {

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

	*/
	Namespace string
	/*ConfigurationName
	  configuration template name

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

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

	*/
	FromTime *string
	/*GameMode
	  game mode

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

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

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

	*/
	Joinability *string
	/*Limit
	  Pagination limit

	*/
	Limit *int64
	/*MatchPool
	  matchmaking pool

	*/
	MatchPool *string
	/*MemberID
	  member user ID

	*/
	MemberID *string
	/*Offset
	  Pagination offset

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

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

	*/
	OrderBy *string
	/*SessionID
	  game session ID

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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *AdminQueryGameSessionsParams) SetFlightId(flightId string)

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

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

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

SetIsPersistent adds the isPersistent to the admin query game sessions params

func (*AdminQueryGameSessionsParams) SetIsSoftDeleted

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

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

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

WithIsPersistent adds the isPersistent to the admin query game sessions params

func (*AdminQueryGameSessionsParams) WithIsSoftDeleted

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

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 AdminSetDSReadyBadRequest

type AdminSetDSReadyBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminSetDSReadyBadRequest handles this case with default header values.

Bad Request

func NewAdminSetDSReadyBadRequest

func NewAdminSetDSReadyBadRequest() *AdminSetDSReadyBadRequest

NewAdminSetDSReadyBadRequest creates a AdminSetDSReadyBadRequest with default headers values

func (*AdminSetDSReadyBadRequest) Error

func (o *AdminSetDSReadyBadRequest) Error() string

func (*AdminSetDSReadyBadRequest) GetPayload

func (*AdminSetDSReadyBadRequest) ToJSONString

func (o *AdminSetDSReadyBadRequest) ToJSONString() string

type AdminSetDSReadyForbidden

type AdminSetDSReadyForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

AdminSetDSReadyForbidden handles this case with default header values.

Forbidden

func NewAdminSetDSReadyForbidden

func NewAdminSetDSReadyForbidden() *AdminSetDSReadyForbidden

NewAdminSetDSReadyForbidden creates a AdminSetDSReadyForbidden with default headers values

func (*AdminSetDSReadyForbidden) Error

func (o *AdminSetDSReadyForbidden) Error() string

func (*AdminSetDSReadyForbidden) GetPayload

func (*AdminSetDSReadyForbidden) ToJSONString

func (o *AdminSetDSReadyForbidden) ToJSONString() string

type AdminSetDSReadyInternalServerError

type AdminSetDSReadyInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminSetDSReadyInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminSetDSReadyInternalServerError

func NewAdminSetDSReadyInternalServerError() *AdminSetDSReadyInternalServerError

NewAdminSetDSReadyInternalServerError creates a AdminSetDSReadyInternalServerError with default headers values

func (*AdminSetDSReadyInternalServerError) Error

func (*AdminSetDSReadyInternalServerError) GetPayload

func (*AdminSetDSReadyInternalServerError) ToJSONString

func (o *AdminSetDSReadyInternalServerError) ToJSONString() string

type AdminSetDSReadyNoContent

type AdminSetDSReadyNoContent struct {
}

AdminSetDSReadyNoContent handles this case with default header values.

OK

func NewAdminSetDSReadyNoContent

func NewAdminSetDSReadyNoContent() *AdminSetDSReadyNoContent

NewAdminSetDSReadyNoContent creates a AdminSetDSReadyNoContent with default headers values

func (*AdminSetDSReadyNoContent) Error

func (o *AdminSetDSReadyNoContent) Error() string

type AdminSetDSReadyParams

type AdminSetDSReadyParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

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

AdminSetDSReadyParams contains all the parameters to send to the API endpoint for the admin set ds ready operation typically these are written to a http.Request

func NewAdminSetDSReadyParams

func NewAdminSetDSReadyParams() *AdminSetDSReadyParams

NewAdminSetDSReadyParams creates a new AdminSetDSReadyParams object with the default values initialized.

func NewAdminSetDSReadyParamsWithContext

func NewAdminSetDSReadyParamsWithContext(ctx context.Context) *AdminSetDSReadyParams

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

func NewAdminSetDSReadyParamsWithHTTPClient

func NewAdminSetDSReadyParamsWithHTTPClient(client *http.Client) *AdminSetDSReadyParams

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

func NewAdminSetDSReadyParamsWithTimeout

func NewAdminSetDSReadyParamsWithTimeout(timeout time.Duration) *AdminSetDSReadyParams

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

func (*AdminSetDSReadyParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin set ds ready params

func (*AdminSetDSReadyParams) SetBody

SetBody adds the body to the admin set ds ready params

func (*AdminSetDSReadyParams) SetContext

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

SetContext adds the context to the admin set ds ready params

func (*AdminSetDSReadyParams) SetFlightId

func (o *AdminSetDSReadyParams) SetFlightId(flightId string)

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

func (*AdminSetDSReadyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin set ds ready params

func (*AdminSetDSReadyParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin set ds ready params

func (*AdminSetDSReadyParams) SetNamespace

func (o *AdminSetDSReadyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin set ds ready params

func (*AdminSetDSReadyParams) SetSessionID

func (o *AdminSetDSReadyParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the admin set ds ready params

func (*AdminSetDSReadyParams) SetTimeout

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

SetTimeout adds the timeout to the admin set ds ready params

func (*AdminSetDSReadyParams) WithBody

WithBody adds the body to the admin set ds ready params

func (*AdminSetDSReadyParams) WithContext

WithContext adds the context to the admin set ds ready params

func (*AdminSetDSReadyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin set ds ready params

func (*AdminSetDSReadyParams) WithNamespace

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

WithNamespace adds the namespace to the admin set ds ready params

func (*AdminSetDSReadyParams) WithSessionID

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

WithSessionID adds the sessionID to the admin set ds ready params

func (*AdminSetDSReadyParams) WithTimeout

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

WithTimeout adds the timeout to the admin set ds ready params

func (*AdminSetDSReadyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminSetDSReadyReader

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

AdminSetDSReadyReader is a Reader for the AdminSetDSReady structure.

func (*AdminSetDSReadyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminSetDSReadyUnauthorized

type AdminSetDSReadyUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminSetDSReadyUnauthorized handles this case with default header values.

Unauthorized

func NewAdminSetDSReadyUnauthorized

func NewAdminSetDSReadyUnauthorized() *AdminSetDSReadyUnauthorized

NewAdminSetDSReadyUnauthorized creates a AdminSetDSReadyUnauthorized with default headers values

func (*AdminSetDSReadyUnauthorized) Error

func (*AdminSetDSReadyUnauthorized) GetPayload

func (*AdminSetDSReadyUnauthorized) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *AdminUpdateGameSessionMemberParams) SetFlightId(flightId string)

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

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

type AppendTeamGameSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

AppendTeamGameSessionForbidden handles this case with default header values.

Forbidden

func NewAppendTeamGameSessionForbidden

func NewAppendTeamGameSessionForbidden() *AppendTeamGameSessionForbidden

NewAppendTeamGameSessionForbidden creates a AppendTeamGameSessionForbidden with default headers values

func (*AppendTeamGameSessionForbidden) Error

func (*AppendTeamGameSessionForbidden) GetPayload

func (*AppendTeamGameSessionForbidden) ToJSONString

func (o *AppendTeamGameSessionForbidden) ToJSONString() string

type AppendTeamGameSessionInternalServerError

type AppendTeamGameSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AppendTeamGameSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAppendTeamGameSessionInternalServerError

func NewAppendTeamGameSessionInternalServerError() *AppendTeamGameSessionInternalServerError

NewAppendTeamGameSessionInternalServerError creates a AppendTeamGameSessionInternalServerError with default headers values

func (*AppendTeamGameSessionInternalServerError) Error

func (*AppendTeamGameSessionInternalServerError) GetPayload

func (*AppendTeamGameSessionInternalServerError) ToJSONString

type AppendTeamGameSessionNotFound

type AppendTeamGameSessionNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

AppendTeamGameSessionNotFound handles this case with default header values.

Not Found

func NewAppendTeamGameSessionNotFound

func NewAppendTeamGameSessionNotFound() *AppendTeamGameSessionNotFound

NewAppendTeamGameSessionNotFound creates a AppendTeamGameSessionNotFound with default headers values

func (*AppendTeamGameSessionNotFound) Error

func (*AppendTeamGameSessionNotFound) GetPayload

func (*AppendTeamGameSessionNotFound) ToJSONString

func (o *AppendTeamGameSessionNotFound) ToJSONString() string

type AppendTeamGameSessionOK

type AppendTeamGameSessionOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

AppendTeamGameSessionOK handles this case with default header values.

OK

func NewAppendTeamGameSessionOK

func NewAppendTeamGameSessionOK() *AppendTeamGameSessionOK

NewAppendTeamGameSessionOK creates a AppendTeamGameSessionOK with default headers values

func (*AppendTeamGameSessionOK) Error

func (o *AppendTeamGameSessionOK) Error() string

func (*AppendTeamGameSessionOK) GetPayload

func (*AppendTeamGameSessionOK) ToJSONString

func (o *AppendTeamGameSessionOK) ToJSONString() string

type AppendTeamGameSessionParams

type AppendTeamGameSessionParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewAppendTeamGameSessionParams() *AppendTeamGameSessionParams

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

func NewAppendTeamGameSessionParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the append team game session params

func (*AppendTeamGameSessionParams) SetBody

SetBody adds the body to the append team game session params

func (*AppendTeamGameSessionParams) SetContext

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

SetContext adds the context to the append team game session params

func (*AppendTeamGameSessionParams) SetFlightId

func (o *AppendTeamGameSessionParams) SetFlightId(flightId string)

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

func (*AppendTeamGameSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the append team game session params

func (*AppendTeamGameSessionParams) SetHTTPClientTransport

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

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

func (*AppendTeamGameSessionParams) SetNamespace

func (o *AppendTeamGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the append team game session params

func (*AppendTeamGameSessionParams) SetSessionID

func (o *AppendTeamGameSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the append team game session params

func (*AppendTeamGameSessionParams) SetTimeout

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

SetTimeout adds the timeout to the append team game session params

func (*AppendTeamGameSessionParams) WithBody

WithBody adds the body to the append team game session params

func (*AppendTeamGameSessionParams) WithContext

WithContext adds the context to the append team game session params

func (*AppendTeamGameSessionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the append team game session params

func (*AppendTeamGameSessionParams) WithNamespace

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

WithNamespace adds the namespace to the append team game session params

func (*AppendTeamGameSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the append team game session params

func (*AppendTeamGameSessionParams) WithTimeout

WithTimeout adds the timeout to the append team game session params

func (*AppendTeamGameSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AppendTeamGameSessionReader

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

AppendTeamGameSessionReader is a Reader for the AppendTeamGameSession structure.

func (*AppendTeamGameSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AppendTeamGameSessionUnauthorized

type AppendTeamGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AppendTeamGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewAppendTeamGameSessionUnauthorized

func NewAppendTeamGameSessionUnauthorized() *AppendTeamGameSessionUnauthorized

NewAppendTeamGameSessionUnauthorized creates a AppendTeamGameSessionUnauthorized with default headers values

func (*AppendTeamGameSessionUnauthorized) Error

func (*AppendTeamGameSessionUnauthorized) GetPayload

func (*AppendTeamGameSessionUnauthorized) ToJSONString

func (o *AppendTeamGameSessionUnauthorized) ToJSONString() string

type Client

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

Client for game session API

func (*Client) AdminDeleteBulkGameSessions deprecated

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

AdminDeleteBulkGameSessions delete bulk game sessions. Delete bulk game sessions.

func (*Client) AdminDeleteBulkGameSessionsShort

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

AdminDeleteBulkGameSessionsShort delete bulk game sessions. Delete bulk game sessions.

func (*Client) AdminQueryGameSessions deprecated

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

AdminQueryGameSessions get all game sessions. Get all game sessions.

func (*Client) AdminQueryGameSessionsByAttributes deprecated

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

AdminQueryGameSessionsByAttributes query game sessions by admin Query game sessions by admin.

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

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

func (*Client) AdminQueryGameSessionsByAttributesShort

func (a *Client) AdminQueryGameSessionsByAttributesShort(params *AdminQueryGameSessionsByAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryGameSessionsByAttributesOK, error)

AdminQueryGameSessionsByAttributesShort query game sessions by admin Query game sessions by admin.

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

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

func (*Client) AdminQueryGameSessionsShort

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

AdminQueryGameSessionsShort get all game sessions. Get all game sessions.

func (*Client) AdminSetDSReady deprecated

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

AdminSetDSReady admin set the ds ready to accept connection When the session template has ds_manual_set_ready as true. Then the DS need to calls this end point in order to notify game client if the DS is ready to accept any game client connection.

func (*Client) AdminSetDSReadyShort

func (a *Client) AdminSetDSReadyShort(params *AdminSetDSReadyParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSetDSReadyNoContent, error)

AdminSetDSReadyShort admin set the ds ready to accept connection When the session template has ds_manual_set_ready as true. Then the DS need to calls this end point in order to notify game client if the DS is ready to accept any game client connection.

func (*Client) AdminUpdateGameSessionMember deprecated

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

AdminUpdateGameSessionMember update status of a game session member. Update a game session member status.

func (*Client) AdminUpdateGameSessionMemberShort

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

AdminUpdateGameSessionMemberShort update status of a game session member. Update a game session member status.

func (*Client) AppendTeamGameSession deprecated

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

AppendTeamGameSession append new member or team to session. Append new member or team to session

func (*Client) AppendTeamGameSessionShort

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

AppendTeamGameSessionShort append new member or team to session. Append new member or team to session

func (*Client) CreateGameSession deprecated

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

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

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

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

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

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

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

func (*Client) CreateGameSessionShort

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

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

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

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

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

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

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

func (*Client) DeleteGameSession deprecated

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

DeleteGameSession delete a game session. Delete a game session.

func (*Client) DeleteGameSessionShort

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

DeleteGameSessionShort delete a game session. Delete a game session.

func (*Client) GameSessionGenerateCode deprecated

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

GameSessionGenerateCode generate a game session code. Generate a new code for the game session. Only leader can generate a code.

func (*Client) GameSessionGenerateCodeShort

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

GameSessionGenerateCodeShort generate a game session code. Generate a new code for the game session. Only leader can generate a code.

func (*Client) GetGameSession deprecated

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

GetGameSession get game session detail. Get game session detail. Session will only be accessible from active players in the session, and client with the permission, except the joinability is set to 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) GetGameSessionByPodName deprecated

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

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

func (*Client) GetGameSessionByPodNameShort

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

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

func (*Client) GetGameSessionShort

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

GetGameSessionShort get game session detail. Get game session detail. Session will only be accessible from active players in the session, and client with the permission, except the joinability is set to 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) GetSessionServerSecret deprecated

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

GetSessionServerSecret get server secret.

Used by game Client to Get Secret constraints - EnableSecret = true - Type = "DS" - secret value will only be produced if enableSecret is true and type is DS

if enableSecret = false - empty secret will be returned as 200 OK

Expected caller of this API - Game Client to get server secret

In the Response you will get following: - 200 OK { "secret": }

If there is error: - 400 Invalid path parameters - 401 unauthorized - 404 StatusNotFound - 500 Internal server error

func (*Client) GetSessionServerSecretShort

func (a *Client) GetSessionServerSecretShort(params *GetSessionServerSecretParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionServerSecretOK, error)

GetSessionServerSecretShort get server secret.

Used by game Client to Get Secret constraints - EnableSecret = true - Type = "DS" - secret value will only be produced if enableSecret is true and type is DS

if enableSecret = false - empty secret will be returned as 200 OK

Expected caller of this API - Game Client to get server secret

In the Response you will get following: - 200 OK { "secret": }

If there is error: - 400 Invalid path parameters - 401 unauthorized - 404 StatusNotFound - 500 Internal server error

func (*Client) JoinGameSession deprecated

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

JoinGameSession join a game session. Join a game session.

func (*Client) JoinGameSessionShort

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

JoinGameSessionShort join a game session. Join a game session.

func (*Client) LeaveGameSession deprecated

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

LeaveGameSession leave a game session. Leave a game session.

func (*Client) LeaveGameSessionShort

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

LeaveGameSessionShort leave a game session. Leave a game session.

func (*Client) PatchUpdateGameSession deprecated

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

PatchUpdateGameSession patch update a game session. Update specified fields from game session data.

func (*Client) PatchUpdateGameSessionShort

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

PatchUpdateGameSessionShort patch update a game session. Update specified fields from game session data.

func (*Client) PublicGameSessionInvite deprecated

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

PublicGameSessionInvite invite a user to a game session. Invite a user to a game session. platformID represents the native platform of the invitee. API will return the corresponding native platform's userID. supported platforms: - STEAM - XBOX - PSN

func (*Client) PublicGameSessionInviteShort

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

PublicGameSessionInviteShort invite a user to a game session. Invite a user to a game session. platformID represents the native platform of the invitee. API will return the corresponding native platform's userID. supported platforms: - STEAM - XBOX - PSN

func (*Client) PublicGameSessionReject deprecated

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

PublicGameSessionReject reject a game session invitation. Reject a game session invitation.

func (*Client) PublicGameSessionRejectShort

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

PublicGameSessionRejectShort reject a game session invitation. Reject a game session invitation.

func (*Client) PublicPromoteGameSessionLeader deprecated

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

PublicPromoteGameSessionLeader promote new game session leader. Promote game session member to become the new game session leader.

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

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

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

func (*Client) PublicPromoteGameSessionLeaderShort

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

PublicPromoteGameSessionLeaderShort promote new game session leader. Promote game session member to become the new game session leader.

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

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

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

func (*Client) PublicQueryGameSessionsByAttributes deprecated

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

PublicQueryGameSessionsByAttributes query game sessions Query game sessions.

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

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

func (*Client) PublicQueryGameSessionsByAttributesShort

func (a *Client) PublicQueryGameSessionsByAttributesShort(params *PublicQueryGameSessionsByAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsByAttributesOK, error)

PublicQueryGameSessionsByAttributesShort query game sessions Query game sessions.

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

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

func (*Client) PublicQueryMyGameSessions deprecated

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

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

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

func (*Client) PublicQueryMyGameSessionsShort

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

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

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

func (*Client) PublicRevokeGameSessionCode deprecated

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

PublicRevokeGameSessionCode revoke game session code. Revoke code of the game session. Only leader can revoke a code.

func (*Client) PublicRevokeGameSessionCodeShort

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

PublicRevokeGameSessionCodeShort revoke game session code. Revoke code of the game session. Only leader can revoke a code.

func (*Client) PublicSessionJoinCode deprecated

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

PublicSessionJoinCode join a session by code. Join a session by code. The user can join a session as long as the code is valid

func (*Client) PublicSessionJoinCodeShort

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

PublicSessionJoinCodeShort join a session by code. Join a session by code. The user can join a session as long as the code is valid

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateGameSession deprecated

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

UpdateGameSession update a game session. 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

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

UpdateGameSessionBackfillTicketID update game session backfill ticket id . Update game session backfill ticket id. Will override game session backfill ticket based on given request parameter

func (*Client) UpdateGameSessionBackfillTicketIDShort

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

UpdateGameSessionBackfillTicketIDShort update game session backfill ticket id . Update game session backfill ticket id. Will override game session backfill ticket based on given request parameter

func (*Client) UpdateGameSessionShort

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

UpdateGameSessionShort update a game session. 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)
	AdminQueryGameSessionsByAttributes(params *AdminQueryGameSessionsByAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryGameSessionsByAttributesOK, *AdminQueryGameSessionsByAttributesBadRequest, *AdminQueryGameSessionsByAttributesUnauthorized, *AdminQueryGameSessionsByAttributesForbidden, *AdminQueryGameSessionsByAttributesInternalServerError, error)
	AdminQueryGameSessionsByAttributesShort(params *AdminQueryGameSessionsByAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryGameSessionsByAttributesOK, error)
	AdminDeleteBulkGameSessions(params *AdminDeleteBulkGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteBulkGameSessionsOK, *AdminDeleteBulkGameSessionsBadRequest, *AdminDeleteBulkGameSessionsUnauthorized, *AdminDeleteBulkGameSessionsForbidden, *AdminDeleteBulkGameSessionsInternalServerError, error)
	AdminDeleteBulkGameSessionsShort(params *AdminDeleteBulkGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteBulkGameSessionsOK, error)
	AdminSetDSReady(params *AdminSetDSReadyParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSetDSReadyNoContent, *AdminSetDSReadyBadRequest, *AdminSetDSReadyUnauthorized, *AdminSetDSReadyForbidden, *AdminSetDSReadyInternalServerError, error)
	AdminSetDSReadyShort(params *AdminSetDSReadyParams, authInfo runtime.ClientAuthInfoWriter) (*AdminSetDSReadyNoContent, error)
	AdminUpdateGameSessionMember(params *AdminUpdateGameSessionMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGameSessionMemberOK, *AdminUpdateGameSessionMemberBadRequest, *AdminUpdateGameSessionMemberUnauthorized, *AdminUpdateGameSessionMemberForbidden, *AdminUpdateGameSessionMemberNotFound, *AdminUpdateGameSessionMemberInternalServerError, error)
	AdminUpdateGameSessionMemberShort(params *AdminUpdateGameSessionMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGameSessionMemberOK, error)
	CreateGameSession(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, *CreateGameSessionBadRequest, *CreateGameSessionUnauthorized, *CreateGameSessionForbidden, *CreateGameSessionInternalServerError, error)
	CreateGameSessionShort(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, error)
	PublicQueryGameSessionsByAttributes(params *PublicQueryGameSessionsByAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsByAttributesOK, *PublicQueryGameSessionsByAttributesBadRequest, *PublicQueryGameSessionsByAttributesUnauthorized, *PublicQueryGameSessionsByAttributesForbidden, *PublicQueryGameSessionsByAttributesInternalServerError, error)
	PublicQueryGameSessionsByAttributesShort(params *PublicQueryGameSessionsByAttributesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsByAttributesOK, error)
	PublicSessionJoinCode(params *PublicSessionJoinCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSessionJoinCodeOK, *PublicSessionJoinCodeBadRequest, *PublicSessionJoinCodeUnauthorized, *PublicSessionJoinCodeForbidden, *PublicSessionJoinCodeNotFound, *PublicSessionJoinCodeInternalServerError, error)
	PublicSessionJoinCodeShort(params *PublicSessionJoinCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSessionJoinCodeOK, error)
	GetGameSessionByPodName(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, *GetGameSessionByPodNameBadRequest, *GetGameSessionByPodNameUnauthorized, *GetGameSessionByPodNameForbidden, *GetGameSessionByPodNameNotFound, *GetGameSessionByPodNameInternalServerError, error)
	GetGameSessionByPodNameShort(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, error)
	GetGameSession(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, *GetGameSessionBadRequest, *GetGameSessionUnauthorized, *GetGameSessionForbidden, *GetGameSessionNotFound, *GetGameSessionInternalServerError, error)
	GetGameSessionShort(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, error)
	UpdateGameSession(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, *UpdateGameSessionBadRequest, *UpdateGameSessionUnauthorized, *UpdateGameSessionForbidden, *UpdateGameSessionNotFound, *UpdateGameSessionInternalServerError, error)
	UpdateGameSessionShort(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, error)
	DeleteGameSession(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, *DeleteGameSessionUnauthorized, *DeleteGameSessionForbidden, *DeleteGameSessionInternalServerError, error)
	DeleteGameSessionShort(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, error)
	PatchUpdateGameSession(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, *PatchUpdateGameSessionBadRequest, *PatchUpdateGameSessionUnauthorized, *PatchUpdateGameSessionForbidden, *PatchUpdateGameSessionNotFound, *PatchUpdateGameSessionInternalServerError, error)
	PatchUpdateGameSessionShort(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, error)
	UpdateGameSessionBackfillTicketID(params *UpdateGameSessionBackfillTicketIDParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionBackfillTicketIDOK, *UpdateGameSessionBackfillTicketIDUnauthorized, *UpdateGameSessionBackfillTicketIDForbidden, *UpdateGameSessionBackfillTicketIDNotFound, *UpdateGameSessionBackfillTicketIDInternalServerError, error)
	UpdateGameSessionBackfillTicketIDShort(params *UpdateGameSessionBackfillTicketIDParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionBackfillTicketIDOK, error)
	GameSessionGenerateCode(params *GameSessionGenerateCodeParams, authInfo runtime.ClientAuthInfoWriter) (*GameSessionGenerateCodeOK, *GameSessionGenerateCodeBadRequest, *GameSessionGenerateCodeUnauthorized, *GameSessionGenerateCodeForbidden, *GameSessionGenerateCodeNotFound, *GameSessionGenerateCodeInternalServerError, error)
	GameSessionGenerateCodeShort(params *GameSessionGenerateCodeParams, authInfo runtime.ClientAuthInfoWriter) (*GameSessionGenerateCodeOK, error)
	PublicRevokeGameSessionCode(params *PublicRevokeGameSessionCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRevokeGameSessionCodeNoContent, *PublicRevokeGameSessionCodeBadRequest, *PublicRevokeGameSessionCodeUnauthorized, *PublicRevokeGameSessionCodeForbidden, *PublicRevokeGameSessionCodeNotFound, *PublicRevokeGameSessionCodeInternalServerError, error)
	PublicRevokeGameSessionCodeShort(params *PublicRevokeGameSessionCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRevokeGameSessionCodeNoContent, error)
	PublicGameSessionInvite(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, *PublicGameSessionInviteNoContent, *PublicGameSessionInviteBadRequest, *PublicGameSessionInviteUnauthorized, *PublicGameSessionInviteNotFound, *PublicGameSessionInviteInternalServerError, error)
	PublicGameSessionInviteShort(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, error)
	JoinGameSession(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, *JoinGameSessionBadRequest, *JoinGameSessionUnauthorized, *JoinGameSessionForbidden, *JoinGameSessionNotFound, *JoinGameSessionInternalServerError, error)
	JoinGameSessionShort(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, error)
	PublicPromoteGameSessionLeader(params *PublicPromoteGameSessionLeaderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicPromoteGameSessionLeaderOK, *PublicPromoteGameSessionLeaderBadRequest, *PublicPromoteGameSessionLeaderUnauthorized, *PublicPromoteGameSessionLeaderForbidden, *PublicPromoteGameSessionLeaderNotFound, *PublicPromoteGameSessionLeaderInternalServerError, error)
	PublicPromoteGameSessionLeaderShort(params *PublicPromoteGameSessionLeaderParams, authInfo runtime.ClientAuthInfoWriter) (*PublicPromoteGameSessionLeaderOK, error)
	LeaveGameSession(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, *LeaveGameSessionBadRequest, *LeaveGameSessionUnauthorized, *LeaveGameSessionForbidden, *LeaveGameSessionNotFound, *LeaveGameSessionInternalServerError, error)
	LeaveGameSessionShort(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, error)
	PublicGameSessionReject(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, *PublicGameSessionRejectBadRequest, *PublicGameSessionRejectUnauthorized, *PublicGameSessionRejectForbidden, *PublicGameSessionRejectNotFound, *PublicGameSessionRejectInternalServerError, error)
	PublicGameSessionRejectShort(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, error)
	GetSessionServerSecret(params *GetSessionServerSecretParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionServerSecretOK, *GetSessionServerSecretBadRequest, *GetSessionServerSecretUnauthorized, *GetSessionServerSecretNotFound, *GetSessionServerSecretInternalServerError, error)
	GetSessionServerSecretShort(params *GetSessionServerSecretParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionServerSecretOK, error)
	AppendTeamGameSession(params *AppendTeamGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AppendTeamGameSessionOK, *AppendTeamGameSessionUnauthorized, *AppendTeamGameSessionForbidden, *AppendTeamGameSessionNotFound, *AppendTeamGameSessionInternalServerError, error)
	AppendTeamGameSessionShort(params *AppendTeamGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AppendTeamGameSessionOK, error)
	PublicQueryMyGameSessions(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, *PublicQueryMyGameSessionsBadRequest, *PublicQueryMyGameSessionsUnauthorized, *PublicQueryMyGameSessionsInternalServerError, error)
	PublicQueryMyGameSessionsShort(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new game session API client.

type CreateGameSessionBadRequest

type CreateGameSessionBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

CreateGameSessionBadRequest handles this case with default header values.

Bad Request

func NewCreateGameSessionBadRequest

func NewCreateGameSessionBadRequest() *CreateGameSessionBadRequest

NewCreateGameSessionBadRequest creates a CreateGameSessionBadRequest with default headers values

func (*CreateGameSessionBadRequest) Error

func (*CreateGameSessionBadRequest) GetPayload

func (*CreateGameSessionBadRequest) ToJSONString

func (o *CreateGameSessionBadRequest) ToJSONString() string

type CreateGameSessionCreated

type CreateGameSessionCreated struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

CreateGameSessionCreated handles this case with default header values.

Created

func NewCreateGameSessionCreated

func NewCreateGameSessionCreated() *CreateGameSessionCreated

NewCreateGameSessionCreated creates a CreateGameSessionCreated with default headers values

func (*CreateGameSessionCreated) Error

func (o *CreateGameSessionCreated) Error() string

func (*CreateGameSessionCreated) GetPayload

func (*CreateGameSessionCreated) ToJSONString

func (o *CreateGameSessionCreated) ToJSONString() string

type CreateGameSessionForbidden

type CreateGameSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

CreateGameSessionForbidden handles this case with default header values.

Forbidden

func NewCreateGameSessionForbidden

func NewCreateGameSessionForbidden() *CreateGameSessionForbidden

NewCreateGameSessionForbidden creates a CreateGameSessionForbidden with default headers values

func (*CreateGameSessionForbidden) Error

func (*CreateGameSessionForbidden) GetPayload

func (*CreateGameSessionForbidden) ToJSONString

func (o *CreateGameSessionForbidden) ToJSONString() string

type CreateGameSessionInternalServerError

type CreateGameSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

CreateGameSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateGameSessionInternalServerError

func NewCreateGameSessionInternalServerError() *CreateGameSessionInternalServerError

NewCreateGameSessionInternalServerError creates a CreateGameSessionInternalServerError with default headers values

func (*CreateGameSessionInternalServerError) Error

func (*CreateGameSessionInternalServerError) GetPayload

func (*CreateGameSessionInternalServerError) ToJSONString

func (o *CreateGameSessionInternalServerError) ToJSONString() string

type CreateGameSessionParams

type CreateGameSessionParams struct {

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

	*/
	Namespace string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *CreateGameSessionParams) SetFlightId(flightId string)

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *DeleteGameSessionParams) SetFlightId(flightId string)

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

func (*DeleteGameSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete game session params

func (*DeleteGameSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete game session params

func (*DeleteGameSessionParams) SetNamespace

func (o *DeleteGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete game session params

func (*DeleteGameSessionParams) SetSessionID

func (o *DeleteGameSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the delete game session params

func (*DeleteGameSessionParams) SetTimeout

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

SetTimeout adds the timeout to the delete game session params

func (*DeleteGameSessionParams) WithContext

WithContext adds the context to the delete game session params

func (*DeleteGameSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete game session params

func (*DeleteGameSessionParams) WithNamespace

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

WithNamespace adds the namespace to the delete game session params

func (*DeleteGameSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the delete game session params

func (*DeleteGameSessionParams) WithTimeout

WithTimeout adds the timeout to the delete game session params

func (*DeleteGameSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteGameSessionReader

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

DeleteGameSessionReader is a Reader for the DeleteGameSession structure.

func (*DeleteGameSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGameSessionUnauthorized

type DeleteGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

DeleteGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteGameSessionUnauthorized

func NewDeleteGameSessionUnauthorized() *DeleteGameSessionUnauthorized

NewDeleteGameSessionUnauthorized creates a DeleteGameSessionUnauthorized with default headers values

func (*DeleteGameSessionUnauthorized) Error

func (*DeleteGameSessionUnauthorized) GetPayload

func (*DeleteGameSessionUnauthorized) ToJSONString

func (o *DeleteGameSessionUnauthorized) ToJSONString() string

type GameSessionGenerateCodeBadRequest

type GameSessionGenerateCodeBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

GameSessionGenerateCodeBadRequest handles this case with default header values.

Bad Request

func NewGameSessionGenerateCodeBadRequest

func NewGameSessionGenerateCodeBadRequest() *GameSessionGenerateCodeBadRequest

NewGameSessionGenerateCodeBadRequest creates a GameSessionGenerateCodeBadRequest with default headers values

func (*GameSessionGenerateCodeBadRequest) Error

func (*GameSessionGenerateCodeBadRequest) GetPayload

func (*GameSessionGenerateCodeBadRequest) ToJSONString

func (o *GameSessionGenerateCodeBadRequest) ToJSONString() string

type GameSessionGenerateCodeForbidden

type GameSessionGenerateCodeForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

GameSessionGenerateCodeForbidden handles this case with default header values.

Forbidden

func NewGameSessionGenerateCodeForbidden

func NewGameSessionGenerateCodeForbidden() *GameSessionGenerateCodeForbidden

NewGameSessionGenerateCodeForbidden creates a GameSessionGenerateCodeForbidden with default headers values

func (*GameSessionGenerateCodeForbidden) Error

func (*GameSessionGenerateCodeForbidden) GetPayload

func (*GameSessionGenerateCodeForbidden) ToJSONString

func (o *GameSessionGenerateCodeForbidden) ToJSONString() string

type GameSessionGenerateCodeInternalServerError

type GameSessionGenerateCodeInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

GameSessionGenerateCodeInternalServerError handles this case with default header values.

Internal Server Error

func NewGameSessionGenerateCodeInternalServerError

func NewGameSessionGenerateCodeInternalServerError() *GameSessionGenerateCodeInternalServerError

NewGameSessionGenerateCodeInternalServerError creates a GameSessionGenerateCodeInternalServerError with default headers values

func (*GameSessionGenerateCodeInternalServerError) Error

func (*GameSessionGenerateCodeInternalServerError) GetPayload

func (*GameSessionGenerateCodeInternalServerError) ToJSONString

type GameSessionGenerateCodeNotFound

type GameSessionGenerateCodeNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

GameSessionGenerateCodeNotFound handles this case with default header values.

Not Found

func NewGameSessionGenerateCodeNotFound

func NewGameSessionGenerateCodeNotFound() *GameSessionGenerateCodeNotFound

NewGameSessionGenerateCodeNotFound creates a GameSessionGenerateCodeNotFound with default headers values

func (*GameSessionGenerateCodeNotFound) Error

func (*GameSessionGenerateCodeNotFound) GetPayload

func (*GameSessionGenerateCodeNotFound) ToJSONString

func (o *GameSessionGenerateCodeNotFound) ToJSONString() string

type GameSessionGenerateCodeOK

type GameSessionGenerateCodeOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

GameSessionGenerateCodeOK handles this case with default header values.

OK

func NewGameSessionGenerateCodeOK

func NewGameSessionGenerateCodeOK() *GameSessionGenerateCodeOK

NewGameSessionGenerateCodeOK creates a GameSessionGenerateCodeOK with default headers values

func (*GameSessionGenerateCodeOK) Error

func (o *GameSessionGenerateCodeOK) Error() string

func (*GameSessionGenerateCodeOK) GetPayload

func (*GameSessionGenerateCodeOK) ToJSONString

func (o *GameSessionGenerateCodeOK) ToJSONString() string

type GameSessionGenerateCodeParams

type GameSessionGenerateCodeParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

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

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

func NewGameSessionGenerateCodeParams

func NewGameSessionGenerateCodeParams() *GameSessionGenerateCodeParams

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

func NewGameSessionGenerateCodeParamsWithContext

func NewGameSessionGenerateCodeParamsWithContext(ctx context.Context) *GameSessionGenerateCodeParams

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

func NewGameSessionGenerateCodeParamsWithHTTPClient

func NewGameSessionGenerateCodeParamsWithHTTPClient(client *http.Client) *GameSessionGenerateCodeParams

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

func NewGameSessionGenerateCodeParamsWithTimeout

func NewGameSessionGenerateCodeParamsWithTimeout(timeout time.Duration) *GameSessionGenerateCodeParams

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

func (*GameSessionGenerateCodeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the game session generate code params

func (*GameSessionGenerateCodeParams) SetContext

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

SetContext adds the context to the game session generate code params

func (*GameSessionGenerateCodeParams) SetFlightId

func (o *GameSessionGenerateCodeParams) SetFlightId(flightId string)

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

func (*GameSessionGenerateCodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the game session generate code params

func (*GameSessionGenerateCodeParams) SetHTTPClientTransport

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

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

func (*GameSessionGenerateCodeParams) SetNamespace

func (o *GameSessionGenerateCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the game session generate code params

func (*GameSessionGenerateCodeParams) SetSessionID

func (o *GameSessionGenerateCodeParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the game session generate code params

func (*GameSessionGenerateCodeParams) SetTimeout

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

SetTimeout adds the timeout to the game session generate code params

func (*GameSessionGenerateCodeParams) WithContext

WithContext adds the context to the game session generate code params

func (*GameSessionGenerateCodeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the game session generate code params

func (*GameSessionGenerateCodeParams) WithNamespace

WithNamespace adds the namespace to the game session generate code params

func (*GameSessionGenerateCodeParams) WithSessionID

WithSessionID adds the sessionID to the game session generate code params

func (*GameSessionGenerateCodeParams) WithTimeout

WithTimeout adds the timeout to the game session generate code params

func (*GameSessionGenerateCodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GameSessionGenerateCodeReader

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

GameSessionGenerateCodeReader is a Reader for the GameSessionGenerateCode structure.

func (*GameSessionGenerateCodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GameSessionGenerateCodeUnauthorized

type GameSessionGenerateCodeUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

GameSessionGenerateCodeUnauthorized handles this case with default header values.

Unauthorized

func NewGameSessionGenerateCodeUnauthorized

func NewGameSessionGenerateCodeUnauthorized() *GameSessionGenerateCodeUnauthorized

NewGameSessionGenerateCodeUnauthorized creates a GameSessionGenerateCodeUnauthorized with default headers values

func (*GameSessionGenerateCodeUnauthorized) Error

func (*GameSessionGenerateCodeUnauthorized) GetPayload

func (*GameSessionGenerateCodeUnauthorized) ToJSONString

func (o *GameSessionGenerateCodeUnauthorized) ToJSONString() string

type GetGameSessionBadRequest

type GetGameSessionBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionBadRequest handles this case with default header values.

Bad Request

func NewGetGameSessionBadRequest

func NewGetGameSessionBadRequest() *GetGameSessionBadRequest

NewGetGameSessionBadRequest creates a GetGameSessionBadRequest with default headers values

func (*GetGameSessionBadRequest) Error

func (o *GetGameSessionBadRequest) Error() string

func (*GetGameSessionBadRequest) GetPayload

func (*GetGameSessionBadRequest) ToJSONString

func (o *GetGameSessionBadRequest) ToJSONString() string

type GetGameSessionByPodNameBadRequest

type GetGameSessionByPodNameBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionByPodNameBadRequest handles this case with default header values.

Bad Request

func NewGetGameSessionByPodNameBadRequest

func NewGetGameSessionByPodNameBadRequest() *GetGameSessionByPodNameBadRequest

NewGetGameSessionByPodNameBadRequest creates a GetGameSessionByPodNameBadRequest with default headers values

func (*GetGameSessionByPodNameBadRequest) Error

func (*GetGameSessionByPodNameBadRequest) GetPayload

func (*GetGameSessionByPodNameBadRequest) ToJSONString

func (o *GetGameSessionByPodNameBadRequest) ToJSONString() string

type GetGameSessionByPodNameForbidden

type GetGameSessionByPodNameForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionByPodNameForbidden handles this case with default header values.

Forbidden

func NewGetGameSessionByPodNameForbidden

func NewGetGameSessionByPodNameForbidden() *GetGameSessionByPodNameForbidden

NewGetGameSessionByPodNameForbidden creates a GetGameSessionByPodNameForbidden with default headers values

func (*GetGameSessionByPodNameForbidden) Error

func (*GetGameSessionByPodNameForbidden) GetPayload

func (*GetGameSessionByPodNameForbidden) ToJSONString

func (o *GetGameSessionByPodNameForbidden) ToJSONString() string

type GetGameSessionByPodNameInternalServerError

type GetGameSessionByPodNameInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionByPodNameInternalServerError handles this case with default header values.

Internal Server Error

func NewGetGameSessionByPodNameInternalServerError

func NewGetGameSessionByPodNameInternalServerError() *GetGameSessionByPodNameInternalServerError

NewGetGameSessionByPodNameInternalServerError creates a GetGameSessionByPodNameInternalServerError with default headers values

func (*GetGameSessionByPodNameInternalServerError) Error

func (*GetGameSessionByPodNameInternalServerError) GetPayload

func (*GetGameSessionByPodNameInternalServerError) ToJSONString

type GetGameSessionByPodNameNotFound

type GetGameSessionByPodNameNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

GetGameSessionByPodNameNotFound handles this case with default header values.

Not Found

func NewGetGameSessionByPodNameNotFound

func NewGetGameSessionByPodNameNotFound() *GetGameSessionByPodNameNotFound

NewGetGameSessionByPodNameNotFound creates a GetGameSessionByPodNameNotFound with default headers values

func (*GetGameSessionByPodNameNotFound) Error

func (*GetGameSessionByPodNameNotFound) GetPayload

func (*GetGameSessionByPodNameNotFound) ToJSONString

func (o *GetGameSessionByPodNameNotFound) ToJSONString() string

type GetGameSessionByPodNameOK

type GetGameSessionByPodNameOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

GetGameSessionByPodNameOK handles this case with default header values.

OK

func NewGetGameSessionByPodNameOK

func NewGetGameSessionByPodNameOK() *GetGameSessionByPodNameOK

NewGetGameSessionByPodNameOK creates a GetGameSessionByPodNameOK with default headers values

func (*GetGameSessionByPodNameOK) Error

func (o *GetGameSessionByPodNameOK) Error() string

func (*GetGameSessionByPodNameOK) GetPayload

func (*GetGameSessionByPodNameOK) ToJSONString

func (o *GetGameSessionByPodNameOK) ToJSONString() string

type GetGameSessionByPodNameParams

type GetGameSessionByPodNameParams struct {

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

	*/
	Namespace string
	/*PodName
	  Pod Name

	*/
	PodName string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *GetGameSessionByPodNameParams) SetFlightId(flightId string)

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *GetGameSessionParams) SetFlightId(flightId string)

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

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 GetSessionServerSecretBadRequest

type GetSessionServerSecretBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

GetSessionServerSecretBadRequest handles this case with default header values.

Bad Request

func NewGetSessionServerSecretBadRequest

func NewGetSessionServerSecretBadRequest() *GetSessionServerSecretBadRequest

NewGetSessionServerSecretBadRequest creates a GetSessionServerSecretBadRequest with default headers values

func (*GetSessionServerSecretBadRequest) Error

func (*GetSessionServerSecretBadRequest) GetPayload

func (*GetSessionServerSecretBadRequest) ToJSONString

func (o *GetSessionServerSecretBadRequest) ToJSONString() string

type GetSessionServerSecretInternalServerError

type GetSessionServerSecretInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

GetSessionServerSecretInternalServerError handles this case with default header values.

Internal Server Error

func NewGetSessionServerSecretInternalServerError

func NewGetSessionServerSecretInternalServerError() *GetSessionServerSecretInternalServerError

NewGetSessionServerSecretInternalServerError creates a GetSessionServerSecretInternalServerError with default headers values

func (*GetSessionServerSecretInternalServerError) Error

func (*GetSessionServerSecretInternalServerError) GetPayload

func (*GetSessionServerSecretInternalServerError) ToJSONString

type GetSessionServerSecretNotFound

type GetSessionServerSecretNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

GetSessionServerSecretNotFound handles this case with default header values.

Not Found

func NewGetSessionServerSecretNotFound

func NewGetSessionServerSecretNotFound() *GetSessionServerSecretNotFound

NewGetSessionServerSecretNotFound creates a GetSessionServerSecretNotFound with default headers values

func (*GetSessionServerSecretNotFound) Error

func (*GetSessionServerSecretNotFound) GetPayload

func (*GetSessionServerSecretNotFound) ToJSONString

func (o *GetSessionServerSecretNotFound) ToJSONString() string

type GetSessionServerSecretOK

type GetSessionServerSecretOK struct {
	Payload *sessionclientmodels.ApimodelsServerSecret
}

GetSessionServerSecretOK handles this case with default header values.

OK

func NewGetSessionServerSecretOK

func NewGetSessionServerSecretOK() *GetSessionServerSecretOK

NewGetSessionServerSecretOK creates a GetSessionServerSecretOK with default headers values

func (*GetSessionServerSecretOK) Error

func (o *GetSessionServerSecretOK) Error() string

func (*GetSessionServerSecretOK) GetPayload

func (*GetSessionServerSecretOK) ToJSONString

func (o *GetSessionServerSecretOK) ToJSONString() string

type GetSessionServerSecretParams

type GetSessionServerSecretParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

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

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

func NewGetSessionServerSecretParams

func NewGetSessionServerSecretParams() *GetSessionServerSecretParams

NewGetSessionServerSecretParams creates a new GetSessionServerSecretParams object with the default values initialized.

func NewGetSessionServerSecretParamsWithContext

func NewGetSessionServerSecretParamsWithContext(ctx context.Context) *GetSessionServerSecretParams

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

func NewGetSessionServerSecretParamsWithHTTPClient

func NewGetSessionServerSecretParamsWithHTTPClient(client *http.Client) *GetSessionServerSecretParams

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

func NewGetSessionServerSecretParamsWithTimeout

func NewGetSessionServerSecretParamsWithTimeout(timeout time.Duration) *GetSessionServerSecretParams

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

func (*GetSessionServerSecretParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get session server secret params

func (*GetSessionServerSecretParams) SetContext

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

SetContext adds the context to the get session server secret params

func (*GetSessionServerSecretParams) SetFlightId

func (o *GetSessionServerSecretParams) SetFlightId(flightId string)

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

func (*GetSessionServerSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get session server secret params

func (*GetSessionServerSecretParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get session server secret params

func (*GetSessionServerSecretParams) SetNamespace

func (o *GetSessionServerSecretParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get session server secret params

func (*GetSessionServerSecretParams) SetSessionID

func (o *GetSessionServerSecretParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the get session server secret params

func (*GetSessionServerSecretParams) SetTimeout

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

SetTimeout adds the timeout to the get session server secret params

func (*GetSessionServerSecretParams) WithContext

WithContext adds the context to the get session server secret params

func (*GetSessionServerSecretParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get session server secret params

func (*GetSessionServerSecretParams) WithNamespace

WithNamespace adds the namespace to the get session server secret params

func (*GetSessionServerSecretParams) WithSessionID

WithSessionID adds the sessionID to the get session server secret params

func (*GetSessionServerSecretParams) WithTimeout

WithTimeout adds the timeout to the get session server secret params

func (*GetSessionServerSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSessionServerSecretReader

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

GetSessionServerSecretReader is a Reader for the GetSessionServerSecret structure.

func (*GetSessionServerSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSessionServerSecretUnauthorized

type GetSessionServerSecretUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

GetSessionServerSecretUnauthorized handles this case with default header values.

Unauthorized

func NewGetSessionServerSecretUnauthorized

func NewGetSessionServerSecretUnauthorized() *GetSessionServerSecretUnauthorized

NewGetSessionServerSecretUnauthorized creates a GetSessionServerSecretUnauthorized with default headers values

func (*GetSessionServerSecretUnauthorized) Error

func (*GetSessionServerSecretUnauthorized) GetPayload

func (*GetSessionServerSecretUnauthorized) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *JoinGameSessionParams) SetFlightId(flightId string)

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *LeaveGameSessionParams) SetFlightId(flightId string)

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

func (*LeaveGameSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the leave game session params

func (*LeaveGameSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the leave game session params

func (*LeaveGameSessionParams) SetNamespace

func (o *LeaveGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the leave game session params

func (*LeaveGameSessionParams) SetSessionID

func (o *LeaveGameSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the leave game session params

func (*LeaveGameSessionParams) SetTimeout

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

SetTimeout adds the timeout to the leave game session params

func (*LeaveGameSessionParams) WithContext

WithContext adds the context to the leave game session params

func (*LeaveGameSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the leave game session params

func (*LeaveGameSessionParams) WithNamespace

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

WithNamespace adds the namespace to the leave game session params

func (*LeaveGameSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the leave game session params

func (*LeaveGameSessionParams) WithTimeout

WithTimeout adds the timeout to the leave game session params

func (*LeaveGameSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LeaveGameSessionReader

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

LeaveGameSessionReader is a Reader for the LeaveGameSession structure.

func (*LeaveGameSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LeaveGameSessionUnauthorized

type LeaveGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

LeaveGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewLeaveGameSessionUnauthorized

func NewLeaveGameSessionUnauthorized() *LeaveGameSessionUnauthorized

NewLeaveGameSessionUnauthorized creates a LeaveGameSessionUnauthorized with default headers values

func (*LeaveGameSessionUnauthorized) Error

func (*LeaveGameSessionUnauthorized) GetPayload

func (*LeaveGameSessionUnauthorized) ToJSONString

func (o *LeaveGameSessionUnauthorized) ToJSONString() string

type PatchUpdateGameSessionBadRequest

type PatchUpdateGameSessionBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PatchUpdateGameSessionBadRequest handles this case with default header values.

Bad Request

func NewPatchUpdateGameSessionBadRequest

func NewPatchUpdateGameSessionBadRequest() *PatchUpdateGameSessionBadRequest

NewPatchUpdateGameSessionBadRequest creates a PatchUpdateGameSessionBadRequest with default headers values

func (*PatchUpdateGameSessionBadRequest) Error

func (*PatchUpdateGameSessionBadRequest) GetPayload

func (*PatchUpdateGameSessionBadRequest) ToJSONString

func (o *PatchUpdateGameSessionBadRequest) ToJSONString() string

type PatchUpdateGameSessionForbidden

type PatchUpdateGameSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

PatchUpdateGameSessionForbidden handles this case with default header values.

Forbidden

func NewPatchUpdateGameSessionForbidden

func NewPatchUpdateGameSessionForbidden() *PatchUpdateGameSessionForbidden

NewPatchUpdateGameSessionForbidden creates a PatchUpdateGameSessionForbidden with default headers values

func (*PatchUpdateGameSessionForbidden) Error

func (*PatchUpdateGameSessionForbidden) GetPayload

func (*PatchUpdateGameSessionForbidden) ToJSONString

func (o *PatchUpdateGameSessionForbidden) ToJSONString() string

type PatchUpdateGameSessionInternalServerError

type PatchUpdateGameSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PatchUpdateGameSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewPatchUpdateGameSessionInternalServerError

func NewPatchUpdateGameSessionInternalServerError() *PatchUpdateGameSessionInternalServerError

NewPatchUpdateGameSessionInternalServerError creates a PatchUpdateGameSessionInternalServerError with default headers values

func (*PatchUpdateGameSessionInternalServerError) Error

func (*PatchUpdateGameSessionInternalServerError) GetPayload

func (*PatchUpdateGameSessionInternalServerError) ToJSONString

type PatchUpdateGameSessionNotFound

type PatchUpdateGameSessionNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PatchUpdateGameSessionNotFound handles this case with default header values.

Not Found

func NewPatchUpdateGameSessionNotFound

func NewPatchUpdateGameSessionNotFound() *PatchUpdateGameSessionNotFound

NewPatchUpdateGameSessionNotFound creates a PatchUpdateGameSessionNotFound with default headers values

func (*PatchUpdateGameSessionNotFound) Error

func (*PatchUpdateGameSessionNotFound) GetPayload

func (*PatchUpdateGameSessionNotFound) ToJSONString

func (o *PatchUpdateGameSessionNotFound) ToJSONString() string

type PatchUpdateGameSessionOK

type PatchUpdateGameSessionOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

PatchUpdateGameSessionOK handles this case with default header values.

OK

func NewPatchUpdateGameSessionOK

func NewPatchUpdateGameSessionOK() *PatchUpdateGameSessionOK

NewPatchUpdateGameSessionOK creates a PatchUpdateGameSessionOK with default headers values

func (*PatchUpdateGameSessionOK) Error

func (o *PatchUpdateGameSessionOK) Error() string

func (*PatchUpdateGameSessionOK) GetPayload

func (*PatchUpdateGameSessionOK) ToJSONString

func (o *PatchUpdateGameSessionOK) ToJSONString() string

type PatchUpdateGameSessionParams

type PatchUpdateGameSessionParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *PatchUpdateGameSessionParams) SetFlightId(flightId string)

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

func (*PatchUpdateGameSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch update game session params

func (*PatchUpdateGameSessionParams) SetHTTPClientTransport

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

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

func (*PatchUpdateGameSessionParams) SetNamespace

func (o *PatchUpdateGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the patch update game session params

func (*PatchUpdateGameSessionParams) SetSessionID

func (o *PatchUpdateGameSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the patch update game session params

func (*PatchUpdateGameSessionParams) SetTimeout

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

SetTimeout adds the timeout to the patch update game session params

func (*PatchUpdateGameSessionParams) WithBody

WithBody adds the body to the patch update game session params

func (*PatchUpdateGameSessionParams) WithContext

WithContext adds the context to the patch update game session params

func (*PatchUpdateGameSessionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch update game session params

func (*PatchUpdateGameSessionParams) WithNamespace

WithNamespace adds the namespace to the patch update game session params

func (*PatchUpdateGameSessionParams) WithSessionID

WithSessionID adds the sessionID to the patch update game session params

func (*PatchUpdateGameSessionParams) WithTimeout

WithTimeout adds the timeout to the patch update game session params

func (*PatchUpdateGameSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchUpdateGameSessionReader

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

PatchUpdateGameSessionReader is a Reader for the PatchUpdateGameSession structure.

func (*PatchUpdateGameSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchUpdateGameSessionUnauthorized

type PatchUpdateGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PatchUpdateGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewPatchUpdateGameSessionUnauthorized

func NewPatchUpdateGameSessionUnauthorized() *PatchUpdateGameSessionUnauthorized

NewPatchUpdateGameSessionUnauthorized creates a PatchUpdateGameSessionUnauthorized with default headers values

func (*PatchUpdateGameSessionUnauthorized) Error

func (*PatchUpdateGameSessionUnauthorized) GetPayload

func (*PatchUpdateGameSessionUnauthorized) ToJSONString

func (o *PatchUpdateGameSessionUnauthorized) ToJSONString() string

type PublicGameSessionInviteBadRequest

type PublicGameSessionInviteBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionInviteBadRequest handles this case with default header values.

Bad Request

func NewPublicGameSessionInviteBadRequest

func NewPublicGameSessionInviteBadRequest() *PublicGameSessionInviteBadRequest

NewPublicGameSessionInviteBadRequest creates a PublicGameSessionInviteBadRequest with default headers values

func (*PublicGameSessionInviteBadRequest) Error

func (*PublicGameSessionInviteBadRequest) GetPayload

func (*PublicGameSessionInviteBadRequest) ToJSONString

func (o *PublicGameSessionInviteBadRequest) ToJSONString() string

type PublicGameSessionInviteCreated

type PublicGameSessionInviteCreated struct {
}

PublicGameSessionInviteCreated handles this case with default header values.

Created

func NewPublicGameSessionInviteCreated

func NewPublicGameSessionInviteCreated() *PublicGameSessionInviteCreated

NewPublicGameSessionInviteCreated creates a PublicGameSessionInviteCreated with default headers values

func (*PublicGameSessionInviteCreated) Error

type PublicGameSessionInviteInternalServerError

type PublicGameSessionInviteInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionInviteInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicGameSessionInviteInternalServerError

func NewPublicGameSessionInviteInternalServerError() *PublicGameSessionInviteInternalServerError

NewPublicGameSessionInviteInternalServerError creates a PublicGameSessionInviteInternalServerError with default headers values

func (*PublicGameSessionInviteInternalServerError) Error

func (*PublicGameSessionInviteInternalServerError) GetPayload

func (*PublicGameSessionInviteInternalServerError) ToJSONString

type PublicGameSessionInviteNoContent

type PublicGameSessionInviteNoContent struct {
}

PublicGameSessionInviteNoContent handles this case with default header values.

No Content

func NewPublicGameSessionInviteNoContent

func NewPublicGameSessionInviteNoContent() *PublicGameSessionInviteNoContent

NewPublicGameSessionInviteNoContent creates a PublicGameSessionInviteNoContent with default headers values

func (*PublicGameSessionInviteNoContent) Error

type PublicGameSessionInviteNotFound

type PublicGameSessionInviteNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionInviteNotFound handles this case with default header values.

Not Found

func NewPublicGameSessionInviteNotFound

func NewPublicGameSessionInviteNotFound() *PublicGameSessionInviteNotFound

NewPublicGameSessionInviteNotFound creates a PublicGameSessionInviteNotFound with default headers values

func (*PublicGameSessionInviteNotFound) Error

func (*PublicGameSessionInviteNotFound) GetPayload

func (*PublicGameSessionInviteNotFound) ToJSONString

func (o *PublicGameSessionInviteNotFound) ToJSONString() string

type PublicGameSessionInviteParams

type PublicGameSessionInviteParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *PublicGameSessionInviteParams) SetFlightId(flightId string)

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *PublicGameSessionRejectParams) SetFlightId(flightId string)

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

func (*PublicGameSessionRejectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public game session reject params

func (*PublicGameSessionRejectParams) SetHTTPClientTransport

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

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

func (*PublicGameSessionRejectParams) SetNamespace

func (o *PublicGameSessionRejectParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public game session reject params

func (*PublicGameSessionRejectParams) SetSessionID

func (o *PublicGameSessionRejectParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the public game session reject params

func (*PublicGameSessionRejectParams) SetTimeout

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

SetTimeout adds the timeout to the public game session reject params

func (*PublicGameSessionRejectParams) WithContext

WithContext adds the context to the public game session reject params

func (*PublicGameSessionRejectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public game session reject params

func (*PublicGameSessionRejectParams) WithNamespace

WithNamespace adds the namespace to the public game session reject params

func (*PublicGameSessionRejectParams) WithSessionID

WithSessionID adds the sessionID to the public game session reject params

func (*PublicGameSessionRejectParams) WithTimeout

WithTimeout adds the timeout to the public game session reject params

func (*PublicGameSessionRejectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGameSessionRejectReader

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

PublicGameSessionRejectReader is a Reader for the PublicGameSessionReject structure.

func (*PublicGameSessionRejectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGameSessionRejectUnauthorized

type PublicGameSessionRejectUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicGameSessionRejectUnauthorized handles this case with default header values.

Unauthorized

func NewPublicGameSessionRejectUnauthorized

func NewPublicGameSessionRejectUnauthorized() *PublicGameSessionRejectUnauthorized

NewPublicGameSessionRejectUnauthorized creates a PublicGameSessionRejectUnauthorized with default headers values

func (*PublicGameSessionRejectUnauthorized) Error

func (*PublicGameSessionRejectUnauthorized) GetPayload

func (*PublicGameSessionRejectUnauthorized) ToJSONString

func (o *PublicGameSessionRejectUnauthorized) ToJSONString() string

type PublicPromoteGameSessionLeaderBadRequest

type PublicPromoteGameSessionLeaderBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicPromoteGameSessionLeaderBadRequest handles this case with default header values.

Bad Request

func NewPublicPromoteGameSessionLeaderBadRequest

func NewPublicPromoteGameSessionLeaderBadRequest() *PublicPromoteGameSessionLeaderBadRequest

NewPublicPromoteGameSessionLeaderBadRequest creates a PublicPromoteGameSessionLeaderBadRequest with default headers values

func (*PublicPromoteGameSessionLeaderBadRequest) Error

func (*PublicPromoteGameSessionLeaderBadRequest) GetPayload

func (*PublicPromoteGameSessionLeaderBadRequest) ToJSONString

type PublicPromoteGameSessionLeaderForbidden

type PublicPromoteGameSessionLeaderForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

PublicPromoteGameSessionLeaderForbidden handles this case with default header values.

Forbidden

func NewPublicPromoteGameSessionLeaderForbidden

func NewPublicPromoteGameSessionLeaderForbidden() *PublicPromoteGameSessionLeaderForbidden

NewPublicPromoteGameSessionLeaderForbidden creates a PublicPromoteGameSessionLeaderForbidden with default headers values

func (*PublicPromoteGameSessionLeaderForbidden) Error

func (*PublicPromoteGameSessionLeaderForbidden) GetPayload

func (*PublicPromoteGameSessionLeaderForbidden) ToJSONString

type PublicPromoteGameSessionLeaderInternalServerError

type PublicPromoteGameSessionLeaderInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicPromoteGameSessionLeaderInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicPromoteGameSessionLeaderInternalServerError

func NewPublicPromoteGameSessionLeaderInternalServerError() *PublicPromoteGameSessionLeaderInternalServerError

NewPublicPromoteGameSessionLeaderInternalServerError creates a PublicPromoteGameSessionLeaderInternalServerError with default headers values

func (*PublicPromoteGameSessionLeaderInternalServerError) Error

func (*PublicPromoteGameSessionLeaderInternalServerError) GetPayload

func (*PublicPromoteGameSessionLeaderInternalServerError) ToJSONString

type PublicPromoteGameSessionLeaderNotFound

type PublicPromoteGameSessionLeaderNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicPromoteGameSessionLeaderNotFound handles this case with default header values.

Not Found

func NewPublicPromoteGameSessionLeaderNotFound

func NewPublicPromoteGameSessionLeaderNotFound() *PublicPromoteGameSessionLeaderNotFound

NewPublicPromoteGameSessionLeaderNotFound creates a PublicPromoteGameSessionLeaderNotFound with default headers values

func (*PublicPromoteGameSessionLeaderNotFound) Error

func (*PublicPromoteGameSessionLeaderNotFound) GetPayload

func (*PublicPromoteGameSessionLeaderNotFound) ToJSONString

type PublicPromoteGameSessionLeaderOK

type PublicPromoteGameSessionLeaderOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

PublicPromoteGameSessionLeaderOK handles this case with default header values.

OK

func NewPublicPromoteGameSessionLeaderOK

func NewPublicPromoteGameSessionLeaderOK() *PublicPromoteGameSessionLeaderOK

NewPublicPromoteGameSessionLeaderOK creates a PublicPromoteGameSessionLeaderOK with default headers values

func (*PublicPromoteGameSessionLeaderOK) Error

func (*PublicPromoteGameSessionLeaderOK) GetPayload

func (*PublicPromoteGameSessionLeaderOK) ToJSONString

func (o *PublicPromoteGameSessionLeaderOK) ToJSONString() string

type PublicPromoteGameSessionLeaderParams

type PublicPromoteGameSessionLeaderParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

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

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

func NewPublicPromoteGameSessionLeaderParams

func NewPublicPromoteGameSessionLeaderParams() *PublicPromoteGameSessionLeaderParams

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

func NewPublicPromoteGameSessionLeaderParamsWithContext

func NewPublicPromoteGameSessionLeaderParamsWithContext(ctx context.Context) *PublicPromoteGameSessionLeaderParams

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

func NewPublicPromoteGameSessionLeaderParamsWithHTTPClient

func NewPublicPromoteGameSessionLeaderParamsWithHTTPClient(client *http.Client) *PublicPromoteGameSessionLeaderParams

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

func NewPublicPromoteGameSessionLeaderParamsWithTimeout

func NewPublicPromoteGameSessionLeaderParamsWithTimeout(timeout time.Duration) *PublicPromoteGameSessionLeaderParams

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

func (*PublicPromoteGameSessionLeaderParams) SetAuthInfoWriter

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

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

func (*PublicPromoteGameSessionLeaderParams) SetBody

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

func (*PublicPromoteGameSessionLeaderParams) SetContext

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

func (*PublicPromoteGameSessionLeaderParams) SetFlightId

func (o *PublicPromoteGameSessionLeaderParams) SetFlightId(flightId string)

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

func (*PublicPromoteGameSessionLeaderParams) SetHTTPClient

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

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

func (*PublicPromoteGameSessionLeaderParams) SetHTTPClientTransport

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

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

func (*PublicPromoteGameSessionLeaderParams) SetNamespace

func (o *PublicPromoteGameSessionLeaderParams) SetNamespace(namespace string)

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

func (*PublicPromoteGameSessionLeaderParams) SetSessionID

func (o *PublicPromoteGameSessionLeaderParams) SetSessionID(sessionID string)

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

func (*PublicPromoteGameSessionLeaderParams) SetTimeout

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

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

func (*PublicPromoteGameSessionLeaderParams) WithBody

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

func (*PublicPromoteGameSessionLeaderParams) WithContext

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

func (*PublicPromoteGameSessionLeaderParams) WithHTTPClient

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

func (*PublicPromoteGameSessionLeaderParams) WithNamespace

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

func (*PublicPromoteGameSessionLeaderParams) WithSessionID

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

func (*PublicPromoteGameSessionLeaderParams) WithTimeout

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

func (*PublicPromoteGameSessionLeaderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicPromoteGameSessionLeaderReader

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

PublicPromoteGameSessionLeaderReader is a Reader for the PublicPromoteGameSessionLeader structure.

func (*PublicPromoteGameSessionLeaderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicPromoteGameSessionLeaderUnauthorized

type PublicPromoteGameSessionLeaderUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicPromoteGameSessionLeaderUnauthorized handles this case with default header values.

Unauthorized

func NewPublicPromoteGameSessionLeaderUnauthorized

func NewPublicPromoteGameSessionLeaderUnauthorized() *PublicPromoteGameSessionLeaderUnauthorized

NewPublicPromoteGameSessionLeaderUnauthorized creates a PublicPromoteGameSessionLeaderUnauthorized with default headers values

func (*PublicPromoteGameSessionLeaderUnauthorized) Error

func (*PublicPromoteGameSessionLeaderUnauthorized) GetPayload

func (*PublicPromoteGameSessionLeaderUnauthorized) ToJSONString

type PublicQueryGameSessionsByAttributesBadRequest

type PublicQueryGameSessionsByAttributesBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicQueryGameSessionsByAttributesBadRequest handles this case with default header values.

Bad Request

func NewPublicQueryGameSessionsByAttributesBadRequest

func NewPublicQueryGameSessionsByAttributesBadRequest() *PublicQueryGameSessionsByAttributesBadRequest

NewPublicQueryGameSessionsByAttributesBadRequest creates a PublicQueryGameSessionsByAttributesBadRequest with default headers values

func (*PublicQueryGameSessionsByAttributesBadRequest) Error

func (*PublicQueryGameSessionsByAttributesBadRequest) GetPayload

func (*PublicQueryGameSessionsByAttributesBadRequest) ToJSONString

type PublicQueryGameSessionsByAttributesForbidden

type PublicQueryGameSessionsByAttributesForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

PublicQueryGameSessionsByAttributesForbidden handles this case with default header values.

Forbidden

func NewPublicQueryGameSessionsByAttributesForbidden

func NewPublicQueryGameSessionsByAttributesForbidden() *PublicQueryGameSessionsByAttributesForbidden

NewPublicQueryGameSessionsByAttributesForbidden creates a PublicQueryGameSessionsByAttributesForbidden with default headers values

func (*PublicQueryGameSessionsByAttributesForbidden) Error

func (*PublicQueryGameSessionsByAttributesForbidden) GetPayload

func (*PublicQueryGameSessionsByAttributesForbidden) ToJSONString

type PublicQueryGameSessionsByAttributesInternalServerError

type PublicQueryGameSessionsByAttributesInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicQueryGameSessionsByAttributesInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicQueryGameSessionsByAttributesInternalServerError

func NewPublicQueryGameSessionsByAttributesInternalServerError() *PublicQueryGameSessionsByAttributesInternalServerError

NewPublicQueryGameSessionsByAttributesInternalServerError creates a PublicQueryGameSessionsByAttributesInternalServerError with default headers values

func (*PublicQueryGameSessionsByAttributesInternalServerError) Error

func (*PublicQueryGameSessionsByAttributesInternalServerError) GetPayload

func (*PublicQueryGameSessionsByAttributesInternalServerError) ToJSONString

type PublicQueryGameSessionsByAttributesOK

type PublicQueryGameSessionsByAttributesOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionQueryResponse
}

PublicQueryGameSessionsByAttributesOK handles this case with default header values.

OK

func NewPublicQueryGameSessionsByAttributesOK

func NewPublicQueryGameSessionsByAttributesOK() *PublicQueryGameSessionsByAttributesOK

NewPublicQueryGameSessionsByAttributesOK creates a PublicQueryGameSessionsByAttributesOK with default headers values

func (*PublicQueryGameSessionsByAttributesOK) Error

func (*PublicQueryGameSessionsByAttributesOK) GetPayload

func (*PublicQueryGameSessionsByAttributesOK) ToJSONString

type PublicQueryGameSessionsByAttributesParams

type PublicQueryGameSessionsByAttributesParams struct {

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

	*/
	Namespace string

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

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

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

func NewPublicQueryGameSessionsByAttributesParams

func NewPublicQueryGameSessionsByAttributesParams() *PublicQueryGameSessionsByAttributesParams

NewPublicQueryGameSessionsByAttributesParams creates a new PublicQueryGameSessionsByAttributesParams object with the default values initialized.

func NewPublicQueryGameSessionsByAttributesParamsWithContext

func NewPublicQueryGameSessionsByAttributesParamsWithContext(ctx context.Context) *PublicQueryGameSessionsByAttributesParams

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

func NewPublicQueryGameSessionsByAttributesParamsWithHTTPClient

func NewPublicQueryGameSessionsByAttributesParamsWithHTTPClient(client *http.Client) *PublicQueryGameSessionsByAttributesParams

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

func NewPublicQueryGameSessionsByAttributesParamsWithTimeout

func NewPublicQueryGameSessionsByAttributesParamsWithTimeout(timeout time.Duration) *PublicQueryGameSessionsByAttributesParams

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

func (*PublicQueryGameSessionsByAttributesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public query game sessions by attributes params

func (*PublicQueryGameSessionsByAttributesParams) SetBody

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

SetBody adds the body to the public query game sessions by attributes params

func (*PublicQueryGameSessionsByAttributesParams) SetContext

SetContext adds the context to the public query game sessions by attributes params

func (*PublicQueryGameSessionsByAttributesParams) SetFlightId

func (o *PublicQueryGameSessionsByAttributesParams) SetFlightId(flightId string)

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

func (*PublicQueryGameSessionsByAttributesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public query game sessions by attributes params

func (*PublicQueryGameSessionsByAttributesParams) SetHTTPClientTransport

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

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

func (*PublicQueryGameSessionsByAttributesParams) SetNamespace

func (o *PublicQueryGameSessionsByAttributesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public query game sessions by attributes params

func (*PublicQueryGameSessionsByAttributesParams) SetTimeout

SetTimeout adds the timeout to the public query game sessions by attributes params

func (*PublicQueryGameSessionsByAttributesParams) WithBody

WithBody adds the body to the public query game sessions by attributes params

func (*PublicQueryGameSessionsByAttributesParams) WithContext

WithContext adds the context to the public query game sessions by attributes params

func (*PublicQueryGameSessionsByAttributesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public query game sessions by attributes params

func (*PublicQueryGameSessionsByAttributesParams) WithNamespace

WithNamespace adds the namespace to the public query game sessions by attributes params

func (*PublicQueryGameSessionsByAttributesParams) WithTimeout

WithTimeout adds the timeout to the public query game sessions by attributes params

func (*PublicQueryGameSessionsByAttributesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicQueryGameSessionsByAttributesReader

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

PublicQueryGameSessionsByAttributesReader is a Reader for the PublicQueryGameSessionsByAttributes structure.

func (*PublicQueryGameSessionsByAttributesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicQueryGameSessionsByAttributesUnauthorized

type PublicQueryGameSessionsByAttributesUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicQueryGameSessionsByAttributesUnauthorized handles this case with default header values.

Unauthorized

func NewPublicQueryGameSessionsByAttributesUnauthorized

func NewPublicQueryGameSessionsByAttributesUnauthorized() *PublicQueryGameSessionsByAttributesUnauthorized

NewPublicQueryGameSessionsByAttributesUnauthorized creates a PublicQueryGameSessionsByAttributesUnauthorized with default headers values

func (*PublicQueryGameSessionsByAttributesUnauthorized) Error

func (*PublicQueryGameSessionsByAttributesUnauthorized) GetPayload

func (*PublicQueryGameSessionsByAttributesUnauthorized) ToJSONString

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.ApimodelsGameSessionQueryResponse
}

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *PublicQueryMyGameSessionsParams) SetFlightId(flightId string)

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

func (*PublicQueryMyGameSessionsParams) SetHTTPClient

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

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

func (*PublicQueryMyGameSessionsParams) SetHTTPClientTransport

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

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

func (*PublicQueryMyGameSessionsParams) SetNamespace

func (o *PublicQueryMyGameSessionsParams) SetNamespace(namespace string)

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

func (*PublicQueryMyGameSessionsParams) SetOrder

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

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

func (*PublicQueryMyGameSessionsParams) SetOrderBy

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

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

func (*PublicQueryMyGameSessionsParams) SetStatus

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

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

func (*PublicQueryMyGameSessionsParams) SetTimeout

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

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

func (*PublicQueryMyGameSessionsParams) WithContext

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

func (*PublicQueryMyGameSessionsParams) WithHTTPClient

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

func (*PublicQueryMyGameSessionsParams) WithNamespace

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

func (*PublicQueryMyGameSessionsParams) WithOrder

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

func (*PublicQueryMyGameSessionsParams) WithOrderBy

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

func (*PublicQueryMyGameSessionsParams) WithStatus

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

func (*PublicQueryMyGameSessionsParams) WithTimeout

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

func (*PublicQueryMyGameSessionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicQueryMyGameSessionsReader

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

PublicQueryMyGameSessionsReader is a Reader for the PublicQueryMyGameSessions structure.

func (*PublicQueryMyGameSessionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicQueryMyGameSessionsUnauthorized

type PublicQueryMyGameSessionsUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicQueryMyGameSessionsUnauthorized handles this case with default header values.

Unauthorized

func NewPublicQueryMyGameSessionsUnauthorized

func NewPublicQueryMyGameSessionsUnauthorized() *PublicQueryMyGameSessionsUnauthorized

NewPublicQueryMyGameSessionsUnauthorized creates a PublicQueryMyGameSessionsUnauthorized with default headers values

func (*PublicQueryMyGameSessionsUnauthorized) Error

func (*PublicQueryMyGameSessionsUnauthorized) GetPayload

func (*PublicQueryMyGameSessionsUnauthorized) ToJSONString

type PublicRevokeGameSessionCodeBadRequest

type PublicRevokeGameSessionCodeBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicRevokeGameSessionCodeBadRequest handles this case with default header values.

Bad Request

func NewPublicRevokeGameSessionCodeBadRequest

func NewPublicRevokeGameSessionCodeBadRequest() *PublicRevokeGameSessionCodeBadRequest

NewPublicRevokeGameSessionCodeBadRequest creates a PublicRevokeGameSessionCodeBadRequest with default headers values

func (*PublicRevokeGameSessionCodeBadRequest) Error

func (*PublicRevokeGameSessionCodeBadRequest) GetPayload

func (*PublicRevokeGameSessionCodeBadRequest) ToJSONString

type PublicRevokeGameSessionCodeForbidden

type PublicRevokeGameSessionCodeForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

PublicRevokeGameSessionCodeForbidden handles this case with default header values.

Forbidden

func NewPublicRevokeGameSessionCodeForbidden

func NewPublicRevokeGameSessionCodeForbidden() *PublicRevokeGameSessionCodeForbidden

NewPublicRevokeGameSessionCodeForbidden creates a PublicRevokeGameSessionCodeForbidden with default headers values

func (*PublicRevokeGameSessionCodeForbidden) Error

func (*PublicRevokeGameSessionCodeForbidden) GetPayload

func (*PublicRevokeGameSessionCodeForbidden) ToJSONString

func (o *PublicRevokeGameSessionCodeForbidden) ToJSONString() string

type PublicRevokeGameSessionCodeInternalServerError

type PublicRevokeGameSessionCodeInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicRevokeGameSessionCodeInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicRevokeGameSessionCodeInternalServerError

func NewPublicRevokeGameSessionCodeInternalServerError() *PublicRevokeGameSessionCodeInternalServerError

NewPublicRevokeGameSessionCodeInternalServerError creates a PublicRevokeGameSessionCodeInternalServerError with default headers values

func (*PublicRevokeGameSessionCodeInternalServerError) Error

func (*PublicRevokeGameSessionCodeInternalServerError) GetPayload

func (*PublicRevokeGameSessionCodeInternalServerError) ToJSONString

type PublicRevokeGameSessionCodeNoContent

type PublicRevokeGameSessionCodeNoContent struct {
}

PublicRevokeGameSessionCodeNoContent handles this case with default header values.

No Content

func NewPublicRevokeGameSessionCodeNoContent

func NewPublicRevokeGameSessionCodeNoContent() *PublicRevokeGameSessionCodeNoContent

NewPublicRevokeGameSessionCodeNoContent creates a PublicRevokeGameSessionCodeNoContent with default headers values

func (*PublicRevokeGameSessionCodeNoContent) Error

type PublicRevokeGameSessionCodeNotFound

type PublicRevokeGameSessionCodeNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicRevokeGameSessionCodeNotFound handles this case with default header values.

Not Found

func NewPublicRevokeGameSessionCodeNotFound

func NewPublicRevokeGameSessionCodeNotFound() *PublicRevokeGameSessionCodeNotFound

NewPublicRevokeGameSessionCodeNotFound creates a PublicRevokeGameSessionCodeNotFound with default headers values

func (*PublicRevokeGameSessionCodeNotFound) Error

func (*PublicRevokeGameSessionCodeNotFound) GetPayload

func (*PublicRevokeGameSessionCodeNotFound) ToJSONString

func (o *PublicRevokeGameSessionCodeNotFound) ToJSONString() string

type PublicRevokeGameSessionCodeParams

type PublicRevokeGameSessionCodeParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

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

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

func NewPublicRevokeGameSessionCodeParams

func NewPublicRevokeGameSessionCodeParams() *PublicRevokeGameSessionCodeParams

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

func NewPublicRevokeGameSessionCodeParamsWithContext

func NewPublicRevokeGameSessionCodeParamsWithContext(ctx context.Context) *PublicRevokeGameSessionCodeParams

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

func NewPublicRevokeGameSessionCodeParamsWithHTTPClient

func NewPublicRevokeGameSessionCodeParamsWithHTTPClient(client *http.Client) *PublicRevokeGameSessionCodeParams

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

func NewPublicRevokeGameSessionCodeParamsWithTimeout

func NewPublicRevokeGameSessionCodeParamsWithTimeout(timeout time.Duration) *PublicRevokeGameSessionCodeParams

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

func (*PublicRevokeGameSessionCodeParams) SetAuthInfoWriter

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

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

func (*PublicRevokeGameSessionCodeParams) SetContext

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

func (*PublicRevokeGameSessionCodeParams) SetFlightId

func (o *PublicRevokeGameSessionCodeParams) SetFlightId(flightId string)

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

func (*PublicRevokeGameSessionCodeParams) SetHTTPClient

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

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

func (*PublicRevokeGameSessionCodeParams) SetHTTPClientTransport

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

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

func (*PublicRevokeGameSessionCodeParams) SetNamespace

func (o *PublicRevokeGameSessionCodeParams) SetNamespace(namespace string)

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

func (*PublicRevokeGameSessionCodeParams) SetSessionID

func (o *PublicRevokeGameSessionCodeParams) SetSessionID(sessionID string)

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

func (*PublicRevokeGameSessionCodeParams) SetTimeout

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

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

func (*PublicRevokeGameSessionCodeParams) WithContext

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

func (*PublicRevokeGameSessionCodeParams) WithHTTPClient

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

func (*PublicRevokeGameSessionCodeParams) WithNamespace

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

func (*PublicRevokeGameSessionCodeParams) WithSessionID

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

func (*PublicRevokeGameSessionCodeParams) WithTimeout

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

func (*PublicRevokeGameSessionCodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicRevokeGameSessionCodeReader

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

PublicRevokeGameSessionCodeReader is a Reader for the PublicRevokeGameSessionCode structure.

func (*PublicRevokeGameSessionCodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicRevokeGameSessionCodeUnauthorized

type PublicRevokeGameSessionCodeUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicRevokeGameSessionCodeUnauthorized handles this case with default header values.

Unauthorized

func NewPublicRevokeGameSessionCodeUnauthorized

func NewPublicRevokeGameSessionCodeUnauthorized() *PublicRevokeGameSessionCodeUnauthorized

NewPublicRevokeGameSessionCodeUnauthorized creates a PublicRevokeGameSessionCodeUnauthorized with default headers values

func (*PublicRevokeGameSessionCodeUnauthorized) Error

func (*PublicRevokeGameSessionCodeUnauthorized) GetPayload

func (*PublicRevokeGameSessionCodeUnauthorized) ToJSONString

type PublicSessionJoinCodeBadRequest

type PublicSessionJoinCodeBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

PublicSessionJoinCodeBadRequest handles this case with default header values.

Bad Request

func NewPublicSessionJoinCodeBadRequest

func NewPublicSessionJoinCodeBadRequest() *PublicSessionJoinCodeBadRequest

NewPublicSessionJoinCodeBadRequest creates a PublicSessionJoinCodeBadRequest with default headers values

func (*PublicSessionJoinCodeBadRequest) Error

func (*PublicSessionJoinCodeBadRequest) GetPayload

func (*PublicSessionJoinCodeBadRequest) ToJSONString

func (o *PublicSessionJoinCodeBadRequest) ToJSONString() string

type PublicSessionJoinCodeForbidden

type PublicSessionJoinCodeForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

PublicSessionJoinCodeForbidden handles this case with default header values.

Forbidden

func NewPublicSessionJoinCodeForbidden

func NewPublicSessionJoinCodeForbidden() *PublicSessionJoinCodeForbidden

NewPublicSessionJoinCodeForbidden creates a PublicSessionJoinCodeForbidden with default headers values

func (*PublicSessionJoinCodeForbidden) Error

func (*PublicSessionJoinCodeForbidden) GetPayload

func (*PublicSessionJoinCodeForbidden) ToJSONString

func (o *PublicSessionJoinCodeForbidden) ToJSONString() string

type PublicSessionJoinCodeInternalServerError

type PublicSessionJoinCodeInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

PublicSessionJoinCodeInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicSessionJoinCodeInternalServerError

func NewPublicSessionJoinCodeInternalServerError() *PublicSessionJoinCodeInternalServerError

NewPublicSessionJoinCodeInternalServerError creates a PublicSessionJoinCodeInternalServerError with default headers values

func (*PublicSessionJoinCodeInternalServerError) Error

func (*PublicSessionJoinCodeInternalServerError) GetPayload

func (*PublicSessionJoinCodeInternalServerError) ToJSONString

type PublicSessionJoinCodeNotFound

type PublicSessionJoinCodeNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

PublicSessionJoinCodeNotFound handles this case with default header values.

Not Found

func NewPublicSessionJoinCodeNotFound

func NewPublicSessionJoinCodeNotFound() *PublicSessionJoinCodeNotFound

NewPublicSessionJoinCodeNotFound creates a PublicSessionJoinCodeNotFound with default headers values

func (*PublicSessionJoinCodeNotFound) Error

func (*PublicSessionJoinCodeNotFound) GetPayload

func (*PublicSessionJoinCodeNotFound) ToJSONString

func (o *PublicSessionJoinCodeNotFound) ToJSONString() string

type PublicSessionJoinCodeOK

type PublicSessionJoinCodeOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

PublicSessionJoinCodeOK handles this case with default header values.

OK

func NewPublicSessionJoinCodeOK

func NewPublicSessionJoinCodeOK() *PublicSessionJoinCodeOK

NewPublicSessionJoinCodeOK creates a PublicSessionJoinCodeOK with default headers values

func (*PublicSessionJoinCodeOK) Error

func (o *PublicSessionJoinCodeOK) Error() string

func (*PublicSessionJoinCodeOK) GetPayload

func (*PublicSessionJoinCodeOK) ToJSONString

func (o *PublicSessionJoinCodeOK) ToJSONString() string

type PublicSessionJoinCodeParams

type PublicSessionJoinCodeParams struct {

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

	*/
	Namespace string

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

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

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

func NewPublicSessionJoinCodeParams

func NewPublicSessionJoinCodeParams() *PublicSessionJoinCodeParams

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

func NewPublicSessionJoinCodeParamsWithContext

func NewPublicSessionJoinCodeParamsWithContext(ctx context.Context) *PublicSessionJoinCodeParams

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

func NewPublicSessionJoinCodeParamsWithHTTPClient

func NewPublicSessionJoinCodeParamsWithHTTPClient(client *http.Client) *PublicSessionJoinCodeParams

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

func NewPublicSessionJoinCodeParamsWithTimeout

func NewPublicSessionJoinCodeParamsWithTimeout(timeout time.Duration) *PublicSessionJoinCodeParams

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

func (*PublicSessionJoinCodeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public session join code params

func (*PublicSessionJoinCodeParams) SetBody

SetBody adds the body to the public session join code params

func (*PublicSessionJoinCodeParams) SetContext

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

SetContext adds the context to the public session join code params

func (*PublicSessionJoinCodeParams) SetFlightId

func (o *PublicSessionJoinCodeParams) SetFlightId(flightId string)

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

func (*PublicSessionJoinCodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public session join code params

func (*PublicSessionJoinCodeParams) SetHTTPClientTransport

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

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

func (*PublicSessionJoinCodeParams) SetNamespace

func (o *PublicSessionJoinCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public session join code params

func (*PublicSessionJoinCodeParams) SetTimeout

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

SetTimeout adds the timeout to the public session join code params

func (*PublicSessionJoinCodeParams) WithBody

WithBody adds the body to the public session join code params

func (*PublicSessionJoinCodeParams) WithContext

WithContext adds the context to the public session join code params

func (*PublicSessionJoinCodeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public session join code params

func (*PublicSessionJoinCodeParams) WithNamespace

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

WithNamespace adds the namespace to the public session join code params

func (*PublicSessionJoinCodeParams) WithTimeout

WithTimeout adds the timeout to the public session join code params

func (*PublicSessionJoinCodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicSessionJoinCodeReader

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

PublicSessionJoinCodeReader is a Reader for the PublicSessionJoinCode structure.

func (*PublicSessionJoinCodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicSessionJoinCodeUnauthorized

type PublicSessionJoinCodeUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

PublicSessionJoinCodeUnauthorized handles this case with default header values.

Unauthorized

func NewPublicSessionJoinCodeUnauthorized

func NewPublicSessionJoinCodeUnauthorized() *PublicSessionJoinCodeUnauthorized

NewPublicSessionJoinCodeUnauthorized creates a PublicSessionJoinCodeUnauthorized with default headers values

func (*PublicSessionJoinCodeUnauthorized) Error

func (*PublicSessionJoinCodeUnauthorized) GetPayload

func (*PublicSessionJoinCodeUnauthorized) ToJSONString

func (o *PublicSessionJoinCodeUnauthorized) ToJSONString() string

type UpdateGameSessionBackfillTicketIDForbidden

type UpdateGameSessionBackfillTicketIDForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionBackfillTicketIDForbidden handles this case with default header values.

Forbidden

func NewUpdateGameSessionBackfillTicketIDForbidden

func NewUpdateGameSessionBackfillTicketIDForbidden() *UpdateGameSessionBackfillTicketIDForbidden

NewUpdateGameSessionBackfillTicketIDForbidden creates a UpdateGameSessionBackfillTicketIDForbidden with default headers values

func (*UpdateGameSessionBackfillTicketIDForbidden) Error

func (*UpdateGameSessionBackfillTicketIDForbidden) GetPayload

func (*UpdateGameSessionBackfillTicketIDForbidden) ToJSONString

type UpdateGameSessionBackfillTicketIDInternalServerError

type UpdateGameSessionBackfillTicketIDInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionBackfillTicketIDInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateGameSessionBackfillTicketIDInternalServerError

func NewUpdateGameSessionBackfillTicketIDInternalServerError() *UpdateGameSessionBackfillTicketIDInternalServerError

NewUpdateGameSessionBackfillTicketIDInternalServerError creates a UpdateGameSessionBackfillTicketIDInternalServerError with default headers values

func (*UpdateGameSessionBackfillTicketIDInternalServerError) Error

func (*UpdateGameSessionBackfillTicketIDInternalServerError) GetPayload

func (*UpdateGameSessionBackfillTicketIDInternalServerError) ToJSONString

type UpdateGameSessionBackfillTicketIDNotFound

type UpdateGameSessionBackfillTicketIDNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionBackfillTicketIDNotFound handles this case with default header values.

Not Found

func NewUpdateGameSessionBackfillTicketIDNotFound

func NewUpdateGameSessionBackfillTicketIDNotFound() *UpdateGameSessionBackfillTicketIDNotFound

NewUpdateGameSessionBackfillTicketIDNotFound creates a UpdateGameSessionBackfillTicketIDNotFound with default headers values

func (*UpdateGameSessionBackfillTicketIDNotFound) Error

func (*UpdateGameSessionBackfillTicketIDNotFound) GetPayload

func (*UpdateGameSessionBackfillTicketIDNotFound) ToJSONString

type UpdateGameSessionBackfillTicketIDOK

type UpdateGameSessionBackfillTicketIDOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

UpdateGameSessionBackfillTicketIDOK handles this case with default header values.

OK

func NewUpdateGameSessionBackfillTicketIDOK

func NewUpdateGameSessionBackfillTicketIDOK() *UpdateGameSessionBackfillTicketIDOK

NewUpdateGameSessionBackfillTicketIDOK creates a UpdateGameSessionBackfillTicketIDOK with default headers values

func (*UpdateGameSessionBackfillTicketIDOK) Error

func (*UpdateGameSessionBackfillTicketIDOK) GetPayload

func (*UpdateGameSessionBackfillTicketIDOK) ToJSONString

func (o *UpdateGameSessionBackfillTicketIDOK) ToJSONString() string

type UpdateGameSessionBackfillTicketIDParams

type UpdateGameSessionBackfillTicketIDParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewUpdateGameSessionBackfillTicketIDParams() *UpdateGameSessionBackfillTicketIDParams

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

func NewUpdateGameSessionBackfillTicketIDParamsWithContext

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

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

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

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

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

func (*UpdateGameSessionBackfillTicketIDParams) SetBody

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

func (*UpdateGameSessionBackfillTicketIDParams) SetContext

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

func (*UpdateGameSessionBackfillTicketIDParams) SetFlightId

func (o *UpdateGameSessionBackfillTicketIDParams) SetFlightId(flightId string)

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

func (*UpdateGameSessionBackfillTicketIDParams) SetHTTPClient

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

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

func (*UpdateGameSessionBackfillTicketIDParams) SetHTTPClientTransport

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

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

func (*UpdateGameSessionBackfillTicketIDParams) SetNamespace

func (o *UpdateGameSessionBackfillTicketIDParams) SetNamespace(namespace string)

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

func (*UpdateGameSessionBackfillTicketIDParams) SetSessionID

func (o *UpdateGameSessionBackfillTicketIDParams) SetSessionID(sessionID string)

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

func (*UpdateGameSessionBackfillTicketIDParams) SetTimeout

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

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

func (*UpdateGameSessionBackfillTicketIDParams) WithBody

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

func (*UpdateGameSessionBackfillTicketIDParams) WithContext

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

func (*UpdateGameSessionBackfillTicketIDParams) WithHTTPClient

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

func (*UpdateGameSessionBackfillTicketIDParams) WithNamespace

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

func (*UpdateGameSessionBackfillTicketIDParams) WithSessionID

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

func (*UpdateGameSessionBackfillTicketIDParams) WithTimeout

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

func (*UpdateGameSessionBackfillTicketIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateGameSessionBackfillTicketIDReader

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

UpdateGameSessionBackfillTicketIDReader is a Reader for the UpdateGameSessionBackfillTicketID structure.

func (*UpdateGameSessionBackfillTicketIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateGameSessionBackfillTicketIDUnauthorized

type UpdateGameSessionBackfillTicketIDUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionBackfillTicketIDUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateGameSessionBackfillTicketIDUnauthorized

func NewUpdateGameSessionBackfillTicketIDUnauthorized() *UpdateGameSessionBackfillTicketIDUnauthorized

NewUpdateGameSessionBackfillTicketIDUnauthorized creates a UpdateGameSessionBackfillTicketIDUnauthorized with default headers values

func (*UpdateGameSessionBackfillTicketIDUnauthorized) Error

func (*UpdateGameSessionBackfillTicketIDUnauthorized) GetPayload

func (*UpdateGameSessionBackfillTicketIDUnauthorized) ToJSONString

type UpdateGameSessionBadRequest

type UpdateGameSessionBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionBadRequest handles this case with default header values.

Bad Request

func NewUpdateGameSessionBadRequest

func NewUpdateGameSessionBadRequest() *UpdateGameSessionBadRequest

NewUpdateGameSessionBadRequest creates a UpdateGameSessionBadRequest with default headers values

func (*UpdateGameSessionBadRequest) Error

func (*UpdateGameSessionBadRequest) GetPayload

func (*UpdateGameSessionBadRequest) ToJSONString

func (o *UpdateGameSessionBadRequest) ToJSONString() string

type UpdateGameSessionForbidden

type UpdateGameSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionForbidden handles this case with default header values.

Forbidden

func NewUpdateGameSessionForbidden

func NewUpdateGameSessionForbidden() *UpdateGameSessionForbidden

NewUpdateGameSessionForbidden creates a UpdateGameSessionForbidden with default headers values

func (*UpdateGameSessionForbidden) Error

func (*UpdateGameSessionForbidden) GetPayload

func (*UpdateGameSessionForbidden) ToJSONString

func (o *UpdateGameSessionForbidden) ToJSONString() string

type UpdateGameSessionInternalServerError

type UpdateGameSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateGameSessionInternalServerError

func NewUpdateGameSessionInternalServerError() *UpdateGameSessionInternalServerError

NewUpdateGameSessionInternalServerError creates a UpdateGameSessionInternalServerError with default headers values

func (*UpdateGameSessionInternalServerError) Error

func (*UpdateGameSessionInternalServerError) GetPayload

func (*UpdateGameSessionInternalServerError) ToJSONString

func (o *UpdateGameSessionInternalServerError) ToJSONString() string

type UpdateGameSessionNotFound

type UpdateGameSessionNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionNotFound handles this case with default header values.

Not Found

func NewUpdateGameSessionNotFound

func NewUpdateGameSessionNotFound() *UpdateGameSessionNotFound

NewUpdateGameSessionNotFound creates a UpdateGameSessionNotFound with default headers values

func (*UpdateGameSessionNotFound) Error

func (o *UpdateGameSessionNotFound) Error() string

func (*UpdateGameSessionNotFound) GetPayload

func (*UpdateGameSessionNotFound) ToJSONString

func (o *UpdateGameSessionNotFound) ToJSONString() string

type UpdateGameSessionOK

type UpdateGameSessionOK struct {
	Payload *sessionclientmodels.ApimodelsGameSessionResponse
}

UpdateGameSessionOK handles this case with default header values.

OK

func NewUpdateGameSessionOK

func NewUpdateGameSessionOK() *UpdateGameSessionOK

NewUpdateGameSessionOK creates a UpdateGameSessionOK with default headers values

func (*UpdateGameSessionOK) Error

func (o *UpdateGameSessionOK) Error() string

func (*UpdateGameSessionOK) GetPayload

func (*UpdateGameSessionOK) ToJSONString

func (o *UpdateGameSessionOK) ToJSONString() string

type UpdateGameSessionParams

type UpdateGameSessionParams struct {

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

	*/
	Namespace string
	/*SessionID
	  session ID

	*/
	SessionID string

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId

func (o *UpdateGameSessionParams) SetFlightId(flightId string)

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

func (*UpdateGameSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update game session params

func (*UpdateGameSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update game session params

func (*UpdateGameSessionParams) SetNamespace

func (o *UpdateGameSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update game session params

func (*UpdateGameSessionParams) SetSessionID

func (o *UpdateGameSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the update game session params

func (*UpdateGameSessionParams) SetTimeout

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

SetTimeout adds the timeout to the update game session params

func (*UpdateGameSessionParams) WithBody

WithBody adds the body to the update game session params

func (*UpdateGameSessionParams) WithContext

WithContext adds the context to the update game session params

func (*UpdateGameSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update game session params

func (*UpdateGameSessionParams) WithNamespace

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

WithNamespace adds the namespace to the update game session params

func (*UpdateGameSessionParams) WithSessionID

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

WithSessionID adds the sessionID to the update game session params

func (*UpdateGameSessionParams) WithTimeout

WithTimeout adds the timeout to the update game session params

func (*UpdateGameSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateGameSessionReader

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

UpdateGameSessionReader is a Reader for the UpdateGameSession structure.

func (*UpdateGameSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateGameSessionUnauthorized

type UpdateGameSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

UpdateGameSessionUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateGameSessionUnauthorized

func NewUpdateGameSessionUnauthorized() *UpdateGameSessionUnauthorized

NewUpdateGameSessionUnauthorized creates a UpdateGameSessionUnauthorized with default headers values

func (*UpdateGameSessionUnauthorized) Error

func (*UpdateGameSessionUnauthorized) GetPayload

func (*UpdateGameSessionUnauthorized) ToJSONString

func (o *UpdateGameSessionUnauthorized) ToJSONString() string

Source Files

Jump to

Keyboard shortcuts

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