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 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 Client
- func (a *Client) AddPlayerToSession(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, *AddPlayerToSessionBadRequest, ...)
- func (a *Client) AddPlayerToSessionShort(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, error)
- func (a *Client) AdminGetSession(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, *AdminGetSessionNotFound, ...)
- func (a *Client) AdminGetSessionShort(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, error)
- func (a *Client) CreateSession(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, *CreateSessionBadRequest, *CreateSessionForbidden, ...)
- func (a *Client) CreateSessionShort(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, error)
- func (a *Client) DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, *DeleteSessionBadRequest, *DeleteSessionNotFound, ...)
- func (a *Client) DeleteSessionLocalDS(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, *DeleteSessionLocalDSBadRequest, ...)
- 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, ...)
- func (a *Client) GetActiveCustomGameSessionsShort(params *GetActiveCustomGameSessionsParams, ...) (*GetActiveCustomGameSessionsOK, error)
- func (a *Client) GetActiveMatchmakingGameSessions(params *GetActiveMatchmakingGameSessionsParams, ...) (*GetActiveMatchmakingGameSessionsOK, ...)
- func (a *Client) GetActiveMatchmakingGameSessionsShort(params *GetActiveMatchmakingGameSessionsParams, ...) (*GetActiveMatchmakingGameSessionsOK, error)
- func (a *Client) GetRecentPlayer(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, *GetRecentPlayerBadRequest, ...)
- func (a *Client) GetRecentPlayerShort(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, error)
- func (a *Client) GetSession(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, *GetSessionNotFound, *GetSessionInternalServerError, error)
- func (a *Client) GetSessionByUserIDs(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, *GetSessionByUserIDsBadRequest, ...)
- func (a *Client) GetSessionByUserIDsShort(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, error)
- func (a *Client) GetSessionShort(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, error)
- func (a *Client) GetTotalActiveSession(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, *GetTotalActiveSessionBadRequest, ...)
- func (a *Client) GetTotalActiveSessionShort(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, error)
- func (a *Client) JoinSession(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, *JoinSessionBadRequest, *JoinSessionForbidden, ...)
- func (a *Client) JoinSessionShort(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, error)
- func (a *Client) QuerySession(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, *QuerySessionBadRequest, *QuerySessionInternalServerError, ...)
- func (a *Client) QuerySessionShort(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, error)
- func (a *Client) RemovePlayerFromSession(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, *RemovePlayerFromSessionBadRequest, ...)
- 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, ...)
- func (a *Client) UpdateSessionShort(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, error)
- func (a *Client) UpdateSettings(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, *UpdateSettingsBadRequest, *UpdateSettingsNotFound, ...)
- 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) SetNamespace(namespace string)
- 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) WithNamespace(namespace string) *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) SetMatchID(matchID *string)
- func (o *GetActiveMatchmakingGameSessionsParams) SetNamespace(namespace string)
- 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) WithMatchID(matchID *string) *GetActiveMatchmakingGameSessionsParams
- func (o *GetActiveMatchmakingGameSessionsParams) WithNamespace(namespace string) *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 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
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
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
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
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 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
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
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
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 Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for session API
func (*Client) AddPlayerToSession ¶ added in v0.4.0
func (a *Client) AddPlayerToSession(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, *AddPlayerToSessionBadRequest, *AddPlayerToSessionNotFound, *AddPlayerToSessionInternalServerError, error)
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)
func (*Client) AdminGetSession ¶ added in v0.4.0
func (a *Client) AdminGetSession(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, *AdminGetSessionNotFound, *AdminGetSessionInternalServerError, error)
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)
func (*Client) CreateSession ¶
func (a *Client) CreateSession(params *CreateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSessionOK, *CreateSessionBadRequest, *CreateSessionForbidden, *CreateSessionConflict, *CreateSessionInternalServerError, error)
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)
func (*Client) DeleteSession ¶
func (a *Client) DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, *DeleteSessionBadRequest, *DeleteSessionNotFound, *DeleteSessionInternalServerError, error)
DeleteSession deletes specified session by session ID Required permission: NAMESPACE:{namespace}:SESSIONBROWSER:SESSION [DELETE]
Required scope: social
Delete the session by session ID
func (*Client) DeleteSessionLocalDS ¶ added in v0.4.0
func (a *Client) DeleteSessionLocalDS(params *DeleteSessionLocalDSParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionLocalDSOK, *DeleteSessionLocalDSBadRequest, *DeleteSessionLocalDSNotFound, *DeleteSessionLocalDSInternalServerError, error)
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)
func (*Client) DeleteSessionShort ¶ added in v0.8.0
func (a *Client) DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionOK, error)
func (*Client) GetActiveCustomGameSessions ¶ added in v0.4.0
func (a *Client) GetActiveCustomGameSessions(params *GetActiveCustomGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveCustomGameSessionsOK, *GetActiveCustomGameSessionsBadRequest, *GetActiveCustomGameSessionsInternalServerError, error)
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)
func (*Client) GetActiveMatchmakingGameSessions ¶ added in v0.4.0
func (a *Client) GetActiveMatchmakingGameSessions(params *GetActiveMatchmakingGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetActiveMatchmakingGameSessionsOK, *GetActiveMatchmakingGameSessionsBadRequest, *GetActiveMatchmakingGameSessionsInternalServerError, error)
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)
func (*Client) GetRecentPlayer ¶ added in v0.4.0
func (a *Client) GetRecentPlayer(params *GetRecentPlayerParams, authInfo runtime.ClientAuthInfoWriter) (*GetRecentPlayerOK, *GetRecentPlayerBadRequest, *GetRecentPlayerInternalServerError, error)
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)
func (*Client) GetSession ¶
func (a *Client) GetSession(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, *GetSessionNotFound, *GetSessionInternalServerError, error)
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 ¶
func (a *Client) GetSessionByUserIDs(params *GetSessionByUserIDsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionByUserIDsOK, *GetSessionByUserIDsBadRequest, *GetSessionByUserIDsInternalServerError, error)
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)
func (*Client) GetSessionShort ¶ added in v0.8.0
func (a *Client) GetSessionShort(params *GetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSessionOK, error)
func (*Client) GetTotalActiveSession ¶ added in v0.4.0
func (a *Client) GetTotalActiveSession(params *GetTotalActiveSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTotalActiveSessionOK, *GetTotalActiveSessionBadRequest, *GetTotalActiveSessionInternalServerError, error)
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)
func (*Client) JoinSession ¶ added in v0.4.0
func (a *Client) JoinSession(params *JoinSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinSessionOK, *JoinSessionBadRequest, *JoinSessionForbidden, *JoinSessionNotFound, *JoinSessionInternalServerError, error)
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)
func (*Client) QuerySession ¶
func (a *Client) QuerySession(params *QuerySessionParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySessionOK, *QuerySessionBadRequest, *QuerySessionInternalServerError, error)
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)
func (*Client) RemovePlayerFromSession ¶ added in v0.4.0
func (a *Client) RemovePlayerFromSession(params *RemovePlayerFromSessionParams, authInfo runtime.ClientAuthInfoWriter) (*RemovePlayerFromSessionOK, *RemovePlayerFromSessionBadRequest, *RemovePlayerFromSessionNotFound, *RemovePlayerFromSessionInternalServerError, error)
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)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSession ¶
func (a *Client) UpdateSession(params *UpdateSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSessionOK, *UpdateSessionBadRequest, *UpdateSessionNotFound, *UpdateSessionInternalServerError, error)
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)
func (*Client) UpdateSettings ¶ added in v0.18.0
func (a *Client) UpdateSettings(params *UpdateSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSettingsOK, *UpdateSettingsBadRequest, *UpdateSettingsNotFound, *UpdateSettingsInternalServerError, error)
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)
type ClientService ¶
type ClientService interface { AddPlayerToSession(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, *AddPlayerToSessionBadRequest, *AddPlayerToSessionNotFound, *AddPlayerToSessionInternalServerError, error) AddPlayerToSessionShort(params *AddPlayerToSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AddPlayerToSessionOK, error) AdminGetSession(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, *AdminGetSessionNotFound, *AdminGetSessionInternalServerError, error) AdminGetSessionShort(params *AdminGetSessionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetSessionOK, 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) 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
type GetActiveCustomGameSessionsParams ¶ added in v0.4.0
type GetActiveCustomGameSessionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace */ Namespace string /*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) 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) 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) 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) 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
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
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
type GetActiveMatchmakingGameSessionsParams ¶ added in v0.4.0
type GetActiveMatchmakingGameSessionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*MatchID matchmaking ID */ MatchID *string /*Namespace namespace */ Namespace string /*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) 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) 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) 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) 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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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_get_session_parameters.go
- admin_get_session_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_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