presence

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for presence API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UsersPresenceHandlerV1

UsersPresenceHandlerV1 queries users presence

Query users presence with given namespace and userIds.

func (*Client) UsersPresenceHandlerV1Short added in v0.8.0

func (a *Client) UsersPresenceHandlerV1Short(params *UsersPresenceHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*UsersPresenceHandlerV1OK, error)

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new presence API client.

type UsersPresenceHandlerV1BadRequest

type UsersPresenceHandlerV1BadRequest struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

UsersPresenceHandlerV1BadRequest handles this case with default header values.

Bad Request

func NewUsersPresenceHandlerV1BadRequest

func NewUsersPresenceHandlerV1BadRequest() *UsersPresenceHandlerV1BadRequest

NewUsersPresenceHandlerV1BadRequest creates a UsersPresenceHandlerV1BadRequest with default headers values

func (*UsersPresenceHandlerV1BadRequest) Error

func (*UsersPresenceHandlerV1BadRequest) GetPayload

type UsersPresenceHandlerV1InternalServerError

type UsersPresenceHandlerV1InternalServerError struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

UsersPresenceHandlerV1InternalServerError handles this case with default header values.

Internal Server Error

func NewUsersPresenceHandlerV1InternalServerError

func NewUsersPresenceHandlerV1InternalServerError() *UsersPresenceHandlerV1InternalServerError

NewUsersPresenceHandlerV1InternalServerError creates a UsersPresenceHandlerV1InternalServerError with default headers values

func (*UsersPresenceHandlerV1InternalServerError) Error

func (*UsersPresenceHandlerV1InternalServerError) GetPayload

type UsersPresenceHandlerV1OK

type UsersPresenceHandlerV1OK struct {
	Payload *lobbyclientmodels.HandlersGetUsersPresenceResponse
}

UsersPresenceHandlerV1OK handles this case with default header values.

OK

func NewUsersPresenceHandlerV1OK

func NewUsersPresenceHandlerV1OK() *UsersPresenceHandlerV1OK

NewUsersPresenceHandlerV1OK creates a UsersPresenceHandlerV1OK with default headers values

func (*UsersPresenceHandlerV1OK) Error

func (o *UsersPresenceHandlerV1OK) Error() string

func (*UsersPresenceHandlerV1OK) GetPayload

type UsersPresenceHandlerV1Params

type UsersPresenceHandlerV1Params struct {

	/*CountOnly
	  return only number of players for each availability status

	*/
	CountOnly *bool
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserIds
	  Comma separated value of userIds

	*/
	UserIds string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

UsersPresenceHandlerV1Params contains all the parameters to send to the API endpoint for the users presence handler v1 operation typically these are written to a http.Request

func NewUsersPresenceHandlerV1Params

func NewUsersPresenceHandlerV1Params() *UsersPresenceHandlerV1Params

NewUsersPresenceHandlerV1Params creates a new UsersPresenceHandlerV1Params object with the default values initialized.

func NewUsersPresenceHandlerV1ParamsWithContext

func NewUsersPresenceHandlerV1ParamsWithContext(ctx context.Context) *UsersPresenceHandlerV1Params

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

func NewUsersPresenceHandlerV1ParamsWithHTTPClient

func NewUsersPresenceHandlerV1ParamsWithHTTPClient(client *http.Client) *UsersPresenceHandlerV1Params

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

func NewUsersPresenceHandlerV1ParamsWithTimeout

func NewUsersPresenceHandlerV1ParamsWithTimeout(timeout time.Duration) *UsersPresenceHandlerV1Params

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

func (*UsersPresenceHandlerV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) SetContext

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

SetContext adds the context to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) SetCountOnly

func (o *UsersPresenceHandlerV1Params) SetCountOnly(countOnly *bool)

SetCountOnly adds the countOnly to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) SetNamespace

func (o *UsersPresenceHandlerV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) SetTimeout

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

SetTimeout adds the timeout to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) SetUserIds

func (o *UsersPresenceHandlerV1Params) SetUserIds(userIds string)

SetUserIds adds the userIds to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) WithContext

WithContext adds the context to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) WithCountOnly

func (o *UsersPresenceHandlerV1Params) WithCountOnly(countOnly *bool) *UsersPresenceHandlerV1Params

WithCountOnly adds the countOnly to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) WithNamespace

WithNamespace adds the namespace to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) WithTimeout

WithTimeout adds the timeout to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) WithUserIds

WithUserIds adds the userIds to the users presence handler v1 params

func (*UsersPresenceHandlerV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UsersPresenceHandlerV1Reader

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

UsersPresenceHandlerV1Reader is a Reader for the UsersPresenceHandlerV1 structure.

func (*UsersPresenceHandlerV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UsersPresenceHandlerV1Unauthorized

type UsersPresenceHandlerV1Unauthorized struct {
	Payload *lobbyclientmodels.RestapiErrorResponseBody
}

UsersPresenceHandlerV1Unauthorized handles this case with default header values.

Unauthorized

func NewUsersPresenceHandlerV1Unauthorized

func NewUsersPresenceHandlerV1Unauthorized() *UsersPresenceHandlerV1Unauthorized

NewUsersPresenceHandlerV1Unauthorized creates a UsersPresenceHandlerV1Unauthorized with default headers values

func (*UsersPresenceHandlerV1Unauthorized) Error

func (*UsersPresenceHandlerV1Unauthorized) GetPayload

Jump to

Keyboard shortcuts

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