max_active

package
v0.89.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGetMemberActiveSessionBadRequest

type AdminGetMemberActiveSessionBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetMemberActiveSessionBadRequest handles this case with default header values.

Bad Request

func NewAdminGetMemberActiveSessionBadRequest

func NewAdminGetMemberActiveSessionBadRequest() *AdminGetMemberActiveSessionBadRequest

NewAdminGetMemberActiveSessionBadRequest creates a AdminGetMemberActiveSessionBadRequest with default headers values

func (*AdminGetMemberActiveSessionBadRequest) Error

func (*AdminGetMemberActiveSessionBadRequest) GetPayload

func (*AdminGetMemberActiveSessionBadRequest) ToJSONString

type AdminGetMemberActiveSessionInternalServerError

type AdminGetMemberActiveSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetMemberActiveSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetMemberActiveSessionInternalServerError

func NewAdminGetMemberActiveSessionInternalServerError() *AdminGetMemberActiveSessionInternalServerError

NewAdminGetMemberActiveSessionInternalServerError creates a AdminGetMemberActiveSessionInternalServerError with default headers values

func (*AdminGetMemberActiveSessionInternalServerError) Error

func (*AdminGetMemberActiveSessionInternalServerError) GetPayload

func (*AdminGetMemberActiveSessionInternalServerError) ToJSONString

type AdminGetMemberActiveSessionOK

type AdminGetMemberActiveSessionOK struct {
	Payload *sessionclientmodels.ModelsMemberActiveSession
}

AdminGetMemberActiveSessionOK handles this case with default header values.

OK

func NewAdminGetMemberActiveSessionOK

func NewAdminGetMemberActiveSessionOK() *AdminGetMemberActiveSessionOK

NewAdminGetMemberActiveSessionOK creates a AdminGetMemberActiveSessionOK with default headers values

func (*AdminGetMemberActiveSessionOK) Error

func (*AdminGetMemberActiveSessionOK) GetPayload

func (*AdminGetMemberActiveSessionOK) ToJSONString

func (o *AdminGetMemberActiveSessionOK) ToJSONString() string

type AdminGetMemberActiveSessionParams

type AdminGetMemberActiveSessionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Name
	  configuration name

	*/
	Name string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  User ID

	*/
	UserID string

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

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

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

func NewAdminGetMemberActiveSessionParams

func NewAdminGetMemberActiveSessionParams() *AdminGetMemberActiveSessionParams

NewAdminGetMemberActiveSessionParams creates a new AdminGetMemberActiveSessionParams object with the default values initialized.

func NewAdminGetMemberActiveSessionParamsWithContext

func NewAdminGetMemberActiveSessionParamsWithContext(ctx context.Context) *AdminGetMemberActiveSessionParams

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

func NewAdminGetMemberActiveSessionParamsWithHTTPClient

func NewAdminGetMemberActiveSessionParamsWithHTTPClient(client *http.Client) *AdminGetMemberActiveSessionParams

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

func NewAdminGetMemberActiveSessionParamsWithTimeout

func NewAdminGetMemberActiveSessionParamsWithTimeout(timeout time.Duration) *AdminGetMemberActiveSessionParams

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

func (*AdminGetMemberActiveSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) SetContext

SetContext adds the context to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) SetFlightId added in v0.63.0

func (o *AdminGetMemberActiveSessionParams) SetFlightId(flightId string)

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

func (*AdminGetMemberActiveSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) SetName

func (o *AdminGetMemberActiveSessionParams) SetName(name string)

SetName adds the name to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) SetNamespace

func (o *AdminGetMemberActiveSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) SetTimeout

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

SetTimeout adds the timeout to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) SetUserID

func (o *AdminGetMemberActiveSessionParams) SetUserID(userID string)

SetUserID adds the userId to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) WithContext

WithContext adds the context to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) WithName

WithName adds the name to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) WithNamespace

WithNamespace adds the namespace to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) WithTimeout

WithTimeout adds the timeout to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) WithUserID

WithUserID adds the userID to the admin get member active session params

func (*AdminGetMemberActiveSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetMemberActiveSessionReader

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

AdminGetMemberActiveSessionReader is a Reader for the AdminGetMemberActiveSession structure.

func (*AdminGetMemberActiveSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetMemberActiveSessionUnauthorized

type AdminGetMemberActiveSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetMemberActiveSessionUnauthorized handles this case with default header values.

Unauthorized

func NewAdminGetMemberActiveSessionUnauthorized

func NewAdminGetMemberActiveSessionUnauthorized() *AdminGetMemberActiveSessionUnauthorized

NewAdminGetMemberActiveSessionUnauthorized creates a AdminGetMemberActiveSessionUnauthorized with default headers values

func (*AdminGetMemberActiveSessionUnauthorized) Error

func (*AdminGetMemberActiveSessionUnauthorized) GetPayload

func (*AdminGetMemberActiveSessionUnauthorized) ToJSONString

type AdminReconcileMaxActiveSessionBadRequest

type AdminReconcileMaxActiveSessionBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

AdminReconcileMaxActiveSessionBadRequest handles this case with default header values.

Bad Request

func NewAdminReconcileMaxActiveSessionBadRequest

func NewAdminReconcileMaxActiveSessionBadRequest() *AdminReconcileMaxActiveSessionBadRequest

NewAdminReconcileMaxActiveSessionBadRequest creates a AdminReconcileMaxActiveSessionBadRequest with default headers values

func (*AdminReconcileMaxActiveSessionBadRequest) Error

func (*AdminReconcileMaxActiveSessionBadRequest) GetPayload

func (*AdminReconcileMaxActiveSessionBadRequest) ToJSONString

type AdminReconcileMaxActiveSessionInternalServerError

type AdminReconcileMaxActiveSessionInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

AdminReconcileMaxActiveSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminReconcileMaxActiveSessionInternalServerError

func NewAdminReconcileMaxActiveSessionInternalServerError() *AdminReconcileMaxActiveSessionInternalServerError

NewAdminReconcileMaxActiveSessionInternalServerError creates a AdminReconcileMaxActiveSessionInternalServerError with default headers values

func (*AdminReconcileMaxActiveSessionInternalServerError) Error

func (*AdminReconcileMaxActiveSessionInternalServerError) GetPayload

func (*AdminReconcileMaxActiveSessionInternalServerError) ToJSONString

type AdminReconcileMaxActiveSessionOK

type AdminReconcileMaxActiveSessionOK struct {
}

AdminReconcileMaxActiveSessionOK handles this case with default header values.

OK

func NewAdminReconcileMaxActiveSessionOK

func NewAdminReconcileMaxActiveSessionOK() *AdminReconcileMaxActiveSessionOK

NewAdminReconcileMaxActiveSessionOK creates a AdminReconcileMaxActiveSessionOK with default headers values

func (*AdminReconcileMaxActiveSessionOK) Error

type AdminReconcileMaxActiveSessionParams

type AdminReconcileMaxActiveSessionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *sessionclientmodels.ModelsRequestReconcileMaxActiveSession
	/*Name
	  configuration name

	*/
	Name string
	/*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
}

AdminReconcileMaxActiveSessionParams contains all the parameters to send to the API endpoint for the admin reconcile max active session operation typically these are written to a http.Request

func NewAdminReconcileMaxActiveSessionParams

func NewAdminReconcileMaxActiveSessionParams() *AdminReconcileMaxActiveSessionParams

NewAdminReconcileMaxActiveSessionParams creates a new AdminReconcileMaxActiveSessionParams object with the default values initialized.

func NewAdminReconcileMaxActiveSessionParamsWithContext

func NewAdminReconcileMaxActiveSessionParamsWithContext(ctx context.Context) *AdminReconcileMaxActiveSessionParams

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

func NewAdminReconcileMaxActiveSessionParamsWithHTTPClient

func NewAdminReconcileMaxActiveSessionParamsWithHTTPClient(client *http.Client) *AdminReconcileMaxActiveSessionParams

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

func NewAdminReconcileMaxActiveSessionParamsWithTimeout

func NewAdminReconcileMaxActiveSessionParamsWithTimeout(timeout time.Duration) *AdminReconcileMaxActiveSessionParams

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

func (*AdminReconcileMaxActiveSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) SetBody

SetBody adds the body to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) SetContext

SetContext adds the context to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) SetFlightId added in v0.63.0

func (o *AdminReconcileMaxActiveSessionParams) SetFlightId(flightId string)

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

func (*AdminReconcileMaxActiveSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) SetName

SetName adds the name to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) SetNamespace

func (o *AdminReconcileMaxActiveSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) SetTimeout

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

SetTimeout adds the timeout to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) WithBody

WithBody adds the body to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) WithContext

WithContext adds the context to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) WithName

WithName adds the name to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) WithNamespace

WithNamespace adds the namespace to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) WithTimeout

WithTimeout adds the timeout to the admin reconcile max active session params

func (*AdminReconcileMaxActiveSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminReconcileMaxActiveSessionReader

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

AdminReconcileMaxActiveSessionReader is a Reader for the AdminReconcileMaxActiveSession structure.

func (*AdminReconcileMaxActiveSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminReconcileMaxActiveSessionUnauthorized

type AdminReconcileMaxActiveSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminReconcileMaxActiveSessionUnauthorized handles this case with default header values.

Unauthorized

func NewAdminReconcileMaxActiveSessionUnauthorized

func NewAdminReconcileMaxActiveSessionUnauthorized() *AdminReconcileMaxActiveSessionUnauthorized

NewAdminReconcileMaxActiveSessionUnauthorized creates a AdminReconcileMaxActiveSessionUnauthorized with default headers values

func (*AdminReconcileMaxActiveSessionUnauthorized) Error

func (*AdminReconcileMaxActiveSessionUnauthorized) GetPayload

func (*AdminReconcileMaxActiveSessionUnauthorized) ToJSONString

type Client

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

Client for max active API

func (*Client) AdminGetMemberActiveSession deprecated

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

AdminGetMemberActiveSession get member active session.

Returns the number of active sessions the specified user is participating in under the given configuration template.

func (*Client) AdminGetMemberActiveSessionShort

func (a *Client) AdminGetMemberActiveSessionShort(params *AdminGetMemberActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetMemberActiveSessionOK, error)

AdminGetMemberActiveSessionShort get member active session.

Returns the number of active sessions the specified user is participating in under the given configuration template.

func (*Client) AdminReconcileMaxActiveSession deprecated

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

AdminReconcileMaxActiveSession reconcile max active session.

Reconciles the max active session count for the specified configuration template. Scans active sessions and updates the counter to reflect the actual count.

func (*Client) AdminReconcileMaxActiveSessionShort

func (a *Client) AdminReconcileMaxActiveSessionShort(params *AdminReconcileMaxActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminReconcileMaxActiveSessionOK, error)

AdminReconcileMaxActiveSessionShort reconcile max active session.

Reconciles the max active session count for the specified configuration template. Scans active sessions and updates the counter to reflect the actual count.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

Jump to

Keyboard shortcuts

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