Documentation ¶
Index ¶
- type AddPlayerToSessionBadRequest
- type AddPlayerToSessionInternalServerError
- type AddPlayerToSessionNotFound
- type AddPlayerToSessionOK
- type AddPlayerToSessionParams
- func NewAddPlayerToSessionParams() *AddPlayerToSessionParams
- func NewAddPlayerToSessionParamsWithContext(ctx context.Context) *AddPlayerToSessionParams
- func NewAddPlayerToSessionParamsWithHTTPClient(client *http.Client) *AddPlayerToSessionParams
- func NewAddPlayerToSessionParamsWithTimeout(timeout time.Duration) *AddPlayerToSessionParams
- func (o *AddPlayerToSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AddPlayerToSessionParams) SetBody(body *sessionbrowserclientmodels.ModelsAddPlayerRequest)
- func (o *AddPlayerToSessionParams) SetContext(ctx context.Context)
- func (o *AddPlayerToSessionParams) SetHTTPClient(client *http.Client)
- func (o *AddPlayerToSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AddPlayerToSessionParams) SetNamespace(namespace string)
- func (o *AddPlayerToSessionParams) SetSessionID(sessionID string)
- func (o *AddPlayerToSessionParams) SetTimeout(timeout time.Duration)
- func (o *AddPlayerToSessionParams) WithBody(body *sessionbrowserclientmodels.ModelsAddPlayerRequest) *AddPlayerToSessionParams
- func (o *AddPlayerToSessionParams) WithContext(ctx context.Context) *AddPlayerToSessionParams
- func (o *AddPlayerToSessionParams) WithHTTPClient(client *http.Client) *AddPlayerToSessionParams
- func (o *AddPlayerToSessionParams) WithNamespace(namespace string) *AddPlayerToSessionParams
- func (o *AddPlayerToSessionParams) WithSessionID(sessionID string) *AddPlayerToSessionParams
- func (o *AddPlayerToSessionParams) WithTimeout(timeout time.Duration) *AddPlayerToSessionParams
- func (o *AddPlayerToSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddPlayerToSessionReader
- type AdminDeleteSessionBadRequest
- type AdminDeleteSessionInternalServerError
- type AdminDeleteSessionNotFound
- type AdminDeleteSessionOK
- type AdminDeleteSessionParams
- func NewAdminDeleteSessionParams() *AdminDeleteSessionParams
- func NewAdminDeleteSessionParamsWithContext(ctx context.Context) *AdminDeleteSessionParams
- func NewAdminDeleteSessionParamsWithHTTPClient(client *http.Client) *AdminDeleteSessionParams
- func NewAdminDeleteSessionParamsWithTimeout(timeout time.Duration) *AdminDeleteSessionParams
- func (o *AdminDeleteSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteSessionParams) SetContext(ctx context.Context)
- func (o *AdminDeleteSessionParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteSessionParams) SetNamespace(namespace string)
- func (o *AdminDeleteSessionParams) SetSessionID(sessionID string)
- func (o *AdminDeleteSessionParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteSessionParams) WithContext(ctx context.Context) *AdminDeleteSessionParams
- func (o *AdminDeleteSessionParams) WithHTTPClient(client *http.Client) *AdminDeleteSessionParams
- func (o *AdminDeleteSessionParams) WithNamespace(namespace string) *AdminDeleteSessionParams
- func (o *AdminDeleteSessionParams) WithSessionID(sessionID string) *AdminDeleteSessionParams
- func (o *AdminDeleteSessionParams) WithTimeout(timeout time.Duration) *AdminDeleteSessionParams
- func (o *AdminDeleteSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteSessionReader
- type AdminGetSessionInternalServerError
- type AdminGetSessionNotFound
- type AdminGetSessionOK
- type AdminGetSessionParams
- func NewAdminGetSessionParams() *AdminGetSessionParams
- func NewAdminGetSessionParamsWithContext(ctx context.Context) *AdminGetSessionParams
- func NewAdminGetSessionParamsWithHTTPClient(client *http.Client) *AdminGetSessionParams
- func NewAdminGetSessionParamsWithTimeout(timeout time.Duration) *AdminGetSessionParams
- func (o *AdminGetSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetSessionParams) SetContext(ctx context.Context)
- func (o *AdminGetSessionParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetSessionParams) SetNamespace(namespace string)
- func (o *AdminGetSessionParams) SetSessionID(sessionID string)
- func (o *AdminGetSessionParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetSessionParams) WithContext(ctx context.Context) *AdminGetSessionParams
- func (o *AdminGetSessionParams) WithHTTPClient(client *http.Client) *AdminGetSessionParams
- func (o *AdminGetSessionParams) WithNamespace(namespace string) *AdminGetSessionParams
- func (o *AdminGetSessionParams) WithSessionID(sessionID string) *AdminGetSessionParams
- func (o *AdminGetSessionParams) WithTimeout(timeout time.Duration) *AdminGetSessionParams
- func (o *AdminGetSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetSessionReader
- type AdminSearchSessionsV2BadRequest
- type AdminSearchSessionsV2Forbidden
- type AdminSearchSessionsV2InternalServerError
- type AdminSearchSessionsV2OK
- type AdminSearchSessionsV2Params
- func NewAdminSearchSessionsV2Params() *AdminSearchSessionsV2Params
- func NewAdminSearchSessionsV2ParamsWithContext(ctx context.Context) *AdminSearchSessionsV2Params
- func NewAdminSearchSessionsV2ParamsWithHTTPClient(client *http.Client) *AdminSearchSessionsV2Params
- func NewAdminSearchSessionsV2ParamsWithTimeout(timeout time.Duration) *AdminSearchSessionsV2Params
- func (o *AdminSearchSessionsV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminSearchSessionsV2Params) SetChannel(channel *string)
- func (o *AdminSearchSessionsV2Params) SetContext(ctx context.Context)
- func (o *AdminSearchSessionsV2Params) SetDeleted(deleted *bool)
- func (o *AdminSearchSessionsV2Params) SetHTTPClient(client *http.Client)
- func (o *AdminSearchSessionsV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminSearchSessionsV2Params) SetLimit(limit int64)
- func (o *AdminSearchSessionsV2Params) SetMatchID(matchID *string)
- func (o *AdminSearchSessionsV2Params) SetNamespace(namespace string)
- func (o *AdminSearchSessionsV2Params) SetOffset(offset int64)
- func (o *AdminSearchSessionsV2Params) SetPartyID(partyID *string)
- func (o *AdminSearchSessionsV2Params) SetTimeout(timeout time.Duration)
- func (o *AdminSearchSessionsV2Params) SetUserID(userID *string)
- func (o *AdminSearchSessionsV2Params) WithChannel(channel *string) *AdminSearchSessionsV2Params
- func (o *AdminSearchSessionsV2Params) WithContext(ctx context.Context) *AdminSearchSessionsV2Params
- func (o *AdminSearchSessionsV2Params) WithDeleted(deleted *bool) *AdminSearchSessionsV2Params
- func (o *AdminSearchSessionsV2Params) WithHTTPClient(client *http.Client) *AdminSearchSessionsV2Params
- func (o *AdminSearchSessionsV2Params) WithLimit(limit int64) *AdminSearchSessionsV2Params
- func (o *AdminSearchSessionsV2Params) WithMatchID(matchID *string) *AdminSearchSessionsV2Params
- func (o *AdminSearchSessionsV2Params) WithNamespace(namespace string) *AdminSearchSessionsV2Params
- func (o *AdminSearchSessionsV2Params) WithOffset(offset int64) *AdminSearchSessionsV2Params
- func (o *AdminSearchSessionsV2Params) WithPartyID(partyID *string) *AdminSearchSessionsV2Params
- func (o *AdminSearchSessionsV2Params) WithTimeout(timeout time.Duration) *AdminSearchSessionsV2Params
- func (o *AdminSearchSessionsV2Params) WithUserID(userID *string) *AdminSearchSessionsV2Params
- func (o *AdminSearchSessionsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminSearchSessionsV2Reader
- type AdminSearchSessionsV2Unauthorized
- type Client
- func (a *Client) AddPlayerToSession(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, *AddPlayerToSessionBadRequest, ...)deprecated
- func (a *Client) AddPlayerToSessionShort(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, error)
- func (a *Client) AdminDeleteSession(params *AdminDeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteSessionOK, *AdminDeleteSessionBadRequest, ...)deprecated
- func (a *Client) AdminDeleteSessionShort(params *AdminDeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteSessionOK, error)
- func (a *Client) AdminGetSession(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, *AdminGetSessionNotFound, ...)deprecated
- func (a *Client) AdminGetSessionShort(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, error)
- func (a *Client) AdminSearchSessionsV2(params *AdminSearchSessionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchSessionsV2OK, *AdminSearchSessionsV2BadRequest, ...)deprecated
- func (a *Client) AdminSearchSessionsV2Short(params *AdminSearchSessionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchSessionsV2OK, error)
- func (a *Client) CreateSession(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, *CreateSessionBadRequest, *CreateSessionForbidden, ...)deprecated
- func (a *Client) CreateSessionShort(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, error)
- func (a *Client) DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, *DeleteSessionBadRequest, *DeleteSessionNotFound, ...)deprecated
- func (a *Client) DeleteSessionLocalDS(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, *DeleteSessionLocalDSBadRequest, ...)deprecated
- func (a *Client) DeleteSessionLocalDSShort(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, error)
- func (a *Client) DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, error)
- func (a *Client) GetActiveCustomGameSessions(params *GetActiveCustomGameSessionsParams, ...) (*GetActiveCustomGameSessionsOK, *GetActiveCustomGameSessionsBadRequest, ...)deprecated
- func (a *Client) GetActiveCustomGameSessionsShort(params *GetActiveCustomGameSessionsParams, ...) (*GetActiveCustomGameSessionsOK, error)
- func (a *Client) GetActiveMatchmakingGameSessions(params *GetActiveMatchmakingGameSessionsParams, ...) (*GetActiveMatchmakingGameSessionsOK, ...)deprecated
- func (a *Client) GetActiveMatchmakingGameSessionsShort(params *GetActiveMatchmakingGameSessionsParams, ...) (*GetActiveMatchmakingGameSessionsOK, error)
- func (a *Client) GetRecentPlayer(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, *GetRecentPlayerBadRequest, ...)deprecated
- func (a *Client) GetRecentPlayerShort(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, error)
- func (a *Client) GetSession(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, *GetSessionNotFound, *GetSessionInternalServerError, error)deprecated
- func (a *Client) GetSessionByUserIDs(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, *GetSessionByUserIDsBadRequest, ...)deprecated
- func (a *Client) GetSessionByUserIDsShort(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, error)
- func (a *Client) GetSessionHistoryDetailed(params *GetSessionHistoryDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionHistoryDetailedOK, *GetSessionHistoryDetailedBadRequest, ...)deprecated
- func (a *Client) GetSessionHistoryDetailedShort(params *GetSessionHistoryDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionHistoryDetailedOK, error)
- func (a *Client) GetSessionShort(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, error)
- func (a *Client) GetTotalActiveSession(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, *GetTotalActiveSessionBadRequest, ...)deprecated
- func (a *Client) GetTotalActiveSessionShort(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, error)
- func (a *Client) JoinSession(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, *JoinSessionBadRequest, *JoinSessionForbidden, ...)deprecated
- func (a *Client) JoinSessionShort(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, error)
- func (a *Client) QuerySession(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, *QuerySessionBadRequest, *QuerySessionInternalServerError, ...)deprecated
- func (a *Client) QuerySessionShort(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, error)
- func (a *Client) RemovePlayerFromSession(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, *RemovePlayerFromSessionBadRequest, ...)deprecated
- func (a *Client) RemovePlayerFromSessionShort(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSession(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, *UpdateSessionBadRequest, *UpdateSessionNotFound, ...)deprecated
- func (a *Client) UpdateSessionShort(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, error)
- func (a *Client) UpdateSettings(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, *UpdateSettingsBadRequest, *UpdateSettingsNotFound, ...)deprecated
- func (a *Client) UpdateSettingsShort(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, error)
- type ClientService
- type CreateSessionBadRequest
- type CreateSessionConflict
- type CreateSessionForbidden
- type CreateSessionInternalServerError
- type CreateSessionOK
- type CreateSessionParams
- func (o *CreateSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateSessionParams) SetBody(body *sessionbrowserclientmodels.ModelsCreateSessionRequest)
- func (o *CreateSessionParams) SetContext(ctx context.Context)
- func (o *CreateSessionParams) SetHTTPClient(client *http.Client)
- func (o *CreateSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateSessionParams) SetNamespace(namespace string)
- func (o *CreateSessionParams) SetTimeout(timeout time.Duration)
- func (o *CreateSessionParams) WithBody(body *sessionbrowserclientmodels.ModelsCreateSessionRequest) *CreateSessionParams
- func (o *CreateSessionParams) WithContext(ctx context.Context) *CreateSessionParams
- func (o *CreateSessionParams) WithHTTPClient(client *http.Client) *CreateSessionParams
- func (o *CreateSessionParams) WithNamespace(namespace string) *CreateSessionParams
- func (o *CreateSessionParams) WithTimeout(timeout time.Duration) *CreateSessionParams
- func (o *CreateSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSessionReader
- type DeleteSessionBadRequest
- type DeleteSessionInternalServerError
- type DeleteSessionLocalDSBadRequest
- type DeleteSessionLocalDSInternalServerError
- type DeleteSessionLocalDSNotFound
- type DeleteSessionLocalDSOK
- type DeleteSessionLocalDSParams
- func NewDeleteSessionLocalDSParams() *DeleteSessionLocalDSParams
- func NewDeleteSessionLocalDSParamsWithContext(ctx context.Context) *DeleteSessionLocalDSParams
- func NewDeleteSessionLocalDSParamsWithHTTPClient(client *http.Client) *DeleteSessionLocalDSParams
- func NewDeleteSessionLocalDSParamsWithTimeout(timeout time.Duration) *DeleteSessionLocalDSParams
- func (o *DeleteSessionLocalDSParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteSessionLocalDSParams) SetContext(ctx context.Context)
- func (o *DeleteSessionLocalDSParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSessionLocalDSParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteSessionLocalDSParams) SetNamespace(namespace string)
- func (o *DeleteSessionLocalDSParams) SetSessionID(sessionID string)
- func (o *DeleteSessionLocalDSParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSessionLocalDSParams) WithContext(ctx context.Context) *DeleteSessionLocalDSParams
- func (o *DeleteSessionLocalDSParams) WithHTTPClient(client *http.Client) *DeleteSessionLocalDSParams
- func (o *DeleteSessionLocalDSParams) WithNamespace(namespace string) *DeleteSessionLocalDSParams
- func (o *DeleteSessionLocalDSParams) WithSessionID(sessionID string) *DeleteSessionLocalDSParams
- func (o *DeleteSessionLocalDSParams) WithTimeout(timeout time.Duration) *DeleteSessionLocalDSParams
- func (o *DeleteSessionLocalDSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSessionLocalDSReader
- type DeleteSessionNotFound
- type DeleteSessionOK
- type DeleteSessionParams
- func (o *DeleteSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteSessionParams) SetContext(ctx context.Context)
- func (o *DeleteSessionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteSessionParams) SetNamespace(namespace string)
- func (o *DeleteSessionParams) SetSessionID(sessionID string)
- func (o *DeleteSessionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSessionParams) WithContext(ctx context.Context) *DeleteSessionParams
- func (o *DeleteSessionParams) WithHTTPClient(client *http.Client) *DeleteSessionParams
- func (o *DeleteSessionParams) WithNamespace(namespace string) *DeleteSessionParams
- func (o *DeleteSessionParams) WithSessionID(sessionID string) *DeleteSessionParams
- func (o *DeleteSessionParams) WithTimeout(timeout time.Duration) *DeleteSessionParams
- func (o *DeleteSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSessionReader
- type GetActiveCustomGameSessionsBadRequest
- type GetActiveCustomGameSessionsInternalServerError
- type GetActiveCustomGameSessionsOK
- type GetActiveCustomGameSessionsParams
- func NewGetActiveCustomGameSessionsParams() *GetActiveCustomGameSessionsParams
- func NewGetActiveCustomGameSessionsParamsWithContext(ctx context.Context) *GetActiveCustomGameSessionsParams
- func NewGetActiveCustomGameSessionsParamsWithHTTPClient(client *http.Client) *GetActiveCustomGameSessionsParams
- func NewGetActiveCustomGameSessionsParamsWithTimeout(timeout time.Duration) *GetActiveCustomGameSessionsParams
- func (o *GetActiveCustomGameSessionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetActiveCustomGameSessionsParams) SetContext(ctx context.Context)
- func (o *GetActiveCustomGameSessionsParams) SetHTTPClient(client *http.Client)
- func (o *GetActiveCustomGameSessionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetActiveCustomGameSessionsParams) SetLimit(limit *int64)
- func (o *GetActiveCustomGameSessionsParams) SetNamespace(namespace string)
- func (o *GetActiveCustomGameSessionsParams) SetOffset(offset *int64)
- func (o *GetActiveCustomGameSessionsParams) SetServerRegion(serverRegion *string)
- func (o *GetActiveCustomGameSessionsParams) SetSessionID(sessionID *string)
- func (o *GetActiveCustomGameSessionsParams) SetTimeout(timeout time.Duration)
- func (o *GetActiveCustomGameSessionsParams) WithContext(ctx context.Context) *GetActiveCustomGameSessionsParams
- func (o *GetActiveCustomGameSessionsParams) WithHTTPClient(client *http.Client) *GetActiveCustomGameSessionsParams
- func (o *GetActiveCustomGameSessionsParams) WithLimit(limit *int64) *GetActiveCustomGameSessionsParams
- func (o *GetActiveCustomGameSessionsParams) WithNamespace(namespace string) *GetActiveCustomGameSessionsParams
- func (o *GetActiveCustomGameSessionsParams) WithOffset(offset *int64) *GetActiveCustomGameSessionsParams
- func (o *GetActiveCustomGameSessionsParams) WithServerRegion(serverRegion *string) *GetActiveCustomGameSessionsParams
- func (o *GetActiveCustomGameSessionsParams) WithSessionID(sessionID *string) *GetActiveCustomGameSessionsParams
- func (o *GetActiveCustomGameSessionsParams) WithTimeout(timeout time.Duration) *GetActiveCustomGameSessionsParams
- func (o *GetActiveCustomGameSessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetActiveCustomGameSessionsReader
- type GetActiveMatchmakingGameSessionsBadRequest
- type GetActiveMatchmakingGameSessionsInternalServerError
- type GetActiveMatchmakingGameSessionsOK
- type GetActiveMatchmakingGameSessionsParams
- func NewGetActiveMatchmakingGameSessionsParams() *GetActiveMatchmakingGameSessionsParams
- func NewGetActiveMatchmakingGameSessionsParamsWithContext(ctx context.Context) *GetActiveMatchmakingGameSessionsParams
- func NewGetActiveMatchmakingGameSessionsParamsWithHTTPClient(client *http.Client) *GetActiveMatchmakingGameSessionsParams
- func NewGetActiveMatchmakingGameSessionsParamsWithTimeout(timeout time.Duration) *GetActiveMatchmakingGameSessionsParams
- func (o *GetActiveMatchmakingGameSessionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetActiveMatchmakingGameSessionsParams) SetContext(ctx context.Context)
- func (o *GetActiveMatchmakingGameSessionsParams) SetHTTPClient(client *http.Client)
- func (o *GetActiveMatchmakingGameSessionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetActiveMatchmakingGameSessionsParams) SetLimit(limit *int64)
- func (o *GetActiveMatchmakingGameSessionsParams) SetMatchID(matchID *string)
- func (o *GetActiveMatchmakingGameSessionsParams) SetNamespace(namespace string)
- func (o *GetActiveMatchmakingGameSessionsParams) SetOffset(offset *int64)
- func (o *GetActiveMatchmakingGameSessionsParams) SetServerRegion(serverRegion *string)
- func (o *GetActiveMatchmakingGameSessionsParams) SetSessionID(sessionID *string)
- func (o *GetActiveMatchmakingGameSessionsParams) SetTimeout(timeout time.Duration)
- func (o *GetActiveMatchmakingGameSessionsParams) WithContext(ctx context.Context) *GetActiveMatchmakingGameSessionsParams
- func (o *GetActiveMatchmakingGameSessionsParams) WithHTTPClient(client *http.Client) *GetActiveMatchmakingGameSessionsParams
- func (o *GetActiveMatchmakingGameSessionsParams) WithLimit(limit *int64) *GetActiveMatchmakingGameSessionsParams
- func (o *GetActiveMatchmakingGameSessionsParams) WithMatchID(matchID *string) *GetActiveMatchmakingGameSessionsParams
- func (o *GetActiveMatchmakingGameSessionsParams) WithNamespace(namespace string) *GetActiveMatchmakingGameSessionsParams
- func (o *GetActiveMatchmakingGameSessionsParams) WithOffset(offset *int64) *GetActiveMatchmakingGameSessionsParams
- func (o *GetActiveMatchmakingGameSessionsParams) WithServerRegion(serverRegion *string) *GetActiveMatchmakingGameSessionsParams
- func (o *GetActiveMatchmakingGameSessionsParams) WithSessionID(sessionID *string) *GetActiveMatchmakingGameSessionsParams
- func (o *GetActiveMatchmakingGameSessionsParams) WithTimeout(timeout time.Duration) *GetActiveMatchmakingGameSessionsParams
- func (o *GetActiveMatchmakingGameSessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetActiveMatchmakingGameSessionsReader
- type GetRecentPlayerBadRequest
- type GetRecentPlayerInternalServerError
- type GetRecentPlayerOK
- type GetRecentPlayerParams
- func NewGetRecentPlayerParams() *GetRecentPlayerParams
- func NewGetRecentPlayerParamsWithContext(ctx context.Context) *GetRecentPlayerParams
- func NewGetRecentPlayerParamsWithHTTPClient(client *http.Client) *GetRecentPlayerParams
- func NewGetRecentPlayerParamsWithTimeout(timeout time.Duration) *GetRecentPlayerParams
- func (o *GetRecentPlayerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetRecentPlayerParams) SetContext(ctx context.Context)
- func (o *GetRecentPlayerParams) SetHTTPClient(client *http.Client)
- func (o *GetRecentPlayerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetRecentPlayerParams) SetNamespace(namespace string)
- func (o *GetRecentPlayerParams) SetTimeout(timeout time.Duration)
- func (o *GetRecentPlayerParams) SetUserID(userID string)
- func (o *GetRecentPlayerParams) WithContext(ctx context.Context) *GetRecentPlayerParams
- func (o *GetRecentPlayerParams) WithHTTPClient(client *http.Client) *GetRecentPlayerParams
- func (o *GetRecentPlayerParams) WithNamespace(namespace string) *GetRecentPlayerParams
- func (o *GetRecentPlayerParams) WithTimeout(timeout time.Duration) *GetRecentPlayerParams
- func (o *GetRecentPlayerParams) WithUserID(userID string) *GetRecentPlayerParams
- func (o *GetRecentPlayerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRecentPlayerReader
- type GetSessionByUserIDsBadRequest
- type GetSessionByUserIDsInternalServerError
- type GetSessionByUserIDsOK
- type GetSessionByUserIDsParams
- func NewGetSessionByUserIDsParams() *GetSessionByUserIDsParams
- func NewGetSessionByUserIDsParamsWithContext(ctx context.Context) *GetSessionByUserIDsParams
- func NewGetSessionByUserIDsParamsWithHTTPClient(client *http.Client) *GetSessionByUserIDsParams
- func NewGetSessionByUserIDsParamsWithTimeout(timeout time.Duration) *GetSessionByUserIDsParams
- func (o *GetSessionByUserIDsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetSessionByUserIDsParams) SetContext(ctx context.Context)
- func (o *GetSessionByUserIDsParams) SetHTTPClient(client *http.Client)
- func (o *GetSessionByUserIDsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetSessionByUserIDsParams) SetNamespace(namespace string)
- func (o *GetSessionByUserIDsParams) SetTimeout(timeout time.Duration)
- func (o *GetSessionByUserIDsParams) SetUserIds(userIds string)
- func (o *GetSessionByUserIDsParams) WithContext(ctx context.Context) *GetSessionByUserIDsParams
- func (o *GetSessionByUserIDsParams) WithHTTPClient(client *http.Client) *GetSessionByUserIDsParams
- func (o *GetSessionByUserIDsParams) WithNamespace(namespace string) *GetSessionByUserIDsParams
- func (o *GetSessionByUserIDsParams) WithTimeout(timeout time.Duration) *GetSessionByUserIDsParams
- func (o *GetSessionByUserIDsParams) WithUserIds(userIds string) *GetSessionByUserIDsParams
- func (o *GetSessionByUserIDsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSessionByUserIDsReader
- type GetSessionHistoryDetailedBadRequest
- type GetSessionHistoryDetailedForbidden
- type GetSessionHistoryDetailedInternalServerError
- type GetSessionHistoryDetailedOK
- type GetSessionHistoryDetailedParams
- func NewGetSessionHistoryDetailedParams() *GetSessionHistoryDetailedParams
- func NewGetSessionHistoryDetailedParamsWithContext(ctx context.Context) *GetSessionHistoryDetailedParams
- func NewGetSessionHistoryDetailedParamsWithHTTPClient(client *http.Client) *GetSessionHistoryDetailedParams
- func NewGetSessionHistoryDetailedParamsWithTimeout(timeout time.Duration) *GetSessionHistoryDetailedParams
- func (o *GetSessionHistoryDetailedParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetSessionHistoryDetailedParams) SetContext(ctx context.Context)
- func (o *GetSessionHistoryDetailedParams) SetHTTPClient(client *http.Client)
- func (o *GetSessionHistoryDetailedParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetSessionHistoryDetailedParams) SetMatchID(matchID string)
- func (o *GetSessionHistoryDetailedParams) SetNamespace(namespace string)
- func (o *GetSessionHistoryDetailedParams) SetTimeout(timeout time.Duration)
- func (o *GetSessionHistoryDetailedParams) WithContext(ctx context.Context) *GetSessionHistoryDetailedParams
- func (o *GetSessionHistoryDetailedParams) WithHTTPClient(client *http.Client) *GetSessionHistoryDetailedParams
- func (o *GetSessionHistoryDetailedParams) WithMatchID(matchID string) *GetSessionHistoryDetailedParams
- func (o *GetSessionHistoryDetailedParams) WithNamespace(namespace string) *GetSessionHistoryDetailedParams
- func (o *GetSessionHistoryDetailedParams) WithTimeout(timeout time.Duration) *GetSessionHistoryDetailedParams
- func (o *GetSessionHistoryDetailedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSessionHistoryDetailedReader
- type GetSessionHistoryDetailedUnauthorized
- type GetSessionInternalServerError
- type GetSessionNotFound
- type GetSessionOK
- type GetSessionParams
- func (o *GetSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetSessionParams) SetContext(ctx context.Context)
- func (o *GetSessionParams) SetHTTPClient(client *http.Client)
- func (o *GetSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetSessionParams) SetNamespace(namespace string)
- func (o *GetSessionParams) SetSessionID(sessionID string)
- func (o *GetSessionParams) SetTimeout(timeout time.Duration)
- func (o *GetSessionParams) WithContext(ctx context.Context) *GetSessionParams
- func (o *GetSessionParams) WithHTTPClient(client *http.Client) *GetSessionParams
- func (o *GetSessionParams) WithNamespace(namespace string) *GetSessionParams
- func (o *GetSessionParams) WithSessionID(sessionID string) *GetSessionParams
- func (o *GetSessionParams) WithTimeout(timeout time.Duration) *GetSessionParams
- func (o *GetSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSessionReader
- type GetTotalActiveSessionBadRequest
- type GetTotalActiveSessionInternalServerError
- type GetTotalActiveSessionOK
- type GetTotalActiveSessionParams
- func NewGetTotalActiveSessionParams() *GetTotalActiveSessionParams
- func NewGetTotalActiveSessionParamsWithContext(ctx context.Context) *GetTotalActiveSessionParams
- func NewGetTotalActiveSessionParamsWithHTTPClient(client *http.Client) *GetTotalActiveSessionParams
- func NewGetTotalActiveSessionParamsWithTimeout(timeout time.Duration) *GetTotalActiveSessionParams
- func (o *GetTotalActiveSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetTotalActiveSessionParams) SetContext(ctx context.Context)
- func (o *GetTotalActiveSessionParams) SetHTTPClient(client *http.Client)
- func (o *GetTotalActiveSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetTotalActiveSessionParams) SetNamespace(namespace string)
- func (o *GetTotalActiveSessionParams) SetSessionType(sessionType *string)
- func (o *GetTotalActiveSessionParams) SetTimeout(timeout time.Duration)
- func (o *GetTotalActiveSessionParams) WithContext(ctx context.Context) *GetTotalActiveSessionParams
- func (o *GetTotalActiveSessionParams) WithHTTPClient(client *http.Client) *GetTotalActiveSessionParams
- func (o *GetTotalActiveSessionParams) WithNamespace(namespace string) *GetTotalActiveSessionParams
- func (o *GetTotalActiveSessionParams) WithSessionType(sessionType *string) *GetTotalActiveSessionParams
- func (o *GetTotalActiveSessionParams) WithTimeout(timeout time.Duration) *GetTotalActiveSessionParams
- func (o *GetTotalActiveSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTotalActiveSessionReader
- type JoinSessionBadRequest
- type JoinSessionForbidden
- type JoinSessionInternalServerError
- type JoinSessionNotFound
- type JoinSessionOK
- type JoinSessionParams
- func (o *JoinSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *JoinSessionParams) SetBody(body *sessionbrowserclientmodels.ModelsJoinGameSessionRequest)
- func (o *JoinSessionParams) SetContext(ctx context.Context)
- func (o *JoinSessionParams) SetHTTPClient(client *http.Client)
- func (o *JoinSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *JoinSessionParams) SetNamespace(namespace string)
- func (o *JoinSessionParams) SetSessionID(sessionID string)
- func (o *JoinSessionParams) SetTimeout(timeout time.Duration)
- func (o *JoinSessionParams) WithBody(body *sessionbrowserclientmodels.ModelsJoinGameSessionRequest) *JoinSessionParams
- func (o *JoinSessionParams) WithContext(ctx context.Context) *JoinSessionParams
- func (o *JoinSessionParams) WithHTTPClient(client *http.Client) *JoinSessionParams
- func (o *JoinSessionParams) WithNamespace(namespace string) *JoinSessionParams
- func (o *JoinSessionParams) WithSessionID(sessionID string) *JoinSessionParams
- func (o *JoinSessionParams) WithTimeout(timeout time.Duration) *JoinSessionParams
- func (o *JoinSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JoinSessionReader
- type QuerySessionBadRequest
- type QuerySessionInternalServerError
- type QuerySessionOK
- type QuerySessionParams
- func (o *QuerySessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QuerySessionParams) SetContext(ctx context.Context)
- func (o *QuerySessionParams) SetGameMode(gameMode *string)
- func (o *QuerySessionParams) SetGameVersion(gameVersion *string)
- func (o *QuerySessionParams) SetHTTPClient(client *http.Client)
- func (o *QuerySessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QuerySessionParams) SetJoinable(joinable *string)
- func (o *QuerySessionParams) SetLimit(limit *int64)
- func (o *QuerySessionParams) SetMatchExist(matchExist *string)
- func (o *QuerySessionParams) SetMatchID(matchID *string)
- func (o *QuerySessionParams) SetNamespace(namespace string)
- func (o *QuerySessionParams) SetOffset(offset *int64)
- func (o *QuerySessionParams) SetServerStatus(serverStatus *string)
- func (o *QuerySessionParams) SetSessionType(sessionType string)
- func (o *QuerySessionParams) SetTimeout(timeout time.Duration)
- func (o *QuerySessionParams) SetUserID(userID *string)
- func (o *QuerySessionParams) WithContext(ctx context.Context) *QuerySessionParams
- func (o *QuerySessionParams) WithGameMode(gameMode *string) *QuerySessionParams
- func (o *QuerySessionParams) WithGameVersion(gameVersion *string) *QuerySessionParams
- func (o *QuerySessionParams) WithHTTPClient(client *http.Client) *QuerySessionParams
- func (o *QuerySessionParams) WithJoinable(joinable *string) *QuerySessionParams
- func (o *QuerySessionParams) WithLimit(limit *int64) *QuerySessionParams
- func (o *QuerySessionParams) WithMatchExist(matchExist *string) *QuerySessionParams
- func (o *QuerySessionParams) WithMatchID(matchID *string) *QuerySessionParams
- func (o *QuerySessionParams) WithNamespace(namespace string) *QuerySessionParams
- func (o *QuerySessionParams) WithOffset(offset *int64) *QuerySessionParams
- func (o *QuerySessionParams) WithServerStatus(serverStatus *string) *QuerySessionParams
- func (o *QuerySessionParams) WithSessionType(sessionType string) *QuerySessionParams
- func (o *QuerySessionParams) WithTimeout(timeout time.Duration) *QuerySessionParams
- func (o *QuerySessionParams) WithUserID(userID *string) *QuerySessionParams
- func (o *QuerySessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuerySessionReader
- type RemovePlayerFromSessionBadRequest
- type RemovePlayerFromSessionInternalServerError
- type RemovePlayerFromSessionNotFound
- type RemovePlayerFromSessionOK
- type RemovePlayerFromSessionParams
- func NewRemovePlayerFromSessionParams() *RemovePlayerFromSessionParams
- func NewRemovePlayerFromSessionParamsWithContext(ctx context.Context) *RemovePlayerFromSessionParams
- func NewRemovePlayerFromSessionParamsWithHTTPClient(client *http.Client) *RemovePlayerFromSessionParams
- func NewRemovePlayerFromSessionParamsWithTimeout(timeout time.Duration) *RemovePlayerFromSessionParams
- func (o *RemovePlayerFromSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RemovePlayerFromSessionParams) SetContext(ctx context.Context)
- func (o *RemovePlayerFromSessionParams) SetHTTPClient(client *http.Client)
- func (o *RemovePlayerFromSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RemovePlayerFromSessionParams) SetNamespace(namespace string)
- func (o *RemovePlayerFromSessionParams) SetSessionID(sessionID string)
- func (o *RemovePlayerFromSessionParams) SetTimeout(timeout time.Duration)
- func (o *RemovePlayerFromSessionParams) SetUserID(userID string)
- func (o *RemovePlayerFromSessionParams) WithContext(ctx context.Context) *RemovePlayerFromSessionParams
- func (o *RemovePlayerFromSessionParams) WithHTTPClient(client *http.Client) *RemovePlayerFromSessionParams
- func (o *RemovePlayerFromSessionParams) WithNamespace(namespace string) *RemovePlayerFromSessionParams
- func (o *RemovePlayerFromSessionParams) WithSessionID(sessionID string) *RemovePlayerFromSessionParams
- func (o *RemovePlayerFromSessionParams) WithTimeout(timeout time.Duration) *RemovePlayerFromSessionParams
- func (o *RemovePlayerFromSessionParams) WithUserID(userID string) *RemovePlayerFromSessionParams
- func (o *RemovePlayerFromSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemovePlayerFromSessionReader
- type UpdateSessionBadRequest
- type UpdateSessionInternalServerError
- type UpdateSessionNotFound
- type UpdateSessionOK
- type UpdateSessionParams
- func (o *UpdateSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateSessionParams) SetBody(body *sessionbrowserclientmodels.ModelsUpdateSessionRequest)
- func (o *UpdateSessionParams) SetContext(ctx context.Context)
- func (o *UpdateSessionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateSessionParams) SetNamespace(namespace string)
- func (o *UpdateSessionParams) SetSessionID(sessionID string)
- func (o *UpdateSessionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSessionParams) WithBody(body *sessionbrowserclientmodels.ModelsUpdateSessionRequest) *UpdateSessionParams
- func (o *UpdateSessionParams) WithContext(ctx context.Context) *UpdateSessionParams
- func (o *UpdateSessionParams) WithHTTPClient(client *http.Client) *UpdateSessionParams
- func (o *UpdateSessionParams) WithNamespace(namespace string) *UpdateSessionParams
- func (o *UpdateSessionParams) WithSessionID(sessionID string) *UpdateSessionParams
- func (o *UpdateSessionParams) WithTimeout(timeout time.Duration) *UpdateSessionParams
- func (o *UpdateSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSessionReader
- type UpdateSettingsBadRequest
- type UpdateSettingsInternalServerError
- type UpdateSettingsNotFound
- type UpdateSettingsOK
- type UpdateSettingsParams
- func NewUpdateSettingsParams() *UpdateSettingsParams
- func NewUpdateSettingsParamsWithContext(ctx context.Context) *UpdateSettingsParams
- func NewUpdateSettingsParamsWithHTTPClient(client *http.Client) *UpdateSettingsParams
- func NewUpdateSettingsParamsWithTimeout(timeout time.Duration) *UpdateSettingsParams
- func (o *UpdateSettingsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateSettingsParams) SetBody(body sessionbrowserclientmodels.ModelsUpdateSettingsRequest)
- func (o *UpdateSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSettingsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateSettingsParams) SetNamespace(namespace string)
- func (o *UpdateSettingsParams) SetSessionID(sessionID string)
- func (o *UpdateSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSettingsParams) WithBody(body sessionbrowserclientmodels.ModelsUpdateSettingsRequest) *UpdateSettingsParams
- func (o *UpdateSettingsParams) WithContext(ctx context.Context) *UpdateSettingsParams
- func (o *UpdateSettingsParams) WithHTTPClient(client *http.Client) *UpdateSettingsParams
- func (o *UpdateSettingsParams) WithNamespace(namespace string) *UpdateSettingsParams
- func (o *UpdateSettingsParams) WithSessionID(sessionID string) *UpdateSettingsParams
- func (o *UpdateSettingsParams) WithTimeout(timeout time.Duration) *UpdateSettingsParams
- func (o *UpdateSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSettingsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPlayerToSessionBadRequest ¶ added in v0.4.0
type AddPlayerToSessionBadRequest struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
AddPlayerToSessionBadRequest handles this case with default header values.
malformed request
func NewAddPlayerToSessionBadRequest ¶ added in v0.4.0
func NewAddPlayerToSessionBadRequest() *AddPlayerToSessionBadRequest
NewAddPlayerToSessionBadRequest creates a AddPlayerToSessionBadRequest with default headers values
func (*AddPlayerToSessionBadRequest) Error ¶ added in v0.4.0
func (o *AddPlayerToSessionBadRequest) Error() string
func (*AddPlayerToSessionBadRequest) GetPayload ¶ added in v0.4.0
func (o *AddPlayerToSessionBadRequest) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*AddPlayerToSessionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *AddPlayerToSessionBadRequest) ToJSONString() string
type AddPlayerToSessionInternalServerError ¶ added in v0.4.0
type AddPlayerToSessionInternalServerError struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
AddPlayerToSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewAddPlayerToSessionInternalServerError ¶ added in v0.4.0
func NewAddPlayerToSessionInternalServerError() *AddPlayerToSessionInternalServerError
NewAddPlayerToSessionInternalServerError creates a AddPlayerToSessionInternalServerError with default headers values
func (*AddPlayerToSessionInternalServerError) Error ¶ added in v0.4.0
func (o *AddPlayerToSessionInternalServerError) Error() string
func (*AddPlayerToSessionInternalServerError) GetPayload ¶ added in v0.4.0
func (o *AddPlayerToSessionInternalServerError) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*AddPlayerToSessionInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AddPlayerToSessionInternalServerError) ToJSONString() string
type AddPlayerToSessionNotFound ¶ added in v0.4.0
type AddPlayerToSessionNotFound struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
AddPlayerToSessionNotFound handles this case with default header values.
session not found
func NewAddPlayerToSessionNotFound ¶ added in v0.4.0
func NewAddPlayerToSessionNotFound() *AddPlayerToSessionNotFound
NewAddPlayerToSessionNotFound creates a AddPlayerToSessionNotFound with default headers values
func (*AddPlayerToSessionNotFound) Error ¶ added in v0.4.0
func (o *AddPlayerToSessionNotFound) Error() string
func (*AddPlayerToSessionNotFound) GetPayload ¶ added in v0.4.0
func (o *AddPlayerToSessionNotFound) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*AddPlayerToSessionNotFound) ToJSONString ¶ added in v0.25.0
func (o *AddPlayerToSessionNotFound) ToJSONString() string
type AddPlayerToSessionOK ¶ added in v0.4.0
type AddPlayerToSessionOK struct {
Payload *sessionbrowserclientmodels.ModelsAddPlayerResponse
}
AddPlayerToSessionOK handles this case with default header values.
session updated
func NewAddPlayerToSessionOK ¶ added in v0.4.0
func NewAddPlayerToSessionOK() *AddPlayerToSessionOK
NewAddPlayerToSessionOK creates a AddPlayerToSessionOK with default headers values
func (*AddPlayerToSessionOK) Error ¶ added in v0.4.0
func (o *AddPlayerToSessionOK) Error() string
func (*AddPlayerToSessionOK) GetPayload ¶ added in v0.4.0
func (o *AddPlayerToSessionOK) GetPayload() *sessionbrowserclientmodels.ModelsAddPlayerResponse
func (*AddPlayerToSessionOK) ToJSONString ¶ added in v0.25.0
func (o *AddPlayerToSessionOK) ToJSONString() string
type AddPlayerToSessionParams ¶ added in v0.4.0
type AddPlayerToSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *sessionbrowserclientmodels.ModelsAddPlayerRequest /*Namespace namespace of the game */ Namespace string /*SessionID session ID */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddPlayerToSessionParams contains all the parameters to send to the API endpoint for the add player to session operation typically these are written to a http.Request
func NewAddPlayerToSessionParams ¶ added in v0.4.0
func NewAddPlayerToSessionParams() *AddPlayerToSessionParams
NewAddPlayerToSessionParams creates a new AddPlayerToSessionParams object with the default values initialized.
func NewAddPlayerToSessionParamsWithContext ¶ added in v0.4.0
func NewAddPlayerToSessionParamsWithContext(ctx context.Context) *AddPlayerToSessionParams
NewAddPlayerToSessionParamsWithContext creates a new AddPlayerToSessionParams object with the default values initialized, and the ability to set a context for a request
func NewAddPlayerToSessionParamsWithHTTPClient ¶ added in v0.4.0
func NewAddPlayerToSessionParamsWithHTTPClient(client *http.Client) *AddPlayerToSessionParams
NewAddPlayerToSessionParamsWithHTTPClient creates a new AddPlayerToSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddPlayerToSessionParamsWithTimeout ¶ added in v0.4.0
func NewAddPlayerToSessionParamsWithTimeout(timeout time.Duration) *AddPlayerToSessionParams
NewAddPlayerToSessionParamsWithTimeout creates a new AddPlayerToSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddPlayerToSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AddPlayerToSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the add player to session params
func (*AddPlayerToSessionParams) SetBody ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) SetBody(body *sessionbrowserclientmodels.ModelsAddPlayerRequest)
SetBody adds the body to the add player to session params
func (*AddPlayerToSessionParams) SetContext ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the add player to session params
func (*AddPlayerToSessionParams) SetHTTPClient ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add player to session params
func (*AddPlayerToSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AddPlayerToSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the add player to session params
func (*AddPlayerToSessionParams) SetNamespace ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the add player to session params
func (*AddPlayerToSessionParams) SetSessionID ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the add player to session params
func (*AddPlayerToSessionParams) SetTimeout ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add player to session params
func (*AddPlayerToSessionParams) WithBody ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) WithBody(body *sessionbrowserclientmodels.ModelsAddPlayerRequest) *AddPlayerToSessionParams
WithBody adds the body to the add player to session params
func (*AddPlayerToSessionParams) WithContext ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) WithContext(ctx context.Context) *AddPlayerToSessionParams
WithContext adds the context to the add player to session params
func (*AddPlayerToSessionParams) WithHTTPClient ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) WithHTTPClient(client *http.Client) *AddPlayerToSessionParams
WithHTTPClient adds the HTTPClient to the add player to session params
func (*AddPlayerToSessionParams) WithNamespace ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) WithNamespace(namespace string) *AddPlayerToSessionParams
WithNamespace adds the namespace to the add player to session params
func (*AddPlayerToSessionParams) WithSessionID ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) WithSessionID(sessionID string) *AddPlayerToSessionParams
WithSessionID adds the sessionID to the add player to session params
func (*AddPlayerToSessionParams) WithTimeout ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) WithTimeout(timeout time.Duration) *AddPlayerToSessionParams
WithTimeout adds the timeout to the add player to session params
func (*AddPlayerToSessionParams) WriteToRequest ¶ added in v0.4.0
func (o *AddPlayerToSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddPlayerToSessionReader ¶ added in v0.4.0
type AddPlayerToSessionReader struct {
// contains filtered or unexported fields
}
AddPlayerToSessionReader is a Reader for the AddPlayerToSession structure.
func (*AddPlayerToSessionReader) ReadResponse ¶ added in v0.4.0
func (o *AddPlayerToSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteSessionBadRequest ¶ added in v0.30.0
type AdminDeleteSessionBadRequest struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
AdminDeleteSessionBadRequest handles this case with default header values.
malformed request
func NewAdminDeleteSessionBadRequest ¶ added in v0.30.0
func NewAdminDeleteSessionBadRequest() *AdminDeleteSessionBadRequest
NewAdminDeleteSessionBadRequest creates a AdminDeleteSessionBadRequest with default headers values
func (*AdminDeleteSessionBadRequest) Error ¶ added in v0.30.0
func (o *AdminDeleteSessionBadRequest) Error() string
func (*AdminDeleteSessionBadRequest) GetPayload ¶ added in v0.30.0
func (o *AdminDeleteSessionBadRequest) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*AdminDeleteSessionBadRequest) ToJSONString ¶ added in v0.30.0
func (o *AdminDeleteSessionBadRequest) ToJSONString() string
type AdminDeleteSessionInternalServerError ¶ added in v0.30.0
type AdminDeleteSessionInternalServerError struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
AdminDeleteSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminDeleteSessionInternalServerError ¶ added in v0.30.0
func NewAdminDeleteSessionInternalServerError() *AdminDeleteSessionInternalServerError
NewAdminDeleteSessionInternalServerError creates a AdminDeleteSessionInternalServerError with default headers values
func (*AdminDeleteSessionInternalServerError) Error ¶ added in v0.30.0
func (o *AdminDeleteSessionInternalServerError) Error() string
func (*AdminDeleteSessionInternalServerError) GetPayload ¶ added in v0.30.0
func (o *AdminDeleteSessionInternalServerError) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*AdminDeleteSessionInternalServerError) ToJSONString ¶ added in v0.30.0
func (o *AdminDeleteSessionInternalServerError) ToJSONString() string
type AdminDeleteSessionNotFound ¶ added in v0.30.0
type AdminDeleteSessionNotFound struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
AdminDeleteSessionNotFound handles this case with default header values.
session not found
func NewAdminDeleteSessionNotFound ¶ added in v0.30.0
func NewAdminDeleteSessionNotFound() *AdminDeleteSessionNotFound
NewAdminDeleteSessionNotFound creates a AdminDeleteSessionNotFound with default headers values
func (*AdminDeleteSessionNotFound) Error ¶ added in v0.30.0
func (o *AdminDeleteSessionNotFound) Error() string
func (*AdminDeleteSessionNotFound) GetPayload ¶ added in v0.30.0
func (o *AdminDeleteSessionNotFound) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*AdminDeleteSessionNotFound) ToJSONString ¶ added in v0.30.0
func (o *AdminDeleteSessionNotFound) ToJSONString() string
type AdminDeleteSessionOK ¶ added in v0.30.0
type AdminDeleteSessionOK struct {
Payload *sessionbrowserclientmodels.ModelsAdminSessionResponse
}
AdminDeleteSessionOK handles this case with default header values.
session deleted
func NewAdminDeleteSessionOK ¶ added in v0.30.0
func NewAdminDeleteSessionOK() *AdminDeleteSessionOK
NewAdminDeleteSessionOK creates a AdminDeleteSessionOK with default headers values
func (*AdminDeleteSessionOK) Error ¶ added in v0.30.0
func (o *AdminDeleteSessionOK) Error() string
func (*AdminDeleteSessionOK) GetPayload ¶ added in v0.30.0
func (o *AdminDeleteSessionOK) GetPayload() *sessionbrowserclientmodels.ModelsAdminSessionResponse
func (*AdminDeleteSessionOK) ToJSONString ¶ added in v0.30.0
func (o *AdminDeleteSessionOK) ToJSONString() string
type AdminDeleteSessionParams ¶ added in v0.30.0
type AdminDeleteSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace */ Namespace string /*SessionID session ID */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminDeleteSessionParams contains all the parameters to send to the API endpoint for the admin delete session operation typically these are written to a http.Request
func NewAdminDeleteSessionParams ¶ added in v0.30.0
func NewAdminDeleteSessionParams() *AdminDeleteSessionParams
NewAdminDeleteSessionParams creates a new AdminDeleteSessionParams object with the default values initialized.
func NewAdminDeleteSessionParamsWithContext ¶ added in v0.30.0
func NewAdminDeleteSessionParamsWithContext(ctx context.Context) *AdminDeleteSessionParams
NewAdminDeleteSessionParamsWithContext creates a new AdminDeleteSessionParams object with the default values initialized, and the ability to set a context for a request
func NewAdminDeleteSessionParamsWithHTTPClient ¶ added in v0.30.0
func NewAdminDeleteSessionParamsWithHTTPClient(client *http.Client) *AdminDeleteSessionParams
NewAdminDeleteSessionParamsWithHTTPClient creates a new AdminDeleteSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeleteSessionParamsWithTimeout ¶ added in v0.30.0
func NewAdminDeleteSessionParamsWithTimeout(timeout time.Duration) *AdminDeleteSessionParams
NewAdminDeleteSessionParamsWithTimeout creates a new AdminDeleteSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeleteSessionParams) SetAuthInfoWriter ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin delete session params
func (*AdminDeleteSessionParams) SetContext ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete session params
func (*AdminDeleteSessionParams) SetHTTPClient ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete session params
func (*AdminDeleteSessionParams) SetHTTPClientTransport ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin delete session params
func (*AdminDeleteSessionParams) SetNamespace ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete session params
func (*AdminDeleteSessionParams) SetSessionID ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the admin delete session params
func (*AdminDeleteSessionParams) SetTimeout ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete session params
func (*AdminDeleteSessionParams) WithContext ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) WithContext(ctx context.Context) *AdminDeleteSessionParams
WithContext adds the context to the admin delete session params
func (*AdminDeleteSessionParams) WithHTTPClient ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) WithHTTPClient(client *http.Client) *AdminDeleteSessionParams
WithHTTPClient adds the HTTPClient to the admin delete session params
func (*AdminDeleteSessionParams) WithNamespace ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) WithNamespace(namespace string) *AdminDeleteSessionParams
WithNamespace adds the namespace to the admin delete session params
func (*AdminDeleteSessionParams) WithSessionID ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) WithSessionID(sessionID string) *AdminDeleteSessionParams
WithSessionID adds the sessionID to the admin delete session params
func (*AdminDeleteSessionParams) WithTimeout ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) WithTimeout(timeout time.Duration) *AdminDeleteSessionParams
WithTimeout adds the timeout to the admin delete session params
func (*AdminDeleteSessionParams) WriteToRequest ¶ added in v0.30.0
func (o *AdminDeleteSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteSessionReader ¶ added in v0.30.0
type AdminDeleteSessionReader struct {
// contains filtered or unexported fields
}
AdminDeleteSessionReader is a Reader for the AdminDeleteSession structure.
func (*AdminDeleteSessionReader) ReadResponse ¶ added in v0.30.0
func (o *AdminDeleteSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetSessionInternalServerError ¶ added in v0.4.0
type AdminGetSessionInternalServerError struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
AdminGetSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminGetSessionInternalServerError ¶ added in v0.4.0
func NewAdminGetSessionInternalServerError() *AdminGetSessionInternalServerError
NewAdminGetSessionInternalServerError creates a AdminGetSessionInternalServerError with default headers values
func (*AdminGetSessionInternalServerError) Error ¶ added in v0.4.0
func (o *AdminGetSessionInternalServerError) Error() string
func (*AdminGetSessionInternalServerError) GetPayload ¶ added in v0.4.0
func (o *AdminGetSessionInternalServerError) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*AdminGetSessionInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminGetSessionInternalServerError) ToJSONString() string
type AdminGetSessionNotFound ¶ added in v0.4.0
type AdminGetSessionNotFound struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
AdminGetSessionNotFound handles this case with default header values.
session not found
func NewAdminGetSessionNotFound ¶ added in v0.4.0
func NewAdminGetSessionNotFound() *AdminGetSessionNotFound
NewAdminGetSessionNotFound creates a AdminGetSessionNotFound with default headers values
func (*AdminGetSessionNotFound) Error ¶ added in v0.4.0
func (o *AdminGetSessionNotFound) Error() string
func (*AdminGetSessionNotFound) GetPayload ¶ added in v0.4.0
func (o *AdminGetSessionNotFound) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*AdminGetSessionNotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminGetSessionNotFound) ToJSONString() string
type AdminGetSessionOK ¶ added in v0.4.0
type AdminGetSessionOK struct {
Payload *sessionbrowserclientmodels.ModelsAdminSessionResponse
}
AdminGetSessionOK handles this case with default header values.
session get
func NewAdminGetSessionOK ¶ added in v0.4.0
func NewAdminGetSessionOK() *AdminGetSessionOK
NewAdminGetSessionOK creates a AdminGetSessionOK with default headers values
func (*AdminGetSessionOK) Error ¶ added in v0.4.0
func (o *AdminGetSessionOK) Error() string
func (*AdminGetSessionOK) GetPayload ¶ added in v0.4.0
func (o *AdminGetSessionOK) GetPayload() *sessionbrowserclientmodels.ModelsAdminSessionResponse
func (*AdminGetSessionOK) ToJSONString ¶ added in v0.25.0
func (o *AdminGetSessionOK) ToJSONString() string
type AdminGetSessionParams ¶ added in v0.4.0
type AdminGetSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace */ Namespace string /*SessionID session ID */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminGetSessionParams contains all the parameters to send to the API endpoint for the admin get session operation typically these are written to a http.Request
func NewAdminGetSessionParams ¶ added in v0.4.0
func NewAdminGetSessionParams() *AdminGetSessionParams
NewAdminGetSessionParams creates a new AdminGetSessionParams object with the default values initialized.
func NewAdminGetSessionParamsWithContext ¶ added in v0.4.0
func NewAdminGetSessionParamsWithContext(ctx context.Context) *AdminGetSessionParams
NewAdminGetSessionParamsWithContext creates a new AdminGetSessionParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetSessionParamsWithHTTPClient ¶ added in v0.4.0
func NewAdminGetSessionParamsWithHTTPClient(client *http.Client) *AdminGetSessionParams
NewAdminGetSessionParamsWithHTTPClient creates a new AdminGetSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetSessionParamsWithTimeout ¶ added in v0.4.0
func NewAdminGetSessionParamsWithTimeout(timeout time.Duration) *AdminGetSessionParams
NewAdminGetSessionParamsWithTimeout creates a new AdminGetSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminGetSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get session params
func (*AdminGetSessionParams) SetContext ¶ added in v0.4.0
func (o *AdminGetSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get session params
func (*AdminGetSessionParams) SetHTTPClient ¶ added in v0.4.0
func (o *AdminGetSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get session params
func (*AdminGetSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminGetSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get session params
func (*AdminGetSessionParams) SetNamespace ¶ added in v0.4.0
func (o *AdminGetSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get session params
func (*AdminGetSessionParams) SetSessionID ¶ added in v0.4.0
func (o *AdminGetSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the admin get session params
func (*AdminGetSessionParams) SetTimeout ¶ added in v0.4.0
func (o *AdminGetSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get session params
func (*AdminGetSessionParams) WithContext ¶ added in v0.4.0
func (o *AdminGetSessionParams) WithContext(ctx context.Context) *AdminGetSessionParams
WithContext adds the context to the admin get session params
func (*AdminGetSessionParams) WithHTTPClient ¶ added in v0.4.0
func (o *AdminGetSessionParams) WithHTTPClient(client *http.Client) *AdminGetSessionParams
WithHTTPClient adds the HTTPClient to the admin get session params
func (*AdminGetSessionParams) WithNamespace ¶ added in v0.4.0
func (o *AdminGetSessionParams) WithNamespace(namespace string) *AdminGetSessionParams
WithNamespace adds the namespace to the admin get session params
func (*AdminGetSessionParams) WithSessionID ¶ added in v0.4.0
func (o *AdminGetSessionParams) WithSessionID(sessionID string) *AdminGetSessionParams
WithSessionID adds the sessionID to the admin get session params
func (*AdminGetSessionParams) WithTimeout ¶ added in v0.4.0
func (o *AdminGetSessionParams) WithTimeout(timeout time.Duration) *AdminGetSessionParams
WithTimeout adds the timeout to the admin get session params
func (*AdminGetSessionParams) WriteToRequest ¶ added in v0.4.0
func (o *AdminGetSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetSessionReader ¶ added in v0.4.0
type AdminGetSessionReader struct {
// contains filtered or unexported fields
}
AdminGetSessionReader is a Reader for the AdminGetSession structure.
func (*AdminGetSessionReader) ReadResponse ¶ added in v0.4.0
func (o *AdminGetSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminSearchSessionsV2BadRequest ¶ added in v0.28.0
type AdminSearchSessionsV2BadRequest struct {
Payload *sessionbrowserclientmodels.RestapiErrorV1
}
AdminSearchSessionsV2BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewAdminSearchSessionsV2BadRequest ¶ added in v0.28.0
func NewAdminSearchSessionsV2BadRequest() *AdminSearchSessionsV2BadRequest
NewAdminSearchSessionsV2BadRequest creates a AdminSearchSessionsV2BadRequest with default headers values
func (*AdminSearchSessionsV2BadRequest) Error ¶ added in v0.28.0
func (o *AdminSearchSessionsV2BadRequest) Error() string
func (*AdminSearchSessionsV2BadRequest) GetPayload ¶ added in v0.28.0
func (o *AdminSearchSessionsV2BadRequest) GetPayload() *sessionbrowserclientmodels.RestapiErrorV1
func (*AdminSearchSessionsV2BadRequest) ToJSONString ¶ added in v0.28.0
func (o *AdminSearchSessionsV2BadRequest) ToJSONString() string
type AdminSearchSessionsV2Forbidden ¶ added in v0.28.0
type AdminSearchSessionsV2Forbidden struct {
Payload *sessionbrowserclientmodels.RestapiErrorV1
}
AdminSearchSessionsV2Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>20014</td><td>invalid audience</td></tr><tr><td>20015</td><td>insufficient scope</td></tr></table>
func NewAdminSearchSessionsV2Forbidden ¶ added in v0.28.0
func NewAdminSearchSessionsV2Forbidden() *AdminSearchSessionsV2Forbidden
NewAdminSearchSessionsV2Forbidden creates a AdminSearchSessionsV2Forbidden with default headers values
func (*AdminSearchSessionsV2Forbidden) Error ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Forbidden) Error() string
func (*AdminSearchSessionsV2Forbidden) GetPayload ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Forbidden) GetPayload() *sessionbrowserclientmodels.RestapiErrorV1
func (*AdminSearchSessionsV2Forbidden) ToJSONString ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Forbidden) ToJSONString() string
type AdminSearchSessionsV2InternalServerError ¶ added in v0.28.0
type AdminSearchSessionsV2InternalServerError struct {
Payload *sessionbrowserclientmodels.ResponseError
}
AdminSearchSessionsV2InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewAdminSearchSessionsV2InternalServerError ¶ added in v0.28.0
func NewAdminSearchSessionsV2InternalServerError() *AdminSearchSessionsV2InternalServerError
NewAdminSearchSessionsV2InternalServerError creates a AdminSearchSessionsV2InternalServerError with default headers values
func (*AdminSearchSessionsV2InternalServerError) Error ¶ added in v0.28.0
func (o *AdminSearchSessionsV2InternalServerError) Error() string
func (*AdminSearchSessionsV2InternalServerError) GetPayload ¶ added in v0.28.0
func (o *AdminSearchSessionsV2InternalServerError) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*AdminSearchSessionsV2InternalServerError) ToJSONString ¶ added in v0.28.0
func (o *AdminSearchSessionsV2InternalServerError) ToJSONString() string
type AdminSearchSessionsV2OK ¶ added in v0.28.0
type AdminSearchSessionsV2OK struct {
Payload *sessionbrowserclientmodels.ModelsGetSessionHistorySearchResponseV2
}
AdminSearchSessionsV2OK handles this case with default header values.
Operation succeeded
func NewAdminSearchSessionsV2OK ¶ added in v0.28.0
func NewAdminSearchSessionsV2OK() *AdminSearchSessionsV2OK
NewAdminSearchSessionsV2OK creates a AdminSearchSessionsV2OK with default headers values
func (*AdminSearchSessionsV2OK) Error ¶ added in v0.28.0
func (o *AdminSearchSessionsV2OK) Error() string
func (*AdminSearchSessionsV2OK) GetPayload ¶ added in v0.28.0
func (o *AdminSearchSessionsV2OK) GetPayload() *sessionbrowserclientmodels.ModelsGetSessionHistorySearchResponseV2
func (*AdminSearchSessionsV2OK) ToJSONString ¶ added in v0.28.0
func (o *AdminSearchSessionsV2OK) ToJSONString() string
type AdminSearchSessionsV2Params ¶ added in v0.28.0
type AdminSearchSessionsV2Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Channel ID of the channel */ Channel *string /*Deleted only deleted session */ Deleted *bool /*Limit limit */ Limit int64 /*MatchID ID of the match session */ MatchID *string /*Namespace namespace */ Namespace string /*Offset offset */ Offset int64 /*PartyID ID of the party */ PartyID *string /*UserID ID of the user */ UserID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminSearchSessionsV2Params contains all the parameters to send to the API endpoint for the admin search sessions v2 operation typically these are written to a http.Request
func NewAdminSearchSessionsV2Params ¶ added in v0.28.0
func NewAdminSearchSessionsV2Params() *AdminSearchSessionsV2Params
NewAdminSearchSessionsV2Params creates a new AdminSearchSessionsV2Params object with the default values initialized.
func NewAdminSearchSessionsV2ParamsWithContext ¶ added in v0.28.0
func NewAdminSearchSessionsV2ParamsWithContext(ctx context.Context) *AdminSearchSessionsV2Params
NewAdminSearchSessionsV2ParamsWithContext creates a new AdminSearchSessionsV2Params object with the default values initialized, and the ability to set a context for a request
func NewAdminSearchSessionsV2ParamsWithHTTPClient ¶ added in v0.28.0
func NewAdminSearchSessionsV2ParamsWithHTTPClient(client *http.Client) *AdminSearchSessionsV2Params
NewAdminSearchSessionsV2ParamsWithHTTPClient creates a new AdminSearchSessionsV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminSearchSessionsV2ParamsWithTimeout ¶ added in v0.28.0
func NewAdminSearchSessionsV2ParamsWithTimeout(timeout time.Duration) *AdminSearchSessionsV2Params
NewAdminSearchSessionsV2ParamsWithTimeout creates a new AdminSearchSessionsV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*AdminSearchSessionsV2Params) SetAuthInfoWriter ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) SetChannel ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetChannel(channel *string)
SetChannel adds the channel to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) SetContext ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) SetDeleted ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetDeleted(deleted *bool)
SetDeleted adds the deleted to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) SetHTTPClient ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) SetHTTPClientTransport ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) SetLimit ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetLimit(limit int64)
SetLimit adds the limit to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) SetMatchID ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetMatchID(matchID *string)
SetMatchID adds the matchId to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) SetNamespace ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) SetOffset ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetOffset(offset int64)
SetOffset adds the offset to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) SetPartyID ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetPartyID(partyID *string)
SetPartyID adds the partyId to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) SetTimeout ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) SetUserID ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) SetUserID(userID *string)
SetUserID adds the userId to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) WithChannel ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) WithChannel(channel *string) *AdminSearchSessionsV2Params
WithChannel adds the channel to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) WithContext ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) WithContext(ctx context.Context) *AdminSearchSessionsV2Params
WithContext adds the context to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) WithDeleted ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) WithDeleted(deleted *bool) *AdminSearchSessionsV2Params
WithDeleted adds the deleted to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) WithHTTPClient ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) WithHTTPClient(client *http.Client) *AdminSearchSessionsV2Params
WithHTTPClient adds the HTTPClient to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) WithLimit ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) WithLimit(limit int64) *AdminSearchSessionsV2Params
WithLimit adds the limit to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) WithMatchID ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) WithMatchID(matchID *string) *AdminSearchSessionsV2Params
WithMatchID adds the matchID to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) WithNamespace ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) WithNamespace(namespace string) *AdminSearchSessionsV2Params
WithNamespace adds the namespace to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) WithOffset ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) WithOffset(offset int64) *AdminSearchSessionsV2Params
WithOffset adds the offset to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) WithPartyID ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) WithPartyID(partyID *string) *AdminSearchSessionsV2Params
WithPartyID adds the partyID to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) WithTimeout ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) WithTimeout(timeout time.Duration) *AdminSearchSessionsV2Params
WithTimeout adds the timeout to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) WithUserID ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) WithUserID(userID *string) *AdminSearchSessionsV2Params
WithUserID adds the userID to the admin search sessions v2 params
func (*AdminSearchSessionsV2Params) WriteToRequest ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminSearchSessionsV2Reader ¶ added in v0.28.0
type AdminSearchSessionsV2Reader struct {
// contains filtered or unexported fields
}
AdminSearchSessionsV2Reader is a Reader for the AdminSearchSessionsV2 structure.
func (*AdminSearchSessionsV2Reader) ReadResponse ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminSearchSessionsV2Unauthorized ¶ added in v0.28.0
type AdminSearchSessionsV2Unauthorized struct {
}AdminSearchSessionsV2Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminSearchSessionsV2Unauthorized ¶ added in v0.28.0
func NewAdminSearchSessionsV2Unauthorized() *AdminSearchSessionsV2Unauthorized
NewAdminSearchSessionsV2Unauthorized creates a AdminSearchSessionsV2Unauthorized with default headers values
func (*AdminSearchSessionsV2Unauthorized) Error ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Unauthorized) Error() string
func (*AdminSearchSessionsV2Unauthorized) GetPayload ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Unauthorized) GetPayload() *sessionbrowserclientmodels.RestapiErrorV1
func (*AdminSearchSessionsV2Unauthorized) ToJSONString ¶ added in v0.28.0
func (o *AdminSearchSessionsV2Unauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for session API
func (*Client) AddPlayerToSession
deprecated
added in
v0.4.0
func (a *Client) AddPlayerToSession(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, *AddPlayerToSessionBadRequest, *AddPlayerToSessionNotFound, *AddPlayerToSessionInternalServerError, error)
Deprecated: Use AddPlayerToSessionShort instead.
AddPlayerToSession adds player to game session Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [UPDATE]
Required scope: social
Add player to game session
func (*Client) AddPlayerToSessionShort ¶ added in v0.8.0
func (a *Client) AddPlayerToSessionShort(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, error)
AddPlayerToSessionShort adds player to game session Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [UPDATE]
Required scope: social
Add player to game session
func (*Client) AdminDeleteSession
deprecated
added in
v0.30.0
func (a *Client) AdminDeleteSession(params *AdminDeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteSessionOK, *AdminDeleteSessionBadRequest, *AdminDeleteSessionNotFound, *AdminDeleteSessionInternalServerError, error)
Deprecated: Use AdminDeleteSessionShort instead.
AdminDeleteSession admins delete specified session by session ID Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [DELETE]
Required scope: social
Admin delete the session by session ID
func (*Client) AdminDeleteSessionShort ¶ added in v0.30.0
func (a *Client) AdminDeleteSessionShort(params *AdminDeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteSessionOK, error)
AdminDeleteSessionShort admins delete specified session by session ID Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [DELETE]
Required scope: social
Admin delete the session by session ID
func (*Client) AdminGetSession
deprecated
added in
v0.4.0
func (a *Client) AdminGetSession(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, *AdminGetSessionNotFound, *AdminGetSessionInternalServerError, error)
Deprecated: Use AdminGetSessionShort instead.
AdminGetSession admins get specified session by session ID Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
Get the session by session ID for admin user
func (*Client) AdminGetSessionShort ¶ added in v0.8.0
func (a *Client) AdminGetSessionShort(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, error)
AdminGetSessionShort admins get specified session by session ID Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
Get the session by session ID for admin user
func (*Client) AdminSearchSessionsV2
deprecated
added in
v0.28.0
func (a *Client) AdminSearchSessionsV2(params *AdminSearchSessionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchSessionsV2OK, *AdminSearchSessionsV2BadRequest, *AdminSearchSessionsV2Unauthorized, *AdminSearchSessionsV2Forbidden, *AdminSearchSessionsV2InternalServerError, error)
Deprecated: Use AdminSearchSessionsV2Short instead.
AdminSearchSessionsV2 searches sessions Required Permission: ADMIN:NAMESPACE:{namespace}:SESSION [Read]
Required Scope: social
Search sessions. Optimize the query by differentiating query with filter namespace only and filter with namespace & other filter (partyID, userID, matchID). Query with filter namespace only will not group whole session data while query with filter namespace & other filter will include session data.
func (*Client) AdminSearchSessionsV2Short ¶ added in v0.28.0
func (a *Client) AdminSearchSessionsV2Short(params *AdminSearchSessionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchSessionsV2OK, error)
AdminSearchSessionsV2Short searches sessions Required Permission: ADMIN:NAMESPACE:{namespace}:SESSION [Read]
Required Scope: social
Search sessions. Optimize the query by differentiating query with filter namespace only and filter with namespace & other filter (partyID, userID, matchID). Query with filter namespace only will not group whole session data while query with filter namespace & other filter will include session data.
func (*Client) CreateSession
deprecated
func (a *Client) CreateSession(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, *CreateSessionBadRequest, *CreateSessionForbidden, *CreateSessionConflict, *CreateSessionInternalServerError, error)
Deprecated: Use CreateSessionShort instead.
CreateSession registers a new game session Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [CREATE]
Required scope: social
This end point intended to be called directly by P2P game client host or by DSMC
func (*Client) CreateSessionShort ¶ added in v0.8.0
func (a *Client) CreateSessionShort(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, error)
CreateSessionShort registers a new game session Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [CREATE]
Required scope: social
This end point intended to be called directly by P2P game client host or by DSMC
func (*Client) DeleteSession
deprecated
func (a *Client) DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, *DeleteSessionBadRequest, *DeleteSessionNotFound, *DeleteSessionInternalServerError, error)
Deprecated: Use DeleteSessionShort instead.
DeleteSession deletes specified p2p session by session ID Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [DELETE]
Required scope: social
Delete the session (p2p) by session ID
func (*Client) DeleteSessionLocalDS
deprecated
added in
v0.4.0
func (a *Client) DeleteSessionLocalDS(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, *DeleteSessionLocalDSBadRequest, *DeleteSessionLocalDSNotFound, *DeleteSessionLocalDSInternalServerError, error)
Deprecated: Use DeleteSessionLocalDSShort instead.
DeleteSessionLocalDS onlies use for local d s entry will error when calling non local d s entry Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [DELETE]
Required scope: social
Only use for local DS entry, will error when calling non local DS entry
func (*Client) DeleteSessionLocalDSShort ¶ added in v0.8.0
func (a *Client) DeleteSessionLocalDSShort(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, error)
DeleteSessionLocalDSShort onlies use for local d s entry will error when calling non local d s entry Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [DELETE]
Required scope: social
Only use for local DS entry, will error when calling non local DS entry
func (*Client) DeleteSessionShort ¶ added in v0.8.0
func (a *Client) DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, error)
DeleteSessionShort deletes specified p2p session by session ID Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [DELETE]
Required scope: social
Delete the session (p2p) by session ID
func (*Client) GetActiveCustomGameSessions
deprecated
added in
v0.4.0
func (a *Client) GetActiveCustomGameSessions(params *GetActiveCustomGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveCustomGameSessionsOK, *GetActiveCustomGameSessionsBadRequest, *GetActiveCustomGameSessionsInternalServerError, error)
Deprecated: Use GetActiveCustomGameSessionsShort instead.
GetActiveCustomGameSessions gets all active session for custom game this return only dedicated session type Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
func (*Client) GetActiveCustomGameSessionsShort ¶ added in v0.8.0
func (a *Client) GetActiveCustomGameSessionsShort(params *GetActiveCustomGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveCustomGameSessionsOK, error)
GetActiveCustomGameSessionsShort gets all active session for custom game this return only dedicated session type Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
func (*Client) GetActiveMatchmakingGameSessions
deprecated
added in
v0.4.0
func (a *Client) GetActiveMatchmakingGameSessions(params *GetActiveMatchmakingGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveMatchmakingGameSessionsOK, *GetActiveMatchmakingGameSessionsBadRequest, *GetActiveMatchmakingGameSessionsInternalServerError, error)
Deprecated: Use GetActiveMatchmakingGameSessionsShort instead.
GetActiveMatchmakingGameSessions gets all active session for matchmaking game this return only dedicated session type Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
func (*Client) GetActiveMatchmakingGameSessionsShort ¶ added in v0.8.0
func (a *Client) GetActiveMatchmakingGameSessionsShort(params *GetActiveMatchmakingGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveMatchmakingGameSessionsOK, error)
GetActiveMatchmakingGameSessionsShort gets all active session for matchmaking game this return only dedicated session type Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
func (*Client) GetRecentPlayer
deprecated
added in
v0.4.0
func (a *Client) GetRecentPlayer(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, *GetRecentPlayerBadRequest, *GetRecentPlayerInternalServerError, error)
Deprecated: Use GetRecentPlayerShort instead.
GetRecentPlayer queries recent players with given user id Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:RECENTPLAYER [READ]
Required scope: social
Query recent player by user ID
func (*Client) GetRecentPlayerShort ¶ added in v0.8.0
func (a *Client) GetRecentPlayerShort(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, error)
GetRecentPlayerShort queries recent players with given user id Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:RECENTPLAYER [READ]
Required scope: social
Query recent player by user ID
func (*Client) GetSession
deprecated
func (a *Client) GetSession(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, *GetSessionNotFound, *GetSessionInternalServerError, error)
Deprecated: Use GetSessionShort instead.
GetSession gets specified session by session ID Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
Get the session by session ID
func (*Client) GetSessionByUserIDs
deprecated
func (a *Client) GetSessionByUserIDs(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, *GetSessionByUserIDsBadRequest, *GetSessionByUserIDsInternalServerError, error)
Deprecated: Use GetSessionByUserIDsShort instead.
GetSessionByUserIDs queries game sessions by comma separated user ids Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
Query game sessions by comma separated user ids
func (*Client) GetSessionByUserIDsShort ¶ added in v0.8.0
func (a *Client) GetSessionByUserIDsShort(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, error)
GetSessionByUserIDsShort queries game sessions by comma separated user ids Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
Query game sessions by comma separated user ids
func (*Client) GetSessionHistoryDetailed
deprecated
added in
v0.28.0
func (a *Client) GetSessionHistoryDetailed(params *GetSessionHistoryDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionHistoryDetailedOK, *GetSessionHistoryDetailedBadRequest, *GetSessionHistoryDetailedUnauthorized, *GetSessionHistoryDetailedForbidden, *GetSessionHistoryDetailedInternalServerError, error)
Deprecated: Use GetSessionHistoryDetailedShort instead.
GetSessionHistoryDetailed gets session history detailed Required Permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [Read]
Required Scope: social
Get session history detailed.
if party_id value empty/null, field will not show in response body.
func (*Client) GetSessionHistoryDetailedShort ¶ added in v0.28.0
func (a *Client) GetSessionHistoryDetailedShort(params *GetSessionHistoryDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionHistoryDetailedOK, error)
GetSessionHistoryDetailedShort gets session history detailed Required Permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [Read]
Required Scope: social
Get session history detailed.
if party_id value empty/null, field will not show in response body.
func (*Client) GetSessionShort ¶ added in v0.8.0
func (a *Client) GetSessionShort(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, error)
GetSessionShort gets specified session by session ID Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
Get the session by session ID
func (*Client) GetTotalActiveSession
deprecated
added in
v0.4.0
func (a *Client) GetTotalActiveSession(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, *GetTotalActiveSessionBadRequest, *GetTotalActiveSessionInternalServerError, error)
Deprecated: Use GetTotalActiveSessionShort instead.
GetTotalActiveSession gets all active session Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
func (*Client) GetTotalActiveSessionShort ¶ added in v0.8.0
func (a *Client) GetTotalActiveSessionShort(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, error)
GetTotalActiveSessionShort gets all active session Required permission: ADMIN:NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
func (*Client) JoinSession
deprecated
added in
v0.4.0
func (a *Client) JoinSession(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, *JoinSessionBadRequest, *JoinSessionForbidden, *JoinSessionNotFound, *JoinSessionInternalServerError, error)
Deprecated: Use JoinSessionShort instead.
JoinSession joins specified session by session ID Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
Join the specified session by session ID. Possible the game required a password to join
func (*Client) JoinSessionShort ¶ added in v0.8.0
func (a *Client) JoinSessionShort(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, error)
JoinSessionShort joins specified session by session ID Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
Join the specified session by session ID. Possible the game required a password to join
func (*Client) QuerySession
deprecated
func (a *Client) QuerySession(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, *QuerySessionBadRequest, *QuerySessionInternalServerError, error)
Deprecated: Use QuerySessionShort instead.
QuerySession queries to available game session Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
Query available game session
func (*Client) QuerySessionShort ¶ added in v0.8.0
func (a *Client) QuerySessionShort(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, error)
QuerySessionShort queries to available game session Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [READ]
Required scope: social
Query available game session
func (*Client) RemovePlayerFromSession
deprecated
added in
v0.4.0
func (a *Client) RemovePlayerFromSession(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, *RemovePlayerFromSessionBadRequest, *RemovePlayerFromSessionNotFound, *RemovePlayerFromSessionInternalServerError, error)
Deprecated: Use RemovePlayerFromSessionShort instead.
RemovePlayerFromSession removes player from game session Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [UPDATE]
Required scope: social
Remove player from game session
func (*Client) RemovePlayerFromSessionShort ¶ added in v0.8.0
func (a *Client) RemovePlayerFromSessionShort(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, error)
RemovePlayerFromSessionShort removes player from game session Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [UPDATE]
Required scope: social
Remove player from game session
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSession
deprecated
func (a *Client) UpdateSession(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, *UpdateSessionBadRequest, *UpdateSessionNotFound, *UpdateSessionInternalServerError, error)
Deprecated: Use UpdateSessionShort instead.
UpdateSession updates session Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [UPDATE]
Required scope: social
Update game session, used to update the current player
func (*Client) UpdateSessionShort ¶ added in v0.8.0
func (a *Client) UpdateSessionShort(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, error)
UpdateSessionShort updates session Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [UPDATE]
Required scope: social
Update game session, used to update the current player
func (*Client) UpdateSettings
deprecated
added in
v0.18.0
func (a *Client) UpdateSettings(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, *UpdateSettingsBadRequest, *UpdateSettingsNotFound, *UpdateSettingsInternalServerError, error)
Deprecated: Use UpdateSettingsShort instead.
UpdateSettings updates settings Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [UPDATE]
Required scope: social
Update game session, used to update OtherSettings
func (*Client) UpdateSettingsShort ¶ added in v0.18.0
func (a *Client) UpdateSettingsShort(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, error)
UpdateSettingsShort updates settings Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [UPDATE]
Required scope: social
Update game session, used to update OtherSettings
type ClientService ¶
type ClientService interface { AddPlayerToSession(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, *AddPlayerToSessionBadRequest, *AddPlayerToSessionNotFound, *AddPlayerToSessionInternalServerError, error) AddPlayerToSessionShort(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, error) AdminDeleteSession(params *AdminDeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteSessionOK, *AdminDeleteSessionBadRequest, *AdminDeleteSessionNotFound, *AdminDeleteSessionInternalServerError, error) AdminDeleteSessionShort(params *AdminDeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteSessionOK, error) AdminGetSession(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, *AdminGetSessionNotFound, *AdminGetSessionInternalServerError, error) AdminGetSessionShort(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, error) AdminSearchSessionsV2(params *AdminSearchSessionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchSessionsV2OK, *AdminSearchSessionsV2BadRequest, *AdminSearchSessionsV2Unauthorized, *AdminSearchSessionsV2Forbidden, *AdminSearchSessionsV2InternalServerError, error) AdminSearchSessionsV2Short(params *AdminSearchSessionsV2Params, authInfo runtime.ClientAuthInfoWriter) (*AdminSearchSessionsV2OK, error) CreateSession(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, *CreateSessionBadRequest, *CreateSessionForbidden, *CreateSessionConflict, *CreateSessionInternalServerError, error) CreateSessionShort(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, error) DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, *DeleteSessionBadRequest, *DeleteSessionNotFound, *DeleteSessionInternalServerError, error) DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, error) DeleteSessionLocalDS(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, *DeleteSessionLocalDSBadRequest, *DeleteSessionLocalDSNotFound, *DeleteSessionLocalDSInternalServerError, error) DeleteSessionLocalDSShort(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, error) GetActiveCustomGameSessions(params *GetActiveCustomGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveCustomGameSessionsOK, *GetActiveCustomGameSessionsBadRequest, *GetActiveCustomGameSessionsInternalServerError, error) GetActiveCustomGameSessionsShort(params *GetActiveCustomGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveCustomGameSessionsOK, error) GetActiveMatchmakingGameSessions(params *GetActiveMatchmakingGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveMatchmakingGameSessionsOK, *GetActiveMatchmakingGameSessionsBadRequest, *GetActiveMatchmakingGameSessionsInternalServerError, error) GetActiveMatchmakingGameSessionsShort(params *GetActiveMatchmakingGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveMatchmakingGameSessionsOK, error) GetRecentPlayer(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, *GetRecentPlayerBadRequest, *GetRecentPlayerInternalServerError, error) GetRecentPlayerShort(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, error) GetSession(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, *GetSessionNotFound, *GetSessionInternalServerError, error) GetSessionShort(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, error) GetSessionByUserIDs(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, *GetSessionByUserIDsBadRequest, *GetSessionByUserIDsInternalServerError, error) GetSessionByUserIDsShort(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, error) GetSessionHistoryDetailed(params *GetSessionHistoryDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionHistoryDetailedOK, *GetSessionHistoryDetailedBadRequest, *GetSessionHistoryDetailedUnauthorized, *GetSessionHistoryDetailedForbidden, *GetSessionHistoryDetailedInternalServerError, error) GetSessionHistoryDetailedShort(params *GetSessionHistoryDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionHistoryDetailedOK, error) GetTotalActiveSession(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, *GetTotalActiveSessionBadRequest, *GetTotalActiveSessionInternalServerError, error) GetTotalActiveSessionShort(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, error) JoinSession(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, *JoinSessionBadRequest, *JoinSessionForbidden, *JoinSessionNotFound, *JoinSessionInternalServerError, error) JoinSessionShort(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, error) QuerySession(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, *QuerySessionBadRequest, *QuerySessionInternalServerError, error) QuerySessionShort(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, error) RemovePlayerFromSession(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, *RemovePlayerFromSessionBadRequest, *RemovePlayerFromSessionNotFound, *RemovePlayerFromSessionInternalServerError, error) RemovePlayerFromSessionShort(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, error) UpdateSession(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, *UpdateSessionBadRequest, *UpdateSessionNotFound, *UpdateSessionInternalServerError, error) UpdateSessionShort(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, error) UpdateSettings(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, *UpdateSettingsBadRequest, *UpdateSettingsNotFound, *UpdateSettingsInternalServerError, error) UpdateSettingsShort(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, 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 session API client.
type CreateSessionBadRequest ¶
type CreateSessionBadRequest struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
CreateSessionBadRequest handles this case with default header values.
malformed request
func NewCreateSessionBadRequest ¶
func NewCreateSessionBadRequest() *CreateSessionBadRequest
NewCreateSessionBadRequest creates a CreateSessionBadRequest with default headers values
func (*CreateSessionBadRequest) Error ¶
func (o *CreateSessionBadRequest) Error() string
func (*CreateSessionBadRequest) GetPayload ¶
func (o *CreateSessionBadRequest) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*CreateSessionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *CreateSessionBadRequest) ToJSONString() string
type CreateSessionConflict ¶
type CreateSessionConflict struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
CreateSessionConflict handles this case with default header values.
session already exists
func NewCreateSessionConflict ¶
func NewCreateSessionConflict() *CreateSessionConflict
NewCreateSessionConflict creates a CreateSessionConflict with default headers values
func (*CreateSessionConflict) Error ¶
func (o *CreateSessionConflict) Error() string
func (*CreateSessionConflict) GetPayload ¶
func (o *CreateSessionConflict) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*CreateSessionConflict) ToJSONString ¶ added in v0.25.0
func (o *CreateSessionConflict) ToJSONString() string
type CreateSessionForbidden ¶ added in v0.7.0
type CreateSessionForbidden struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
CreateSessionForbidden handles this case with default header values.
user is banned from creating session
func NewCreateSessionForbidden ¶ added in v0.7.0
func NewCreateSessionForbidden() *CreateSessionForbidden
NewCreateSessionForbidden creates a CreateSessionForbidden with default headers values
func (*CreateSessionForbidden) Error ¶ added in v0.7.0
func (o *CreateSessionForbidden) Error() string
func (*CreateSessionForbidden) GetPayload ¶ added in v0.7.0
func (o *CreateSessionForbidden) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*CreateSessionForbidden) ToJSONString ¶ added in v0.25.0
func (o *CreateSessionForbidden) ToJSONString() string
type CreateSessionInternalServerError ¶
type CreateSessionInternalServerError struct {
Payload *sessionbrowserclientmodels.ResponseError
}
CreateSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewCreateSessionInternalServerError ¶
func NewCreateSessionInternalServerError() *CreateSessionInternalServerError
NewCreateSessionInternalServerError creates a CreateSessionInternalServerError with default headers values
func (*CreateSessionInternalServerError) Error ¶
func (o *CreateSessionInternalServerError) Error() string
func (*CreateSessionInternalServerError) GetPayload ¶
func (o *CreateSessionInternalServerError) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*CreateSessionInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *CreateSessionInternalServerError) ToJSONString() string
type CreateSessionOK ¶
type CreateSessionOK struct {
Payload *sessionbrowserclientmodels.ModelsSessionResponse
}
CreateSessionOK handles this case with default header values.
session created
func NewCreateSessionOK ¶
func NewCreateSessionOK() *CreateSessionOK
NewCreateSessionOK creates a CreateSessionOK with default headers values
func (*CreateSessionOK) Error ¶
func (o *CreateSessionOK) Error() string
func (*CreateSessionOK) GetPayload ¶
func (o *CreateSessionOK) GetPayload() *sessionbrowserclientmodels.ModelsSessionResponse
func (*CreateSessionOK) ToJSONString ¶ added in v0.25.0
func (o *CreateSessionOK) ToJSONString() string
type CreateSessionParams ¶
type CreateSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *sessionbrowserclientmodels.ModelsCreateSessionRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSessionParams contains all the parameters to send to the API endpoint for the create session operation typically these are written to a http.Request
func NewCreateSessionParams ¶
func NewCreateSessionParams() *CreateSessionParams
NewCreateSessionParams creates a new CreateSessionParams object with the default values initialized.
func NewCreateSessionParamsWithContext ¶
func NewCreateSessionParamsWithContext(ctx context.Context) *CreateSessionParams
NewCreateSessionParamsWithContext creates a new CreateSessionParams object with the default values initialized, and the ability to set a context for a request
func NewCreateSessionParamsWithHTTPClient ¶
func NewCreateSessionParamsWithHTTPClient(client *http.Client) *CreateSessionParams
NewCreateSessionParamsWithHTTPClient creates a new CreateSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateSessionParamsWithTimeout ¶
func NewCreateSessionParamsWithTimeout(timeout time.Duration) *CreateSessionParams
NewCreateSessionParamsWithTimeout creates a new CreateSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CreateSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create session params
func (*CreateSessionParams) SetBody ¶
func (o *CreateSessionParams) SetBody(body *sessionbrowserclientmodels.ModelsCreateSessionRequest)
SetBody adds the body to the create session params
func (*CreateSessionParams) SetContext ¶
func (o *CreateSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the create session params
func (*CreateSessionParams) SetHTTPClient ¶
func (o *CreateSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create session params
func (*CreateSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CreateSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create session params
func (*CreateSessionParams) SetNamespace ¶
func (o *CreateSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create session params
func (*CreateSessionParams) SetTimeout ¶
func (o *CreateSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create session params
func (*CreateSessionParams) WithBody ¶
func (o *CreateSessionParams) WithBody(body *sessionbrowserclientmodels.ModelsCreateSessionRequest) *CreateSessionParams
WithBody adds the body to the create session params
func (*CreateSessionParams) WithContext ¶
func (o *CreateSessionParams) WithContext(ctx context.Context) *CreateSessionParams
WithContext adds the context to the create session params
func (*CreateSessionParams) WithHTTPClient ¶
func (o *CreateSessionParams) WithHTTPClient(client *http.Client) *CreateSessionParams
WithHTTPClient adds the HTTPClient to the create session params
func (*CreateSessionParams) WithNamespace ¶
func (o *CreateSessionParams) WithNamespace(namespace string) *CreateSessionParams
WithNamespace adds the namespace to the create session params
func (*CreateSessionParams) WithTimeout ¶
func (o *CreateSessionParams) WithTimeout(timeout time.Duration) *CreateSessionParams
WithTimeout adds the timeout to the create session params
func (*CreateSessionParams) WriteToRequest ¶
func (o *CreateSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSessionReader ¶
type CreateSessionReader struct {
// contains filtered or unexported fields
}
CreateSessionReader is a Reader for the CreateSession structure.
func (*CreateSessionReader) ReadResponse ¶
func (o *CreateSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSessionBadRequest ¶
type DeleteSessionBadRequest struct {
Payload *sessionbrowserclientmodels.ResponseError
}
DeleteSessionBadRequest handles this case with default header values.
malformed request
func NewDeleteSessionBadRequest ¶
func NewDeleteSessionBadRequest() *DeleteSessionBadRequest
NewDeleteSessionBadRequest creates a DeleteSessionBadRequest with default headers values
func (*DeleteSessionBadRequest) Error ¶
func (o *DeleteSessionBadRequest) Error() string
func (*DeleteSessionBadRequest) GetPayload ¶
func (o *DeleteSessionBadRequest) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*DeleteSessionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *DeleteSessionBadRequest) ToJSONString() string
type DeleteSessionInternalServerError ¶
type DeleteSessionInternalServerError struct {
Payload *sessionbrowserclientmodels.ResponseError
}
DeleteSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteSessionInternalServerError ¶
func NewDeleteSessionInternalServerError() *DeleteSessionInternalServerError
NewDeleteSessionInternalServerError creates a DeleteSessionInternalServerError with default headers values
func (*DeleteSessionInternalServerError) Error ¶
func (o *DeleteSessionInternalServerError) Error() string
func (*DeleteSessionInternalServerError) GetPayload ¶
func (o *DeleteSessionInternalServerError) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*DeleteSessionInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *DeleteSessionInternalServerError) ToJSONString() string
type DeleteSessionLocalDSBadRequest ¶ added in v0.4.0
type DeleteSessionLocalDSBadRequest struct {
Payload *sessionbrowserclientmodels.ResponseError
}
DeleteSessionLocalDSBadRequest handles this case with default header values.
malformed request
func NewDeleteSessionLocalDSBadRequest ¶ added in v0.4.0
func NewDeleteSessionLocalDSBadRequest() *DeleteSessionLocalDSBadRequest
NewDeleteSessionLocalDSBadRequest creates a DeleteSessionLocalDSBadRequest with default headers values
func (*DeleteSessionLocalDSBadRequest) Error ¶ added in v0.4.0
func (o *DeleteSessionLocalDSBadRequest) Error() string
func (*DeleteSessionLocalDSBadRequest) GetPayload ¶ added in v0.4.0
func (o *DeleteSessionLocalDSBadRequest) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*DeleteSessionLocalDSBadRequest) ToJSONString ¶ added in v0.25.0
func (o *DeleteSessionLocalDSBadRequest) ToJSONString() string
type DeleteSessionLocalDSInternalServerError ¶ added in v0.4.0
type DeleteSessionLocalDSInternalServerError struct {
Payload *sessionbrowserclientmodels.ResponseError
}
DeleteSessionLocalDSInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteSessionLocalDSInternalServerError ¶ added in v0.4.0
func NewDeleteSessionLocalDSInternalServerError() *DeleteSessionLocalDSInternalServerError
NewDeleteSessionLocalDSInternalServerError creates a DeleteSessionLocalDSInternalServerError with default headers values
func (*DeleteSessionLocalDSInternalServerError) Error ¶ added in v0.4.0
func (o *DeleteSessionLocalDSInternalServerError) Error() string
func (*DeleteSessionLocalDSInternalServerError) GetPayload ¶ added in v0.4.0
func (o *DeleteSessionLocalDSInternalServerError) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*DeleteSessionLocalDSInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *DeleteSessionLocalDSInternalServerError) ToJSONString() string
type DeleteSessionLocalDSNotFound ¶ added in v0.4.0
type DeleteSessionLocalDSNotFound struct {
Payload *sessionbrowserclientmodels.ResponseError
}
DeleteSessionLocalDSNotFound handles this case with default header values.
session not found
func NewDeleteSessionLocalDSNotFound ¶ added in v0.4.0
func NewDeleteSessionLocalDSNotFound() *DeleteSessionLocalDSNotFound
NewDeleteSessionLocalDSNotFound creates a DeleteSessionLocalDSNotFound with default headers values
func (*DeleteSessionLocalDSNotFound) Error ¶ added in v0.4.0
func (o *DeleteSessionLocalDSNotFound) Error() string
func (*DeleteSessionLocalDSNotFound) GetPayload ¶ added in v0.4.0
func (o *DeleteSessionLocalDSNotFound) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*DeleteSessionLocalDSNotFound) ToJSONString ¶ added in v0.25.0
func (o *DeleteSessionLocalDSNotFound) ToJSONString() string
type DeleteSessionLocalDSOK ¶ added in v0.4.0
type DeleteSessionLocalDSOK struct {
Payload *sessionbrowserclientmodels.ModelsSessionResponse
}
DeleteSessionLocalDSOK handles this case with default header values.
session get
func NewDeleteSessionLocalDSOK ¶ added in v0.4.0
func NewDeleteSessionLocalDSOK() *DeleteSessionLocalDSOK
NewDeleteSessionLocalDSOK creates a DeleteSessionLocalDSOK with default headers values
func (*DeleteSessionLocalDSOK) Error ¶ added in v0.4.0
func (o *DeleteSessionLocalDSOK) Error() string
func (*DeleteSessionLocalDSOK) GetPayload ¶ added in v0.4.0
func (o *DeleteSessionLocalDSOK) GetPayload() *sessionbrowserclientmodels.ModelsSessionResponse
func (*DeleteSessionLocalDSOK) ToJSONString ¶ added in v0.25.0
func (o *DeleteSessionLocalDSOK) ToJSONString() string
type DeleteSessionLocalDSParams ¶ added in v0.4.0
type DeleteSessionLocalDSParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*SessionID session ID */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSessionLocalDSParams contains all the parameters to send to the API endpoint for the delete session local d s operation typically these are written to a http.Request
func NewDeleteSessionLocalDSParams ¶ added in v0.4.0
func NewDeleteSessionLocalDSParams() *DeleteSessionLocalDSParams
NewDeleteSessionLocalDSParams creates a new DeleteSessionLocalDSParams object with the default values initialized.
func NewDeleteSessionLocalDSParamsWithContext ¶ added in v0.4.0
func NewDeleteSessionLocalDSParamsWithContext(ctx context.Context) *DeleteSessionLocalDSParams
NewDeleteSessionLocalDSParamsWithContext creates a new DeleteSessionLocalDSParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSessionLocalDSParamsWithHTTPClient ¶ added in v0.4.0
func NewDeleteSessionLocalDSParamsWithHTTPClient(client *http.Client) *DeleteSessionLocalDSParams
NewDeleteSessionLocalDSParamsWithHTTPClient creates a new DeleteSessionLocalDSParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSessionLocalDSParamsWithTimeout ¶ added in v0.4.0
func NewDeleteSessionLocalDSParamsWithTimeout(timeout time.Duration) *DeleteSessionLocalDSParams
NewDeleteSessionLocalDSParamsWithTimeout creates a new DeleteSessionLocalDSParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSessionLocalDSParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteSessionLocalDSParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete session local d s params
func (*DeleteSessionLocalDSParams) SetContext ¶ added in v0.4.0
func (o *DeleteSessionLocalDSParams) SetContext(ctx context.Context)
SetContext adds the context to the delete session local d s params
func (*DeleteSessionLocalDSParams) SetHTTPClient ¶ added in v0.4.0
func (o *DeleteSessionLocalDSParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete session local d s params
func (*DeleteSessionLocalDSParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteSessionLocalDSParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete session local d s params
func (*DeleteSessionLocalDSParams) SetNamespace ¶ added in v0.4.0
func (o *DeleteSessionLocalDSParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete session local d s params
func (*DeleteSessionLocalDSParams) SetSessionID ¶ added in v0.4.0
func (o *DeleteSessionLocalDSParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the delete session local d s params
func (*DeleteSessionLocalDSParams) SetTimeout ¶ added in v0.4.0
func (o *DeleteSessionLocalDSParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete session local d s params
func (*DeleteSessionLocalDSParams) WithContext ¶ added in v0.4.0
func (o *DeleteSessionLocalDSParams) WithContext(ctx context.Context) *DeleteSessionLocalDSParams
WithContext adds the context to the delete session local d s params
func (*DeleteSessionLocalDSParams) WithHTTPClient ¶ added in v0.4.0
func (o *DeleteSessionLocalDSParams) WithHTTPClient(client *http.Client) *DeleteSessionLocalDSParams
WithHTTPClient adds the HTTPClient to the delete session local d s params
func (*DeleteSessionLocalDSParams) WithNamespace ¶ added in v0.4.0
func (o *DeleteSessionLocalDSParams) WithNamespace(namespace string) *DeleteSessionLocalDSParams
WithNamespace adds the namespace to the delete session local d s params
func (*DeleteSessionLocalDSParams) WithSessionID ¶ added in v0.4.0
func (o *DeleteSessionLocalDSParams) WithSessionID(sessionID string) *DeleteSessionLocalDSParams
WithSessionID adds the sessionID to the delete session local d s params
func (*DeleteSessionLocalDSParams) WithTimeout ¶ added in v0.4.0
func (o *DeleteSessionLocalDSParams) WithTimeout(timeout time.Duration) *DeleteSessionLocalDSParams
WithTimeout adds the timeout to the delete session local d s params
func (*DeleteSessionLocalDSParams) WriteToRequest ¶ added in v0.4.0
func (o *DeleteSessionLocalDSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSessionLocalDSReader ¶ added in v0.4.0
type DeleteSessionLocalDSReader struct {
// contains filtered or unexported fields
}
DeleteSessionLocalDSReader is a Reader for the DeleteSessionLocalDS structure.
func (*DeleteSessionLocalDSReader) ReadResponse ¶ added in v0.4.0
func (o *DeleteSessionLocalDSReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSessionNotFound ¶
type DeleteSessionNotFound struct {
Payload *sessionbrowserclientmodels.ResponseError
}
DeleteSessionNotFound handles this case with default header values.
session not found
func NewDeleteSessionNotFound ¶
func NewDeleteSessionNotFound() *DeleteSessionNotFound
NewDeleteSessionNotFound creates a DeleteSessionNotFound with default headers values
func (*DeleteSessionNotFound) Error ¶
func (o *DeleteSessionNotFound) Error() string
func (*DeleteSessionNotFound) GetPayload ¶
func (o *DeleteSessionNotFound) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*DeleteSessionNotFound) ToJSONString ¶ added in v0.25.0
func (o *DeleteSessionNotFound) ToJSONString() string
type DeleteSessionOK ¶
type DeleteSessionOK struct {
Payload *sessionbrowserclientmodels.ModelsSessionResponse
}
DeleteSessionOK handles this case with default header values.
session get
func NewDeleteSessionOK ¶
func NewDeleteSessionOK() *DeleteSessionOK
NewDeleteSessionOK creates a DeleteSessionOK with default headers values
func (*DeleteSessionOK) Error ¶
func (o *DeleteSessionOK) Error() string
func (*DeleteSessionOK) GetPayload ¶
func (o *DeleteSessionOK) GetPayload() *sessionbrowserclientmodels.ModelsSessionResponse
func (*DeleteSessionOK) ToJSONString ¶ added in v0.25.0
func (o *DeleteSessionOK) ToJSONString() string
type DeleteSessionParams ¶
type DeleteSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*SessionID session ID */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSessionParams contains all the parameters to send to the API endpoint for the delete session operation typically these are written to a http.Request
func NewDeleteSessionParams ¶
func NewDeleteSessionParams() *DeleteSessionParams
NewDeleteSessionParams creates a new DeleteSessionParams object with the default values initialized.
func NewDeleteSessionParamsWithContext ¶
func NewDeleteSessionParamsWithContext(ctx context.Context) *DeleteSessionParams
NewDeleteSessionParamsWithContext creates a new DeleteSessionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSessionParamsWithHTTPClient ¶
func NewDeleteSessionParamsWithHTTPClient(client *http.Client) *DeleteSessionParams
NewDeleteSessionParamsWithHTTPClient creates a new DeleteSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSessionParamsWithTimeout ¶
func NewDeleteSessionParamsWithTimeout(timeout time.Duration) *DeleteSessionParams
NewDeleteSessionParamsWithTimeout creates a new DeleteSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete session params
func (*DeleteSessionParams) SetContext ¶
func (o *DeleteSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete session params
func (*DeleteSessionParams) SetHTTPClient ¶
func (o *DeleteSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete session params
func (*DeleteSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete session params
func (*DeleteSessionParams) SetNamespace ¶
func (o *DeleteSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete session params
func (*DeleteSessionParams) SetSessionID ¶
func (o *DeleteSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the delete session params
func (*DeleteSessionParams) SetTimeout ¶
func (o *DeleteSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete session params
func (*DeleteSessionParams) WithContext ¶
func (o *DeleteSessionParams) WithContext(ctx context.Context) *DeleteSessionParams
WithContext adds the context to the delete session params
func (*DeleteSessionParams) WithHTTPClient ¶
func (o *DeleteSessionParams) WithHTTPClient(client *http.Client) *DeleteSessionParams
WithHTTPClient adds the HTTPClient to the delete session params
func (*DeleteSessionParams) WithNamespace ¶
func (o *DeleteSessionParams) WithNamespace(namespace string) *DeleteSessionParams
WithNamespace adds the namespace to the delete session params
func (*DeleteSessionParams) WithSessionID ¶
func (o *DeleteSessionParams) WithSessionID(sessionID string) *DeleteSessionParams
WithSessionID adds the sessionID to the delete session params
func (*DeleteSessionParams) WithTimeout ¶
func (o *DeleteSessionParams) WithTimeout(timeout time.Duration) *DeleteSessionParams
WithTimeout adds the timeout to the delete session params
func (*DeleteSessionParams) WriteToRequest ¶
func (o *DeleteSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSessionReader ¶
type DeleteSessionReader struct {
// contains filtered or unexported fields
}
DeleteSessionReader is a Reader for the DeleteSession structure.
func (*DeleteSessionReader) ReadResponse ¶
func (o *DeleteSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetActiveCustomGameSessionsBadRequest ¶ added in v0.4.0
type GetActiveCustomGameSessionsBadRequest struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
GetActiveCustomGameSessionsBadRequest handles this case with default header values.
malformed request
func NewGetActiveCustomGameSessionsBadRequest ¶ added in v0.4.0
func NewGetActiveCustomGameSessionsBadRequest() *GetActiveCustomGameSessionsBadRequest
NewGetActiveCustomGameSessionsBadRequest creates a GetActiveCustomGameSessionsBadRequest with default headers values
func (*GetActiveCustomGameSessionsBadRequest) Error ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsBadRequest) Error() string
func (*GetActiveCustomGameSessionsBadRequest) GetPayload ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsBadRequest) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*GetActiveCustomGameSessionsBadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetActiveCustomGameSessionsBadRequest) ToJSONString() string
type GetActiveCustomGameSessionsInternalServerError ¶ added in v0.4.0
type GetActiveCustomGameSessionsInternalServerError struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
GetActiveCustomGameSessionsInternalServerError handles this case with default header values.
Internal Server Error
func NewGetActiveCustomGameSessionsInternalServerError ¶ added in v0.4.0
func NewGetActiveCustomGameSessionsInternalServerError() *GetActiveCustomGameSessionsInternalServerError
NewGetActiveCustomGameSessionsInternalServerError creates a GetActiveCustomGameSessionsInternalServerError with default headers values
func (*GetActiveCustomGameSessionsInternalServerError) Error ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsInternalServerError) Error() string
func (*GetActiveCustomGameSessionsInternalServerError) GetPayload ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsInternalServerError) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*GetActiveCustomGameSessionsInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetActiveCustomGameSessionsInternalServerError) ToJSONString() string
type GetActiveCustomGameSessionsOK ¶ added in v0.4.0
type GetActiveCustomGameSessionsOK struct {
Payload *sessionbrowserclientmodels.ModelsActiveCustomGameResponse
}
GetActiveCustomGameSessionsOK handles this case with default header values.
custom game session list
func NewGetActiveCustomGameSessionsOK ¶ added in v0.4.0
func NewGetActiveCustomGameSessionsOK() *GetActiveCustomGameSessionsOK
NewGetActiveCustomGameSessionsOK creates a GetActiveCustomGameSessionsOK with default headers values
func (*GetActiveCustomGameSessionsOK) Error ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsOK) Error() string
func (*GetActiveCustomGameSessionsOK) GetPayload ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsOK) GetPayload() *sessionbrowserclientmodels.ModelsActiveCustomGameResponse
func (*GetActiveCustomGameSessionsOK) ToJSONString ¶ added in v0.25.0
func (o *GetActiveCustomGameSessionsOK) ToJSONString() string
type GetActiveCustomGameSessionsParams ¶ added in v0.4.0
type GetActiveCustomGameSessionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Limit max item to be returned */ Limit *int64 /*Namespace namespace */ Namespace string /*Offset skip some item(s), offset=3, will skip 3 first items */ Offset *int64 /*ServerRegion server region */ ServerRegion *string /*SessionID game session ID */ SessionID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetActiveCustomGameSessionsParams contains all the parameters to send to the API endpoint for the get active custom game sessions operation typically these are written to a http.Request
func NewGetActiveCustomGameSessionsParams ¶ added in v0.4.0
func NewGetActiveCustomGameSessionsParams() *GetActiveCustomGameSessionsParams
NewGetActiveCustomGameSessionsParams creates a new GetActiveCustomGameSessionsParams object with the default values initialized.
func NewGetActiveCustomGameSessionsParamsWithContext ¶ added in v0.4.0
func NewGetActiveCustomGameSessionsParamsWithContext(ctx context.Context) *GetActiveCustomGameSessionsParams
NewGetActiveCustomGameSessionsParamsWithContext creates a new GetActiveCustomGameSessionsParams object with the default values initialized, and the ability to set a context for a request
func NewGetActiveCustomGameSessionsParamsWithHTTPClient ¶ added in v0.4.0
func NewGetActiveCustomGameSessionsParamsWithHTTPClient(client *http.Client) *GetActiveCustomGameSessionsParams
NewGetActiveCustomGameSessionsParamsWithHTTPClient creates a new GetActiveCustomGameSessionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetActiveCustomGameSessionsParamsWithTimeout ¶ added in v0.4.0
func NewGetActiveCustomGameSessionsParamsWithTimeout(timeout time.Duration) *GetActiveCustomGameSessionsParams
NewGetActiveCustomGameSessionsParamsWithTimeout creates a new GetActiveCustomGameSessionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetActiveCustomGameSessionsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetActiveCustomGameSessionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) SetContext ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) SetHTTPClient ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetActiveCustomGameSessionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) SetLimit ¶ added in v0.35.0
func (o *GetActiveCustomGameSessionsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) SetNamespace ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) SetOffset ¶ added in v0.35.0
func (o *GetActiveCustomGameSessionsParams) SetOffset(offset *int64)
SetOffset adds the offset to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) SetServerRegion ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) SetServerRegion(serverRegion *string)
SetServerRegion adds the serverRegion to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) SetSessionID ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) SetSessionID(sessionID *string)
SetSessionID adds the sessionId to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) SetTimeout ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) WithContext ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) WithContext(ctx context.Context) *GetActiveCustomGameSessionsParams
WithContext adds the context to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) WithHTTPClient ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) WithHTTPClient(client *http.Client) *GetActiveCustomGameSessionsParams
WithHTTPClient adds the HTTPClient to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) WithLimit ¶ added in v0.35.0
func (o *GetActiveCustomGameSessionsParams) WithLimit(limit *int64) *GetActiveCustomGameSessionsParams
WithLimit adds the limit to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) WithNamespace ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) WithNamespace(namespace string) *GetActiveCustomGameSessionsParams
WithNamespace adds the namespace to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) WithOffset ¶ added in v0.35.0
func (o *GetActiveCustomGameSessionsParams) WithOffset(offset *int64) *GetActiveCustomGameSessionsParams
WithOffset adds the offset to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) WithServerRegion ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) WithServerRegion(serverRegion *string) *GetActiveCustomGameSessionsParams
WithServerRegion adds the serverRegion to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) WithSessionID ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) WithSessionID(sessionID *string) *GetActiveCustomGameSessionsParams
WithSessionID adds the sessionID to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) WithTimeout ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) WithTimeout(timeout time.Duration) *GetActiveCustomGameSessionsParams
WithTimeout adds the timeout to the get active custom game sessions params
func (*GetActiveCustomGameSessionsParams) WriteToRequest ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetActiveCustomGameSessionsReader ¶ added in v0.4.0
type GetActiveCustomGameSessionsReader struct {
// contains filtered or unexported fields
}
GetActiveCustomGameSessionsReader is a Reader for the GetActiveCustomGameSessions structure.
func (*GetActiveCustomGameSessionsReader) ReadResponse ¶ added in v0.4.0
func (o *GetActiveCustomGameSessionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetActiveMatchmakingGameSessionsBadRequest ¶ added in v0.4.0
type GetActiveMatchmakingGameSessionsBadRequest struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
GetActiveMatchmakingGameSessionsBadRequest handles this case with default header values.
malformed request
func NewGetActiveMatchmakingGameSessionsBadRequest ¶ added in v0.4.0
func NewGetActiveMatchmakingGameSessionsBadRequest() *GetActiveMatchmakingGameSessionsBadRequest
NewGetActiveMatchmakingGameSessionsBadRequest creates a GetActiveMatchmakingGameSessionsBadRequest with default headers values
func (*GetActiveMatchmakingGameSessionsBadRequest) Error ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsBadRequest) Error() string
func (*GetActiveMatchmakingGameSessionsBadRequest) GetPayload ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsBadRequest) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*GetActiveMatchmakingGameSessionsBadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetActiveMatchmakingGameSessionsBadRequest) ToJSONString() string
type GetActiveMatchmakingGameSessionsInternalServerError ¶ added in v0.4.0
type GetActiveMatchmakingGameSessionsInternalServerError struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
GetActiveMatchmakingGameSessionsInternalServerError handles this case with default header values.
Internal Server Error
func NewGetActiveMatchmakingGameSessionsInternalServerError ¶ added in v0.4.0
func NewGetActiveMatchmakingGameSessionsInternalServerError() *GetActiveMatchmakingGameSessionsInternalServerError
NewGetActiveMatchmakingGameSessionsInternalServerError creates a GetActiveMatchmakingGameSessionsInternalServerError with default headers values
func (*GetActiveMatchmakingGameSessionsInternalServerError) Error ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsInternalServerError) Error() string
func (*GetActiveMatchmakingGameSessionsInternalServerError) GetPayload ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsInternalServerError) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*GetActiveMatchmakingGameSessionsInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetActiveMatchmakingGameSessionsInternalServerError) ToJSONString() string
type GetActiveMatchmakingGameSessionsOK ¶ added in v0.4.0
type GetActiveMatchmakingGameSessionsOK struct {
Payload *sessionbrowserclientmodels.ModelsActiveMatchmakingGameResponse
}
GetActiveMatchmakingGameSessionsOK handles this case with default header values.
matchmaking game session list
func NewGetActiveMatchmakingGameSessionsOK ¶ added in v0.4.0
func NewGetActiveMatchmakingGameSessionsOK() *GetActiveMatchmakingGameSessionsOK
NewGetActiveMatchmakingGameSessionsOK creates a GetActiveMatchmakingGameSessionsOK with default headers values
func (*GetActiveMatchmakingGameSessionsOK) Error ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsOK) Error() string
func (*GetActiveMatchmakingGameSessionsOK) GetPayload ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsOK) GetPayload() *sessionbrowserclientmodels.ModelsActiveMatchmakingGameResponse
func (*GetActiveMatchmakingGameSessionsOK) ToJSONString ¶ added in v0.25.0
func (o *GetActiveMatchmakingGameSessionsOK) ToJSONString() string
type GetActiveMatchmakingGameSessionsParams ¶ added in v0.4.0
type GetActiveMatchmakingGameSessionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Limit max item to be returned */ Limit *int64 /*MatchID matchmaking ID */ MatchID *string /*Namespace namespace */ Namespace string /*Offset skip some item(s), offset=3, will skip 3 first items */ Offset *int64 /*ServerRegion server region */ ServerRegion *string /*SessionID game session ID */ SessionID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetActiveMatchmakingGameSessionsParams contains all the parameters to send to the API endpoint for the get active matchmaking game sessions operation typically these are written to a http.Request
func NewGetActiveMatchmakingGameSessionsParams ¶ added in v0.4.0
func NewGetActiveMatchmakingGameSessionsParams() *GetActiveMatchmakingGameSessionsParams
NewGetActiveMatchmakingGameSessionsParams creates a new GetActiveMatchmakingGameSessionsParams object with the default values initialized.
func NewGetActiveMatchmakingGameSessionsParamsWithContext ¶ added in v0.4.0
func NewGetActiveMatchmakingGameSessionsParamsWithContext(ctx context.Context) *GetActiveMatchmakingGameSessionsParams
NewGetActiveMatchmakingGameSessionsParamsWithContext creates a new GetActiveMatchmakingGameSessionsParams object with the default values initialized, and the ability to set a context for a request
func NewGetActiveMatchmakingGameSessionsParamsWithHTTPClient ¶ added in v0.4.0
func NewGetActiveMatchmakingGameSessionsParamsWithHTTPClient(client *http.Client) *GetActiveMatchmakingGameSessionsParams
NewGetActiveMatchmakingGameSessionsParamsWithHTTPClient creates a new GetActiveMatchmakingGameSessionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetActiveMatchmakingGameSessionsParamsWithTimeout ¶ added in v0.4.0
func NewGetActiveMatchmakingGameSessionsParamsWithTimeout(timeout time.Duration) *GetActiveMatchmakingGameSessionsParams
NewGetActiveMatchmakingGameSessionsParamsWithTimeout creates a new GetActiveMatchmakingGameSessionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetActiveMatchmakingGameSessionsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetActiveMatchmakingGameSessionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) SetContext ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) SetHTTPClient ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetActiveMatchmakingGameSessionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) SetLimit ¶ added in v0.35.0
func (o *GetActiveMatchmakingGameSessionsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) SetMatchID ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) SetMatchID(matchID *string)
SetMatchID adds the matchId to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) SetNamespace ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) SetOffset ¶ added in v0.35.0
func (o *GetActiveMatchmakingGameSessionsParams) SetOffset(offset *int64)
SetOffset adds the offset to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) SetServerRegion ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) SetServerRegion(serverRegion *string)
SetServerRegion adds the serverRegion to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) SetSessionID ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) SetSessionID(sessionID *string)
SetSessionID adds the sessionId to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) SetTimeout ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) WithContext ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) WithContext(ctx context.Context) *GetActiveMatchmakingGameSessionsParams
WithContext adds the context to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) WithHTTPClient ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) WithHTTPClient(client *http.Client) *GetActiveMatchmakingGameSessionsParams
WithHTTPClient adds the HTTPClient to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) WithLimit ¶ added in v0.35.0
func (o *GetActiveMatchmakingGameSessionsParams) WithLimit(limit *int64) *GetActiveMatchmakingGameSessionsParams
WithLimit adds the limit to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) WithMatchID ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) WithMatchID(matchID *string) *GetActiveMatchmakingGameSessionsParams
WithMatchID adds the matchID to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) WithNamespace ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) WithNamespace(namespace string) *GetActiveMatchmakingGameSessionsParams
WithNamespace adds the namespace to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) WithOffset ¶ added in v0.35.0
func (o *GetActiveMatchmakingGameSessionsParams) WithOffset(offset *int64) *GetActiveMatchmakingGameSessionsParams
WithOffset adds the offset to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) WithServerRegion ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) WithServerRegion(serverRegion *string) *GetActiveMatchmakingGameSessionsParams
WithServerRegion adds the serverRegion to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) WithSessionID ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) WithSessionID(sessionID *string) *GetActiveMatchmakingGameSessionsParams
WithSessionID adds the sessionID to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) WithTimeout ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) WithTimeout(timeout time.Duration) *GetActiveMatchmakingGameSessionsParams
WithTimeout adds the timeout to the get active matchmaking game sessions params
func (*GetActiveMatchmakingGameSessionsParams) WriteToRequest ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetActiveMatchmakingGameSessionsReader ¶ added in v0.4.0
type GetActiveMatchmakingGameSessionsReader struct {
// contains filtered or unexported fields
}
GetActiveMatchmakingGameSessionsReader is a Reader for the GetActiveMatchmakingGameSessions structure.
func (*GetActiveMatchmakingGameSessionsReader) ReadResponse ¶ added in v0.4.0
func (o *GetActiveMatchmakingGameSessionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRecentPlayerBadRequest ¶ added in v0.4.0
type GetRecentPlayerBadRequest struct {
Payload *sessionbrowserclientmodels.ResponseError
}
GetRecentPlayerBadRequest handles this case with default header values.
malformed request
func NewGetRecentPlayerBadRequest ¶ added in v0.4.0
func NewGetRecentPlayerBadRequest() *GetRecentPlayerBadRequest
NewGetRecentPlayerBadRequest creates a GetRecentPlayerBadRequest with default headers values
func (*GetRecentPlayerBadRequest) Error ¶ added in v0.4.0
func (o *GetRecentPlayerBadRequest) Error() string
func (*GetRecentPlayerBadRequest) GetPayload ¶ added in v0.4.0
func (o *GetRecentPlayerBadRequest) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*GetRecentPlayerBadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetRecentPlayerBadRequest) ToJSONString() string
type GetRecentPlayerInternalServerError ¶ added in v0.4.0
type GetRecentPlayerInternalServerError struct {
Payload *sessionbrowserclientmodels.ResponseError
}
GetRecentPlayerInternalServerError handles this case with default header values.
Internal Server Error
func NewGetRecentPlayerInternalServerError ¶ added in v0.4.0
func NewGetRecentPlayerInternalServerError() *GetRecentPlayerInternalServerError
NewGetRecentPlayerInternalServerError creates a GetRecentPlayerInternalServerError with default headers values
func (*GetRecentPlayerInternalServerError) Error ¶ added in v0.4.0
func (o *GetRecentPlayerInternalServerError) Error() string
func (*GetRecentPlayerInternalServerError) GetPayload ¶ added in v0.4.0
func (o *GetRecentPlayerInternalServerError) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*GetRecentPlayerInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetRecentPlayerInternalServerError) ToJSONString() string
type GetRecentPlayerOK ¶ added in v0.4.0
type GetRecentPlayerOK struct {
Payload *sessionbrowserclientmodels.ModelsRecentPlayerQueryResponse
}
GetRecentPlayerOK handles this case with default header values.
recent player get
func NewGetRecentPlayerOK ¶ added in v0.4.0
func NewGetRecentPlayerOK() *GetRecentPlayerOK
NewGetRecentPlayerOK creates a GetRecentPlayerOK with default headers values
func (*GetRecentPlayerOK) Error ¶ added in v0.4.0
func (o *GetRecentPlayerOK) Error() string
func (*GetRecentPlayerOK) GetPayload ¶ added in v0.4.0
func (o *GetRecentPlayerOK) GetPayload() *sessionbrowserclientmodels.ModelsRecentPlayerQueryResponse
func (*GetRecentPlayerOK) ToJSONString ¶ added in v0.25.0
func (o *GetRecentPlayerOK) ToJSONString() string
type GetRecentPlayerParams ¶ added in v0.4.0
type GetRecentPlayerParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRecentPlayerParams contains all the parameters to send to the API endpoint for the get recent player operation typically these are written to a http.Request
func NewGetRecentPlayerParams ¶ added in v0.4.0
func NewGetRecentPlayerParams() *GetRecentPlayerParams
NewGetRecentPlayerParams creates a new GetRecentPlayerParams object with the default values initialized.
func NewGetRecentPlayerParamsWithContext ¶ added in v0.4.0
func NewGetRecentPlayerParamsWithContext(ctx context.Context) *GetRecentPlayerParams
NewGetRecentPlayerParamsWithContext creates a new GetRecentPlayerParams object with the default values initialized, and the ability to set a context for a request
func NewGetRecentPlayerParamsWithHTTPClient ¶ added in v0.4.0
func NewGetRecentPlayerParamsWithHTTPClient(client *http.Client) *GetRecentPlayerParams
NewGetRecentPlayerParamsWithHTTPClient creates a new GetRecentPlayerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRecentPlayerParamsWithTimeout ¶ added in v0.4.0
func NewGetRecentPlayerParamsWithTimeout(timeout time.Duration) *GetRecentPlayerParams
NewGetRecentPlayerParamsWithTimeout creates a new GetRecentPlayerParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRecentPlayerParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetRecentPlayerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get recent player params
func (*GetRecentPlayerParams) SetContext ¶ added in v0.4.0
func (o *GetRecentPlayerParams) SetContext(ctx context.Context)
SetContext adds the context to the get recent player params
func (*GetRecentPlayerParams) SetHTTPClient ¶ added in v0.4.0
func (o *GetRecentPlayerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get recent player params
func (*GetRecentPlayerParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetRecentPlayerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get recent player params
func (*GetRecentPlayerParams) SetNamespace ¶ added in v0.4.0
func (o *GetRecentPlayerParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get recent player params
func (*GetRecentPlayerParams) SetTimeout ¶ added in v0.4.0
func (o *GetRecentPlayerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get recent player params
func (*GetRecentPlayerParams) SetUserID ¶ added in v0.4.0
func (o *GetRecentPlayerParams) SetUserID(userID string)
SetUserID adds the userId to the get recent player params
func (*GetRecentPlayerParams) WithContext ¶ added in v0.4.0
func (o *GetRecentPlayerParams) WithContext(ctx context.Context) *GetRecentPlayerParams
WithContext adds the context to the get recent player params
func (*GetRecentPlayerParams) WithHTTPClient ¶ added in v0.4.0
func (o *GetRecentPlayerParams) WithHTTPClient(client *http.Client) *GetRecentPlayerParams
WithHTTPClient adds the HTTPClient to the get recent player params
func (*GetRecentPlayerParams) WithNamespace ¶ added in v0.4.0
func (o *GetRecentPlayerParams) WithNamespace(namespace string) *GetRecentPlayerParams
WithNamespace adds the namespace to the get recent player params
func (*GetRecentPlayerParams) WithTimeout ¶ added in v0.4.0
func (o *GetRecentPlayerParams) WithTimeout(timeout time.Duration) *GetRecentPlayerParams
WithTimeout adds the timeout to the get recent player params
func (*GetRecentPlayerParams) WithUserID ¶ added in v0.4.0
func (o *GetRecentPlayerParams) WithUserID(userID string) *GetRecentPlayerParams
WithUserID adds the userID to the get recent player params
func (*GetRecentPlayerParams) WriteToRequest ¶ added in v0.4.0
func (o *GetRecentPlayerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRecentPlayerReader ¶ added in v0.4.0
type GetRecentPlayerReader struct {
// contains filtered or unexported fields
}
GetRecentPlayerReader is a Reader for the GetRecentPlayer structure.
func (*GetRecentPlayerReader) ReadResponse ¶ added in v0.4.0
func (o *GetRecentPlayerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSessionByUserIDsBadRequest ¶
type GetSessionByUserIDsBadRequest struct {
Payload *sessionbrowserclientmodels.ResponseError
}
GetSessionByUserIDsBadRequest handles this case with default header values.
malformed request
func NewGetSessionByUserIDsBadRequest ¶
func NewGetSessionByUserIDsBadRequest() *GetSessionByUserIDsBadRequest
NewGetSessionByUserIDsBadRequest creates a GetSessionByUserIDsBadRequest with default headers values
func (*GetSessionByUserIDsBadRequest) Error ¶
func (o *GetSessionByUserIDsBadRequest) Error() string
func (*GetSessionByUserIDsBadRequest) GetPayload ¶
func (o *GetSessionByUserIDsBadRequest) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*GetSessionByUserIDsBadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetSessionByUserIDsBadRequest) ToJSONString() string
type GetSessionByUserIDsInternalServerError ¶
type GetSessionByUserIDsInternalServerError struct {
Payload *sessionbrowserclientmodels.ResponseError
}
GetSessionByUserIDsInternalServerError handles this case with default header values.
Internal Server Error
func NewGetSessionByUserIDsInternalServerError ¶
func NewGetSessionByUserIDsInternalServerError() *GetSessionByUserIDsInternalServerError
NewGetSessionByUserIDsInternalServerError creates a GetSessionByUserIDsInternalServerError with default headers values
func (*GetSessionByUserIDsInternalServerError) Error ¶
func (o *GetSessionByUserIDsInternalServerError) Error() string
func (*GetSessionByUserIDsInternalServerError) GetPayload ¶
func (o *GetSessionByUserIDsInternalServerError) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*GetSessionByUserIDsInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetSessionByUserIDsInternalServerError) ToJSONString() string
type GetSessionByUserIDsOK ¶
type GetSessionByUserIDsOK struct {
Payload *sessionbrowserclientmodels.ModelsSessionByUserIDsResponse
}
GetSessionByUserIDsOK handles this case with default header values.
session get
func NewGetSessionByUserIDsOK ¶
func NewGetSessionByUserIDsOK() *GetSessionByUserIDsOK
NewGetSessionByUserIDsOK creates a GetSessionByUserIDsOK with default headers values
func (*GetSessionByUserIDsOK) Error ¶
func (o *GetSessionByUserIDsOK) Error() string
func (*GetSessionByUserIDsOK) GetPayload ¶
func (o *GetSessionByUserIDsOK) GetPayload() *sessionbrowserclientmodels.ModelsSessionByUserIDsResponse
func (*GetSessionByUserIDsOK) ToJSONString ¶ added in v0.25.0
func (o *GetSessionByUserIDsOK) ToJSONString() string
type GetSessionByUserIDsParams ¶
type GetSessionByUserIDsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*UserIds comma separated user ids */ UserIds string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSessionByUserIDsParams contains all the parameters to send to the API endpoint for the get session by user i ds operation typically these are written to a http.Request
func NewGetSessionByUserIDsParams ¶
func NewGetSessionByUserIDsParams() *GetSessionByUserIDsParams
NewGetSessionByUserIDsParams creates a new GetSessionByUserIDsParams object with the default values initialized.
func NewGetSessionByUserIDsParamsWithContext ¶
func NewGetSessionByUserIDsParamsWithContext(ctx context.Context) *GetSessionByUserIDsParams
NewGetSessionByUserIDsParamsWithContext creates a new GetSessionByUserIDsParams object with the default values initialized, and the ability to set a context for a request
func NewGetSessionByUserIDsParamsWithHTTPClient ¶
func NewGetSessionByUserIDsParamsWithHTTPClient(client *http.Client) *GetSessionByUserIDsParams
NewGetSessionByUserIDsParamsWithHTTPClient creates a new GetSessionByUserIDsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSessionByUserIDsParamsWithTimeout ¶
func NewGetSessionByUserIDsParamsWithTimeout(timeout time.Duration) *GetSessionByUserIDsParams
NewGetSessionByUserIDsParamsWithTimeout creates a new GetSessionByUserIDsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSessionByUserIDsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetSessionByUserIDsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get session by user i ds params
func (*GetSessionByUserIDsParams) SetContext ¶
func (o *GetSessionByUserIDsParams) SetContext(ctx context.Context)
SetContext adds the context to the get session by user i ds params
func (*GetSessionByUserIDsParams) SetHTTPClient ¶
func (o *GetSessionByUserIDsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get session by user i ds params
func (*GetSessionByUserIDsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetSessionByUserIDsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get session by user i ds params
func (*GetSessionByUserIDsParams) SetNamespace ¶
func (o *GetSessionByUserIDsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get session by user i ds params
func (*GetSessionByUserIDsParams) SetTimeout ¶
func (o *GetSessionByUserIDsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get session by user i ds params
func (*GetSessionByUserIDsParams) SetUserIds ¶
func (o *GetSessionByUserIDsParams) SetUserIds(userIds string)
SetUserIds adds the userIds to the get session by user i ds params
func (*GetSessionByUserIDsParams) WithContext ¶
func (o *GetSessionByUserIDsParams) WithContext(ctx context.Context) *GetSessionByUserIDsParams
WithContext adds the context to the get session by user i ds params
func (*GetSessionByUserIDsParams) WithHTTPClient ¶
func (o *GetSessionByUserIDsParams) WithHTTPClient(client *http.Client) *GetSessionByUserIDsParams
WithHTTPClient adds the HTTPClient to the get session by user i ds params
func (*GetSessionByUserIDsParams) WithNamespace ¶
func (o *GetSessionByUserIDsParams) WithNamespace(namespace string) *GetSessionByUserIDsParams
WithNamespace adds the namespace to the get session by user i ds params
func (*GetSessionByUserIDsParams) WithTimeout ¶
func (o *GetSessionByUserIDsParams) WithTimeout(timeout time.Duration) *GetSessionByUserIDsParams
WithTimeout adds the timeout to the get session by user i ds params
func (*GetSessionByUserIDsParams) WithUserIds ¶
func (o *GetSessionByUserIDsParams) WithUserIds(userIds string) *GetSessionByUserIDsParams
WithUserIds adds the userIds to the get session by user i ds params
func (*GetSessionByUserIDsParams) WriteToRequest ¶
func (o *GetSessionByUserIDsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSessionByUserIDsReader ¶
type GetSessionByUserIDsReader struct {
// contains filtered or unexported fields
}
GetSessionByUserIDsReader is a Reader for the GetSessionByUserIDs structure.
func (*GetSessionByUserIDsReader) ReadResponse ¶
func (o *GetSessionByUserIDsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSessionHistoryDetailedBadRequest ¶ added in v0.28.0
type GetSessionHistoryDetailedBadRequest struct {
Payload *sessionbrowserclientmodels.RestapiErrorV1
}
GetSessionHistoryDetailedBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>
func NewGetSessionHistoryDetailedBadRequest ¶ added in v0.28.0
func NewGetSessionHistoryDetailedBadRequest() *GetSessionHistoryDetailedBadRequest
NewGetSessionHistoryDetailedBadRequest creates a GetSessionHistoryDetailedBadRequest with default headers values
func (*GetSessionHistoryDetailedBadRequest) Error ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedBadRequest) Error() string
func (*GetSessionHistoryDetailedBadRequest) GetPayload ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedBadRequest) GetPayload() *sessionbrowserclientmodels.RestapiErrorV1
func (*GetSessionHistoryDetailedBadRequest) ToJSONString ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedBadRequest) ToJSONString() string
type GetSessionHistoryDetailedForbidden ¶ added in v0.28.0
type GetSessionHistoryDetailedForbidden struct {
Payload *sessionbrowserclientmodels.RestapiErrorV1
}
GetSessionHistoryDetailedForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permissions</td></tr><tr><td>20014</td><td>invalid audience</td></tr><tr><td>20015</td><td>insufficient scope</td></tr></table>
func NewGetSessionHistoryDetailedForbidden ¶ added in v0.28.0
func NewGetSessionHistoryDetailedForbidden() *GetSessionHistoryDetailedForbidden
NewGetSessionHistoryDetailedForbidden creates a GetSessionHistoryDetailedForbidden with default headers values
func (*GetSessionHistoryDetailedForbidden) Error ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedForbidden) Error() string
func (*GetSessionHistoryDetailedForbidden) GetPayload ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedForbidden) GetPayload() *sessionbrowserclientmodels.RestapiErrorV1
func (*GetSessionHistoryDetailedForbidden) ToJSONString ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedForbidden) ToJSONString() string
type GetSessionHistoryDetailedInternalServerError ¶ added in v0.28.0
type GetSessionHistoryDetailedInternalServerError struct {
Payload *sessionbrowserclientmodels.RestapiErrorV1
}
GetSessionHistoryDetailedInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewGetSessionHistoryDetailedInternalServerError ¶ added in v0.28.0
func NewGetSessionHistoryDetailedInternalServerError() *GetSessionHistoryDetailedInternalServerError
NewGetSessionHistoryDetailedInternalServerError creates a GetSessionHistoryDetailedInternalServerError with default headers values
func (*GetSessionHistoryDetailedInternalServerError) Error ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedInternalServerError) Error() string
func (*GetSessionHistoryDetailedInternalServerError) GetPayload ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedInternalServerError) GetPayload() *sessionbrowserclientmodels.RestapiErrorV1
func (*GetSessionHistoryDetailedInternalServerError) ToJSONString ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedInternalServerError) ToJSONString() string
type GetSessionHistoryDetailedOK ¶ added in v0.28.0
type GetSessionHistoryDetailedOK struct {
Payload []*sessionbrowserclientmodels.ModelsGetSessionHistoryDetailedResponseItem
}
GetSessionHistoryDetailedOK handles this case with default header values.
Operation succeeded
func NewGetSessionHistoryDetailedOK ¶ added in v0.28.0
func NewGetSessionHistoryDetailedOK() *GetSessionHistoryDetailedOK
NewGetSessionHistoryDetailedOK creates a GetSessionHistoryDetailedOK with default headers values
func (*GetSessionHistoryDetailedOK) Error ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedOK) Error() string
func (*GetSessionHistoryDetailedOK) GetPayload ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedOK) GetPayload() []*sessionbrowserclientmodels.ModelsGetSessionHistoryDetailedResponseItem
func (*GetSessionHistoryDetailedOK) ToJSONString ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedOK) ToJSONString() string
type GetSessionHistoryDetailedParams ¶ added in v0.28.0
type GetSessionHistoryDetailedParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*MatchID ID of the match session */ MatchID string /*Namespace namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSessionHistoryDetailedParams contains all the parameters to send to the API endpoint for the get session history detailed operation typically these are written to a http.Request
func NewGetSessionHistoryDetailedParams ¶ added in v0.28.0
func NewGetSessionHistoryDetailedParams() *GetSessionHistoryDetailedParams
NewGetSessionHistoryDetailedParams creates a new GetSessionHistoryDetailedParams object with the default values initialized.
func NewGetSessionHistoryDetailedParamsWithContext ¶ added in v0.28.0
func NewGetSessionHistoryDetailedParamsWithContext(ctx context.Context) *GetSessionHistoryDetailedParams
NewGetSessionHistoryDetailedParamsWithContext creates a new GetSessionHistoryDetailedParams object with the default values initialized, and the ability to set a context for a request
func NewGetSessionHistoryDetailedParamsWithHTTPClient ¶ added in v0.28.0
func NewGetSessionHistoryDetailedParamsWithHTTPClient(client *http.Client) *GetSessionHistoryDetailedParams
NewGetSessionHistoryDetailedParamsWithHTTPClient creates a new GetSessionHistoryDetailedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSessionHistoryDetailedParamsWithTimeout ¶ added in v0.28.0
func NewGetSessionHistoryDetailedParamsWithTimeout(timeout time.Duration) *GetSessionHistoryDetailedParams
NewGetSessionHistoryDetailedParamsWithTimeout creates a new GetSessionHistoryDetailedParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSessionHistoryDetailedParams) SetAuthInfoWriter ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get session history detailed params
func (*GetSessionHistoryDetailedParams) SetContext ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) SetContext(ctx context.Context)
SetContext adds the context to the get session history detailed params
func (*GetSessionHistoryDetailedParams) SetHTTPClient ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get session history detailed params
func (*GetSessionHistoryDetailedParams) SetHTTPClientTransport ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get session history detailed params
func (*GetSessionHistoryDetailedParams) SetMatchID ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) SetMatchID(matchID string)
SetMatchID adds the matchId to the get session history detailed params
func (*GetSessionHistoryDetailedParams) SetNamespace ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get session history detailed params
func (*GetSessionHistoryDetailedParams) SetTimeout ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get session history detailed params
func (*GetSessionHistoryDetailedParams) WithContext ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) WithContext(ctx context.Context) *GetSessionHistoryDetailedParams
WithContext adds the context to the get session history detailed params
func (*GetSessionHistoryDetailedParams) WithHTTPClient ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) WithHTTPClient(client *http.Client) *GetSessionHistoryDetailedParams
WithHTTPClient adds the HTTPClient to the get session history detailed params
func (*GetSessionHistoryDetailedParams) WithMatchID ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) WithMatchID(matchID string) *GetSessionHistoryDetailedParams
WithMatchID adds the matchID to the get session history detailed params
func (*GetSessionHistoryDetailedParams) WithNamespace ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) WithNamespace(namespace string) *GetSessionHistoryDetailedParams
WithNamespace adds the namespace to the get session history detailed params
func (*GetSessionHistoryDetailedParams) WithTimeout ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) WithTimeout(timeout time.Duration) *GetSessionHistoryDetailedParams
WithTimeout adds the timeout to the get session history detailed params
func (*GetSessionHistoryDetailedParams) WriteToRequest ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSessionHistoryDetailedReader ¶ added in v0.28.0
type GetSessionHistoryDetailedReader struct {
// contains filtered or unexported fields
}
GetSessionHistoryDetailedReader is a Reader for the GetSessionHistoryDetailed structure.
func (*GetSessionHistoryDetailedReader) ReadResponse ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSessionHistoryDetailedUnauthorized ¶ added in v0.28.0
type GetSessionHistoryDetailedUnauthorized struct {
}GetSessionHistoryDetailedUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewGetSessionHistoryDetailedUnauthorized ¶ added in v0.28.0
func NewGetSessionHistoryDetailedUnauthorized() *GetSessionHistoryDetailedUnauthorized
NewGetSessionHistoryDetailedUnauthorized creates a GetSessionHistoryDetailedUnauthorized with default headers values
func (*GetSessionHistoryDetailedUnauthorized) Error ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedUnauthorized) Error() string
func (*GetSessionHistoryDetailedUnauthorized) GetPayload ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedUnauthorized) GetPayload() *sessionbrowserclientmodels.RestapiErrorV1
func (*GetSessionHistoryDetailedUnauthorized) ToJSONString ¶ added in v0.28.0
func (o *GetSessionHistoryDetailedUnauthorized) ToJSONString() string
type GetSessionInternalServerError ¶
type GetSessionInternalServerError struct {
Payload *sessionbrowserclientmodels.ResponseError
}
GetSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewGetSessionInternalServerError ¶
func NewGetSessionInternalServerError() *GetSessionInternalServerError
NewGetSessionInternalServerError creates a GetSessionInternalServerError with default headers values
func (*GetSessionInternalServerError) Error ¶
func (o *GetSessionInternalServerError) Error() string
func (*GetSessionInternalServerError) GetPayload ¶
func (o *GetSessionInternalServerError) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*GetSessionInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetSessionInternalServerError) ToJSONString() string
type GetSessionNotFound ¶
type GetSessionNotFound struct {
Payload *sessionbrowserclientmodels.ResponseError
}
GetSessionNotFound handles this case with default header values.
session not found
func NewGetSessionNotFound ¶
func NewGetSessionNotFound() *GetSessionNotFound
NewGetSessionNotFound creates a GetSessionNotFound with default headers values
func (*GetSessionNotFound) Error ¶
func (o *GetSessionNotFound) Error() string
func (*GetSessionNotFound) GetPayload ¶
func (o *GetSessionNotFound) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*GetSessionNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetSessionNotFound) ToJSONString() string
type GetSessionOK ¶
type GetSessionOK struct {
Payload *sessionbrowserclientmodels.ModelsSessionResponse
}
GetSessionOK handles this case with default header values.
session get
func NewGetSessionOK ¶
func NewGetSessionOK() *GetSessionOK
NewGetSessionOK creates a GetSessionOK with default headers values
func (*GetSessionOK) Error ¶
func (o *GetSessionOK) Error() string
func (*GetSessionOK) GetPayload ¶
func (o *GetSessionOK) GetPayload() *sessionbrowserclientmodels.ModelsSessionResponse
func (*GetSessionOK) ToJSONString ¶ added in v0.25.0
func (o *GetSessionOK) ToJSONString() string
type GetSessionParams ¶
type GetSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*SessionID session ID */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSessionParams contains all the parameters to send to the API endpoint for the get session operation typically these are written to a http.Request
func NewGetSessionParams ¶
func NewGetSessionParams() *GetSessionParams
NewGetSessionParams creates a new GetSessionParams object with the default values initialized.
func NewGetSessionParamsWithContext ¶
func NewGetSessionParamsWithContext(ctx context.Context) *GetSessionParams
NewGetSessionParamsWithContext creates a new GetSessionParams object with the default values initialized, and the ability to set a context for a request
func NewGetSessionParamsWithHTTPClient ¶
func NewGetSessionParamsWithHTTPClient(client *http.Client) *GetSessionParams
NewGetSessionParamsWithHTTPClient creates a new GetSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSessionParamsWithTimeout ¶
func NewGetSessionParamsWithTimeout(timeout time.Duration) *GetSessionParams
NewGetSessionParamsWithTimeout creates a new GetSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get session params
func (*GetSessionParams) SetContext ¶
func (o *GetSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the get session params
func (*GetSessionParams) SetHTTPClient ¶
func (o *GetSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get session params
func (*GetSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get session params
func (*GetSessionParams) SetNamespace ¶
func (o *GetSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get session params
func (*GetSessionParams) SetSessionID ¶
func (o *GetSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the get session params
func (*GetSessionParams) SetTimeout ¶
func (o *GetSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get session params
func (*GetSessionParams) WithContext ¶
func (o *GetSessionParams) WithContext(ctx context.Context) *GetSessionParams
WithContext adds the context to the get session params
func (*GetSessionParams) WithHTTPClient ¶
func (o *GetSessionParams) WithHTTPClient(client *http.Client) *GetSessionParams
WithHTTPClient adds the HTTPClient to the get session params
func (*GetSessionParams) WithNamespace ¶
func (o *GetSessionParams) WithNamespace(namespace string) *GetSessionParams
WithNamespace adds the namespace to the get session params
func (*GetSessionParams) WithSessionID ¶
func (o *GetSessionParams) WithSessionID(sessionID string) *GetSessionParams
WithSessionID adds the sessionID to the get session params
func (*GetSessionParams) WithTimeout ¶
func (o *GetSessionParams) WithTimeout(timeout time.Duration) *GetSessionParams
WithTimeout adds the timeout to the get session params
func (*GetSessionParams) WriteToRequest ¶
func (o *GetSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSessionReader ¶
type GetSessionReader struct {
// contains filtered or unexported fields
}
GetSessionReader is a Reader for the GetSession structure.
func (*GetSessionReader) ReadResponse ¶
func (o *GetSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTotalActiveSessionBadRequest ¶ added in v0.4.0
type GetTotalActiveSessionBadRequest struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
GetTotalActiveSessionBadRequest handles this case with default header values.
malformed request
func NewGetTotalActiveSessionBadRequest ¶ added in v0.4.0
func NewGetTotalActiveSessionBadRequest() *GetTotalActiveSessionBadRequest
NewGetTotalActiveSessionBadRequest creates a GetTotalActiveSessionBadRequest with default headers values
func (*GetTotalActiveSessionBadRequest) Error ¶ added in v0.4.0
func (o *GetTotalActiveSessionBadRequest) Error() string
func (*GetTotalActiveSessionBadRequest) GetPayload ¶ added in v0.4.0
func (o *GetTotalActiveSessionBadRequest) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*GetTotalActiveSessionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetTotalActiveSessionBadRequest) ToJSONString() string
type GetTotalActiveSessionInternalServerError ¶ added in v0.4.0
type GetTotalActiveSessionInternalServerError struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
GetTotalActiveSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewGetTotalActiveSessionInternalServerError ¶ added in v0.4.0
func NewGetTotalActiveSessionInternalServerError() *GetTotalActiveSessionInternalServerError
NewGetTotalActiveSessionInternalServerError creates a GetTotalActiveSessionInternalServerError with default headers values
func (*GetTotalActiveSessionInternalServerError) Error ¶ added in v0.4.0
func (o *GetTotalActiveSessionInternalServerError) Error() string
func (*GetTotalActiveSessionInternalServerError) GetPayload ¶ added in v0.4.0
func (o *GetTotalActiveSessionInternalServerError) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*GetTotalActiveSessionInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetTotalActiveSessionInternalServerError) ToJSONString() string
type GetTotalActiveSessionOK ¶ added in v0.4.0
type GetTotalActiveSessionOK struct {
Payload *sessionbrowserclientmodels.ModelsCountActiveSessionResponse
}
GetTotalActiveSessionOK handles this case with default header values.
total active session, p2p session will only have 'total' attribute
func NewGetTotalActiveSessionOK ¶ added in v0.4.0
func NewGetTotalActiveSessionOK() *GetTotalActiveSessionOK
NewGetTotalActiveSessionOK creates a GetTotalActiveSessionOK with default headers values
func (*GetTotalActiveSessionOK) Error ¶ added in v0.4.0
func (o *GetTotalActiveSessionOK) Error() string
func (*GetTotalActiveSessionOK) GetPayload ¶ added in v0.4.0
func (o *GetTotalActiveSessionOK) GetPayload() *sessionbrowserclientmodels.ModelsCountActiveSessionResponse
func (*GetTotalActiveSessionOK) ToJSONString ¶ added in v0.25.0
func (o *GetTotalActiveSessionOK) ToJSONString() string
type GetTotalActiveSessionParams ¶ added in v0.4.0
type GetTotalActiveSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace */ Namespace string /*SessionType session type to query, accept 'dedicated' or 'p2p' */ SessionType *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTotalActiveSessionParams contains all the parameters to send to the API endpoint for the get total active session operation typically these are written to a http.Request
func NewGetTotalActiveSessionParams ¶ added in v0.4.0
func NewGetTotalActiveSessionParams() *GetTotalActiveSessionParams
NewGetTotalActiveSessionParams creates a new GetTotalActiveSessionParams object with the default values initialized.
func NewGetTotalActiveSessionParamsWithContext ¶ added in v0.4.0
func NewGetTotalActiveSessionParamsWithContext(ctx context.Context) *GetTotalActiveSessionParams
NewGetTotalActiveSessionParamsWithContext creates a new GetTotalActiveSessionParams object with the default values initialized, and the ability to set a context for a request
func NewGetTotalActiveSessionParamsWithHTTPClient ¶ added in v0.4.0
func NewGetTotalActiveSessionParamsWithHTTPClient(client *http.Client) *GetTotalActiveSessionParams
NewGetTotalActiveSessionParamsWithHTTPClient creates a new GetTotalActiveSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTotalActiveSessionParamsWithTimeout ¶ added in v0.4.0
func NewGetTotalActiveSessionParamsWithTimeout(timeout time.Duration) *GetTotalActiveSessionParams
NewGetTotalActiveSessionParamsWithTimeout creates a new GetTotalActiveSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTotalActiveSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetTotalActiveSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get total active session params
func (*GetTotalActiveSessionParams) SetContext ¶ added in v0.4.0
func (o *GetTotalActiveSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the get total active session params
func (*GetTotalActiveSessionParams) SetHTTPClient ¶ added in v0.4.0
func (o *GetTotalActiveSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get total active session params
func (*GetTotalActiveSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetTotalActiveSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get total active session params
func (*GetTotalActiveSessionParams) SetNamespace ¶ added in v0.4.0
func (o *GetTotalActiveSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get total active session params
func (*GetTotalActiveSessionParams) SetSessionType ¶ added in v0.4.0
func (o *GetTotalActiveSessionParams) SetSessionType(sessionType *string)
SetSessionType adds the sessionType to the get total active session params
func (*GetTotalActiveSessionParams) SetTimeout ¶ added in v0.4.0
func (o *GetTotalActiveSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get total active session params
func (*GetTotalActiveSessionParams) WithContext ¶ added in v0.4.0
func (o *GetTotalActiveSessionParams) WithContext(ctx context.Context) *GetTotalActiveSessionParams
WithContext adds the context to the get total active session params
func (*GetTotalActiveSessionParams) WithHTTPClient ¶ added in v0.4.0
func (o *GetTotalActiveSessionParams) WithHTTPClient(client *http.Client) *GetTotalActiveSessionParams
WithHTTPClient adds the HTTPClient to the get total active session params
func (*GetTotalActiveSessionParams) WithNamespace ¶ added in v0.4.0
func (o *GetTotalActiveSessionParams) WithNamespace(namespace string) *GetTotalActiveSessionParams
WithNamespace adds the namespace to the get total active session params
func (*GetTotalActiveSessionParams) WithSessionType ¶ added in v0.4.0
func (o *GetTotalActiveSessionParams) WithSessionType(sessionType *string) *GetTotalActiveSessionParams
WithSessionType adds the sessionType to the get total active session params
func (*GetTotalActiveSessionParams) WithTimeout ¶ added in v0.4.0
func (o *GetTotalActiveSessionParams) WithTimeout(timeout time.Duration) *GetTotalActiveSessionParams
WithTimeout adds the timeout to the get total active session params
func (*GetTotalActiveSessionParams) WriteToRequest ¶ added in v0.4.0
func (o *GetTotalActiveSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTotalActiveSessionReader ¶ added in v0.4.0
type GetTotalActiveSessionReader struct {
// contains filtered or unexported fields
}
GetTotalActiveSessionReader is a Reader for the GetTotalActiveSession structure.
func (*GetTotalActiveSessionReader) ReadResponse ¶ added in v0.4.0
func (o *GetTotalActiveSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JoinSessionBadRequest ¶ added in v0.4.0
type JoinSessionBadRequest struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
JoinSessionBadRequest handles this case with default header values.
malformed request
func NewJoinSessionBadRequest ¶ added in v0.4.0
func NewJoinSessionBadRequest() *JoinSessionBadRequest
NewJoinSessionBadRequest creates a JoinSessionBadRequest with default headers values
func (*JoinSessionBadRequest) Error ¶ added in v0.4.0
func (o *JoinSessionBadRequest) Error() string
func (*JoinSessionBadRequest) GetPayload ¶ added in v0.4.0
func (o *JoinSessionBadRequest) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*JoinSessionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *JoinSessionBadRequest) ToJSONString() string
type JoinSessionForbidden ¶ added in v0.7.0
type JoinSessionForbidden struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
JoinSessionForbidden handles this case with default header values.
user is banned from joining session
func NewJoinSessionForbidden ¶ added in v0.7.0
func NewJoinSessionForbidden() *JoinSessionForbidden
NewJoinSessionForbidden creates a JoinSessionForbidden with default headers values
func (*JoinSessionForbidden) Error ¶ added in v0.7.0
func (o *JoinSessionForbidden) Error() string
func (*JoinSessionForbidden) GetPayload ¶ added in v0.7.0
func (o *JoinSessionForbidden) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*JoinSessionForbidden) ToJSONString ¶ added in v0.25.0
func (o *JoinSessionForbidden) ToJSONString() string
type JoinSessionInternalServerError ¶ added in v0.4.0
type JoinSessionInternalServerError struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
JoinSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewJoinSessionInternalServerError ¶ added in v0.4.0
func NewJoinSessionInternalServerError() *JoinSessionInternalServerError
NewJoinSessionInternalServerError creates a JoinSessionInternalServerError with default headers values
func (*JoinSessionInternalServerError) Error ¶ added in v0.4.0
func (o *JoinSessionInternalServerError) Error() string
func (*JoinSessionInternalServerError) GetPayload ¶ added in v0.4.0
func (o *JoinSessionInternalServerError) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*JoinSessionInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *JoinSessionInternalServerError) ToJSONString() string
type JoinSessionNotFound ¶ added in v0.4.0
type JoinSessionNotFound struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
JoinSessionNotFound handles this case with default header values.
session not found
func NewJoinSessionNotFound ¶ added in v0.4.0
func NewJoinSessionNotFound() *JoinSessionNotFound
NewJoinSessionNotFound creates a JoinSessionNotFound with default headers values
func (*JoinSessionNotFound) Error ¶ added in v0.4.0
func (o *JoinSessionNotFound) Error() string
func (*JoinSessionNotFound) GetPayload ¶ added in v0.4.0
func (o *JoinSessionNotFound) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*JoinSessionNotFound) ToJSONString ¶ added in v0.25.0
func (o *JoinSessionNotFound) ToJSONString() string
type JoinSessionOK ¶ added in v0.4.0
type JoinSessionOK struct {
Payload *sessionbrowserclientmodels.ModelsSessionResponse
}
JoinSessionOK handles this case with default header values.
session get
func NewJoinSessionOK ¶ added in v0.4.0
func NewJoinSessionOK() *JoinSessionOK
NewJoinSessionOK creates a JoinSessionOK with default headers values
func (*JoinSessionOK) Error ¶ added in v0.4.0
func (o *JoinSessionOK) Error() string
func (*JoinSessionOK) GetPayload ¶ added in v0.4.0
func (o *JoinSessionOK) GetPayload() *sessionbrowserclientmodels.ModelsSessionResponse
func (*JoinSessionOK) ToJSONString ¶ added in v0.25.0
func (o *JoinSessionOK) ToJSONString() string
type JoinSessionParams ¶ added in v0.4.0
type JoinSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *sessionbrowserclientmodels.ModelsJoinGameSessionRequest /*Namespace namespace of the game */ Namespace string /*SessionID session ID */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
JoinSessionParams contains all the parameters to send to the API endpoint for the join session operation typically these are written to a http.Request
func NewJoinSessionParams ¶ added in v0.4.0
func NewJoinSessionParams() *JoinSessionParams
NewJoinSessionParams creates a new JoinSessionParams object with the default values initialized.
func NewJoinSessionParamsWithContext ¶ added in v0.4.0
func NewJoinSessionParamsWithContext(ctx context.Context) *JoinSessionParams
NewJoinSessionParamsWithContext creates a new JoinSessionParams object with the default values initialized, and the ability to set a context for a request
func NewJoinSessionParamsWithHTTPClient ¶ added in v0.4.0
func NewJoinSessionParamsWithHTTPClient(client *http.Client) *JoinSessionParams
NewJoinSessionParamsWithHTTPClient creates a new JoinSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewJoinSessionParamsWithTimeout ¶ added in v0.4.0
func NewJoinSessionParamsWithTimeout(timeout time.Duration) *JoinSessionParams
NewJoinSessionParamsWithTimeout creates a new JoinSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*JoinSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *JoinSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the join session params
func (*JoinSessionParams) SetBody ¶ added in v0.4.0
func (o *JoinSessionParams) SetBody(body *sessionbrowserclientmodels.ModelsJoinGameSessionRequest)
SetBody adds the body to the join session params
func (*JoinSessionParams) SetContext ¶ added in v0.4.0
func (o *JoinSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the join session params
func (*JoinSessionParams) SetHTTPClient ¶ added in v0.4.0
func (o *JoinSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the join session params
func (*JoinSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *JoinSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the join session params
func (*JoinSessionParams) SetNamespace ¶ added in v0.4.0
func (o *JoinSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the join session params
func (*JoinSessionParams) SetSessionID ¶ added in v0.4.0
func (o *JoinSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the join session params
func (*JoinSessionParams) SetTimeout ¶ added in v0.4.0
func (o *JoinSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the join session params
func (*JoinSessionParams) WithBody ¶ added in v0.4.0
func (o *JoinSessionParams) WithBody(body *sessionbrowserclientmodels.ModelsJoinGameSessionRequest) *JoinSessionParams
WithBody adds the body to the join session params
func (*JoinSessionParams) WithContext ¶ added in v0.4.0
func (o *JoinSessionParams) WithContext(ctx context.Context) *JoinSessionParams
WithContext adds the context to the join session params
func (*JoinSessionParams) WithHTTPClient ¶ added in v0.4.0
func (o *JoinSessionParams) WithHTTPClient(client *http.Client) *JoinSessionParams
WithHTTPClient adds the HTTPClient to the join session params
func (*JoinSessionParams) WithNamespace ¶ added in v0.4.0
func (o *JoinSessionParams) WithNamespace(namespace string) *JoinSessionParams
WithNamespace adds the namespace to the join session params
func (*JoinSessionParams) WithSessionID ¶ added in v0.4.0
func (o *JoinSessionParams) WithSessionID(sessionID string) *JoinSessionParams
WithSessionID adds the sessionID to the join session params
func (*JoinSessionParams) WithTimeout ¶ added in v0.4.0
func (o *JoinSessionParams) WithTimeout(timeout time.Duration) *JoinSessionParams
WithTimeout adds the timeout to the join session params
func (*JoinSessionParams) WriteToRequest ¶ added in v0.4.0
func (o *JoinSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JoinSessionReader ¶ added in v0.4.0
type JoinSessionReader struct {
// contains filtered or unexported fields
}
JoinSessionReader is a Reader for the JoinSession structure.
func (*JoinSessionReader) ReadResponse ¶ added in v0.4.0
func (o *JoinSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuerySessionBadRequest ¶
type QuerySessionBadRequest struct {
Payload *sessionbrowserclientmodels.ResponseError
}
QuerySessionBadRequest handles this case with default header values.
malformed request
func NewQuerySessionBadRequest ¶
func NewQuerySessionBadRequest() *QuerySessionBadRequest
NewQuerySessionBadRequest creates a QuerySessionBadRequest with default headers values
func (*QuerySessionBadRequest) Error ¶
func (o *QuerySessionBadRequest) Error() string
func (*QuerySessionBadRequest) GetPayload ¶
func (o *QuerySessionBadRequest) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*QuerySessionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *QuerySessionBadRequest) ToJSONString() string
type QuerySessionInternalServerError ¶
type QuerySessionInternalServerError struct {
Payload *sessionbrowserclientmodels.ResponseError
}
QuerySessionInternalServerError handles this case with default header values.
Internal Server Error
func NewQuerySessionInternalServerError ¶
func NewQuerySessionInternalServerError() *QuerySessionInternalServerError
NewQuerySessionInternalServerError creates a QuerySessionInternalServerError with default headers values
func (*QuerySessionInternalServerError) Error ¶
func (o *QuerySessionInternalServerError) Error() string
func (*QuerySessionInternalServerError) GetPayload ¶
func (o *QuerySessionInternalServerError) GetPayload() *sessionbrowserclientmodels.ResponseError
func (*QuerySessionInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *QuerySessionInternalServerError) ToJSONString() string
type QuerySessionOK ¶
type QuerySessionOK struct {
Payload *sessionbrowserclientmodels.ModelsSessionQueryResponse
}
QuerySessionOK handles this case with default header values.
session get
func NewQuerySessionOK ¶
func NewQuerySessionOK() *QuerySessionOK
NewQuerySessionOK creates a QuerySessionOK with default headers values
func (*QuerySessionOK) Error ¶
func (o *QuerySessionOK) Error() string
func (*QuerySessionOK) GetPayload ¶
func (o *QuerySessionOK) GetPayload() *sessionbrowserclientmodels.ModelsSessionQueryResponse
func (*QuerySessionOK) ToJSONString ¶ added in v0.25.0
func (o *QuerySessionOK) ToJSONString() string
type QuerySessionParams ¶
type QuerySessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*GameMode Game mode of the session to query */ GameMode *string /*GameVersion Game version of the session to query */ GameVersion *string /*Joinable filter session if joinable or not, accept 'true' or 'false' */ Joinable *string /*Limit max item to be returned */ Limit *int64 /*MatchExist filter session by match existence, accept 'true' or 'false' */ MatchExist *string /*MatchID filter session by matchmaking ID */ MatchID *string /*Namespace namespace of the game */ Namespace string /*Offset skip some item(s), offset=3, will skip 3 first items */ Offset *int64 /*ServerStatus filter session by server status, accept CREATING,READY,BUSY,REMOVING,UNREACHABLE */ ServerStatus *string /*SessionType Session type to query, value is 'p2p' or 'dedicated' */ SessionType string /*UserID Owner of the P2P session. Dedicated server does not have user_id */ UserID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuerySessionParams contains all the parameters to send to the API endpoint for the query session operation typically these are written to a http.Request
func NewQuerySessionParams ¶
func NewQuerySessionParams() *QuerySessionParams
NewQuerySessionParams creates a new QuerySessionParams object with the default values initialized.
func NewQuerySessionParamsWithContext ¶
func NewQuerySessionParamsWithContext(ctx context.Context) *QuerySessionParams
NewQuerySessionParamsWithContext creates a new QuerySessionParams object with the default values initialized, and the ability to set a context for a request
func NewQuerySessionParamsWithHTTPClient ¶
func NewQuerySessionParamsWithHTTPClient(client *http.Client) *QuerySessionParams
NewQuerySessionParamsWithHTTPClient creates a new QuerySessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQuerySessionParamsWithTimeout ¶
func NewQuerySessionParamsWithTimeout(timeout time.Duration) *QuerySessionParams
NewQuerySessionParamsWithTimeout creates a new QuerySessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*QuerySessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *QuerySessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query session params
func (*QuerySessionParams) SetContext ¶
func (o *QuerySessionParams) SetContext(ctx context.Context)
SetContext adds the context to the query session params
func (*QuerySessionParams) SetGameMode ¶
func (o *QuerySessionParams) SetGameMode(gameMode *string)
SetGameMode adds the gameMode to the query session params
func (*QuerySessionParams) SetGameVersion ¶
func (o *QuerySessionParams) SetGameVersion(gameVersion *string)
SetGameVersion adds the gameVersion to the query session params
func (*QuerySessionParams) SetHTTPClient ¶
func (o *QuerySessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query session params
func (*QuerySessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *QuerySessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query session params
func (*QuerySessionParams) SetJoinable ¶
func (o *QuerySessionParams) SetJoinable(joinable *string)
SetJoinable adds the joinable to the query session params
func (*QuerySessionParams) SetLimit ¶
func (o *QuerySessionParams) SetLimit(limit *int64)
SetLimit adds the limit to the query session params
func (*QuerySessionParams) SetMatchExist ¶ added in v0.4.0
func (o *QuerySessionParams) SetMatchExist(matchExist *string)
SetMatchExist adds the matchExist to the query session params
func (*QuerySessionParams) SetMatchID ¶
func (o *QuerySessionParams) SetMatchID(matchID *string)
SetMatchID adds the matchId to the query session params
func (*QuerySessionParams) SetNamespace ¶
func (o *QuerySessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query session params
func (*QuerySessionParams) SetOffset ¶
func (o *QuerySessionParams) SetOffset(offset *int64)
SetOffset adds the offset to the query session params
func (*QuerySessionParams) SetServerStatus ¶
func (o *QuerySessionParams) SetServerStatus(serverStatus *string)
SetServerStatus adds the serverStatus to the query session params
func (*QuerySessionParams) SetSessionType ¶
func (o *QuerySessionParams) SetSessionType(sessionType string)
SetSessionType adds the sessionType to the query session params
func (*QuerySessionParams) SetTimeout ¶
func (o *QuerySessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query session params
func (*QuerySessionParams) SetUserID ¶
func (o *QuerySessionParams) SetUserID(userID *string)
SetUserID adds the userId to the query session params
func (*QuerySessionParams) WithContext ¶
func (o *QuerySessionParams) WithContext(ctx context.Context) *QuerySessionParams
WithContext adds the context to the query session params
func (*QuerySessionParams) WithGameMode ¶
func (o *QuerySessionParams) WithGameMode(gameMode *string) *QuerySessionParams
WithGameMode adds the gameMode to the query session params
func (*QuerySessionParams) WithGameVersion ¶
func (o *QuerySessionParams) WithGameVersion(gameVersion *string) *QuerySessionParams
WithGameVersion adds the gameVersion to the query session params
func (*QuerySessionParams) WithHTTPClient ¶
func (o *QuerySessionParams) WithHTTPClient(client *http.Client) *QuerySessionParams
WithHTTPClient adds the HTTPClient to the query session params
func (*QuerySessionParams) WithJoinable ¶
func (o *QuerySessionParams) WithJoinable(joinable *string) *QuerySessionParams
WithJoinable adds the joinable to the query session params
func (*QuerySessionParams) WithLimit ¶
func (o *QuerySessionParams) WithLimit(limit *int64) *QuerySessionParams
WithLimit adds the limit to the query session params
func (*QuerySessionParams) WithMatchExist ¶ added in v0.4.0
func (o *QuerySessionParams) WithMatchExist(matchExist *string) *QuerySessionParams
WithMatchExist adds the matchExist to the query session params
func (*QuerySessionParams) WithMatchID ¶
func (o *QuerySessionParams) WithMatchID(matchID *string) *QuerySessionParams
WithMatchID adds the matchID to the query session params
func (*QuerySessionParams) WithNamespace ¶
func (o *QuerySessionParams) WithNamespace(namespace string) *QuerySessionParams
WithNamespace adds the namespace to the query session params
func (*QuerySessionParams) WithOffset ¶
func (o *QuerySessionParams) WithOffset(offset *int64) *QuerySessionParams
WithOffset adds the offset to the query session params
func (*QuerySessionParams) WithServerStatus ¶
func (o *QuerySessionParams) WithServerStatus(serverStatus *string) *QuerySessionParams
WithServerStatus adds the serverStatus to the query session params
func (*QuerySessionParams) WithSessionType ¶
func (o *QuerySessionParams) WithSessionType(sessionType string) *QuerySessionParams
WithSessionType adds the sessionType to the query session params
func (*QuerySessionParams) WithTimeout ¶
func (o *QuerySessionParams) WithTimeout(timeout time.Duration) *QuerySessionParams
WithTimeout adds the timeout to the query session params
func (*QuerySessionParams) WithUserID ¶
func (o *QuerySessionParams) WithUserID(userID *string) *QuerySessionParams
WithUserID adds the userID to the query session params
func (*QuerySessionParams) WriteToRequest ¶
func (o *QuerySessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuerySessionReader ¶
type QuerySessionReader struct {
// contains filtered or unexported fields
}
QuerySessionReader is a Reader for the QuerySession structure.
func (*QuerySessionReader) ReadResponse ¶
func (o *QuerySessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemovePlayerFromSessionBadRequest ¶ added in v0.4.0
type RemovePlayerFromSessionBadRequest struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
RemovePlayerFromSessionBadRequest handles this case with default header values.
malformed request
func NewRemovePlayerFromSessionBadRequest ¶ added in v0.4.0
func NewRemovePlayerFromSessionBadRequest() *RemovePlayerFromSessionBadRequest
NewRemovePlayerFromSessionBadRequest creates a RemovePlayerFromSessionBadRequest with default headers values
func (*RemovePlayerFromSessionBadRequest) Error ¶ added in v0.4.0
func (o *RemovePlayerFromSessionBadRequest) Error() string
func (*RemovePlayerFromSessionBadRequest) GetPayload ¶ added in v0.4.0
func (o *RemovePlayerFromSessionBadRequest) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*RemovePlayerFromSessionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *RemovePlayerFromSessionBadRequest) ToJSONString() string
type RemovePlayerFromSessionInternalServerError ¶ added in v0.4.0
type RemovePlayerFromSessionInternalServerError struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
RemovePlayerFromSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewRemovePlayerFromSessionInternalServerError ¶ added in v0.4.0
func NewRemovePlayerFromSessionInternalServerError() *RemovePlayerFromSessionInternalServerError
NewRemovePlayerFromSessionInternalServerError creates a RemovePlayerFromSessionInternalServerError with default headers values
func (*RemovePlayerFromSessionInternalServerError) Error ¶ added in v0.4.0
func (o *RemovePlayerFromSessionInternalServerError) Error() string
func (*RemovePlayerFromSessionInternalServerError) GetPayload ¶ added in v0.4.0
func (o *RemovePlayerFromSessionInternalServerError) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*RemovePlayerFromSessionInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *RemovePlayerFromSessionInternalServerError) ToJSONString() string
type RemovePlayerFromSessionNotFound ¶ added in v0.4.0
type RemovePlayerFromSessionNotFound struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
RemovePlayerFromSessionNotFound handles this case with default header values.
session not found
func NewRemovePlayerFromSessionNotFound ¶ added in v0.4.0
func NewRemovePlayerFromSessionNotFound() *RemovePlayerFromSessionNotFound
NewRemovePlayerFromSessionNotFound creates a RemovePlayerFromSessionNotFound with default headers values
func (*RemovePlayerFromSessionNotFound) Error ¶ added in v0.4.0
func (o *RemovePlayerFromSessionNotFound) Error() string
func (*RemovePlayerFromSessionNotFound) GetPayload ¶ added in v0.4.0
func (o *RemovePlayerFromSessionNotFound) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*RemovePlayerFromSessionNotFound) ToJSONString ¶ added in v0.25.0
func (o *RemovePlayerFromSessionNotFound) ToJSONString() string
type RemovePlayerFromSessionOK ¶ added in v0.4.0
type RemovePlayerFromSessionOK struct {
Payload *sessionbrowserclientmodels.ModelsAddPlayerResponse
}
RemovePlayerFromSessionOK handles this case with default header values.
player removed
func NewRemovePlayerFromSessionOK ¶ added in v0.4.0
func NewRemovePlayerFromSessionOK() *RemovePlayerFromSessionOK
NewRemovePlayerFromSessionOK creates a RemovePlayerFromSessionOK with default headers values
func (*RemovePlayerFromSessionOK) Error ¶ added in v0.4.0
func (o *RemovePlayerFromSessionOK) Error() string
func (*RemovePlayerFromSessionOK) GetPayload ¶ added in v0.4.0
func (o *RemovePlayerFromSessionOK) GetPayload() *sessionbrowserclientmodels.ModelsAddPlayerResponse
func (*RemovePlayerFromSessionOK) ToJSONString ¶ added in v0.25.0
func (o *RemovePlayerFromSessionOK) ToJSONString() string
type RemovePlayerFromSessionParams ¶ added in v0.4.0
type RemovePlayerFromSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*SessionID session ID */ SessionID string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemovePlayerFromSessionParams contains all the parameters to send to the API endpoint for the remove player from session operation typically these are written to a http.Request
func NewRemovePlayerFromSessionParams ¶ added in v0.4.0
func NewRemovePlayerFromSessionParams() *RemovePlayerFromSessionParams
NewRemovePlayerFromSessionParams creates a new RemovePlayerFromSessionParams object with the default values initialized.
func NewRemovePlayerFromSessionParamsWithContext ¶ added in v0.4.0
func NewRemovePlayerFromSessionParamsWithContext(ctx context.Context) *RemovePlayerFromSessionParams
NewRemovePlayerFromSessionParamsWithContext creates a new RemovePlayerFromSessionParams object with the default values initialized, and the ability to set a context for a request
func NewRemovePlayerFromSessionParamsWithHTTPClient ¶ added in v0.4.0
func NewRemovePlayerFromSessionParamsWithHTTPClient(client *http.Client) *RemovePlayerFromSessionParams
NewRemovePlayerFromSessionParamsWithHTTPClient creates a new RemovePlayerFromSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRemovePlayerFromSessionParamsWithTimeout ¶ added in v0.4.0
func NewRemovePlayerFromSessionParamsWithTimeout(timeout time.Duration) *RemovePlayerFromSessionParams
NewRemovePlayerFromSessionParamsWithTimeout creates a new RemovePlayerFromSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*RemovePlayerFromSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RemovePlayerFromSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the remove player from session params
func (*RemovePlayerFromSessionParams) SetContext ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the remove player from session params
func (*RemovePlayerFromSessionParams) SetHTTPClient ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove player from session params
func (*RemovePlayerFromSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RemovePlayerFromSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the remove player from session params
func (*RemovePlayerFromSessionParams) SetNamespace ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the remove player from session params
func (*RemovePlayerFromSessionParams) SetSessionID ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the remove player from session params
func (*RemovePlayerFromSessionParams) SetTimeout ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove player from session params
func (*RemovePlayerFromSessionParams) SetUserID ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) SetUserID(userID string)
SetUserID adds the userId to the remove player from session params
func (*RemovePlayerFromSessionParams) WithContext ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) WithContext(ctx context.Context) *RemovePlayerFromSessionParams
WithContext adds the context to the remove player from session params
func (*RemovePlayerFromSessionParams) WithHTTPClient ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) WithHTTPClient(client *http.Client) *RemovePlayerFromSessionParams
WithHTTPClient adds the HTTPClient to the remove player from session params
func (*RemovePlayerFromSessionParams) WithNamespace ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) WithNamespace(namespace string) *RemovePlayerFromSessionParams
WithNamespace adds the namespace to the remove player from session params
func (*RemovePlayerFromSessionParams) WithSessionID ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) WithSessionID(sessionID string) *RemovePlayerFromSessionParams
WithSessionID adds the sessionID to the remove player from session params
func (*RemovePlayerFromSessionParams) WithTimeout ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) WithTimeout(timeout time.Duration) *RemovePlayerFromSessionParams
WithTimeout adds the timeout to the remove player from session params
func (*RemovePlayerFromSessionParams) WithUserID ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) WithUserID(userID string) *RemovePlayerFromSessionParams
WithUserID adds the userID to the remove player from session params
func (*RemovePlayerFromSessionParams) WriteToRequest ¶ added in v0.4.0
func (o *RemovePlayerFromSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemovePlayerFromSessionReader ¶ added in v0.4.0
type RemovePlayerFromSessionReader struct {
// contains filtered or unexported fields
}
RemovePlayerFromSessionReader is a Reader for the RemovePlayerFromSession structure.
func (*RemovePlayerFromSessionReader) ReadResponse ¶ added in v0.4.0
func (o *RemovePlayerFromSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSessionBadRequest ¶
type UpdateSessionBadRequest struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
UpdateSessionBadRequest handles this case with default header values.
malformed request
func NewUpdateSessionBadRequest ¶
func NewUpdateSessionBadRequest() *UpdateSessionBadRequest
NewUpdateSessionBadRequest creates a UpdateSessionBadRequest with default headers values
func (*UpdateSessionBadRequest) Error ¶
func (o *UpdateSessionBadRequest) Error() string
func (*UpdateSessionBadRequest) GetPayload ¶
func (o *UpdateSessionBadRequest) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*UpdateSessionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *UpdateSessionBadRequest) ToJSONString() string
type UpdateSessionInternalServerError ¶
type UpdateSessionInternalServerError struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
UpdateSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateSessionInternalServerError ¶
func NewUpdateSessionInternalServerError() *UpdateSessionInternalServerError
NewUpdateSessionInternalServerError creates a UpdateSessionInternalServerError with default headers values
func (*UpdateSessionInternalServerError) Error ¶
func (o *UpdateSessionInternalServerError) Error() string
func (*UpdateSessionInternalServerError) GetPayload ¶
func (o *UpdateSessionInternalServerError) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*UpdateSessionInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *UpdateSessionInternalServerError) ToJSONString() string
type UpdateSessionNotFound ¶
type UpdateSessionNotFound struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
UpdateSessionNotFound handles this case with default header values.
session not found
func NewUpdateSessionNotFound ¶
func NewUpdateSessionNotFound() *UpdateSessionNotFound
NewUpdateSessionNotFound creates a UpdateSessionNotFound with default headers values
func (*UpdateSessionNotFound) Error ¶
func (o *UpdateSessionNotFound) Error() string
func (*UpdateSessionNotFound) GetPayload ¶
func (o *UpdateSessionNotFound) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*UpdateSessionNotFound) ToJSONString ¶ added in v0.25.0
func (o *UpdateSessionNotFound) ToJSONString() string
type UpdateSessionOK ¶
type UpdateSessionOK struct {
Payload *sessionbrowserclientmodels.ModelsSessionResponse
}
UpdateSessionOK handles this case with default header values.
session updated
func NewUpdateSessionOK ¶
func NewUpdateSessionOK() *UpdateSessionOK
NewUpdateSessionOK creates a UpdateSessionOK with default headers values
func (*UpdateSessionOK) Error ¶
func (o *UpdateSessionOK) Error() string
func (*UpdateSessionOK) GetPayload ¶
func (o *UpdateSessionOK) GetPayload() *sessionbrowserclientmodels.ModelsSessionResponse
func (*UpdateSessionOK) ToJSONString ¶ added in v0.25.0
func (o *UpdateSessionOK) ToJSONString() string
type UpdateSessionParams ¶
type UpdateSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *sessionbrowserclientmodels.ModelsUpdateSessionRequest /*Namespace namespace of the game */ Namespace string /*SessionID session ID */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSessionParams contains all the parameters to send to the API endpoint for the update session operation typically these are written to a http.Request
func NewUpdateSessionParams ¶
func NewUpdateSessionParams() *UpdateSessionParams
NewUpdateSessionParams creates a new UpdateSessionParams object with the default values initialized.
func NewUpdateSessionParamsWithContext ¶
func NewUpdateSessionParamsWithContext(ctx context.Context) *UpdateSessionParams
NewUpdateSessionParamsWithContext creates a new UpdateSessionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateSessionParamsWithHTTPClient ¶
func NewUpdateSessionParamsWithHTTPClient(client *http.Client) *UpdateSessionParams
NewUpdateSessionParamsWithHTTPClient creates a new UpdateSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateSessionParamsWithTimeout ¶
func NewUpdateSessionParamsWithTimeout(timeout time.Duration) *UpdateSessionParams
NewUpdateSessionParamsWithTimeout creates a new UpdateSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update session params
func (*UpdateSessionParams) SetBody ¶
func (o *UpdateSessionParams) SetBody(body *sessionbrowserclientmodels.ModelsUpdateSessionRequest)
SetBody adds the body to the update session params
func (*UpdateSessionParams) SetContext ¶
func (o *UpdateSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the update session params
func (*UpdateSessionParams) SetHTTPClient ¶
func (o *UpdateSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update session params
func (*UpdateSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update session params
func (*UpdateSessionParams) SetNamespace ¶
func (o *UpdateSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update session params
func (*UpdateSessionParams) SetSessionID ¶
func (o *UpdateSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the update session params
func (*UpdateSessionParams) SetTimeout ¶
func (o *UpdateSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update session params
func (*UpdateSessionParams) WithBody ¶
func (o *UpdateSessionParams) WithBody(body *sessionbrowserclientmodels.ModelsUpdateSessionRequest) *UpdateSessionParams
WithBody adds the body to the update session params
func (*UpdateSessionParams) WithContext ¶
func (o *UpdateSessionParams) WithContext(ctx context.Context) *UpdateSessionParams
WithContext adds the context to the update session params
func (*UpdateSessionParams) WithHTTPClient ¶
func (o *UpdateSessionParams) WithHTTPClient(client *http.Client) *UpdateSessionParams
WithHTTPClient adds the HTTPClient to the update session params
func (*UpdateSessionParams) WithNamespace ¶
func (o *UpdateSessionParams) WithNamespace(namespace string) *UpdateSessionParams
WithNamespace adds the namespace to the update session params
func (*UpdateSessionParams) WithSessionID ¶
func (o *UpdateSessionParams) WithSessionID(sessionID string) *UpdateSessionParams
WithSessionID adds the sessionID to the update session params
func (*UpdateSessionParams) WithTimeout ¶
func (o *UpdateSessionParams) WithTimeout(timeout time.Duration) *UpdateSessionParams
WithTimeout adds the timeout to the update session params
func (*UpdateSessionParams) WriteToRequest ¶
func (o *UpdateSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSessionReader ¶
type UpdateSessionReader struct {
// contains filtered or unexported fields
}
UpdateSessionReader is a Reader for the UpdateSession structure.
func (*UpdateSessionReader) ReadResponse ¶
func (o *UpdateSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSettingsBadRequest ¶ added in v0.18.0
type UpdateSettingsBadRequest struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
UpdateSettingsBadRequest handles this case with default header values.
malformed request
func NewUpdateSettingsBadRequest ¶ added in v0.18.0
func NewUpdateSettingsBadRequest() *UpdateSettingsBadRequest
NewUpdateSettingsBadRequest creates a UpdateSettingsBadRequest with default headers values
func (*UpdateSettingsBadRequest) Error ¶ added in v0.18.0
func (o *UpdateSettingsBadRequest) Error() string
func (*UpdateSettingsBadRequest) GetPayload ¶ added in v0.18.0
func (o *UpdateSettingsBadRequest) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*UpdateSettingsBadRequest) ToJSONString ¶ added in v0.25.0
func (o *UpdateSettingsBadRequest) ToJSONString() string
type UpdateSettingsInternalServerError ¶ added in v0.18.0
type UpdateSettingsInternalServerError struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
UpdateSettingsInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateSettingsInternalServerError ¶ added in v0.18.0
func NewUpdateSettingsInternalServerError() *UpdateSettingsInternalServerError
NewUpdateSettingsInternalServerError creates a UpdateSettingsInternalServerError with default headers values
func (*UpdateSettingsInternalServerError) Error ¶ added in v0.18.0
func (o *UpdateSettingsInternalServerError) Error() string
func (*UpdateSettingsInternalServerError) GetPayload ¶ added in v0.18.0
func (o *UpdateSettingsInternalServerError) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*UpdateSettingsInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *UpdateSettingsInternalServerError) ToJSONString() string
type UpdateSettingsNotFound ¶ added in v0.18.0
type UpdateSettingsNotFound struct {
Payload *sessionbrowserclientmodels.RestapiErrorResponseV2
}
UpdateSettingsNotFound handles this case with default header values.
session not found
func NewUpdateSettingsNotFound ¶ added in v0.18.0
func NewUpdateSettingsNotFound() *UpdateSettingsNotFound
NewUpdateSettingsNotFound creates a UpdateSettingsNotFound with default headers values
func (*UpdateSettingsNotFound) Error ¶ added in v0.18.0
func (o *UpdateSettingsNotFound) Error() string
func (*UpdateSettingsNotFound) GetPayload ¶ added in v0.18.0
func (o *UpdateSettingsNotFound) GetPayload() *sessionbrowserclientmodels.RestapiErrorResponseV2
func (*UpdateSettingsNotFound) ToJSONString ¶ added in v0.25.0
func (o *UpdateSettingsNotFound) ToJSONString() string
type UpdateSettingsOK ¶ added in v0.18.0
type UpdateSettingsOK struct {
Payload *sessionbrowserclientmodels.ModelsSessionResponse
}
UpdateSettingsOK handles this case with default header values.
session updated
func NewUpdateSettingsOK ¶ added in v0.18.0
func NewUpdateSettingsOK() *UpdateSettingsOK
NewUpdateSettingsOK creates a UpdateSettingsOK with default headers values
func (*UpdateSettingsOK) Error ¶ added in v0.18.0
func (o *UpdateSettingsOK) Error() string
func (*UpdateSettingsOK) GetPayload ¶ added in v0.18.0
func (o *UpdateSettingsOK) GetPayload() *sessionbrowserclientmodels.ModelsSessionResponse
func (*UpdateSettingsOK) ToJSONString ¶ added in v0.25.0
func (o *UpdateSettingsOK) ToJSONString() string
type UpdateSettingsParams ¶ added in v0.18.0
type UpdateSettingsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body sessionbrowserclientmodels.ModelsUpdateSettingsRequest /*Namespace namespace of the game */ Namespace string /*SessionID session ID */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSettingsParams contains all the parameters to send to the API endpoint for the update settings operation typically these are written to a http.Request
func NewUpdateSettingsParams ¶ added in v0.18.0
func NewUpdateSettingsParams() *UpdateSettingsParams
NewUpdateSettingsParams creates a new UpdateSettingsParams object with the default values initialized.
func NewUpdateSettingsParamsWithContext ¶ added in v0.18.0
func NewUpdateSettingsParamsWithContext(ctx context.Context) *UpdateSettingsParams
NewUpdateSettingsParamsWithContext creates a new UpdateSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateSettingsParamsWithHTTPClient ¶ added in v0.18.0
func NewUpdateSettingsParamsWithHTTPClient(client *http.Client) *UpdateSettingsParams
NewUpdateSettingsParamsWithHTTPClient creates a new UpdateSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateSettingsParamsWithTimeout ¶ added in v0.18.0
func NewUpdateSettingsParamsWithTimeout(timeout time.Duration) *UpdateSettingsParams
NewUpdateSettingsParamsWithTimeout creates a new UpdateSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateSettingsParams) SetAuthInfoWriter ¶ added in v0.18.0
func (o *UpdateSettingsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update settings params
func (*UpdateSettingsParams) SetBody ¶ added in v0.18.0
func (o *UpdateSettingsParams) SetBody(body sessionbrowserclientmodels.ModelsUpdateSettingsRequest)
SetBody adds the body to the update settings params
func (*UpdateSettingsParams) SetContext ¶ added in v0.18.0
func (o *UpdateSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the update settings params
func (*UpdateSettingsParams) SetHTTPClient ¶ added in v0.18.0
func (o *UpdateSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update settings params
func (*UpdateSettingsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateSettingsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update settings params
func (*UpdateSettingsParams) SetNamespace ¶ added in v0.18.0
func (o *UpdateSettingsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update settings params
func (*UpdateSettingsParams) SetSessionID ¶ added in v0.18.0
func (o *UpdateSettingsParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the update settings params
func (*UpdateSettingsParams) SetTimeout ¶ added in v0.18.0
func (o *UpdateSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update settings params
func (*UpdateSettingsParams) WithBody ¶ added in v0.18.0
func (o *UpdateSettingsParams) WithBody(body sessionbrowserclientmodels.ModelsUpdateSettingsRequest) *UpdateSettingsParams
WithBody adds the body to the update settings params
func (*UpdateSettingsParams) WithContext ¶ added in v0.18.0
func (o *UpdateSettingsParams) WithContext(ctx context.Context) *UpdateSettingsParams
WithContext adds the context to the update settings params
func (*UpdateSettingsParams) WithHTTPClient ¶ added in v0.18.0
func (o *UpdateSettingsParams) WithHTTPClient(client *http.Client) *UpdateSettingsParams
WithHTTPClient adds the HTTPClient to the update settings params
func (*UpdateSettingsParams) WithNamespace ¶ added in v0.18.0
func (o *UpdateSettingsParams) WithNamespace(namespace string) *UpdateSettingsParams
WithNamespace adds the namespace to the update settings params
func (*UpdateSettingsParams) WithSessionID ¶ added in v0.18.0
func (o *UpdateSettingsParams) WithSessionID(sessionID string) *UpdateSettingsParams
WithSessionID adds the sessionID to the update settings params
func (*UpdateSettingsParams) WithTimeout ¶ added in v0.18.0
func (o *UpdateSettingsParams) WithTimeout(timeout time.Duration) *UpdateSettingsParams
WithTimeout adds the timeout to the update settings params
func (*UpdateSettingsParams) WriteToRequest ¶ added in v0.18.0
func (o *UpdateSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSettingsReader ¶ added in v0.18.0
type UpdateSettingsReader struct {
// contains filtered or unexported fields
}
UpdateSettingsReader is a Reader for the UpdateSettings structure.
func (*UpdateSettingsReader) ReadResponse ¶ added in v0.18.0
func (o *UpdateSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_player_to_session_parameters.go
- add_player_to_session_responses.go
- admin_delete_session_parameters.go
- admin_delete_session_responses.go
- admin_get_session_parameters.go
- admin_get_session_responses.go
- admin_search_sessions_v2_parameters.go
- admin_search_sessions_v2_responses.go
- create_session_parameters.go
- create_session_responses.go
- delete_session_local_d_s_parameters.go
- delete_session_local_d_s_responses.go
- delete_session_parameters.go
- delete_session_responses.go
- get_active_custom_game_sessions_parameters.go
- get_active_custom_game_sessions_responses.go
- get_active_matchmaking_game_sessions_parameters.go
- get_active_matchmaking_game_sessions_responses.go
- get_recent_player_parameters.go
- get_recent_player_responses.go
- get_session_by_user_i_ds_parameters.go
- get_session_by_user_i_ds_responses.go
- get_session_history_detailed_parameters.go
- get_session_history_detailed_responses.go
- get_session_parameters.go
- get_session_responses.go
- get_total_active_session_parameters.go
- get_total_active_session_responses.go
- join_session_parameters.go
- join_session_responses.go
- query_session_parameters.go
- query_session_responses.go
- remove_player_from_session_parameters.go
- remove_player_from_session_responses.go
- session_client.go
- update_session_parameters.go
- update_session_responses.go
- update_settings_parameters.go
- update_settings_responses.go