Documentation ¶
Index ¶
- type AdminGetListNativeSessionForbidden
- type AdminGetListNativeSessionOK
- type AdminGetListNativeSessionParams
- func NewAdminGetListNativeSessionParams() *AdminGetListNativeSessionParams
- func NewAdminGetListNativeSessionParamsWithContext(ctx context.Context) *AdminGetListNativeSessionParams
- func NewAdminGetListNativeSessionParamsWithHTTPClient(client *http.Client) *AdminGetListNativeSessionParams
- func NewAdminGetListNativeSessionParamsWithTimeout(timeout time.Duration) *AdminGetListNativeSessionParams
- func (o *AdminGetListNativeSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetListNativeSessionParams) SetContext(ctx context.Context)
- func (o *AdminGetListNativeSessionParams) SetFlightId(flightId string)
- func (o *AdminGetListNativeSessionParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetListNativeSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetListNativeSessionParams) SetLimit(limit *int64)
- func (o *AdminGetListNativeSessionParams) SetNamespace(namespace string)
- func (o *AdminGetListNativeSessionParams) SetOffset(offset *int64)
- func (o *AdminGetListNativeSessionParams) SetOrder(order *string)
- func (o *AdminGetListNativeSessionParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetListNativeSessionParams) WithContext(ctx context.Context) *AdminGetListNativeSessionParams
- func (o *AdminGetListNativeSessionParams) WithHTTPClient(client *http.Client) *AdminGetListNativeSessionParams
- func (o *AdminGetListNativeSessionParams) WithLimit(limit *int64) *AdminGetListNativeSessionParams
- func (o *AdminGetListNativeSessionParams) WithNamespace(namespace string) *AdminGetListNativeSessionParams
- func (o *AdminGetListNativeSessionParams) WithOffset(offset *int64) *AdminGetListNativeSessionParams
- func (o *AdminGetListNativeSessionParams) WithOrder(order *string) *AdminGetListNativeSessionParams
- func (o *AdminGetListNativeSessionParams) WithTimeout(timeout time.Duration) *AdminGetListNativeSessionParams
- func (o *AdminGetListNativeSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetListNativeSessionReader
- type AdminGetListNativeSessionUnauthorized
- type Client
- func (a *Client) AdminGetListNativeSession(params *AdminGetListNativeSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListNativeSessionOK, *AdminGetListNativeSessionUnauthorized, ...)deprecated
- func (a *Client) AdminGetListNativeSessionShort(params *AdminGetListNativeSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListNativeSessionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
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 (o *AdminGetListNativeSessionForbidden) Error() string
func (*AdminGetListNativeSessionForbidden) GetPayload ¶
func (o *AdminGetListNativeSessionForbidden) GetPayload() *sessionclientmodels.ResponseError
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 (o *AdminGetListNativeSessionOK) Error() string
func (*AdminGetListNativeSessionOK) GetPayload ¶
func (o *AdminGetListNativeSessionOK) GetPayload() *sessionclientmodels.ApimodelsNativeSessionPagingResponse
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 ¶
func (o *AdminGetListNativeSessionParams) WithContext(ctx context.Context) *AdminGetListNativeSessionParams
WithContext adds the context to the admin get list native session params
func (*AdminGetListNativeSessionParams) WithHTTPClient ¶
func (o *AdminGetListNativeSessionParams) WithHTTPClient(client *http.Client) *AdminGetListNativeSessionParams
WithHTTPClient adds the HTTPClient to the admin get list native session params
func (*AdminGetListNativeSessionParams) WithLimit ¶
func (o *AdminGetListNativeSessionParams) WithLimit(limit *int64) *AdminGetListNativeSessionParams
WithLimit adds the limit to the admin get list native session params
func (*AdminGetListNativeSessionParams) WithNamespace ¶
func (o *AdminGetListNativeSessionParams) WithNamespace(namespace string) *AdminGetListNativeSessionParams
WithNamespace adds the namespace to the admin get list native session params
func (*AdminGetListNativeSessionParams) WithOffset ¶
func (o *AdminGetListNativeSessionParams) WithOffset(offset *int64) *AdminGetListNativeSessionParams
WithOffset adds the offset to the admin get list native session params
func (*AdminGetListNativeSessionParams) WithOrder ¶
func (o *AdminGetListNativeSessionParams) WithOrder(order *string) *AdminGetListNativeSessionParams
WithOrder adds the order to the admin get list native session params
func (*AdminGetListNativeSessionParams) WithTimeout ¶
func (o *AdminGetListNativeSessionParams) WithTimeout(timeout time.Duration) *AdminGetListNativeSessionParams
WithTimeout adds the timeout to the admin get list native session params
func (*AdminGetListNativeSessionParams) WriteToRequest ¶
func (o *AdminGetListNativeSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AdminGetListNativeSessionUnauthorized) Error() string
func (*AdminGetListNativeSessionUnauthorized) GetPayload ¶
func (o *AdminGetListNativeSessionUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*AdminGetListNativeSessionUnauthorized) ToJSONString ¶
func (o *AdminGetListNativeSessionUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for native session API
func (*Client) AdminGetListNativeSession
deprecated
func (a *Client) AdminGetListNativeSession(params *AdminGetListNativeSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListNativeSessionOK, *AdminGetListNativeSessionUnauthorized, *AdminGetListNativeSessionForbidden, error)
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 ¶
type ClientService interface { AdminGetListNativeSession(params *AdminGetListNativeSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListNativeSessionOK, *AdminGetListNativeSessionUnauthorized, *AdminGetListNativeSessionForbidden, error) AdminGetListNativeSessionShort(params *AdminGetListNativeSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetListNativeSessionOK, 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 native session API client.