native_session

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 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 AdminGetListNativeSessionForbidden

type AdminGetListNativeSessionForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetListNativeSessionForbidden handles this case with default header values.

Forbidden

func NewAdminGetListNativeSessionForbidden

func NewAdminGetListNativeSessionForbidden() *AdminGetListNativeSessionForbidden

NewAdminGetListNativeSessionForbidden creates a AdminGetListNativeSessionForbidden with default headers values

func (*AdminGetListNativeSessionForbidden) Error

func (*AdminGetListNativeSessionForbidden) GetPayload

func (*AdminGetListNativeSessionForbidden) ToJSONString

func (o *AdminGetListNativeSessionForbidden) ToJSONString() string

type AdminGetListNativeSessionOK

type AdminGetListNativeSessionOK struct {
	Payload *sessionclientmodels.ApimodelsNativeSessionPagingResponse
}

AdminGetListNativeSessionOK handles this case with default header values.

OK

func NewAdminGetListNativeSessionOK

func NewAdminGetListNativeSessionOK() *AdminGetListNativeSessionOK

NewAdminGetListNativeSessionOK creates a AdminGetListNativeSessionOK with default headers values

func (*AdminGetListNativeSessionOK) Error

func (*AdminGetListNativeSessionOK) GetPayload

func (*AdminGetListNativeSessionOK) ToJSONString

func (o *AdminGetListNativeSessionOK) ToJSONString() string

type AdminGetListNativeSessionParams

type AdminGetListNativeSessionParams struct {

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

	*/
	Namespace string
	/*Limit
	  Pagination limit

	*/
	Limit *int64
	/*Offset
	  Pagination offset

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

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

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

func NewAdminGetListNativeSessionParams

func NewAdminGetListNativeSessionParams() *AdminGetListNativeSessionParams

NewAdminGetListNativeSessionParams creates a new AdminGetListNativeSessionParams object with the default values initialized.

func NewAdminGetListNativeSessionParamsWithContext

func NewAdminGetListNativeSessionParamsWithContext(ctx context.Context) *AdminGetListNativeSessionParams

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

func NewAdminGetListNativeSessionParamsWithHTTPClient

func NewAdminGetListNativeSessionParamsWithHTTPClient(client *http.Client) *AdminGetListNativeSessionParams

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

func NewAdminGetListNativeSessionParamsWithTimeout

func NewAdminGetListNativeSessionParamsWithTimeout(timeout time.Duration) *AdminGetListNativeSessionParams

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

func (*AdminGetListNativeSessionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get list native session params

func (*AdminGetListNativeSessionParams) SetContext

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

SetContext adds the context to the admin get list native session params

func (*AdminGetListNativeSessionParams) SetFlightId added in v0.63.0

func (o *AdminGetListNativeSessionParams) SetFlightId(flightId string)

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

func (*AdminGetListNativeSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get list native session params

func (*AdminGetListNativeSessionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get list native session params

func (*AdminGetListNativeSessionParams) SetLimit

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

SetLimit adds the limit to the admin get list native session params

func (*AdminGetListNativeSessionParams) SetNamespace

func (o *AdminGetListNativeSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get list native session params

func (*AdminGetListNativeSessionParams) SetOffset

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

SetOffset adds the offset to the admin get list native session params

func (*AdminGetListNativeSessionParams) SetOrder

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

SetOrder adds the order to the admin get list native session params

func (*AdminGetListNativeSessionParams) SetTimeout

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

SetTimeout adds the timeout to the admin get list native session params

func (*AdminGetListNativeSessionParams) WithContext

WithContext adds the context to the admin get list native session params

func (*AdminGetListNativeSessionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get list native session params

func (*AdminGetListNativeSessionParams) WithLimit

WithLimit adds the limit to the admin get list native session params

func (*AdminGetListNativeSessionParams) WithNamespace

WithNamespace adds the namespace to the admin get list native session params

func (*AdminGetListNativeSessionParams) WithOffset

WithOffset adds the offset to the admin get list native session params

func (*AdminGetListNativeSessionParams) WithOrder

WithOrder adds the order to the admin get list native session params

func (*AdminGetListNativeSessionParams) WithTimeout

WithTimeout adds the timeout to the admin get list native session params

func (*AdminGetListNativeSessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetListNativeSessionReader

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

AdminGetListNativeSessionReader is a Reader for the AdminGetListNativeSession structure.

func (*AdminGetListNativeSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetListNativeSessionUnauthorized

type AdminGetListNativeSessionUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

AdminGetListNativeSessionUnauthorized handles this case with default header values.

Unauthorized

func NewAdminGetListNativeSessionUnauthorized

func NewAdminGetListNativeSessionUnauthorized() *AdminGetListNativeSessionUnauthorized

NewAdminGetListNativeSessionUnauthorized creates a AdminGetListNativeSessionUnauthorized with default headers values

func (*AdminGetListNativeSessionUnauthorized) Error

func (*AdminGetListNativeSessionUnauthorized) GetPayload

func (*AdminGetListNativeSessionUnauthorized) ToJSONString

type Client

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

Client for native session API

func (*Client) AdminGetListNativeSession deprecated

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

AdminGetListNativeSession list of native sessions. List of native sessions.

func (*Client) AdminGetListNativeSessionShort

func (a *Client) AdminGetListNativeSessionShort(params *AdminGetListNativeSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListNativeSessionOK, error)

AdminGetListNativeSessionShort list of native sessions. List of native sessions.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new native session API client.

Jump to

Keyboard shortcuts

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