Documentation
¶
Index ¶
- type AdminQueryGameSessionsBadRequest
- type AdminQueryGameSessionsForbidden
- type AdminQueryGameSessionsInternalServerError
- type AdminQueryGameSessionsOK
- type AdminQueryGameSessionsParams
- func NewAdminQueryGameSessionsParams() *AdminQueryGameSessionsParams
- func NewAdminQueryGameSessionsParamsWithContext(ctx context.Context) *AdminQueryGameSessionsParams
- func NewAdminQueryGameSessionsParamsWithHTTPClient(client *http.Client) *AdminQueryGameSessionsParams
- func NewAdminQueryGameSessionsParamsWithTimeout(timeout time.Duration) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminQueryGameSessionsParams) SetConfigurationName(configurationName *string)
- func (o *AdminQueryGameSessionsParams) SetContext(ctx context.Context)
- func (o *AdminQueryGameSessionsParams) SetDsPodName(dsPodName *string)
- func (o *AdminQueryGameSessionsParams) SetFromTime(fromTime *string)
- func (o *AdminQueryGameSessionsParams) SetGameMode(gameMode *string)
- func (o *AdminQueryGameSessionsParams) SetHTTPClient(client *http.Client)
- func (o *AdminQueryGameSessionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminQueryGameSessionsParams) SetIsSoftDeleted(isSoftDeleted *string)
- func (o *AdminQueryGameSessionsParams) SetJoinability(joinability *string)
- func (o *AdminQueryGameSessionsParams) SetLimit(limit *int64)
- func (o *AdminQueryGameSessionsParams) SetMatchPool(matchPool *string)
- func (o *AdminQueryGameSessionsParams) SetMemberID(memberID *string)
- func (o *AdminQueryGameSessionsParams) SetNamespace(namespace string)
- func (o *AdminQueryGameSessionsParams) SetOffset(offset *int64)
- func (o *AdminQueryGameSessionsParams) SetOrder(order *string)
- func (o *AdminQueryGameSessionsParams) SetOrderBy(orderBy *string)
- func (o *AdminQueryGameSessionsParams) SetSessionID(sessionID *string)
- func (o *AdminQueryGameSessionsParams) SetStatus(status *string)
- func (o *AdminQueryGameSessionsParams) SetStatusV2(statusV2 *string)
- func (o *AdminQueryGameSessionsParams) SetTimeout(timeout time.Duration)
- func (o *AdminQueryGameSessionsParams) SetToTime(toTime *string)
- func (o *AdminQueryGameSessionsParams) WithConfigurationName(configurationName *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithContext(ctx context.Context) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithDsPodName(dsPodName *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithFromTime(fromTime *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithGameMode(gameMode *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithHTTPClient(client *http.Client) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithIsSoftDeleted(isSoftDeleted *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithJoinability(joinability *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithLimit(limit *int64) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithMatchPool(matchPool *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithMemberID(memberID *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithNamespace(namespace string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithOffset(offset *int64) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithOrder(order *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithOrderBy(orderBy *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithSessionID(sessionID *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithStatus(status *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithStatusV2(statusV2 *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithTimeout(timeout time.Duration) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WithToTime(toTime *string) *AdminQueryGameSessionsParams
- func (o *AdminQueryGameSessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminQueryGameSessionsReader
- type AdminQueryGameSessionsUnauthorized
- type AdminUpdateGameSessionMemberBadRequest
- type AdminUpdateGameSessionMemberForbidden
- type AdminUpdateGameSessionMemberInternalServerError
- type AdminUpdateGameSessionMemberNotFound
- type AdminUpdateGameSessionMemberOK
- type AdminUpdateGameSessionMemberParams
- func NewAdminUpdateGameSessionMemberParams() *AdminUpdateGameSessionMemberParams
- func NewAdminUpdateGameSessionMemberParamsWithContext(ctx context.Context) *AdminUpdateGameSessionMemberParams
- func NewAdminUpdateGameSessionMemberParamsWithHTTPClient(client *http.Client) *AdminUpdateGameSessionMemberParams
- func NewAdminUpdateGameSessionMemberParamsWithTimeout(timeout time.Duration) *AdminUpdateGameSessionMemberParams
- func (o *AdminUpdateGameSessionMemberParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateGameSessionMemberParams) SetContext(ctx context.Context)
- func (o *AdminUpdateGameSessionMemberParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateGameSessionMemberParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateGameSessionMemberParams) SetMemberID(memberID string)
- func (o *AdminUpdateGameSessionMemberParams) SetNamespace(namespace string)
- func (o *AdminUpdateGameSessionMemberParams) SetSessionID(sessionID string)
- func (o *AdminUpdateGameSessionMemberParams) SetStatusType(statusType string)
- func (o *AdminUpdateGameSessionMemberParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateGameSessionMemberParams) WithContext(ctx context.Context) *AdminUpdateGameSessionMemberParams
- func (o *AdminUpdateGameSessionMemberParams) WithHTTPClient(client *http.Client) *AdminUpdateGameSessionMemberParams
- func (o *AdminUpdateGameSessionMemberParams) WithMemberID(memberID string) *AdminUpdateGameSessionMemberParams
- func (o *AdminUpdateGameSessionMemberParams) WithNamespace(namespace string) *AdminUpdateGameSessionMemberParams
- func (o *AdminUpdateGameSessionMemberParams) WithSessionID(sessionID string) *AdminUpdateGameSessionMemberParams
- func (o *AdminUpdateGameSessionMemberParams) WithStatusType(statusType string) *AdminUpdateGameSessionMemberParams
- func (o *AdminUpdateGameSessionMemberParams) WithTimeout(timeout time.Duration) *AdminUpdateGameSessionMemberParams
- func (o *AdminUpdateGameSessionMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateGameSessionMemberReader
- type AdminUpdateGameSessionMemberUnauthorized
- type Client
- func (a *Client) AdminQueryGameSessions(params *AdminQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryGameSessionsOK, *AdminQueryGameSessionsBadRequest, ...)deprecated
- func (a *Client) AdminQueryGameSessionsShort(params *AdminQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryGameSessionsOK, error)
- func (a *Client) AdminUpdateGameSessionMember(params *AdminUpdateGameSessionMemberParams, ...) (*AdminUpdateGameSessionMemberOK, *AdminUpdateGameSessionMemberBadRequest, ...)deprecated
- func (a *Client) AdminUpdateGameSessionMemberShort(params *AdminUpdateGameSessionMemberParams, ...) (*AdminUpdateGameSessionMemberOK, error)
- func (a *Client) CreateGameSession(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, *CreateGameSessionBadRequest, ...)deprecated
- func (a *Client) CreateGameSessionShort(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, error)
- func (a *Client) DeleteGameSession(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, *DeleteGameSessionUnauthorized, ...)deprecated
- func (a *Client) DeleteGameSessionShort(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, error)
- func (a *Client) GetGameSession(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, *GetGameSessionBadRequest, *GetGameSessionUnauthorized, ...)deprecated
- func (a *Client) GetGameSessionByPodName(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, *GetGameSessionByPodNameBadRequest, ...)deprecated
- func (a *Client) GetGameSessionByPodNameShort(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, error)
- func (a *Client) GetGameSessionShort(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, error)
- func (a *Client) JoinGameSession(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, *JoinGameSessionBadRequest, *JoinGameSessionUnauthorized, ...)deprecated
- func (a *Client) JoinGameSessionShort(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, error)
- func (a *Client) LeaveGameSession(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, *LeaveGameSessionBadRequest, ...)deprecated
- func (a *Client) LeaveGameSessionShort(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, error)
- func (a *Client) PatchUpdateGameSession(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, *PatchUpdateGameSessionBadRequest, ...)deprecated
- func (a *Client) PatchUpdateGameSessionShort(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, error)
- func (a *Client) PublicGameSessionInvite(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, *PublicGameSessionInviteNoContent, ...)deprecated
- func (a *Client) PublicGameSessionInviteShort(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, error)
- func (a *Client) PublicGameSessionReject(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, *PublicGameSessionRejectBadRequest, ...)deprecated
- func (a *Client) PublicGameSessionRejectShort(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, error)
- func (a *Client) PublicQueryGameSessions(params *PublicQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsOK, *PublicQueryGameSessionsBadRequest, ...)deprecated
- func (a *Client) PublicQueryGameSessionsShort(params *PublicQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsOK, error)
- func (a *Client) PublicQueryMyGameSessions(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, *PublicQueryMyGameSessionsBadRequest, ...)deprecated
- func (a *Client) PublicQueryMyGameSessionsShort(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateGameSession(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, *UpdateGameSessionBadRequest, ...)deprecated
- func (a *Client) UpdateGameSessionShort(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, error)
- type ClientService
- type CreateGameSessionBadRequest
- type CreateGameSessionCreated
- type CreateGameSessionForbidden
- type CreateGameSessionInternalServerError
- type CreateGameSessionParams
- func NewCreateGameSessionParams() *CreateGameSessionParams
- func NewCreateGameSessionParamsWithContext(ctx context.Context) *CreateGameSessionParams
- func NewCreateGameSessionParamsWithHTTPClient(client *http.Client) *CreateGameSessionParams
- func NewCreateGameSessionParamsWithTimeout(timeout time.Duration) *CreateGameSessionParams
- func (o *CreateGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateGameSessionParams) SetBody(body *sessionclientmodels.ApimodelsCreateGameSessionRequest)
- func (o *CreateGameSessionParams) SetContext(ctx context.Context)
- func (o *CreateGameSessionParams) SetHTTPClient(client *http.Client)
- func (o *CreateGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateGameSessionParams) SetNamespace(namespace string)
- func (o *CreateGameSessionParams) SetTimeout(timeout time.Duration)
- func (o *CreateGameSessionParams) WithBody(body *sessionclientmodels.ApimodelsCreateGameSessionRequest) *CreateGameSessionParams
- func (o *CreateGameSessionParams) WithContext(ctx context.Context) *CreateGameSessionParams
- func (o *CreateGameSessionParams) WithHTTPClient(client *http.Client) *CreateGameSessionParams
- func (o *CreateGameSessionParams) WithNamespace(namespace string) *CreateGameSessionParams
- func (o *CreateGameSessionParams) WithTimeout(timeout time.Duration) *CreateGameSessionParams
- func (o *CreateGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGameSessionReader
- type CreateGameSessionUnauthorized
- type DeleteGameSessionForbidden
- type DeleteGameSessionInternalServerError
- type DeleteGameSessionNoContent
- type DeleteGameSessionParams
- func NewDeleteGameSessionParams() *DeleteGameSessionParams
- func NewDeleteGameSessionParamsWithContext(ctx context.Context) *DeleteGameSessionParams
- func NewDeleteGameSessionParamsWithHTTPClient(client *http.Client) *DeleteGameSessionParams
- func NewDeleteGameSessionParamsWithTimeout(timeout time.Duration) *DeleteGameSessionParams
- func (o *DeleteGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteGameSessionParams) SetContext(ctx context.Context)
- func (o *DeleteGameSessionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteGameSessionParams) SetNamespace(namespace string)
- func (o *DeleteGameSessionParams) SetSessionID(sessionID string)
- func (o *DeleteGameSessionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGameSessionParams) WithContext(ctx context.Context) *DeleteGameSessionParams
- func (o *DeleteGameSessionParams) WithHTTPClient(client *http.Client) *DeleteGameSessionParams
- func (o *DeleteGameSessionParams) WithNamespace(namespace string) *DeleteGameSessionParams
- func (o *DeleteGameSessionParams) WithSessionID(sessionID string) *DeleteGameSessionParams
- func (o *DeleteGameSessionParams) WithTimeout(timeout time.Duration) *DeleteGameSessionParams
- func (o *DeleteGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGameSessionReader
- type DeleteGameSessionUnauthorized
- type GetGameSessionBadRequest
- type GetGameSessionByPodNameBadRequest
- type GetGameSessionByPodNameForbidden
- type GetGameSessionByPodNameInternalServerError
- type GetGameSessionByPodNameNotFound
- type GetGameSessionByPodNameOK
- type GetGameSessionByPodNameParams
- func NewGetGameSessionByPodNameParams() *GetGameSessionByPodNameParams
- func NewGetGameSessionByPodNameParamsWithContext(ctx context.Context) *GetGameSessionByPodNameParams
- func NewGetGameSessionByPodNameParamsWithHTTPClient(client *http.Client) *GetGameSessionByPodNameParams
- func NewGetGameSessionByPodNameParamsWithTimeout(timeout time.Duration) *GetGameSessionByPodNameParams
- func (o *GetGameSessionByPodNameParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetGameSessionByPodNameParams) SetContext(ctx context.Context)
- func (o *GetGameSessionByPodNameParams) SetHTTPClient(client *http.Client)
- func (o *GetGameSessionByPodNameParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetGameSessionByPodNameParams) SetNamespace(namespace string)
- func (o *GetGameSessionByPodNameParams) SetPodName(podName string)
- func (o *GetGameSessionByPodNameParams) SetTimeout(timeout time.Duration)
- func (o *GetGameSessionByPodNameParams) WithContext(ctx context.Context) *GetGameSessionByPodNameParams
- func (o *GetGameSessionByPodNameParams) WithHTTPClient(client *http.Client) *GetGameSessionByPodNameParams
- func (o *GetGameSessionByPodNameParams) WithNamespace(namespace string) *GetGameSessionByPodNameParams
- func (o *GetGameSessionByPodNameParams) WithPodName(podName string) *GetGameSessionByPodNameParams
- func (o *GetGameSessionByPodNameParams) WithTimeout(timeout time.Duration) *GetGameSessionByPodNameParams
- func (o *GetGameSessionByPodNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGameSessionByPodNameReader
- type GetGameSessionByPodNameUnauthorized
- type GetGameSessionForbidden
- type GetGameSessionInternalServerError
- type GetGameSessionNotFound
- type GetGameSessionOK
- type GetGameSessionParams
- func NewGetGameSessionParams() *GetGameSessionParams
- func NewGetGameSessionParamsWithContext(ctx context.Context) *GetGameSessionParams
- func NewGetGameSessionParamsWithHTTPClient(client *http.Client) *GetGameSessionParams
- func NewGetGameSessionParamsWithTimeout(timeout time.Duration) *GetGameSessionParams
- func (o *GetGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetGameSessionParams) SetContext(ctx context.Context)
- func (o *GetGameSessionParams) SetHTTPClient(client *http.Client)
- func (o *GetGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetGameSessionParams) SetNamespace(namespace string)
- func (o *GetGameSessionParams) SetSessionID(sessionID string)
- func (o *GetGameSessionParams) SetTimeout(timeout time.Duration)
- func (o *GetGameSessionParams) WithContext(ctx context.Context) *GetGameSessionParams
- func (o *GetGameSessionParams) WithHTTPClient(client *http.Client) *GetGameSessionParams
- func (o *GetGameSessionParams) WithNamespace(namespace string) *GetGameSessionParams
- func (o *GetGameSessionParams) WithSessionID(sessionID string) *GetGameSessionParams
- func (o *GetGameSessionParams) WithTimeout(timeout time.Duration) *GetGameSessionParams
- func (o *GetGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGameSessionReader
- type GetGameSessionUnauthorized
- type JoinGameSessionBadRequest
- type JoinGameSessionForbidden
- type JoinGameSessionInternalServerError
- type JoinGameSessionNotFound
- type JoinGameSessionOK
- type JoinGameSessionParams
- func NewJoinGameSessionParams() *JoinGameSessionParams
- func NewJoinGameSessionParamsWithContext(ctx context.Context) *JoinGameSessionParams
- func NewJoinGameSessionParamsWithHTTPClient(client *http.Client) *JoinGameSessionParams
- func NewJoinGameSessionParamsWithTimeout(timeout time.Duration) *JoinGameSessionParams
- func (o *JoinGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *JoinGameSessionParams) SetContext(ctx context.Context)
- func (o *JoinGameSessionParams) SetHTTPClient(client *http.Client)
- func (o *JoinGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *JoinGameSessionParams) SetNamespace(namespace string)
- func (o *JoinGameSessionParams) SetSessionID(sessionID string)
- func (o *JoinGameSessionParams) SetTimeout(timeout time.Duration)
- func (o *JoinGameSessionParams) WithContext(ctx context.Context) *JoinGameSessionParams
- func (o *JoinGameSessionParams) WithHTTPClient(client *http.Client) *JoinGameSessionParams
- func (o *JoinGameSessionParams) WithNamespace(namespace string) *JoinGameSessionParams
- func (o *JoinGameSessionParams) WithSessionID(sessionID string) *JoinGameSessionParams
- func (o *JoinGameSessionParams) WithTimeout(timeout time.Duration) *JoinGameSessionParams
- func (o *JoinGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type JoinGameSessionReader
- type JoinGameSessionUnauthorized
- type LeaveGameSessionBadRequest
- type LeaveGameSessionForbidden
- type LeaveGameSessionInternalServerError
- type LeaveGameSessionNoContent
- type LeaveGameSessionNotFound
- type LeaveGameSessionParams
- func NewLeaveGameSessionParams() *LeaveGameSessionParams
- func NewLeaveGameSessionParamsWithContext(ctx context.Context) *LeaveGameSessionParams
- func NewLeaveGameSessionParamsWithHTTPClient(client *http.Client) *LeaveGameSessionParams
- func NewLeaveGameSessionParamsWithTimeout(timeout time.Duration) *LeaveGameSessionParams
- func (o *LeaveGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *LeaveGameSessionParams) SetContext(ctx context.Context)
- func (o *LeaveGameSessionParams) SetHTTPClient(client *http.Client)
- func (o *LeaveGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *LeaveGameSessionParams) SetNamespace(namespace string)
- func (o *LeaveGameSessionParams) SetSessionID(sessionID string)
- func (o *LeaveGameSessionParams) SetTimeout(timeout time.Duration)
- func (o *LeaveGameSessionParams) WithContext(ctx context.Context) *LeaveGameSessionParams
- func (o *LeaveGameSessionParams) WithHTTPClient(client *http.Client) *LeaveGameSessionParams
- func (o *LeaveGameSessionParams) WithNamespace(namespace string) *LeaveGameSessionParams
- func (o *LeaveGameSessionParams) WithSessionID(sessionID string) *LeaveGameSessionParams
- func (o *LeaveGameSessionParams) WithTimeout(timeout time.Duration) *LeaveGameSessionParams
- func (o *LeaveGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LeaveGameSessionReader
- type LeaveGameSessionUnauthorized
- type PatchUpdateGameSessionBadRequest
- type PatchUpdateGameSessionForbidden
- type PatchUpdateGameSessionInternalServerError
- type PatchUpdateGameSessionNotFound
- type PatchUpdateGameSessionOK
- type PatchUpdateGameSessionParams
- func NewPatchUpdateGameSessionParams() *PatchUpdateGameSessionParams
- func NewPatchUpdateGameSessionParamsWithContext(ctx context.Context) *PatchUpdateGameSessionParams
- func NewPatchUpdateGameSessionParamsWithHTTPClient(client *http.Client) *PatchUpdateGameSessionParams
- func NewPatchUpdateGameSessionParamsWithTimeout(timeout time.Duration) *PatchUpdateGameSessionParams
- func (o *PatchUpdateGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PatchUpdateGameSessionParams) SetBody(body *sessionclientmodels.ApimodelsUpdateGameSessionRequest)
- func (o *PatchUpdateGameSessionParams) SetContext(ctx context.Context)
- func (o *PatchUpdateGameSessionParams) SetHTTPClient(client *http.Client)
- func (o *PatchUpdateGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PatchUpdateGameSessionParams) SetNamespace(namespace string)
- func (o *PatchUpdateGameSessionParams) SetSessionID(sessionID string)
- func (o *PatchUpdateGameSessionParams) SetTimeout(timeout time.Duration)
- func (o *PatchUpdateGameSessionParams) WithBody(body *sessionclientmodels.ApimodelsUpdateGameSessionRequest) *PatchUpdateGameSessionParams
- func (o *PatchUpdateGameSessionParams) WithContext(ctx context.Context) *PatchUpdateGameSessionParams
- func (o *PatchUpdateGameSessionParams) WithHTTPClient(client *http.Client) *PatchUpdateGameSessionParams
- func (o *PatchUpdateGameSessionParams) WithNamespace(namespace string) *PatchUpdateGameSessionParams
- func (o *PatchUpdateGameSessionParams) WithSessionID(sessionID string) *PatchUpdateGameSessionParams
- func (o *PatchUpdateGameSessionParams) WithTimeout(timeout time.Duration) *PatchUpdateGameSessionParams
- func (o *PatchUpdateGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchUpdateGameSessionReader
- type PatchUpdateGameSessionUnauthorized
- type PublicGameSessionInviteBadRequest
- type PublicGameSessionInviteCreated
- type PublicGameSessionInviteInternalServerError
- type PublicGameSessionInviteNoContent
- type PublicGameSessionInviteNotFound
- type PublicGameSessionInviteParams
- func NewPublicGameSessionInviteParams() *PublicGameSessionInviteParams
- func NewPublicGameSessionInviteParamsWithContext(ctx context.Context) *PublicGameSessionInviteParams
- func NewPublicGameSessionInviteParamsWithHTTPClient(client *http.Client) *PublicGameSessionInviteParams
- func NewPublicGameSessionInviteParamsWithTimeout(timeout time.Duration) *PublicGameSessionInviteParams
- func (o *PublicGameSessionInviteParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGameSessionInviteParams) SetBody(body *sessionclientmodels.ApimodelsSessionInviteRequest)
- func (o *PublicGameSessionInviteParams) SetContext(ctx context.Context)
- func (o *PublicGameSessionInviteParams) SetHTTPClient(client *http.Client)
- func (o *PublicGameSessionInviteParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGameSessionInviteParams) SetNamespace(namespace string)
- func (o *PublicGameSessionInviteParams) SetSessionID(sessionID string)
- func (o *PublicGameSessionInviteParams) SetTimeout(timeout time.Duration)
- func (o *PublicGameSessionInviteParams) WithBody(body *sessionclientmodels.ApimodelsSessionInviteRequest) *PublicGameSessionInviteParams
- func (o *PublicGameSessionInviteParams) WithContext(ctx context.Context) *PublicGameSessionInviteParams
- func (o *PublicGameSessionInviteParams) WithHTTPClient(client *http.Client) *PublicGameSessionInviteParams
- func (o *PublicGameSessionInviteParams) WithNamespace(namespace string) *PublicGameSessionInviteParams
- func (o *PublicGameSessionInviteParams) WithSessionID(sessionID string) *PublicGameSessionInviteParams
- func (o *PublicGameSessionInviteParams) WithTimeout(timeout time.Duration) *PublicGameSessionInviteParams
- func (o *PublicGameSessionInviteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGameSessionInviteReader
- type PublicGameSessionInviteUnauthorized
- type PublicGameSessionRejectBadRequest
- type PublicGameSessionRejectForbidden
- type PublicGameSessionRejectInternalServerError
- type PublicGameSessionRejectNoContent
- type PublicGameSessionRejectNotFound
- type PublicGameSessionRejectParams
- func NewPublicGameSessionRejectParams() *PublicGameSessionRejectParams
- func NewPublicGameSessionRejectParamsWithContext(ctx context.Context) *PublicGameSessionRejectParams
- func NewPublicGameSessionRejectParamsWithHTTPClient(client *http.Client) *PublicGameSessionRejectParams
- func NewPublicGameSessionRejectParamsWithTimeout(timeout time.Duration) *PublicGameSessionRejectParams
- func (o *PublicGameSessionRejectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGameSessionRejectParams) SetContext(ctx context.Context)
- func (o *PublicGameSessionRejectParams) SetHTTPClient(client *http.Client)
- func (o *PublicGameSessionRejectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGameSessionRejectParams) SetNamespace(namespace string)
- func (o *PublicGameSessionRejectParams) SetSessionID(sessionID string)
- func (o *PublicGameSessionRejectParams) SetTimeout(timeout time.Duration)
- func (o *PublicGameSessionRejectParams) WithContext(ctx context.Context) *PublicGameSessionRejectParams
- func (o *PublicGameSessionRejectParams) WithHTTPClient(client *http.Client) *PublicGameSessionRejectParams
- func (o *PublicGameSessionRejectParams) WithNamespace(namespace string) *PublicGameSessionRejectParams
- func (o *PublicGameSessionRejectParams) WithSessionID(sessionID string) *PublicGameSessionRejectParams
- func (o *PublicGameSessionRejectParams) WithTimeout(timeout time.Duration) *PublicGameSessionRejectParams
- func (o *PublicGameSessionRejectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGameSessionRejectReader
- type PublicGameSessionRejectUnauthorized
- type PublicQueryGameSessionsBadRequest
- type PublicQueryGameSessionsForbidden
- type PublicQueryGameSessionsInternalServerError
- type PublicQueryGameSessionsOK
- type PublicQueryGameSessionsParams
- func NewPublicQueryGameSessionsParams() *PublicQueryGameSessionsParams
- func NewPublicQueryGameSessionsParamsWithContext(ctx context.Context) *PublicQueryGameSessionsParams
- func NewPublicQueryGameSessionsParamsWithHTTPClient(client *http.Client) *PublicQueryGameSessionsParams
- func NewPublicQueryGameSessionsParamsWithTimeout(timeout time.Duration) *PublicQueryGameSessionsParams
- func (o *PublicQueryGameSessionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicQueryGameSessionsParams) SetBody(body interface{})
- func (o *PublicQueryGameSessionsParams) SetContext(ctx context.Context)
- func (o *PublicQueryGameSessionsParams) SetHTTPClient(client *http.Client)
- func (o *PublicQueryGameSessionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicQueryGameSessionsParams) SetNamespace(namespace string)
- func (o *PublicQueryGameSessionsParams) SetTimeout(timeout time.Duration)
- func (o *PublicQueryGameSessionsParams) WithBody(body interface{}) *PublicQueryGameSessionsParams
- func (o *PublicQueryGameSessionsParams) WithContext(ctx context.Context) *PublicQueryGameSessionsParams
- func (o *PublicQueryGameSessionsParams) WithHTTPClient(client *http.Client) *PublicQueryGameSessionsParams
- func (o *PublicQueryGameSessionsParams) WithNamespace(namespace string) *PublicQueryGameSessionsParams
- func (o *PublicQueryGameSessionsParams) WithTimeout(timeout time.Duration) *PublicQueryGameSessionsParams
- func (o *PublicQueryGameSessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicQueryGameSessionsReader
- type PublicQueryGameSessionsUnauthorized
- type PublicQueryMyGameSessionsBadRequest
- type PublicQueryMyGameSessionsInternalServerError
- type PublicQueryMyGameSessionsOK
- type PublicQueryMyGameSessionsParams
- func NewPublicQueryMyGameSessionsParams() *PublicQueryMyGameSessionsParams
- func NewPublicQueryMyGameSessionsParamsWithContext(ctx context.Context) *PublicQueryMyGameSessionsParams
- func NewPublicQueryMyGameSessionsParamsWithHTTPClient(client *http.Client) *PublicQueryMyGameSessionsParams
- func NewPublicQueryMyGameSessionsParamsWithTimeout(timeout time.Duration) *PublicQueryMyGameSessionsParams
- func (o *PublicQueryMyGameSessionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicQueryMyGameSessionsParams) SetContext(ctx context.Context)
- func (o *PublicQueryMyGameSessionsParams) SetHTTPClient(client *http.Client)
- func (o *PublicQueryMyGameSessionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicQueryMyGameSessionsParams) SetNamespace(namespace string)
- func (o *PublicQueryMyGameSessionsParams) SetOrder(order *string)
- func (o *PublicQueryMyGameSessionsParams) SetOrderBy(orderBy *string)
- func (o *PublicQueryMyGameSessionsParams) SetStatus(status *string)
- func (o *PublicQueryMyGameSessionsParams) SetTimeout(timeout time.Duration)
- func (o *PublicQueryMyGameSessionsParams) WithContext(ctx context.Context) *PublicQueryMyGameSessionsParams
- func (o *PublicQueryMyGameSessionsParams) WithHTTPClient(client *http.Client) *PublicQueryMyGameSessionsParams
- func (o *PublicQueryMyGameSessionsParams) WithNamespace(namespace string) *PublicQueryMyGameSessionsParams
- func (o *PublicQueryMyGameSessionsParams) WithOrder(order *string) *PublicQueryMyGameSessionsParams
- func (o *PublicQueryMyGameSessionsParams) WithOrderBy(orderBy *string) *PublicQueryMyGameSessionsParams
- func (o *PublicQueryMyGameSessionsParams) WithStatus(status *string) *PublicQueryMyGameSessionsParams
- func (o *PublicQueryMyGameSessionsParams) WithTimeout(timeout time.Duration) *PublicQueryMyGameSessionsParams
- func (o *PublicQueryMyGameSessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicQueryMyGameSessionsReader
- type PublicQueryMyGameSessionsUnauthorized
- type UpdateGameSessionBadRequest
- type UpdateGameSessionForbidden
- type UpdateGameSessionInternalServerError
- type UpdateGameSessionNotFound
- type UpdateGameSessionOK
- type UpdateGameSessionParams
- func NewUpdateGameSessionParams() *UpdateGameSessionParams
- func NewUpdateGameSessionParamsWithContext(ctx context.Context) *UpdateGameSessionParams
- func NewUpdateGameSessionParamsWithHTTPClient(client *http.Client) *UpdateGameSessionParams
- func NewUpdateGameSessionParamsWithTimeout(timeout time.Duration) *UpdateGameSessionParams
- func (o *UpdateGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateGameSessionParams) SetBody(body *sessionclientmodels.ApimodelsUpdateGameSessionRequest)
- func (o *UpdateGameSessionParams) SetContext(ctx context.Context)
- func (o *UpdateGameSessionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateGameSessionParams) SetNamespace(namespace string)
- func (o *UpdateGameSessionParams) SetSessionID(sessionID string)
- func (o *UpdateGameSessionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGameSessionParams) WithBody(body *sessionclientmodels.ApimodelsUpdateGameSessionRequest) *UpdateGameSessionParams
- func (o *UpdateGameSessionParams) WithContext(ctx context.Context) *UpdateGameSessionParams
- func (o *UpdateGameSessionParams) WithHTTPClient(client *http.Client) *UpdateGameSessionParams
- func (o *UpdateGameSessionParams) WithNamespace(namespace string) *UpdateGameSessionParams
- func (o *UpdateGameSessionParams) WithSessionID(sessionID string) *UpdateGameSessionParams
- func (o *UpdateGameSessionParams) WithTimeout(timeout time.Duration) *UpdateGameSessionParams
- func (o *UpdateGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGameSessionReader
- type UpdateGameSessionUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminQueryGameSessionsBadRequest ¶
type AdminQueryGameSessionsBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
AdminQueryGameSessionsBadRequest handles this case with default header values.
Bad Request
func NewAdminQueryGameSessionsBadRequest ¶
func NewAdminQueryGameSessionsBadRequest() *AdminQueryGameSessionsBadRequest
NewAdminQueryGameSessionsBadRequest creates a AdminQueryGameSessionsBadRequest with default headers values
func (*AdminQueryGameSessionsBadRequest) Error ¶
func (o *AdminQueryGameSessionsBadRequest) Error() string
func (*AdminQueryGameSessionsBadRequest) GetPayload ¶
func (o *AdminQueryGameSessionsBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*AdminQueryGameSessionsBadRequest) ToJSONString ¶
func (o *AdminQueryGameSessionsBadRequest) ToJSONString() string
type AdminQueryGameSessionsForbidden ¶
type AdminQueryGameSessionsForbidden struct {
Payload *sessionclientmodels.ResponseError
}
AdminQueryGameSessionsForbidden handles this case with default header values.
Forbidden
func NewAdminQueryGameSessionsForbidden ¶
func NewAdminQueryGameSessionsForbidden() *AdminQueryGameSessionsForbidden
NewAdminQueryGameSessionsForbidden creates a AdminQueryGameSessionsForbidden with default headers values
func (*AdminQueryGameSessionsForbidden) Error ¶
func (o *AdminQueryGameSessionsForbidden) Error() string
func (*AdminQueryGameSessionsForbidden) GetPayload ¶
func (o *AdminQueryGameSessionsForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*AdminQueryGameSessionsForbidden) ToJSONString ¶
func (o *AdminQueryGameSessionsForbidden) ToJSONString() string
type AdminQueryGameSessionsInternalServerError ¶
type AdminQueryGameSessionsInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
AdminQueryGameSessionsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminQueryGameSessionsInternalServerError ¶
func NewAdminQueryGameSessionsInternalServerError() *AdminQueryGameSessionsInternalServerError
NewAdminQueryGameSessionsInternalServerError creates a AdminQueryGameSessionsInternalServerError with default headers values
func (*AdminQueryGameSessionsInternalServerError) Error ¶
func (o *AdminQueryGameSessionsInternalServerError) Error() string
func (*AdminQueryGameSessionsInternalServerError) GetPayload ¶
func (o *AdminQueryGameSessionsInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*AdminQueryGameSessionsInternalServerError) ToJSONString ¶
func (o *AdminQueryGameSessionsInternalServerError) ToJSONString() string
type AdminQueryGameSessionsOK ¶
type AdminQueryGameSessionsOK struct {
Payload *sessionclientmodels.ApimodelsGameSessionQueryResponse
}
AdminQueryGameSessionsOK handles this case with default header values.
OK
func NewAdminQueryGameSessionsOK ¶
func NewAdminQueryGameSessionsOK() *AdminQueryGameSessionsOK
NewAdminQueryGameSessionsOK creates a AdminQueryGameSessionsOK with default headers values
func (*AdminQueryGameSessionsOK) Error ¶
func (o *AdminQueryGameSessionsOK) Error() string
func (*AdminQueryGameSessionsOK) GetPayload ¶
func (o *AdminQueryGameSessionsOK) GetPayload() *sessionclientmodels.ApimodelsGameSessionQueryResponse
func (*AdminQueryGameSessionsOK) ToJSONString ¶
func (o *AdminQueryGameSessionsOK) ToJSONString() string
type AdminQueryGameSessionsParams ¶
type AdminQueryGameSessionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ConfigurationName configuration template name */ ConfigurationName *string /*DsPodName pod name of a dedicated server */ DsPodName *string /*FromTime beginning of game session creation time range in RFC 3339 format e.g. 2022-10-21T07:20:50Z */ FromTime *string /*GameMode game mode */ GameMode *string /*IsSoftDeleted game session is soft deleted. supported: TRUE, FALSE */ IsSoftDeleted *string /*Joinability game session joinability to filter. joinability types: OPEN,CLOSED,INVITE_ONLY */ Joinability *string /*Limit Pagination limit */ Limit *int64 /*MatchPool matchmaking pool */ MatchPool *string /*MemberID member user ID */ MemberID *string /*Namespace namespace of the game */ Namespace string /*Offset Pagination offset */ Offset *int64 /*Order Order of the result. Supported: desc (default), asc */ Order *string /*OrderBy Order result by specific attribute. Supported: createdAt (default), updatedAt */ OrderBy *string /*SessionID game session ID */ SessionID *string /*Status game session status to filter. supported status: NEED_TO_REQUEST,REQUESTED,AVAILABLE,FAILED_TO_REQUEST */ Status *string /*StatusV2 game session status to filter. supported status: NEED_TO_REQUEST,REQUESTED,AVAILABLE,FAILED_TO_REQUEST,UNKNOWN,ENDED */ StatusV2 *string /*ToTime end of game session creation time range in RFC 3339 format e.g. 2022-10-21T07:20:50Z */ ToTime *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminQueryGameSessionsParams contains all the parameters to send to the API endpoint for the admin query game sessions operation typically these are written to a http.Request
func NewAdminQueryGameSessionsParams ¶
func NewAdminQueryGameSessionsParams() *AdminQueryGameSessionsParams
NewAdminQueryGameSessionsParams creates a new AdminQueryGameSessionsParams object with the default values initialized.
func NewAdminQueryGameSessionsParamsWithContext ¶
func NewAdminQueryGameSessionsParamsWithContext(ctx context.Context) *AdminQueryGameSessionsParams
NewAdminQueryGameSessionsParamsWithContext creates a new AdminQueryGameSessionsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminQueryGameSessionsParamsWithHTTPClient ¶
func NewAdminQueryGameSessionsParamsWithHTTPClient(client *http.Client) *AdminQueryGameSessionsParams
NewAdminQueryGameSessionsParamsWithHTTPClient creates a new AdminQueryGameSessionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminQueryGameSessionsParamsWithTimeout ¶
func NewAdminQueryGameSessionsParamsWithTimeout(timeout time.Duration) *AdminQueryGameSessionsParams
NewAdminQueryGameSessionsParamsWithTimeout creates a new AdminQueryGameSessionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminQueryGameSessionsParams) SetAuthInfoWriter ¶
func (o *AdminQueryGameSessionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetConfigurationName ¶
func (o *AdminQueryGameSessionsParams) SetConfigurationName(configurationName *string)
SetConfigurationName adds the configurationName to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetContext ¶
func (o *AdminQueryGameSessionsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetDsPodName ¶
func (o *AdminQueryGameSessionsParams) SetDsPodName(dsPodName *string)
SetDsPodName adds the dsPodName to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetFromTime ¶
func (o *AdminQueryGameSessionsParams) SetFromTime(fromTime *string)
SetFromTime adds the fromTime to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetGameMode ¶
func (o *AdminQueryGameSessionsParams) SetGameMode(gameMode *string)
SetGameMode adds the gameMode to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetHTTPClient ¶
func (o *AdminQueryGameSessionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetHTTPClientTransport ¶
func (o *AdminQueryGameSessionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetIsSoftDeleted ¶ added in v0.37.0
func (o *AdminQueryGameSessionsParams) SetIsSoftDeleted(isSoftDeleted *string)
SetIsSoftDeleted adds the isSoftDeleted to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetJoinability ¶
func (o *AdminQueryGameSessionsParams) SetJoinability(joinability *string)
SetJoinability adds the joinability to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetLimit ¶
func (o *AdminQueryGameSessionsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetMatchPool ¶
func (o *AdminQueryGameSessionsParams) SetMatchPool(matchPool *string)
SetMatchPool adds the matchPool to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetMemberID ¶
func (o *AdminQueryGameSessionsParams) SetMemberID(memberID *string)
SetMemberID adds the memberId to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetNamespace ¶
func (o *AdminQueryGameSessionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetOffset ¶
func (o *AdminQueryGameSessionsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetOrder ¶
func (o *AdminQueryGameSessionsParams) SetOrder(order *string)
SetOrder adds the order to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetOrderBy ¶
func (o *AdminQueryGameSessionsParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetSessionID ¶
func (o *AdminQueryGameSessionsParams) SetSessionID(sessionID *string)
SetSessionID adds the sessionId to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetStatus ¶
func (o *AdminQueryGameSessionsParams) SetStatus(status *string)
SetStatus adds the status to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetStatusV2 ¶ added in v0.36.0
func (o *AdminQueryGameSessionsParams) SetStatusV2(statusV2 *string)
SetStatusV2 adds the statusV2 to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetTimeout ¶
func (o *AdminQueryGameSessionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin query game sessions params
func (*AdminQueryGameSessionsParams) SetToTime ¶
func (o *AdminQueryGameSessionsParams) SetToTime(toTime *string)
SetToTime adds the toTime to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithConfigurationName ¶
func (o *AdminQueryGameSessionsParams) WithConfigurationName(configurationName *string) *AdminQueryGameSessionsParams
WithConfigurationName adds the configurationName to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithContext ¶
func (o *AdminQueryGameSessionsParams) WithContext(ctx context.Context) *AdminQueryGameSessionsParams
WithContext adds the context to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithDsPodName ¶
func (o *AdminQueryGameSessionsParams) WithDsPodName(dsPodName *string) *AdminQueryGameSessionsParams
WithDsPodName adds the dsPodName to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithFromTime ¶
func (o *AdminQueryGameSessionsParams) WithFromTime(fromTime *string) *AdminQueryGameSessionsParams
WithFromTime adds the fromTime to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithGameMode ¶
func (o *AdminQueryGameSessionsParams) WithGameMode(gameMode *string) *AdminQueryGameSessionsParams
WithGameMode adds the gameMode to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithHTTPClient ¶
func (o *AdminQueryGameSessionsParams) WithHTTPClient(client *http.Client) *AdminQueryGameSessionsParams
WithHTTPClient adds the HTTPClient to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithIsSoftDeleted ¶ added in v0.37.0
func (o *AdminQueryGameSessionsParams) WithIsSoftDeleted(isSoftDeleted *string) *AdminQueryGameSessionsParams
WithIsSoftDeleted adds the isSoftDeleted to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithJoinability ¶
func (o *AdminQueryGameSessionsParams) WithJoinability(joinability *string) *AdminQueryGameSessionsParams
WithJoinability adds the joinability to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithLimit ¶
func (o *AdminQueryGameSessionsParams) WithLimit(limit *int64) *AdminQueryGameSessionsParams
WithLimit adds the limit to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithMatchPool ¶
func (o *AdminQueryGameSessionsParams) WithMatchPool(matchPool *string) *AdminQueryGameSessionsParams
WithMatchPool adds the matchPool to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithMemberID ¶
func (o *AdminQueryGameSessionsParams) WithMemberID(memberID *string) *AdminQueryGameSessionsParams
WithMemberID adds the memberID to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithNamespace ¶
func (o *AdminQueryGameSessionsParams) WithNamespace(namespace string) *AdminQueryGameSessionsParams
WithNamespace adds the namespace to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithOffset ¶
func (o *AdminQueryGameSessionsParams) WithOffset(offset *int64) *AdminQueryGameSessionsParams
WithOffset adds the offset to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithOrder ¶
func (o *AdminQueryGameSessionsParams) WithOrder(order *string) *AdminQueryGameSessionsParams
WithOrder adds the order to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithOrderBy ¶
func (o *AdminQueryGameSessionsParams) WithOrderBy(orderBy *string) *AdminQueryGameSessionsParams
WithOrderBy adds the orderBy to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithSessionID ¶
func (o *AdminQueryGameSessionsParams) WithSessionID(sessionID *string) *AdminQueryGameSessionsParams
WithSessionID adds the sessionID to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithStatus ¶
func (o *AdminQueryGameSessionsParams) WithStatus(status *string) *AdminQueryGameSessionsParams
WithStatus adds the status to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithStatusV2 ¶ added in v0.36.0
func (o *AdminQueryGameSessionsParams) WithStatusV2(statusV2 *string) *AdminQueryGameSessionsParams
WithStatusV2 adds the statusV2 to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithTimeout ¶
func (o *AdminQueryGameSessionsParams) WithTimeout(timeout time.Duration) *AdminQueryGameSessionsParams
WithTimeout adds the timeout to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WithToTime ¶
func (o *AdminQueryGameSessionsParams) WithToTime(toTime *string) *AdminQueryGameSessionsParams
WithToTime adds the toTime to the admin query game sessions params
func (*AdminQueryGameSessionsParams) WriteToRequest ¶
func (o *AdminQueryGameSessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminQueryGameSessionsReader ¶
type AdminQueryGameSessionsReader struct {
// contains filtered or unexported fields
}
AdminQueryGameSessionsReader is a Reader for the AdminQueryGameSessions structure.
func (*AdminQueryGameSessionsReader) ReadResponse ¶
func (o *AdminQueryGameSessionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminQueryGameSessionsUnauthorized ¶
type AdminQueryGameSessionsUnauthorized struct {
}AdminQueryGameSessionsUnauthorized handles this case with default header values.
Unauthorized
func NewAdminQueryGameSessionsUnauthorized ¶
func NewAdminQueryGameSessionsUnauthorized() *AdminQueryGameSessionsUnauthorized
NewAdminQueryGameSessionsUnauthorized creates a AdminQueryGameSessionsUnauthorized with default headers values
func (*AdminQueryGameSessionsUnauthorized) Error ¶
func (o *AdminQueryGameSessionsUnauthorized) Error() string
func (*AdminQueryGameSessionsUnauthorized) GetPayload ¶
func (o *AdminQueryGameSessionsUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*AdminQueryGameSessionsUnauthorized) ToJSONString ¶
func (o *AdminQueryGameSessionsUnauthorized) ToJSONString() string
type AdminUpdateGameSessionMemberBadRequest ¶
type AdminUpdateGameSessionMemberBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
AdminUpdateGameSessionMemberBadRequest handles this case with default header values.
Bad Request
func NewAdminUpdateGameSessionMemberBadRequest ¶
func NewAdminUpdateGameSessionMemberBadRequest() *AdminUpdateGameSessionMemberBadRequest
NewAdminUpdateGameSessionMemberBadRequest creates a AdminUpdateGameSessionMemberBadRequest with default headers values
func (*AdminUpdateGameSessionMemberBadRequest) Error ¶
func (o *AdminUpdateGameSessionMemberBadRequest) Error() string
func (*AdminUpdateGameSessionMemberBadRequest) GetPayload ¶
func (o *AdminUpdateGameSessionMemberBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*AdminUpdateGameSessionMemberBadRequest) ToJSONString ¶
func (o *AdminUpdateGameSessionMemberBadRequest) ToJSONString() string
type AdminUpdateGameSessionMemberForbidden ¶
type AdminUpdateGameSessionMemberForbidden struct {
Payload *sessionclientmodels.ResponseError
}
AdminUpdateGameSessionMemberForbidden handles this case with default header values.
Forbidden
func NewAdminUpdateGameSessionMemberForbidden ¶
func NewAdminUpdateGameSessionMemberForbidden() *AdminUpdateGameSessionMemberForbidden
NewAdminUpdateGameSessionMemberForbidden creates a AdminUpdateGameSessionMemberForbidden with default headers values
func (*AdminUpdateGameSessionMemberForbidden) Error ¶
func (o *AdminUpdateGameSessionMemberForbidden) Error() string
func (*AdminUpdateGameSessionMemberForbidden) GetPayload ¶
func (o *AdminUpdateGameSessionMemberForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*AdminUpdateGameSessionMemberForbidden) ToJSONString ¶
func (o *AdminUpdateGameSessionMemberForbidden) ToJSONString() string
type AdminUpdateGameSessionMemberInternalServerError ¶
type AdminUpdateGameSessionMemberInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
AdminUpdateGameSessionMemberInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdateGameSessionMemberInternalServerError ¶
func NewAdminUpdateGameSessionMemberInternalServerError() *AdminUpdateGameSessionMemberInternalServerError
NewAdminUpdateGameSessionMemberInternalServerError creates a AdminUpdateGameSessionMemberInternalServerError with default headers values
func (*AdminUpdateGameSessionMemberInternalServerError) Error ¶
func (o *AdminUpdateGameSessionMemberInternalServerError) Error() string
func (*AdminUpdateGameSessionMemberInternalServerError) GetPayload ¶
func (o *AdminUpdateGameSessionMemberInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*AdminUpdateGameSessionMemberInternalServerError) ToJSONString ¶
func (o *AdminUpdateGameSessionMemberInternalServerError) ToJSONString() string
type AdminUpdateGameSessionMemberNotFound ¶
type AdminUpdateGameSessionMemberNotFound struct {
Payload *sessionclientmodels.ResponseError
}
AdminUpdateGameSessionMemberNotFound handles this case with default header values.
Not Found
func NewAdminUpdateGameSessionMemberNotFound ¶
func NewAdminUpdateGameSessionMemberNotFound() *AdminUpdateGameSessionMemberNotFound
NewAdminUpdateGameSessionMemberNotFound creates a AdminUpdateGameSessionMemberNotFound with default headers values
func (*AdminUpdateGameSessionMemberNotFound) Error ¶
func (o *AdminUpdateGameSessionMemberNotFound) Error() string
func (*AdminUpdateGameSessionMemberNotFound) GetPayload ¶
func (o *AdminUpdateGameSessionMemberNotFound) GetPayload() *sessionclientmodels.ResponseError
func (*AdminUpdateGameSessionMemberNotFound) ToJSONString ¶
func (o *AdminUpdateGameSessionMemberNotFound) ToJSONString() string
type AdminUpdateGameSessionMemberOK ¶
type AdminUpdateGameSessionMemberOK struct {
Payload *sessionclientmodels.ApimodelsUpdateGameSessionMemberStatusResponse
}
AdminUpdateGameSessionMemberOK handles this case with default header values.
OK
func NewAdminUpdateGameSessionMemberOK ¶
func NewAdminUpdateGameSessionMemberOK() *AdminUpdateGameSessionMemberOK
NewAdminUpdateGameSessionMemberOK creates a AdminUpdateGameSessionMemberOK with default headers values
func (*AdminUpdateGameSessionMemberOK) Error ¶
func (o *AdminUpdateGameSessionMemberOK) Error() string
func (*AdminUpdateGameSessionMemberOK) GetPayload ¶
func (o *AdminUpdateGameSessionMemberOK) GetPayload() *sessionclientmodels.ApimodelsUpdateGameSessionMemberStatusResponse
func (*AdminUpdateGameSessionMemberOK) ToJSONString ¶
func (o *AdminUpdateGameSessionMemberOK) ToJSONString() string
type AdminUpdateGameSessionMemberParams ¶
type AdminUpdateGameSessionMemberParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*MemberID member ID */ MemberID string /*Namespace namespace of the game */ Namespace string /*SessionID session ID */ SessionID string /*StatusType status type: INVITED, REJECTED, JOINED, LEFT. Lowercase status type param will be converted to uppercase. */ StatusType string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminUpdateGameSessionMemberParams contains all the parameters to send to the API endpoint for the admin update game session member operation typically these are written to a http.Request
func NewAdminUpdateGameSessionMemberParams ¶
func NewAdminUpdateGameSessionMemberParams() *AdminUpdateGameSessionMemberParams
NewAdminUpdateGameSessionMemberParams creates a new AdminUpdateGameSessionMemberParams object with the default values initialized.
func NewAdminUpdateGameSessionMemberParamsWithContext ¶
func NewAdminUpdateGameSessionMemberParamsWithContext(ctx context.Context) *AdminUpdateGameSessionMemberParams
NewAdminUpdateGameSessionMemberParamsWithContext creates a new AdminUpdateGameSessionMemberParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateGameSessionMemberParamsWithHTTPClient ¶
func NewAdminUpdateGameSessionMemberParamsWithHTTPClient(client *http.Client) *AdminUpdateGameSessionMemberParams
NewAdminUpdateGameSessionMemberParamsWithHTTPClient creates a new AdminUpdateGameSessionMemberParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateGameSessionMemberParamsWithTimeout ¶
func NewAdminUpdateGameSessionMemberParamsWithTimeout(timeout time.Duration) *AdminUpdateGameSessionMemberParams
NewAdminUpdateGameSessionMemberParamsWithTimeout creates a new AdminUpdateGameSessionMemberParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateGameSessionMemberParams) SetAuthInfoWriter ¶
func (o *AdminUpdateGameSessionMemberParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) SetContext ¶
func (o *AdminUpdateGameSessionMemberParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) SetHTTPClient ¶
func (o *AdminUpdateGameSessionMemberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) SetHTTPClientTransport ¶
func (o *AdminUpdateGameSessionMemberParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) SetMemberID ¶
func (o *AdminUpdateGameSessionMemberParams) SetMemberID(memberID string)
SetMemberID adds the memberId to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) SetNamespace ¶
func (o *AdminUpdateGameSessionMemberParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) SetSessionID ¶
func (o *AdminUpdateGameSessionMemberParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) SetStatusType ¶
func (o *AdminUpdateGameSessionMemberParams) SetStatusType(statusType string)
SetStatusType adds the statusType to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) SetTimeout ¶
func (o *AdminUpdateGameSessionMemberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) WithContext ¶
func (o *AdminUpdateGameSessionMemberParams) WithContext(ctx context.Context) *AdminUpdateGameSessionMemberParams
WithContext adds the context to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) WithHTTPClient ¶
func (o *AdminUpdateGameSessionMemberParams) WithHTTPClient(client *http.Client) *AdminUpdateGameSessionMemberParams
WithHTTPClient adds the HTTPClient to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) WithMemberID ¶
func (o *AdminUpdateGameSessionMemberParams) WithMemberID(memberID string) *AdminUpdateGameSessionMemberParams
WithMemberID adds the memberID to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) WithNamespace ¶
func (o *AdminUpdateGameSessionMemberParams) WithNamespace(namespace string) *AdminUpdateGameSessionMemberParams
WithNamespace adds the namespace to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) WithSessionID ¶
func (o *AdminUpdateGameSessionMemberParams) WithSessionID(sessionID string) *AdminUpdateGameSessionMemberParams
WithSessionID adds the sessionID to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) WithStatusType ¶
func (o *AdminUpdateGameSessionMemberParams) WithStatusType(statusType string) *AdminUpdateGameSessionMemberParams
WithStatusType adds the statusType to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) WithTimeout ¶
func (o *AdminUpdateGameSessionMemberParams) WithTimeout(timeout time.Duration) *AdminUpdateGameSessionMemberParams
WithTimeout adds the timeout to the admin update game session member params
func (*AdminUpdateGameSessionMemberParams) WriteToRequest ¶
func (o *AdminUpdateGameSessionMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateGameSessionMemberReader ¶
type AdminUpdateGameSessionMemberReader struct {
// contains filtered or unexported fields
}
AdminUpdateGameSessionMemberReader is a Reader for the AdminUpdateGameSessionMember structure.
func (*AdminUpdateGameSessionMemberReader) ReadResponse ¶
func (o *AdminUpdateGameSessionMemberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateGameSessionMemberUnauthorized ¶
type AdminUpdateGameSessionMemberUnauthorized struct {
}AdminUpdateGameSessionMemberUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUpdateGameSessionMemberUnauthorized ¶
func NewAdminUpdateGameSessionMemberUnauthorized() *AdminUpdateGameSessionMemberUnauthorized
NewAdminUpdateGameSessionMemberUnauthorized creates a AdminUpdateGameSessionMemberUnauthorized with default headers values
func (*AdminUpdateGameSessionMemberUnauthorized) Error ¶
func (o *AdminUpdateGameSessionMemberUnauthorized) Error() string
func (*AdminUpdateGameSessionMemberUnauthorized) GetPayload ¶
func (o *AdminUpdateGameSessionMemberUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*AdminUpdateGameSessionMemberUnauthorized) ToJSONString ¶
func (o *AdminUpdateGameSessionMemberUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for game session API
func (*Client) AdminQueryGameSessions
deprecated
func (a *Client) AdminQueryGameSessions(params *AdminQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryGameSessionsOK, *AdminQueryGameSessionsBadRequest, *AdminQueryGameSessionsUnauthorized, *AdminQueryGameSessionsForbidden, *AdminQueryGameSessionsInternalServerError, error)
Deprecated: Use AdminQueryGameSessionsShort instead.
AdminQueryGameSessions gets all game sessions Get all game sessions. Requires ADMIN:NAMESPACE:{namespace}:SESSION:GAME [READ]
func (*Client) AdminQueryGameSessionsShort ¶
func (a *Client) AdminQueryGameSessionsShort(params *AdminQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryGameSessionsOK, error)
AdminQueryGameSessionsShort gets all game sessions
Get all game sessions. Requires ADMIN:NAMESPACE:{namespace}:SESSION:GAME [READ]
func (*Client) AdminUpdateGameSessionMember
deprecated
func (a *Client) AdminUpdateGameSessionMember(params *AdminUpdateGameSessionMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGameSessionMemberOK, *AdminUpdateGameSessionMemberBadRequest, *AdminUpdateGameSessionMemberUnauthorized, *AdminUpdateGameSessionMemberForbidden, *AdminUpdateGameSessionMemberNotFound, *AdminUpdateGameSessionMemberInternalServerError, error)
Deprecated: Use AdminUpdateGameSessionMemberShort instead.
AdminUpdateGameSessionMember updates status of a game session member requires a d m i n n a m e s p a c e namespace s e s s i o n g a m e u p d a t e Update a game session member status.
func (*Client) AdminUpdateGameSessionMemberShort ¶
func (a *Client) AdminUpdateGameSessionMemberShort(params *AdminUpdateGameSessionMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGameSessionMemberOK, error)
AdminUpdateGameSessionMemberShort updates status of a game session member requires a d m i n n a m e s p a c e namespace s e s s i o n g a m e u p d a t e
Update a game session member status.
func (*Client) CreateGameSession
deprecated
func (a *Client) CreateGameSession(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, *CreateGameSessionBadRequest, *CreateGameSessionUnauthorized, *CreateGameSessionForbidden, *CreateGameSessionInternalServerError, error)
Deprecated: Use CreateGameSessionShort instead.
CreateGameSession creates a game session requires n a m e s p a c e namespace s e s s i o n g a m e c r e a t e Create a game session. Session configuration name is mandatory, this API will refer following values from the session template if they're not provided in the request: - type - joinability - minPlayers - maxPlayers - inviteTimeout - inactiveTimeout When the session type is a DS, a DS creation request will be sent to DSMC if number of active players reaches session's minPlayers.
Active user is a user who present within the session, has status CONNECTED/JOINED.
Session service has several DSInformation status to track DS request to DSMC: - NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested. - REQUESTED: DS is being requested to DSMC. - AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY. - FAILED_TO_REQUEST: DSMC fails to create the DS.
func (*Client) CreateGameSessionShort ¶
func (a *Client) CreateGameSessionShort(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, error)
CreateGameSessionShort creates a game session requires n a m e s p a c e namespace s e s s i o n g a m e c r e a t e Create a game session. Session configuration name is mandatory, this API will refer following values from the session template if they're not provided in the request: - type - joinability - minPlayers - maxPlayers - inviteTimeout - inactiveTimeout When the session type is a DS, a DS creation request will be sent to DSMC if number of active players reaches session's minPlayers.
Active user is a user who present within the session, has status CONNECTED/JOINED.
Session service has several DSInformation status to track DS request to DSMC: - NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested. - REQUESTED: DS is being requested to DSMC. - AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY. - FAILED_TO_REQUEST: DSMC fails to create the DS.
func (*Client) DeleteGameSession
deprecated
func (a *Client) DeleteGameSession(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, *DeleteGameSessionUnauthorized, *DeleteGameSessionForbidden, *DeleteGameSessionInternalServerError, error)
Deprecated: Use DeleteGameSessionShort instead.
DeleteGameSession deletes a game session requires n a m e s p a c e namespace s e s s i o n g a m e d e l e t e Delete a game session.
func (*Client) DeleteGameSessionShort ¶
func (a *Client) DeleteGameSessionShort(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, error)
DeleteGameSessionShort deletes a game session requires n a m e s p a c e namespace s e s s i o n g a m e d e l e t e
Delete a game session.
func (*Client) GetGameSession
deprecated
func (a *Client) GetGameSession(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, *GetGameSessionBadRequest, *GetGameSessionUnauthorized, *GetGameSessionForbidden, *GetGameSessionNotFound, *GetGameSessionInternalServerError, error)
Deprecated: Use GetGameSessionShort instead.
GetGameSession gets game session detail requires n a m e s p a c e namespace s e s s i o n g a m e r e a d Get game session detail.
Session service has several DSInformation status to track DS request to DSMC:
- NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested.
- REQUESTED: DS is being requested to DSMC.
- AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY.
- FAILED_TO_REQUEST: DSMC fails to create the DS.
func (*Client) GetGameSessionByPodName
deprecated
func (a *Client) GetGameSessionByPodName(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, *GetGameSessionByPodNameBadRequest, *GetGameSessionByPodNameUnauthorized, *GetGameSessionByPodNameForbidden, *GetGameSessionByPodNameNotFound, *GetGameSessionByPodNameInternalServerError, error)
Deprecated: Use GetGameSessionByPodNameShort instead.
GetGameSessionByPodName gets game session detail requires n a m e s p a c e namespace s e s s i o n g a m e r e a d Get game session detail by podname.
Session service has several DSInformation status to track DS request to DSMC:
- NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested.
- REQUESTED: DS is being requested to DSMC.
- AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY.
- FAILED_TO_REQUEST: DSMC fails to create the DS.
func (*Client) GetGameSessionByPodNameShort ¶
func (a *Client) GetGameSessionByPodNameShort(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, error)
GetGameSessionByPodNameShort gets game session detail requires n a m e s p a c e namespace s e s s i o n g a m e r e a d Get game session detail by podname.
Session service has several DSInformation status to track DS request to DSMC:
- NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested.
- REQUESTED: DS is being requested to DSMC.
- AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY.
- FAILED_TO_REQUEST: DSMC fails to create the DS.
func (*Client) GetGameSessionShort ¶
func (a *Client) GetGameSessionShort(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, error)
GetGameSessionShort gets game session detail requires n a m e s p a c e namespace s e s s i o n g a m e r e a d Get game session detail.
Session service has several DSInformation status to track DS request to DSMC:
- NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested.
- REQUESTED: DS is being requested to DSMC.
- AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY.
- FAILED_TO_REQUEST: DSMC fails to create the DS.
func (*Client) JoinGameSession
deprecated
func (a *Client) JoinGameSession(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, *JoinGameSessionBadRequest, *JoinGameSessionUnauthorized, *JoinGameSessionForbidden, *JoinGameSessionNotFound, *JoinGameSessionInternalServerError, error)
Deprecated: Use JoinGameSessionShort instead.
JoinGameSession joins a game session requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r c r e a t e Join a game session.
func (*Client) JoinGameSessionShort ¶
func (a *Client) JoinGameSessionShort(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, error)
JoinGameSessionShort joins a game session requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r c r e a t e
Join a game session.
func (*Client) LeaveGameSession
deprecated
func (a *Client) LeaveGameSession(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, *LeaveGameSessionBadRequest, *LeaveGameSessionUnauthorized, *LeaveGameSessionForbidden, *LeaveGameSessionNotFound, *LeaveGameSessionInternalServerError, error)
Deprecated: Use LeaveGameSessionShort instead.
LeaveGameSession leaves a game session requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r d e l e t e Leave a game session.
func (*Client) LeaveGameSessionShort ¶
func (a *Client) LeaveGameSessionShort(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, error)
LeaveGameSessionShort leaves a game session requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r d e l e t e
Leave a game session.
func (*Client) PatchUpdateGameSession
deprecated
func (a *Client) PatchUpdateGameSession(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, *PatchUpdateGameSessionBadRequest, *PatchUpdateGameSessionUnauthorized, *PatchUpdateGameSessionForbidden, *PatchUpdateGameSessionNotFound, *PatchUpdateGameSessionInternalServerError, error)
Deprecated: Use PatchUpdateGameSessionShort instead.
PatchUpdateGameSession patches update a game session requires n a m e s p a c e namespace s e s s i o n g a m e u p d a t e Update specified fields from game session data.
func (*Client) PatchUpdateGameSessionShort ¶
func (a *Client) PatchUpdateGameSessionShort(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, error)
PatchUpdateGameSessionShort patches update a game session requires n a m e s p a c e namespace s e s s i o n g a m e u p d a t e
Update specified fields from game session data.
func (*Client) PublicGameSessionInvite
deprecated
func (a *Client) PublicGameSessionInvite(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, *PublicGameSessionInviteNoContent, *PublicGameSessionInviteBadRequest, *PublicGameSessionInviteUnauthorized, *PublicGameSessionInviteNotFound, *PublicGameSessionInviteInternalServerError, error)
Deprecated: Use PublicGameSessionInviteShort instead.
PublicGameSessionInvite invites a user to a game session requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r c r e a t e Invite a user to a game session.
func (*Client) PublicGameSessionInviteShort ¶
func (a *Client) PublicGameSessionInviteShort(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, error)
PublicGameSessionInviteShort invites a user to a game session requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r c r e a t e
Invite a user to a game session.
func (*Client) PublicGameSessionReject
deprecated
func (a *Client) PublicGameSessionReject(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, *PublicGameSessionRejectBadRequest, *PublicGameSessionRejectUnauthorized, *PublicGameSessionRejectForbidden, *PublicGameSessionRejectNotFound, *PublicGameSessionRejectInternalServerError, error)
Deprecated: Use PublicGameSessionRejectShort instead.
PublicGameSessionReject rejects a game session invitation requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r d e l e t e Reject a game session invitation.
func (*Client) PublicGameSessionRejectShort ¶
func (a *Client) PublicGameSessionRejectShort(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, error)
PublicGameSessionRejectShort rejects a game session invitation requires n a m e s p a c e namespace s e s s i o n g a m e p l a y e r d e l e t e
Reject a game session invitation.
func (*Client) PublicQueryGameSessions
deprecated
func (a *Client) PublicQueryGameSessions(params *PublicQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsOK, *PublicQueryGameSessionsBadRequest, *PublicQueryGameSessionsUnauthorized, *PublicQueryGameSessionsForbidden, *PublicQueryGameSessionsInternalServerError, error)
Deprecated: Use PublicQueryGameSessionsShort instead.
PublicQueryGameSessions queries game sessions Query game sessions.
By default, API will return a list of available game sessions (joinability: open). Session service has several DSInformation status to track DS request to DSMC:
- NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested.
- REQUESTED: DS is being requested to DSMC.
- AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY.
- FAILED_TO_REQUEST: DSMC fails to create the DS.
func (*Client) PublicQueryGameSessionsShort ¶
func (a *Client) PublicQueryGameSessionsShort(params *PublicQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsOK, error)
PublicQueryGameSessionsShort queries game sessions Query game sessions.
By default, API will return a list of available game sessions (joinability: open). Session service has several DSInformation status to track DS request to DSMC:
- NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested.
- REQUESTED: DS is being requested to DSMC.
- AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY.
- FAILED_TO_REQUEST: DSMC fails to create the DS.
func (*Client) PublicQueryMyGameSessions
deprecated
func (a *Client) PublicQueryMyGameSessions(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, *PublicQueryMyGameSessionsBadRequest, *PublicQueryMyGameSessionsUnauthorized, *PublicQueryMyGameSessionsInternalServerError, error)
Deprecated: Use PublicQueryMyGameSessionsShort instead.
PublicQueryMyGameSessions queries user s game sessions Query user's game sessions.
By default, API will return a list of user's active game sessions (INVITED,JOINED,CONNECTED).
Session service has several DSInformation status to track DS request to DSMC:
- NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested.
- REQUESTED: DS is being requested to DSMC.
- AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY.
- FAILED_TO_REQUEST: DSMC fails to create the DS.
func (*Client) PublicQueryMyGameSessionsShort ¶
func (a *Client) PublicQueryMyGameSessionsShort(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, error)
PublicQueryMyGameSessionsShort queries user s game sessions Query user's game sessions.
By default, API will return a list of user's active game sessions (INVITED,JOINED,CONNECTED).
Session service has several DSInformation status to track DS request to DSMC:
- NEED_TO_REQUEST: number of active players hasn't reached session's minPlayers therefore DS has not yet requested.
- REQUESTED: DS is being requested to DSMC.
- AVAILABLE: DS is ready to use. The DSMC status for this DS is either READY/BUSY.
- FAILED_TO_REQUEST: DSMC fails to create the DS.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateGameSession
deprecated
func (a *Client) UpdateGameSession(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, *UpdateGameSessionBadRequest, *UpdateGameSessionUnauthorized, *UpdateGameSessionForbidden, *UpdateGameSessionNotFound, *UpdateGameSessionInternalServerError, error)
Deprecated: Use UpdateGameSessionShort instead.
UpdateGameSession updates a game session requires n a m e s p a c e namespace s e s s i o n g a m e u p d a t e Updates a game session, this endpoint will override stored gamesession data. To update only specified fields, please use following endpoint: method : PATCH API : /session/v1/public/namespaces/{namespace}/gamesessions/{sessionId}
func (*Client) UpdateGameSessionShort ¶
func (a *Client) UpdateGameSessionShort(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, error)
UpdateGameSessionShort updates a game session requires n a m e s p a c e namespace s e s s i o n g a m e u p d a t e
Updates a game session, this endpoint will override stored gamesession data.
To update only specified fields, please use following endpoint:
method : PATCH API : /session/v1/public/namespaces/{namespace}/gamesessions/{sessionId}
type ClientService ¶
type ClientService interface { AdminQueryGameSessions(params *AdminQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryGameSessionsOK, *AdminQueryGameSessionsBadRequest, *AdminQueryGameSessionsUnauthorized, *AdminQueryGameSessionsForbidden, *AdminQueryGameSessionsInternalServerError, error) AdminQueryGameSessionsShort(params *AdminQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminQueryGameSessionsOK, error) AdminUpdateGameSessionMember(params *AdminUpdateGameSessionMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGameSessionMemberOK, *AdminUpdateGameSessionMemberBadRequest, *AdminUpdateGameSessionMemberUnauthorized, *AdminUpdateGameSessionMemberForbidden, *AdminUpdateGameSessionMemberNotFound, *AdminUpdateGameSessionMemberInternalServerError, error) AdminUpdateGameSessionMemberShort(params *AdminUpdateGameSessionMemberParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGameSessionMemberOK, error) CreateGameSession(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, *CreateGameSessionBadRequest, *CreateGameSessionUnauthorized, *CreateGameSessionForbidden, *CreateGameSessionInternalServerError, error) CreateGameSessionShort(params *CreateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateGameSessionCreated, error) DeleteGameSession(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, *DeleteGameSessionUnauthorized, *DeleteGameSessionForbidden, *DeleteGameSessionInternalServerError, error) DeleteGameSessionShort(params *DeleteGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteGameSessionNoContent, error) GetGameSession(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, *GetGameSessionBadRequest, *GetGameSessionUnauthorized, *GetGameSessionForbidden, *GetGameSessionNotFound, *GetGameSessionInternalServerError, error) GetGameSessionShort(params *GetGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionOK, error) GetGameSessionByPodName(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, *GetGameSessionByPodNameBadRequest, *GetGameSessionByPodNameUnauthorized, *GetGameSessionByPodNameForbidden, *GetGameSessionByPodNameNotFound, *GetGameSessionByPodNameInternalServerError, error) GetGameSessionByPodNameShort(params *GetGameSessionByPodNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameSessionByPodNameOK, error) JoinGameSession(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, *JoinGameSessionBadRequest, *JoinGameSessionUnauthorized, *JoinGameSessionForbidden, *JoinGameSessionNotFound, *JoinGameSessionInternalServerError, error) JoinGameSessionShort(params *JoinGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*JoinGameSessionOK, error) LeaveGameSession(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, *LeaveGameSessionBadRequest, *LeaveGameSessionUnauthorized, *LeaveGameSessionForbidden, *LeaveGameSessionNotFound, *LeaveGameSessionInternalServerError, error) LeaveGameSessionShort(params *LeaveGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*LeaveGameSessionNoContent, error) PatchUpdateGameSession(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, *PatchUpdateGameSessionBadRequest, *PatchUpdateGameSessionUnauthorized, *PatchUpdateGameSessionForbidden, *PatchUpdateGameSessionNotFound, *PatchUpdateGameSessionInternalServerError, error) PatchUpdateGameSessionShort(params *PatchUpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*PatchUpdateGameSessionOK, error) PublicGameSessionInvite(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, *PublicGameSessionInviteNoContent, *PublicGameSessionInviteBadRequest, *PublicGameSessionInviteUnauthorized, *PublicGameSessionInviteNotFound, *PublicGameSessionInviteInternalServerError, error) PublicGameSessionInviteShort(params *PublicGameSessionInviteParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionInviteCreated, error) PublicGameSessionReject(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, *PublicGameSessionRejectBadRequest, *PublicGameSessionRejectUnauthorized, *PublicGameSessionRejectForbidden, *PublicGameSessionRejectNotFound, *PublicGameSessionRejectInternalServerError, error) PublicGameSessionRejectShort(params *PublicGameSessionRejectParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGameSessionRejectNoContent, error) PublicQueryGameSessions(params *PublicQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsOK, *PublicQueryGameSessionsBadRequest, *PublicQueryGameSessionsUnauthorized, *PublicQueryGameSessionsForbidden, *PublicQueryGameSessionsInternalServerError, error) PublicQueryGameSessionsShort(params *PublicQueryGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryGameSessionsOK, error) PublicQueryMyGameSessions(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, *PublicQueryMyGameSessionsBadRequest, *PublicQueryMyGameSessionsUnauthorized, *PublicQueryMyGameSessionsInternalServerError, error) PublicQueryMyGameSessionsShort(params *PublicQueryMyGameSessionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryMyGameSessionsOK, error) UpdateGameSession(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, *UpdateGameSessionBadRequest, *UpdateGameSessionUnauthorized, *UpdateGameSessionForbidden, *UpdateGameSessionNotFound, *UpdateGameSessionInternalServerError, error) UpdateGameSessionShort(params *UpdateGameSessionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameSessionOK, 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 game session API client.
type CreateGameSessionBadRequest ¶
type CreateGameSessionBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
CreateGameSessionBadRequest handles this case with default header values.
Bad Request
func NewCreateGameSessionBadRequest ¶
func NewCreateGameSessionBadRequest() *CreateGameSessionBadRequest
NewCreateGameSessionBadRequest creates a CreateGameSessionBadRequest with default headers values
func (*CreateGameSessionBadRequest) Error ¶
func (o *CreateGameSessionBadRequest) Error() string
func (*CreateGameSessionBadRequest) GetPayload ¶
func (o *CreateGameSessionBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*CreateGameSessionBadRequest) ToJSONString ¶
func (o *CreateGameSessionBadRequest) ToJSONString() string
type CreateGameSessionCreated ¶
type CreateGameSessionCreated struct {
Payload *sessionclientmodels.ApimodelsGameSessionResponse
}
CreateGameSessionCreated handles this case with default header values.
Created
func NewCreateGameSessionCreated ¶
func NewCreateGameSessionCreated() *CreateGameSessionCreated
NewCreateGameSessionCreated creates a CreateGameSessionCreated with default headers values
func (*CreateGameSessionCreated) Error ¶
func (o *CreateGameSessionCreated) Error() string
func (*CreateGameSessionCreated) GetPayload ¶
func (o *CreateGameSessionCreated) GetPayload() *sessionclientmodels.ApimodelsGameSessionResponse
func (*CreateGameSessionCreated) ToJSONString ¶
func (o *CreateGameSessionCreated) ToJSONString() string
type CreateGameSessionForbidden ¶
type CreateGameSessionForbidden struct {
Payload *sessionclientmodels.ResponseError
}
CreateGameSessionForbidden handles this case with default header values.
Forbidden
func NewCreateGameSessionForbidden ¶
func NewCreateGameSessionForbidden() *CreateGameSessionForbidden
NewCreateGameSessionForbidden creates a CreateGameSessionForbidden with default headers values
func (*CreateGameSessionForbidden) Error ¶
func (o *CreateGameSessionForbidden) Error() string
func (*CreateGameSessionForbidden) GetPayload ¶
func (o *CreateGameSessionForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*CreateGameSessionForbidden) ToJSONString ¶
func (o *CreateGameSessionForbidden) ToJSONString() string
type CreateGameSessionInternalServerError ¶
type CreateGameSessionInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
CreateGameSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewCreateGameSessionInternalServerError ¶
func NewCreateGameSessionInternalServerError() *CreateGameSessionInternalServerError
NewCreateGameSessionInternalServerError creates a CreateGameSessionInternalServerError with default headers values
func (*CreateGameSessionInternalServerError) Error ¶
func (o *CreateGameSessionInternalServerError) Error() string
func (*CreateGameSessionInternalServerError) GetPayload ¶
func (o *CreateGameSessionInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*CreateGameSessionInternalServerError) ToJSONString ¶
func (o *CreateGameSessionInternalServerError) ToJSONString() string
type CreateGameSessionParams ¶
type CreateGameSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body Create game session request */ Body *sessionclientmodels.ApimodelsCreateGameSessionRequest /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateGameSessionParams contains all the parameters to send to the API endpoint for the create game session operation typically these are written to a http.Request
func NewCreateGameSessionParams ¶
func NewCreateGameSessionParams() *CreateGameSessionParams
NewCreateGameSessionParams creates a new CreateGameSessionParams object with the default values initialized.
func NewCreateGameSessionParamsWithContext ¶
func NewCreateGameSessionParamsWithContext(ctx context.Context) *CreateGameSessionParams
NewCreateGameSessionParamsWithContext creates a new CreateGameSessionParams object with the default values initialized, and the ability to set a context for a request
func NewCreateGameSessionParamsWithHTTPClient ¶
func NewCreateGameSessionParamsWithHTTPClient(client *http.Client) *CreateGameSessionParams
NewCreateGameSessionParamsWithHTTPClient creates a new CreateGameSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateGameSessionParamsWithTimeout ¶
func NewCreateGameSessionParamsWithTimeout(timeout time.Duration) *CreateGameSessionParams
NewCreateGameSessionParamsWithTimeout creates a new CreateGameSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateGameSessionParams) SetAuthInfoWriter ¶
func (o *CreateGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create game session params
func (*CreateGameSessionParams) SetBody ¶
func (o *CreateGameSessionParams) SetBody(body *sessionclientmodels.ApimodelsCreateGameSessionRequest)
SetBody adds the body to the create game session params
func (*CreateGameSessionParams) SetContext ¶
func (o *CreateGameSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the create game session params
func (*CreateGameSessionParams) SetHTTPClient ¶
func (o *CreateGameSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create game session params
func (*CreateGameSessionParams) SetHTTPClientTransport ¶
func (o *CreateGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create game session params
func (*CreateGameSessionParams) SetNamespace ¶
func (o *CreateGameSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create game session params
func (*CreateGameSessionParams) SetTimeout ¶
func (o *CreateGameSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create game session params
func (*CreateGameSessionParams) WithBody ¶
func (o *CreateGameSessionParams) WithBody(body *sessionclientmodels.ApimodelsCreateGameSessionRequest) *CreateGameSessionParams
WithBody adds the body to the create game session params
func (*CreateGameSessionParams) WithContext ¶
func (o *CreateGameSessionParams) WithContext(ctx context.Context) *CreateGameSessionParams
WithContext adds the context to the create game session params
func (*CreateGameSessionParams) WithHTTPClient ¶
func (o *CreateGameSessionParams) WithHTTPClient(client *http.Client) *CreateGameSessionParams
WithHTTPClient adds the HTTPClient to the create game session params
func (*CreateGameSessionParams) WithNamespace ¶
func (o *CreateGameSessionParams) WithNamespace(namespace string) *CreateGameSessionParams
WithNamespace adds the namespace to the create game session params
func (*CreateGameSessionParams) WithTimeout ¶
func (o *CreateGameSessionParams) WithTimeout(timeout time.Duration) *CreateGameSessionParams
WithTimeout adds the timeout to the create game session params
func (*CreateGameSessionParams) WriteToRequest ¶
func (o *CreateGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateGameSessionReader ¶
type CreateGameSessionReader struct {
// contains filtered or unexported fields
}
CreateGameSessionReader is a Reader for the CreateGameSession structure.
func (*CreateGameSessionReader) ReadResponse ¶
func (o *CreateGameSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateGameSessionUnauthorized ¶
type CreateGameSessionUnauthorized struct {
}CreateGameSessionUnauthorized handles this case with default header values.
Unauthorized
func NewCreateGameSessionUnauthorized ¶
func NewCreateGameSessionUnauthorized() *CreateGameSessionUnauthorized
NewCreateGameSessionUnauthorized creates a CreateGameSessionUnauthorized with default headers values
func (*CreateGameSessionUnauthorized) Error ¶
func (o *CreateGameSessionUnauthorized) Error() string
func (*CreateGameSessionUnauthorized) GetPayload ¶
func (o *CreateGameSessionUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*CreateGameSessionUnauthorized) ToJSONString ¶
func (o *CreateGameSessionUnauthorized) ToJSONString() string
type DeleteGameSessionForbidden ¶
type DeleteGameSessionForbidden struct {
Payload *sessionclientmodels.ResponseError
}
DeleteGameSessionForbidden handles this case with default header values.
Forbidden
func NewDeleteGameSessionForbidden ¶
func NewDeleteGameSessionForbidden() *DeleteGameSessionForbidden
NewDeleteGameSessionForbidden creates a DeleteGameSessionForbidden with default headers values
func (*DeleteGameSessionForbidden) Error ¶
func (o *DeleteGameSessionForbidden) Error() string
func (*DeleteGameSessionForbidden) GetPayload ¶
func (o *DeleteGameSessionForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*DeleteGameSessionForbidden) ToJSONString ¶
func (o *DeleteGameSessionForbidden) ToJSONString() string
type DeleteGameSessionInternalServerError ¶
type DeleteGameSessionInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
DeleteGameSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteGameSessionInternalServerError ¶
func NewDeleteGameSessionInternalServerError() *DeleteGameSessionInternalServerError
NewDeleteGameSessionInternalServerError creates a DeleteGameSessionInternalServerError with default headers values
func (*DeleteGameSessionInternalServerError) Error ¶
func (o *DeleteGameSessionInternalServerError) Error() string
func (*DeleteGameSessionInternalServerError) GetPayload ¶
func (o *DeleteGameSessionInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*DeleteGameSessionInternalServerError) ToJSONString ¶
func (o *DeleteGameSessionInternalServerError) ToJSONString() string
type DeleteGameSessionNoContent ¶
type DeleteGameSessionNoContent struct { }
DeleteGameSessionNoContent handles this case with default header values.
No Content
func NewDeleteGameSessionNoContent ¶
func NewDeleteGameSessionNoContent() *DeleteGameSessionNoContent
NewDeleteGameSessionNoContent creates a DeleteGameSessionNoContent with default headers values
func (*DeleteGameSessionNoContent) Error ¶
func (o *DeleteGameSessionNoContent) Error() string
type DeleteGameSessionParams ¶
type DeleteGameSessionParams 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 }
DeleteGameSessionParams contains all the parameters to send to the API endpoint for the delete game session operation typically these are written to a http.Request
func NewDeleteGameSessionParams ¶
func NewDeleteGameSessionParams() *DeleteGameSessionParams
NewDeleteGameSessionParams creates a new DeleteGameSessionParams object with the default values initialized.
func NewDeleteGameSessionParamsWithContext ¶
func NewDeleteGameSessionParamsWithContext(ctx context.Context) *DeleteGameSessionParams
NewDeleteGameSessionParamsWithContext creates a new DeleteGameSessionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteGameSessionParamsWithHTTPClient ¶
func NewDeleteGameSessionParamsWithHTTPClient(client *http.Client) *DeleteGameSessionParams
NewDeleteGameSessionParamsWithHTTPClient creates a new DeleteGameSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteGameSessionParamsWithTimeout ¶
func NewDeleteGameSessionParamsWithTimeout(timeout time.Duration) *DeleteGameSessionParams
NewDeleteGameSessionParamsWithTimeout creates a new DeleteGameSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteGameSessionParams) SetAuthInfoWriter ¶
func (o *DeleteGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete game session params
func (*DeleteGameSessionParams) SetContext ¶
func (o *DeleteGameSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete game session params
func (*DeleteGameSessionParams) SetHTTPClient ¶
func (o *DeleteGameSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete game session params
func (*DeleteGameSessionParams) SetHTTPClientTransport ¶
func (o *DeleteGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete game session params
func (*DeleteGameSessionParams) SetNamespace ¶
func (o *DeleteGameSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete game session params
func (*DeleteGameSessionParams) SetSessionID ¶
func (o *DeleteGameSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the delete game session params
func (*DeleteGameSessionParams) SetTimeout ¶
func (o *DeleteGameSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete game session params
func (*DeleteGameSessionParams) WithContext ¶
func (o *DeleteGameSessionParams) WithContext(ctx context.Context) *DeleteGameSessionParams
WithContext adds the context to the delete game session params
func (*DeleteGameSessionParams) WithHTTPClient ¶
func (o *DeleteGameSessionParams) WithHTTPClient(client *http.Client) *DeleteGameSessionParams
WithHTTPClient adds the HTTPClient to the delete game session params
func (*DeleteGameSessionParams) WithNamespace ¶
func (o *DeleteGameSessionParams) WithNamespace(namespace string) *DeleteGameSessionParams
WithNamespace adds the namespace to the delete game session params
func (*DeleteGameSessionParams) WithSessionID ¶
func (o *DeleteGameSessionParams) WithSessionID(sessionID string) *DeleteGameSessionParams
WithSessionID adds the sessionID to the delete game session params
func (*DeleteGameSessionParams) WithTimeout ¶
func (o *DeleteGameSessionParams) WithTimeout(timeout time.Duration) *DeleteGameSessionParams
WithTimeout adds the timeout to the delete game session params
func (*DeleteGameSessionParams) WriteToRequest ¶
func (o *DeleteGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteGameSessionReader ¶
type DeleteGameSessionReader struct {
// contains filtered or unexported fields
}
DeleteGameSessionReader is a Reader for the DeleteGameSession structure.
func (*DeleteGameSessionReader) ReadResponse ¶
func (o *DeleteGameSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteGameSessionUnauthorized ¶
type DeleteGameSessionUnauthorized struct {
}DeleteGameSessionUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteGameSessionUnauthorized ¶
func NewDeleteGameSessionUnauthorized() *DeleteGameSessionUnauthorized
NewDeleteGameSessionUnauthorized creates a DeleteGameSessionUnauthorized with default headers values
func (*DeleteGameSessionUnauthorized) Error ¶
func (o *DeleteGameSessionUnauthorized) Error() string
func (*DeleteGameSessionUnauthorized) GetPayload ¶
func (o *DeleteGameSessionUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*DeleteGameSessionUnauthorized) ToJSONString ¶
func (o *DeleteGameSessionUnauthorized) ToJSONString() string
type GetGameSessionBadRequest ¶
type GetGameSessionBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
GetGameSessionBadRequest handles this case with default header values.
Bad Request
func NewGetGameSessionBadRequest ¶
func NewGetGameSessionBadRequest() *GetGameSessionBadRequest
NewGetGameSessionBadRequest creates a GetGameSessionBadRequest with default headers values
func (*GetGameSessionBadRequest) Error ¶
func (o *GetGameSessionBadRequest) Error() string
func (*GetGameSessionBadRequest) GetPayload ¶
func (o *GetGameSessionBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*GetGameSessionBadRequest) ToJSONString ¶
func (o *GetGameSessionBadRequest) ToJSONString() string
type GetGameSessionByPodNameBadRequest ¶
type GetGameSessionByPodNameBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
GetGameSessionByPodNameBadRequest handles this case with default header values.
Bad Request
func NewGetGameSessionByPodNameBadRequest ¶
func NewGetGameSessionByPodNameBadRequest() *GetGameSessionByPodNameBadRequest
NewGetGameSessionByPodNameBadRequest creates a GetGameSessionByPodNameBadRequest with default headers values
func (*GetGameSessionByPodNameBadRequest) Error ¶
func (o *GetGameSessionByPodNameBadRequest) Error() string
func (*GetGameSessionByPodNameBadRequest) GetPayload ¶
func (o *GetGameSessionByPodNameBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*GetGameSessionByPodNameBadRequest) ToJSONString ¶
func (o *GetGameSessionByPodNameBadRequest) ToJSONString() string
type GetGameSessionByPodNameForbidden ¶
type GetGameSessionByPodNameForbidden struct {
Payload *sessionclientmodels.ResponseError
}
GetGameSessionByPodNameForbidden handles this case with default header values.
Forbidden
func NewGetGameSessionByPodNameForbidden ¶
func NewGetGameSessionByPodNameForbidden() *GetGameSessionByPodNameForbidden
NewGetGameSessionByPodNameForbidden creates a GetGameSessionByPodNameForbidden with default headers values
func (*GetGameSessionByPodNameForbidden) Error ¶
func (o *GetGameSessionByPodNameForbidden) Error() string
func (*GetGameSessionByPodNameForbidden) GetPayload ¶
func (o *GetGameSessionByPodNameForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*GetGameSessionByPodNameForbidden) ToJSONString ¶
func (o *GetGameSessionByPodNameForbidden) ToJSONString() string
type GetGameSessionByPodNameInternalServerError ¶
type GetGameSessionByPodNameInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
GetGameSessionByPodNameInternalServerError handles this case with default header values.
Internal Server Error
func NewGetGameSessionByPodNameInternalServerError ¶
func NewGetGameSessionByPodNameInternalServerError() *GetGameSessionByPodNameInternalServerError
NewGetGameSessionByPodNameInternalServerError creates a GetGameSessionByPodNameInternalServerError with default headers values
func (*GetGameSessionByPodNameInternalServerError) Error ¶
func (o *GetGameSessionByPodNameInternalServerError) Error() string
func (*GetGameSessionByPodNameInternalServerError) GetPayload ¶
func (o *GetGameSessionByPodNameInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*GetGameSessionByPodNameInternalServerError) ToJSONString ¶
func (o *GetGameSessionByPodNameInternalServerError) ToJSONString() string
type GetGameSessionByPodNameNotFound ¶
type GetGameSessionByPodNameNotFound struct {
Payload *sessionclientmodels.ResponseError
}
GetGameSessionByPodNameNotFound handles this case with default header values.
Not Found
func NewGetGameSessionByPodNameNotFound ¶
func NewGetGameSessionByPodNameNotFound() *GetGameSessionByPodNameNotFound
NewGetGameSessionByPodNameNotFound creates a GetGameSessionByPodNameNotFound with default headers values
func (*GetGameSessionByPodNameNotFound) Error ¶
func (o *GetGameSessionByPodNameNotFound) Error() string
func (*GetGameSessionByPodNameNotFound) GetPayload ¶
func (o *GetGameSessionByPodNameNotFound) GetPayload() *sessionclientmodels.ResponseError
func (*GetGameSessionByPodNameNotFound) ToJSONString ¶
func (o *GetGameSessionByPodNameNotFound) ToJSONString() string
type GetGameSessionByPodNameOK ¶
type GetGameSessionByPodNameOK struct {
Payload *sessionclientmodels.ApimodelsGameSessionResponse
}
GetGameSessionByPodNameOK handles this case with default header values.
OK
func NewGetGameSessionByPodNameOK ¶
func NewGetGameSessionByPodNameOK() *GetGameSessionByPodNameOK
NewGetGameSessionByPodNameOK creates a GetGameSessionByPodNameOK with default headers values
func (*GetGameSessionByPodNameOK) Error ¶
func (o *GetGameSessionByPodNameOK) Error() string
func (*GetGameSessionByPodNameOK) GetPayload ¶
func (o *GetGameSessionByPodNameOK) GetPayload() *sessionclientmodels.ApimodelsGameSessionResponse
func (*GetGameSessionByPodNameOK) ToJSONString ¶
func (o *GetGameSessionByPodNameOK) ToJSONString() string
type GetGameSessionByPodNameParams ¶
type GetGameSessionByPodNameParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*PodName Pod Name */ PodName string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGameSessionByPodNameParams contains all the parameters to send to the API endpoint for the get game session by pod name operation typically these are written to a http.Request
func NewGetGameSessionByPodNameParams ¶
func NewGetGameSessionByPodNameParams() *GetGameSessionByPodNameParams
NewGetGameSessionByPodNameParams creates a new GetGameSessionByPodNameParams object with the default values initialized.
func NewGetGameSessionByPodNameParamsWithContext ¶
func NewGetGameSessionByPodNameParamsWithContext(ctx context.Context) *GetGameSessionByPodNameParams
NewGetGameSessionByPodNameParamsWithContext creates a new GetGameSessionByPodNameParams object with the default values initialized, and the ability to set a context for a request
func NewGetGameSessionByPodNameParamsWithHTTPClient ¶
func NewGetGameSessionByPodNameParamsWithHTTPClient(client *http.Client) *GetGameSessionByPodNameParams
NewGetGameSessionByPodNameParamsWithHTTPClient creates a new GetGameSessionByPodNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGameSessionByPodNameParamsWithTimeout ¶
func NewGetGameSessionByPodNameParamsWithTimeout(timeout time.Duration) *GetGameSessionByPodNameParams
NewGetGameSessionByPodNameParamsWithTimeout creates a new GetGameSessionByPodNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetGameSessionByPodNameParams) SetAuthInfoWriter ¶
func (o *GetGameSessionByPodNameParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get game session by pod name params
func (*GetGameSessionByPodNameParams) SetContext ¶
func (o *GetGameSessionByPodNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get game session by pod name params
func (*GetGameSessionByPodNameParams) SetHTTPClient ¶
func (o *GetGameSessionByPodNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get game session by pod name params
func (*GetGameSessionByPodNameParams) SetHTTPClientTransport ¶
func (o *GetGameSessionByPodNameParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get game session by pod name params
func (*GetGameSessionByPodNameParams) SetNamespace ¶
func (o *GetGameSessionByPodNameParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get game session by pod name params
func (*GetGameSessionByPodNameParams) SetPodName ¶
func (o *GetGameSessionByPodNameParams) SetPodName(podName string)
SetPodName adds the podName to the get game session by pod name params
func (*GetGameSessionByPodNameParams) SetTimeout ¶
func (o *GetGameSessionByPodNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get game session by pod name params
func (*GetGameSessionByPodNameParams) WithContext ¶
func (o *GetGameSessionByPodNameParams) WithContext(ctx context.Context) *GetGameSessionByPodNameParams
WithContext adds the context to the get game session by pod name params
func (*GetGameSessionByPodNameParams) WithHTTPClient ¶
func (o *GetGameSessionByPodNameParams) WithHTTPClient(client *http.Client) *GetGameSessionByPodNameParams
WithHTTPClient adds the HTTPClient to the get game session by pod name params
func (*GetGameSessionByPodNameParams) WithNamespace ¶
func (o *GetGameSessionByPodNameParams) WithNamespace(namespace string) *GetGameSessionByPodNameParams
WithNamespace adds the namespace to the get game session by pod name params
func (*GetGameSessionByPodNameParams) WithPodName ¶
func (o *GetGameSessionByPodNameParams) WithPodName(podName string) *GetGameSessionByPodNameParams
WithPodName adds the podName to the get game session by pod name params
func (*GetGameSessionByPodNameParams) WithTimeout ¶
func (o *GetGameSessionByPodNameParams) WithTimeout(timeout time.Duration) *GetGameSessionByPodNameParams
WithTimeout adds the timeout to the get game session by pod name params
func (*GetGameSessionByPodNameParams) WriteToRequest ¶
func (o *GetGameSessionByPodNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGameSessionByPodNameReader ¶
type GetGameSessionByPodNameReader struct {
// contains filtered or unexported fields
}
GetGameSessionByPodNameReader is a Reader for the GetGameSessionByPodName structure.
func (*GetGameSessionByPodNameReader) ReadResponse ¶
func (o *GetGameSessionByPodNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGameSessionByPodNameUnauthorized ¶
type GetGameSessionByPodNameUnauthorized struct {
}GetGameSessionByPodNameUnauthorized handles this case with default header values.
Unauthorized
func NewGetGameSessionByPodNameUnauthorized ¶
func NewGetGameSessionByPodNameUnauthorized() *GetGameSessionByPodNameUnauthorized
NewGetGameSessionByPodNameUnauthorized creates a GetGameSessionByPodNameUnauthorized with default headers values
func (*GetGameSessionByPodNameUnauthorized) Error ¶
func (o *GetGameSessionByPodNameUnauthorized) Error() string
func (*GetGameSessionByPodNameUnauthorized) GetPayload ¶
func (o *GetGameSessionByPodNameUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*GetGameSessionByPodNameUnauthorized) ToJSONString ¶
func (o *GetGameSessionByPodNameUnauthorized) ToJSONString() string
type GetGameSessionForbidden ¶
type GetGameSessionForbidden struct {
Payload *sessionclientmodels.ResponseError
}
GetGameSessionForbidden handles this case with default header values.
Forbidden
func NewGetGameSessionForbidden ¶
func NewGetGameSessionForbidden() *GetGameSessionForbidden
NewGetGameSessionForbidden creates a GetGameSessionForbidden with default headers values
func (*GetGameSessionForbidden) Error ¶
func (o *GetGameSessionForbidden) Error() string
func (*GetGameSessionForbidden) GetPayload ¶
func (o *GetGameSessionForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*GetGameSessionForbidden) ToJSONString ¶
func (o *GetGameSessionForbidden) ToJSONString() string
type GetGameSessionInternalServerError ¶
type GetGameSessionInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
GetGameSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewGetGameSessionInternalServerError ¶
func NewGetGameSessionInternalServerError() *GetGameSessionInternalServerError
NewGetGameSessionInternalServerError creates a GetGameSessionInternalServerError with default headers values
func (*GetGameSessionInternalServerError) Error ¶
func (o *GetGameSessionInternalServerError) Error() string
func (*GetGameSessionInternalServerError) GetPayload ¶
func (o *GetGameSessionInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*GetGameSessionInternalServerError) ToJSONString ¶
func (o *GetGameSessionInternalServerError) ToJSONString() string
type GetGameSessionNotFound ¶
type GetGameSessionNotFound struct {
Payload *sessionclientmodels.ResponseError
}
GetGameSessionNotFound handles this case with default header values.
Not Found
func NewGetGameSessionNotFound ¶
func NewGetGameSessionNotFound() *GetGameSessionNotFound
NewGetGameSessionNotFound creates a GetGameSessionNotFound with default headers values
func (*GetGameSessionNotFound) Error ¶
func (o *GetGameSessionNotFound) Error() string
func (*GetGameSessionNotFound) GetPayload ¶
func (o *GetGameSessionNotFound) GetPayload() *sessionclientmodels.ResponseError
func (*GetGameSessionNotFound) ToJSONString ¶
func (o *GetGameSessionNotFound) ToJSONString() string
type GetGameSessionOK ¶
type GetGameSessionOK struct {
Payload *sessionclientmodels.ApimodelsGameSessionResponse
}
GetGameSessionOK handles this case with default header values.
OK
func NewGetGameSessionOK ¶
func NewGetGameSessionOK() *GetGameSessionOK
NewGetGameSessionOK creates a GetGameSessionOK with default headers values
func (*GetGameSessionOK) Error ¶
func (o *GetGameSessionOK) Error() string
func (*GetGameSessionOK) GetPayload ¶
func (o *GetGameSessionOK) GetPayload() *sessionclientmodels.ApimodelsGameSessionResponse
func (*GetGameSessionOK) ToJSONString ¶
func (o *GetGameSessionOK) ToJSONString() string
type GetGameSessionParams ¶
type GetGameSessionParams 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 }
GetGameSessionParams contains all the parameters to send to the API endpoint for the get game session operation typically these are written to a http.Request
func NewGetGameSessionParams ¶
func NewGetGameSessionParams() *GetGameSessionParams
NewGetGameSessionParams creates a new GetGameSessionParams object with the default values initialized.
func NewGetGameSessionParamsWithContext ¶
func NewGetGameSessionParamsWithContext(ctx context.Context) *GetGameSessionParams
NewGetGameSessionParamsWithContext creates a new GetGameSessionParams object with the default values initialized, and the ability to set a context for a request
func NewGetGameSessionParamsWithHTTPClient ¶
func NewGetGameSessionParamsWithHTTPClient(client *http.Client) *GetGameSessionParams
NewGetGameSessionParamsWithHTTPClient creates a new GetGameSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGameSessionParamsWithTimeout ¶
func NewGetGameSessionParamsWithTimeout(timeout time.Duration) *GetGameSessionParams
NewGetGameSessionParamsWithTimeout creates a new GetGameSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetGameSessionParams) SetAuthInfoWriter ¶
func (o *GetGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get game session params
func (*GetGameSessionParams) SetContext ¶
func (o *GetGameSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the get game session params
func (*GetGameSessionParams) SetHTTPClient ¶
func (o *GetGameSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get game session params
func (*GetGameSessionParams) SetHTTPClientTransport ¶
func (o *GetGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get game session params
func (*GetGameSessionParams) SetNamespace ¶
func (o *GetGameSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get game session params
func (*GetGameSessionParams) SetSessionID ¶
func (o *GetGameSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the get game session params
func (*GetGameSessionParams) SetTimeout ¶
func (o *GetGameSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get game session params
func (*GetGameSessionParams) WithContext ¶
func (o *GetGameSessionParams) WithContext(ctx context.Context) *GetGameSessionParams
WithContext adds the context to the get game session params
func (*GetGameSessionParams) WithHTTPClient ¶
func (o *GetGameSessionParams) WithHTTPClient(client *http.Client) *GetGameSessionParams
WithHTTPClient adds the HTTPClient to the get game session params
func (*GetGameSessionParams) WithNamespace ¶
func (o *GetGameSessionParams) WithNamespace(namespace string) *GetGameSessionParams
WithNamespace adds the namespace to the get game session params
func (*GetGameSessionParams) WithSessionID ¶
func (o *GetGameSessionParams) WithSessionID(sessionID string) *GetGameSessionParams
WithSessionID adds the sessionID to the get game session params
func (*GetGameSessionParams) WithTimeout ¶
func (o *GetGameSessionParams) WithTimeout(timeout time.Duration) *GetGameSessionParams
WithTimeout adds the timeout to the get game session params
func (*GetGameSessionParams) WriteToRequest ¶
func (o *GetGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGameSessionReader ¶
type GetGameSessionReader struct {
// contains filtered or unexported fields
}
GetGameSessionReader is a Reader for the GetGameSession structure.
func (*GetGameSessionReader) ReadResponse ¶
func (o *GetGameSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGameSessionUnauthorized ¶
type GetGameSessionUnauthorized struct {
}GetGameSessionUnauthorized handles this case with default header values.
Unauthorized
func NewGetGameSessionUnauthorized ¶
func NewGetGameSessionUnauthorized() *GetGameSessionUnauthorized
NewGetGameSessionUnauthorized creates a GetGameSessionUnauthorized with default headers values
func (*GetGameSessionUnauthorized) Error ¶
func (o *GetGameSessionUnauthorized) Error() string
func (*GetGameSessionUnauthorized) GetPayload ¶
func (o *GetGameSessionUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*GetGameSessionUnauthorized) ToJSONString ¶
func (o *GetGameSessionUnauthorized) ToJSONString() string
type JoinGameSessionBadRequest ¶
type JoinGameSessionBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
JoinGameSessionBadRequest handles this case with default header values.
Bad Request
func NewJoinGameSessionBadRequest ¶
func NewJoinGameSessionBadRequest() *JoinGameSessionBadRequest
NewJoinGameSessionBadRequest creates a JoinGameSessionBadRequest with default headers values
func (*JoinGameSessionBadRequest) Error ¶
func (o *JoinGameSessionBadRequest) Error() string
func (*JoinGameSessionBadRequest) GetPayload ¶
func (o *JoinGameSessionBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*JoinGameSessionBadRequest) ToJSONString ¶
func (o *JoinGameSessionBadRequest) ToJSONString() string
type JoinGameSessionForbidden ¶
type JoinGameSessionForbidden struct {
Payload *sessionclientmodels.ResponseError
}
JoinGameSessionForbidden handles this case with default header values.
Forbidden
func NewJoinGameSessionForbidden ¶
func NewJoinGameSessionForbidden() *JoinGameSessionForbidden
NewJoinGameSessionForbidden creates a JoinGameSessionForbidden with default headers values
func (*JoinGameSessionForbidden) Error ¶
func (o *JoinGameSessionForbidden) Error() string
func (*JoinGameSessionForbidden) GetPayload ¶
func (o *JoinGameSessionForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*JoinGameSessionForbidden) ToJSONString ¶
func (o *JoinGameSessionForbidden) ToJSONString() string
type JoinGameSessionInternalServerError ¶
type JoinGameSessionInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
JoinGameSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewJoinGameSessionInternalServerError ¶
func NewJoinGameSessionInternalServerError() *JoinGameSessionInternalServerError
NewJoinGameSessionInternalServerError creates a JoinGameSessionInternalServerError with default headers values
func (*JoinGameSessionInternalServerError) Error ¶
func (o *JoinGameSessionInternalServerError) Error() string
func (*JoinGameSessionInternalServerError) GetPayload ¶
func (o *JoinGameSessionInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*JoinGameSessionInternalServerError) ToJSONString ¶
func (o *JoinGameSessionInternalServerError) ToJSONString() string
type JoinGameSessionNotFound ¶
type JoinGameSessionNotFound struct {
Payload *sessionclientmodels.ResponseError
}
JoinGameSessionNotFound handles this case with default header values.
Not Found
func NewJoinGameSessionNotFound ¶
func NewJoinGameSessionNotFound() *JoinGameSessionNotFound
NewJoinGameSessionNotFound creates a JoinGameSessionNotFound with default headers values
func (*JoinGameSessionNotFound) Error ¶
func (o *JoinGameSessionNotFound) Error() string
func (*JoinGameSessionNotFound) GetPayload ¶
func (o *JoinGameSessionNotFound) GetPayload() *sessionclientmodels.ResponseError
func (*JoinGameSessionNotFound) ToJSONString ¶
func (o *JoinGameSessionNotFound) ToJSONString() string
type JoinGameSessionOK ¶
type JoinGameSessionOK struct {
Payload *sessionclientmodels.ApimodelsGameSessionResponse
}
JoinGameSessionOK handles this case with default header values.
OK
func NewJoinGameSessionOK ¶
func NewJoinGameSessionOK() *JoinGameSessionOK
NewJoinGameSessionOK creates a JoinGameSessionOK with default headers values
func (*JoinGameSessionOK) Error ¶
func (o *JoinGameSessionOK) Error() string
func (*JoinGameSessionOK) GetPayload ¶
func (o *JoinGameSessionOK) GetPayload() *sessionclientmodels.ApimodelsGameSessionResponse
func (*JoinGameSessionOK) ToJSONString ¶
func (o *JoinGameSessionOK) ToJSONString() string
type JoinGameSessionParams ¶
type JoinGameSessionParams 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 }
JoinGameSessionParams contains all the parameters to send to the API endpoint for the join game session operation typically these are written to a http.Request
func NewJoinGameSessionParams ¶
func NewJoinGameSessionParams() *JoinGameSessionParams
NewJoinGameSessionParams creates a new JoinGameSessionParams object with the default values initialized.
func NewJoinGameSessionParamsWithContext ¶
func NewJoinGameSessionParamsWithContext(ctx context.Context) *JoinGameSessionParams
NewJoinGameSessionParamsWithContext creates a new JoinGameSessionParams object with the default values initialized, and the ability to set a context for a request
func NewJoinGameSessionParamsWithHTTPClient ¶
func NewJoinGameSessionParamsWithHTTPClient(client *http.Client) *JoinGameSessionParams
NewJoinGameSessionParamsWithHTTPClient creates a new JoinGameSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewJoinGameSessionParamsWithTimeout ¶
func NewJoinGameSessionParamsWithTimeout(timeout time.Duration) *JoinGameSessionParams
NewJoinGameSessionParamsWithTimeout creates a new JoinGameSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*JoinGameSessionParams) SetAuthInfoWriter ¶
func (o *JoinGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the join game session params
func (*JoinGameSessionParams) SetContext ¶
func (o *JoinGameSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the join game session params
func (*JoinGameSessionParams) SetHTTPClient ¶
func (o *JoinGameSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the join game session params
func (*JoinGameSessionParams) SetHTTPClientTransport ¶
func (o *JoinGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the join game session params
func (*JoinGameSessionParams) SetNamespace ¶
func (o *JoinGameSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the join game session params
func (*JoinGameSessionParams) SetSessionID ¶
func (o *JoinGameSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the join game session params
func (*JoinGameSessionParams) SetTimeout ¶
func (o *JoinGameSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the join game session params
func (*JoinGameSessionParams) WithContext ¶
func (o *JoinGameSessionParams) WithContext(ctx context.Context) *JoinGameSessionParams
WithContext adds the context to the join game session params
func (*JoinGameSessionParams) WithHTTPClient ¶
func (o *JoinGameSessionParams) WithHTTPClient(client *http.Client) *JoinGameSessionParams
WithHTTPClient adds the HTTPClient to the join game session params
func (*JoinGameSessionParams) WithNamespace ¶
func (o *JoinGameSessionParams) WithNamespace(namespace string) *JoinGameSessionParams
WithNamespace adds the namespace to the join game session params
func (*JoinGameSessionParams) WithSessionID ¶
func (o *JoinGameSessionParams) WithSessionID(sessionID string) *JoinGameSessionParams
WithSessionID adds the sessionID to the join game session params
func (*JoinGameSessionParams) WithTimeout ¶
func (o *JoinGameSessionParams) WithTimeout(timeout time.Duration) *JoinGameSessionParams
WithTimeout adds the timeout to the join game session params
func (*JoinGameSessionParams) WriteToRequest ¶
func (o *JoinGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type JoinGameSessionReader ¶
type JoinGameSessionReader struct {
// contains filtered or unexported fields
}
JoinGameSessionReader is a Reader for the JoinGameSession structure.
func (*JoinGameSessionReader) ReadResponse ¶
func (o *JoinGameSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type JoinGameSessionUnauthorized ¶
type JoinGameSessionUnauthorized struct {
}JoinGameSessionUnauthorized handles this case with default header values.
Unauthorized
func NewJoinGameSessionUnauthorized ¶
func NewJoinGameSessionUnauthorized() *JoinGameSessionUnauthorized
NewJoinGameSessionUnauthorized creates a JoinGameSessionUnauthorized with default headers values
func (*JoinGameSessionUnauthorized) Error ¶
func (o *JoinGameSessionUnauthorized) Error() string
func (*JoinGameSessionUnauthorized) GetPayload ¶
func (o *JoinGameSessionUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*JoinGameSessionUnauthorized) ToJSONString ¶
func (o *JoinGameSessionUnauthorized) ToJSONString() string
type LeaveGameSessionBadRequest ¶
type LeaveGameSessionBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
LeaveGameSessionBadRequest handles this case with default header values.
Bad Request
func NewLeaveGameSessionBadRequest ¶
func NewLeaveGameSessionBadRequest() *LeaveGameSessionBadRequest
NewLeaveGameSessionBadRequest creates a LeaveGameSessionBadRequest with default headers values
func (*LeaveGameSessionBadRequest) Error ¶
func (o *LeaveGameSessionBadRequest) Error() string
func (*LeaveGameSessionBadRequest) GetPayload ¶
func (o *LeaveGameSessionBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*LeaveGameSessionBadRequest) ToJSONString ¶
func (o *LeaveGameSessionBadRequest) ToJSONString() string
type LeaveGameSessionForbidden ¶
type LeaveGameSessionForbidden struct {
Payload *sessionclientmodels.ResponseError
}
LeaveGameSessionForbidden handles this case with default header values.
Forbidden
func NewLeaveGameSessionForbidden ¶
func NewLeaveGameSessionForbidden() *LeaveGameSessionForbidden
NewLeaveGameSessionForbidden creates a LeaveGameSessionForbidden with default headers values
func (*LeaveGameSessionForbidden) Error ¶
func (o *LeaveGameSessionForbidden) Error() string
func (*LeaveGameSessionForbidden) GetPayload ¶
func (o *LeaveGameSessionForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*LeaveGameSessionForbidden) ToJSONString ¶
func (o *LeaveGameSessionForbidden) ToJSONString() string
type LeaveGameSessionInternalServerError ¶
type LeaveGameSessionInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
LeaveGameSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewLeaveGameSessionInternalServerError ¶
func NewLeaveGameSessionInternalServerError() *LeaveGameSessionInternalServerError
NewLeaveGameSessionInternalServerError creates a LeaveGameSessionInternalServerError with default headers values
func (*LeaveGameSessionInternalServerError) Error ¶
func (o *LeaveGameSessionInternalServerError) Error() string
func (*LeaveGameSessionInternalServerError) GetPayload ¶
func (o *LeaveGameSessionInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*LeaveGameSessionInternalServerError) ToJSONString ¶
func (o *LeaveGameSessionInternalServerError) ToJSONString() string
type LeaveGameSessionNoContent ¶
type LeaveGameSessionNoContent struct { }
LeaveGameSessionNoContent handles this case with default header values.
No Content
func NewLeaveGameSessionNoContent ¶
func NewLeaveGameSessionNoContent() *LeaveGameSessionNoContent
NewLeaveGameSessionNoContent creates a LeaveGameSessionNoContent with default headers values
func (*LeaveGameSessionNoContent) Error ¶
func (o *LeaveGameSessionNoContent) Error() string
type LeaveGameSessionNotFound ¶
type LeaveGameSessionNotFound struct {
Payload *sessionclientmodels.ResponseError
}
LeaveGameSessionNotFound handles this case with default header values.
Not Found
func NewLeaveGameSessionNotFound ¶
func NewLeaveGameSessionNotFound() *LeaveGameSessionNotFound
NewLeaveGameSessionNotFound creates a LeaveGameSessionNotFound with default headers values
func (*LeaveGameSessionNotFound) Error ¶
func (o *LeaveGameSessionNotFound) Error() string
func (*LeaveGameSessionNotFound) GetPayload ¶
func (o *LeaveGameSessionNotFound) GetPayload() *sessionclientmodels.ResponseError
func (*LeaveGameSessionNotFound) ToJSONString ¶
func (o *LeaveGameSessionNotFound) ToJSONString() string
type LeaveGameSessionParams ¶
type LeaveGameSessionParams 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 }
LeaveGameSessionParams contains all the parameters to send to the API endpoint for the leave game session operation typically these are written to a http.Request
func NewLeaveGameSessionParams ¶
func NewLeaveGameSessionParams() *LeaveGameSessionParams
NewLeaveGameSessionParams creates a new LeaveGameSessionParams object with the default values initialized.
func NewLeaveGameSessionParamsWithContext ¶
func NewLeaveGameSessionParamsWithContext(ctx context.Context) *LeaveGameSessionParams
NewLeaveGameSessionParamsWithContext creates a new LeaveGameSessionParams object with the default values initialized, and the ability to set a context for a request
func NewLeaveGameSessionParamsWithHTTPClient ¶
func NewLeaveGameSessionParamsWithHTTPClient(client *http.Client) *LeaveGameSessionParams
NewLeaveGameSessionParamsWithHTTPClient creates a new LeaveGameSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLeaveGameSessionParamsWithTimeout ¶
func NewLeaveGameSessionParamsWithTimeout(timeout time.Duration) *LeaveGameSessionParams
NewLeaveGameSessionParamsWithTimeout creates a new LeaveGameSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*LeaveGameSessionParams) SetAuthInfoWriter ¶
func (o *LeaveGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the leave game session params
func (*LeaveGameSessionParams) SetContext ¶
func (o *LeaveGameSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the leave game session params
func (*LeaveGameSessionParams) SetHTTPClient ¶
func (o *LeaveGameSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the leave game session params
func (*LeaveGameSessionParams) SetHTTPClientTransport ¶
func (o *LeaveGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the leave game session params
func (*LeaveGameSessionParams) SetNamespace ¶
func (o *LeaveGameSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the leave game session params
func (*LeaveGameSessionParams) SetSessionID ¶
func (o *LeaveGameSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the leave game session params
func (*LeaveGameSessionParams) SetTimeout ¶
func (o *LeaveGameSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the leave game session params
func (*LeaveGameSessionParams) WithContext ¶
func (o *LeaveGameSessionParams) WithContext(ctx context.Context) *LeaveGameSessionParams
WithContext adds the context to the leave game session params
func (*LeaveGameSessionParams) WithHTTPClient ¶
func (o *LeaveGameSessionParams) WithHTTPClient(client *http.Client) *LeaveGameSessionParams
WithHTTPClient adds the HTTPClient to the leave game session params
func (*LeaveGameSessionParams) WithNamespace ¶
func (o *LeaveGameSessionParams) WithNamespace(namespace string) *LeaveGameSessionParams
WithNamespace adds the namespace to the leave game session params
func (*LeaveGameSessionParams) WithSessionID ¶
func (o *LeaveGameSessionParams) WithSessionID(sessionID string) *LeaveGameSessionParams
WithSessionID adds the sessionID to the leave game session params
func (*LeaveGameSessionParams) WithTimeout ¶
func (o *LeaveGameSessionParams) WithTimeout(timeout time.Duration) *LeaveGameSessionParams
WithTimeout adds the timeout to the leave game session params
func (*LeaveGameSessionParams) WriteToRequest ¶
func (o *LeaveGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LeaveGameSessionReader ¶
type LeaveGameSessionReader struct {
// contains filtered or unexported fields
}
LeaveGameSessionReader is a Reader for the LeaveGameSession structure.
func (*LeaveGameSessionReader) ReadResponse ¶
func (o *LeaveGameSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LeaveGameSessionUnauthorized ¶
type LeaveGameSessionUnauthorized struct {
}LeaveGameSessionUnauthorized handles this case with default header values.
Unauthorized
func NewLeaveGameSessionUnauthorized ¶
func NewLeaveGameSessionUnauthorized() *LeaveGameSessionUnauthorized
NewLeaveGameSessionUnauthorized creates a LeaveGameSessionUnauthorized with default headers values
func (*LeaveGameSessionUnauthorized) Error ¶
func (o *LeaveGameSessionUnauthorized) Error() string
func (*LeaveGameSessionUnauthorized) GetPayload ¶
func (o *LeaveGameSessionUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*LeaveGameSessionUnauthorized) ToJSONString ¶
func (o *LeaveGameSessionUnauthorized) ToJSONString() string
type PatchUpdateGameSessionBadRequest ¶
type PatchUpdateGameSessionBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
PatchUpdateGameSessionBadRequest handles this case with default header values.
Bad Request
func NewPatchUpdateGameSessionBadRequest ¶
func NewPatchUpdateGameSessionBadRequest() *PatchUpdateGameSessionBadRequest
NewPatchUpdateGameSessionBadRequest creates a PatchUpdateGameSessionBadRequest with default headers values
func (*PatchUpdateGameSessionBadRequest) Error ¶
func (o *PatchUpdateGameSessionBadRequest) Error() string
func (*PatchUpdateGameSessionBadRequest) GetPayload ¶
func (o *PatchUpdateGameSessionBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*PatchUpdateGameSessionBadRequest) ToJSONString ¶
func (o *PatchUpdateGameSessionBadRequest) ToJSONString() string
type PatchUpdateGameSessionForbidden ¶
type PatchUpdateGameSessionForbidden struct {
Payload *sessionclientmodels.ResponseError
}
PatchUpdateGameSessionForbidden handles this case with default header values.
Forbidden
func NewPatchUpdateGameSessionForbidden ¶
func NewPatchUpdateGameSessionForbidden() *PatchUpdateGameSessionForbidden
NewPatchUpdateGameSessionForbidden creates a PatchUpdateGameSessionForbidden with default headers values
func (*PatchUpdateGameSessionForbidden) Error ¶
func (o *PatchUpdateGameSessionForbidden) Error() string
func (*PatchUpdateGameSessionForbidden) GetPayload ¶
func (o *PatchUpdateGameSessionForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*PatchUpdateGameSessionForbidden) ToJSONString ¶
func (o *PatchUpdateGameSessionForbidden) ToJSONString() string
type PatchUpdateGameSessionInternalServerError ¶
type PatchUpdateGameSessionInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
PatchUpdateGameSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewPatchUpdateGameSessionInternalServerError ¶
func NewPatchUpdateGameSessionInternalServerError() *PatchUpdateGameSessionInternalServerError
NewPatchUpdateGameSessionInternalServerError creates a PatchUpdateGameSessionInternalServerError with default headers values
func (*PatchUpdateGameSessionInternalServerError) Error ¶
func (o *PatchUpdateGameSessionInternalServerError) Error() string
func (*PatchUpdateGameSessionInternalServerError) GetPayload ¶
func (o *PatchUpdateGameSessionInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*PatchUpdateGameSessionInternalServerError) ToJSONString ¶
func (o *PatchUpdateGameSessionInternalServerError) ToJSONString() string
type PatchUpdateGameSessionNotFound ¶
type PatchUpdateGameSessionNotFound struct {
Payload *sessionclientmodels.ResponseError
}
PatchUpdateGameSessionNotFound handles this case with default header values.
Not Found
func NewPatchUpdateGameSessionNotFound ¶
func NewPatchUpdateGameSessionNotFound() *PatchUpdateGameSessionNotFound
NewPatchUpdateGameSessionNotFound creates a PatchUpdateGameSessionNotFound with default headers values
func (*PatchUpdateGameSessionNotFound) Error ¶
func (o *PatchUpdateGameSessionNotFound) Error() string
func (*PatchUpdateGameSessionNotFound) GetPayload ¶
func (o *PatchUpdateGameSessionNotFound) GetPayload() *sessionclientmodels.ResponseError
func (*PatchUpdateGameSessionNotFound) ToJSONString ¶
func (o *PatchUpdateGameSessionNotFound) ToJSONString() string
type PatchUpdateGameSessionOK ¶
type PatchUpdateGameSessionOK struct {
Payload *sessionclientmodels.ApimodelsGameSessionResponse
}
PatchUpdateGameSessionOK handles this case with default header values.
OK
func NewPatchUpdateGameSessionOK ¶
func NewPatchUpdateGameSessionOK() *PatchUpdateGameSessionOK
NewPatchUpdateGameSessionOK creates a PatchUpdateGameSessionOK with default headers values
func (*PatchUpdateGameSessionOK) Error ¶
func (o *PatchUpdateGameSessionOK) Error() string
func (*PatchUpdateGameSessionOK) GetPayload ¶
func (o *PatchUpdateGameSessionOK) GetPayload() *sessionclientmodels.ApimodelsGameSessionResponse
func (*PatchUpdateGameSessionOK) ToJSONString ¶
func (o *PatchUpdateGameSessionOK) ToJSONString() string
type PatchUpdateGameSessionParams ¶
type PatchUpdateGameSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body Update game session request */ Body *sessionclientmodels.ApimodelsUpdateGameSessionRequest /*Namespace Namespace */ Namespace string /*SessionID session ID */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchUpdateGameSessionParams contains all the parameters to send to the API endpoint for the patch update game session operation typically these are written to a http.Request
func NewPatchUpdateGameSessionParams ¶
func NewPatchUpdateGameSessionParams() *PatchUpdateGameSessionParams
NewPatchUpdateGameSessionParams creates a new PatchUpdateGameSessionParams object with the default values initialized.
func NewPatchUpdateGameSessionParamsWithContext ¶
func NewPatchUpdateGameSessionParamsWithContext(ctx context.Context) *PatchUpdateGameSessionParams
NewPatchUpdateGameSessionParamsWithContext creates a new PatchUpdateGameSessionParams object with the default values initialized, and the ability to set a context for a request
func NewPatchUpdateGameSessionParamsWithHTTPClient ¶
func NewPatchUpdateGameSessionParamsWithHTTPClient(client *http.Client) *PatchUpdateGameSessionParams
NewPatchUpdateGameSessionParamsWithHTTPClient creates a new PatchUpdateGameSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchUpdateGameSessionParamsWithTimeout ¶
func NewPatchUpdateGameSessionParamsWithTimeout(timeout time.Duration) *PatchUpdateGameSessionParams
NewPatchUpdateGameSessionParamsWithTimeout creates a new PatchUpdateGameSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchUpdateGameSessionParams) SetAuthInfoWriter ¶
func (o *PatchUpdateGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the patch update game session params
func (*PatchUpdateGameSessionParams) SetBody ¶
func (o *PatchUpdateGameSessionParams) SetBody(body *sessionclientmodels.ApimodelsUpdateGameSessionRequest)
SetBody adds the body to the patch update game session params
func (*PatchUpdateGameSessionParams) SetContext ¶
func (o *PatchUpdateGameSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the patch update game session params
func (*PatchUpdateGameSessionParams) SetHTTPClient ¶
func (o *PatchUpdateGameSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch update game session params
func (*PatchUpdateGameSessionParams) SetHTTPClientTransport ¶
func (o *PatchUpdateGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the patch update game session params
func (*PatchUpdateGameSessionParams) SetNamespace ¶
func (o *PatchUpdateGameSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the patch update game session params
func (*PatchUpdateGameSessionParams) SetSessionID ¶
func (o *PatchUpdateGameSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the patch update game session params
func (*PatchUpdateGameSessionParams) SetTimeout ¶
func (o *PatchUpdateGameSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch update game session params
func (*PatchUpdateGameSessionParams) WithBody ¶
func (o *PatchUpdateGameSessionParams) WithBody(body *sessionclientmodels.ApimodelsUpdateGameSessionRequest) *PatchUpdateGameSessionParams
WithBody adds the body to the patch update game session params
func (*PatchUpdateGameSessionParams) WithContext ¶
func (o *PatchUpdateGameSessionParams) WithContext(ctx context.Context) *PatchUpdateGameSessionParams
WithContext adds the context to the patch update game session params
func (*PatchUpdateGameSessionParams) WithHTTPClient ¶
func (o *PatchUpdateGameSessionParams) WithHTTPClient(client *http.Client) *PatchUpdateGameSessionParams
WithHTTPClient adds the HTTPClient to the patch update game session params
func (*PatchUpdateGameSessionParams) WithNamespace ¶
func (o *PatchUpdateGameSessionParams) WithNamespace(namespace string) *PatchUpdateGameSessionParams
WithNamespace adds the namespace to the patch update game session params
func (*PatchUpdateGameSessionParams) WithSessionID ¶
func (o *PatchUpdateGameSessionParams) WithSessionID(sessionID string) *PatchUpdateGameSessionParams
WithSessionID adds the sessionID to the patch update game session params
func (*PatchUpdateGameSessionParams) WithTimeout ¶
func (o *PatchUpdateGameSessionParams) WithTimeout(timeout time.Duration) *PatchUpdateGameSessionParams
WithTimeout adds the timeout to the patch update game session params
func (*PatchUpdateGameSessionParams) WriteToRequest ¶
func (o *PatchUpdateGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchUpdateGameSessionReader ¶
type PatchUpdateGameSessionReader struct {
// contains filtered or unexported fields
}
PatchUpdateGameSessionReader is a Reader for the PatchUpdateGameSession structure.
func (*PatchUpdateGameSessionReader) ReadResponse ¶
func (o *PatchUpdateGameSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchUpdateGameSessionUnauthorized ¶
type PatchUpdateGameSessionUnauthorized struct {
}PatchUpdateGameSessionUnauthorized handles this case with default header values.
Unauthorized
func NewPatchUpdateGameSessionUnauthorized ¶
func NewPatchUpdateGameSessionUnauthorized() *PatchUpdateGameSessionUnauthorized
NewPatchUpdateGameSessionUnauthorized creates a PatchUpdateGameSessionUnauthorized with default headers values
func (*PatchUpdateGameSessionUnauthorized) Error ¶
func (o *PatchUpdateGameSessionUnauthorized) Error() string
func (*PatchUpdateGameSessionUnauthorized) GetPayload ¶
func (o *PatchUpdateGameSessionUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*PatchUpdateGameSessionUnauthorized) ToJSONString ¶
func (o *PatchUpdateGameSessionUnauthorized) ToJSONString() string
type PublicGameSessionInviteBadRequest ¶
type PublicGameSessionInviteBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
PublicGameSessionInviteBadRequest handles this case with default header values.
Bad Request
func NewPublicGameSessionInviteBadRequest ¶
func NewPublicGameSessionInviteBadRequest() *PublicGameSessionInviteBadRequest
NewPublicGameSessionInviteBadRequest creates a PublicGameSessionInviteBadRequest with default headers values
func (*PublicGameSessionInviteBadRequest) Error ¶
func (o *PublicGameSessionInviteBadRequest) Error() string
func (*PublicGameSessionInviteBadRequest) GetPayload ¶
func (o *PublicGameSessionInviteBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*PublicGameSessionInviteBadRequest) ToJSONString ¶
func (o *PublicGameSessionInviteBadRequest) ToJSONString() string
type PublicGameSessionInviteCreated ¶
type PublicGameSessionInviteCreated struct { }
PublicGameSessionInviteCreated handles this case with default header values.
Created
func NewPublicGameSessionInviteCreated ¶
func NewPublicGameSessionInviteCreated() *PublicGameSessionInviteCreated
NewPublicGameSessionInviteCreated creates a PublicGameSessionInviteCreated with default headers values
func (*PublicGameSessionInviteCreated) Error ¶
func (o *PublicGameSessionInviteCreated) Error() string
type PublicGameSessionInviteInternalServerError ¶
type PublicGameSessionInviteInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
PublicGameSessionInviteInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicGameSessionInviteInternalServerError ¶
func NewPublicGameSessionInviteInternalServerError() *PublicGameSessionInviteInternalServerError
NewPublicGameSessionInviteInternalServerError creates a PublicGameSessionInviteInternalServerError with default headers values
func (*PublicGameSessionInviteInternalServerError) Error ¶
func (o *PublicGameSessionInviteInternalServerError) Error() string
func (*PublicGameSessionInviteInternalServerError) GetPayload ¶
func (o *PublicGameSessionInviteInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*PublicGameSessionInviteInternalServerError) ToJSONString ¶
func (o *PublicGameSessionInviteInternalServerError) ToJSONString() string
type PublicGameSessionInviteNoContent ¶
type PublicGameSessionInviteNoContent struct { }
PublicGameSessionInviteNoContent handles this case with default header values.
No Content
func NewPublicGameSessionInviteNoContent ¶
func NewPublicGameSessionInviteNoContent() *PublicGameSessionInviteNoContent
NewPublicGameSessionInviteNoContent creates a PublicGameSessionInviteNoContent with default headers values
func (*PublicGameSessionInviteNoContent) Error ¶
func (o *PublicGameSessionInviteNoContent) Error() string
type PublicGameSessionInviteNotFound ¶
type PublicGameSessionInviteNotFound struct {
Payload *sessionclientmodels.ResponseError
}
PublicGameSessionInviteNotFound handles this case with default header values.
Not Found
func NewPublicGameSessionInviteNotFound ¶
func NewPublicGameSessionInviteNotFound() *PublicGameSessionInviteNotFound
NewPublicGameSessionInviteNotFound creates a PublicGameSessionInviteNotFound with default headers values
func (*PublicGameSessionInviteNotFound) Error ¶
func (o *PublicGameSessionInviteNotFound) Error() string
func (*PublicGameSessionInviteNotFound) GetPayload ¶
func (o *PublicGameSessionInviteNotFound) GetPayload() *sessionclientmodels.ResponseError
func (*PublicGameSessionInviteNotFound) ToJSONString ¶
func (o *PublicGameSessionInviteNotFound) ToJSONString() string
type PublicGameSessionInviteParams ¶
type PublicGameSessionInviteParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body Session invite request */ Body *sessionclientmodels.ApimodelsSessionInviteRequest /*Namespace Namespace */ Namespace string /*SessionID session ID */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGameSessionInviteParams contains all the parameters to send to the API endpoint for the public game session invite operation typically these are written to a http.Request
func NewPublicGameSessionInviteParams ¶
func NewPublicGameSessionInviteParams() *PublicGameSessionInviteParams
NewPublicGameSessionInviteParams creates a new PublicGameSessionInviteParams object with the default values initialized.
func NewPublicGameSessionInviteParamsWithContext ¶
func NewPublicGameSessionInviteParamsWithContext(ctx context.Context) *PublicGameSessionInviteParams
NewPublicGameSessionInviteParamsWithContext creates a new PublicGameSessionInviteParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGameSessionInviteParamsWithHTTPClient ¶
func NewPublicGameSessionInviteParamsWithHTTPClient(client *http.Client) *PublicGameSessionInviteParams
NewPublicGameSessionInviteParamsWithHTTPClient creates a new PublicGameSessionInviteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGameSessionInviteParamsWithTimeout ¶
func NewPublicGameSessionInviteParamsWithTimeout(timeout time.Duration) *PublicGameSessionInviteParams
NewPublicGameSessionInviteParamsWithTimeout creates a new PublicGameSessionInviteParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGameSessionInviteParams) SetAuthInfoWriter ¶
func (o *PublicGameSessionInviteParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public game session invite params
func (*PublicGameSessionInviteParams) SetBody ¶
func (o *PublicGameSessionInviteParams) SetBody(body *sessionclientmodels.ApimodelsSessionInviteRequest)
SetBody adds the body to the public game session invite params
func (*PublicGameSessionInviteParams) SetContext ¶
func (o *PublicGameSessionInviteParams) SetContext(ctx context.Context)
SetContext adds the context to the public game session invite params
func (*PublicGameSessionInviteParams) SetHTTPClient ¶
func (o *PublicGameSessionInviteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public game session invite params
func (*PublicGameSessionInviteParams) SetHTTPClientTransport ¶
func (o *PublicGameSessionInviteParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public game session invite params
func (*PublicGameSessionInviteParams) SetNamespace ¶
func (o *PublicGameSessionInviteParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public game session invite params
func (*PublicGameSessionInviteParams) SetSessionID ¶
func (o *PublicGameSessionInviteParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the public game session invite params
func (*PublicGameSessionInviteParams) SetTimeout ¶
func (o *PublicGameSessionInviteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public game session invite params
func (*PublicGameSessionInviteParams) WithBody ¶
func (o *PublicGameSessionInviteParams) WithBody(body *sessionclientmodels.ApimodelsSessionInviteRequest) *PublicGameSessionInviteParams
WithBody adds the body to the public game session invite params
func (*PublicGameSessionInviteParams) WithContext ¶
func (o *PublicGameSessionInviteParams) WithContext(ctx context.Context) *PublicGameSessionInviteParams
WithContext adds the context to the public game session invite params
func (*PublicGameSessionInviteParams) WithHTTPClient ¶
func (o *PublicGameSessionInviteParams) WithHTTPClient(client *http.Client) *PublicGameSessionInviteParams
WithHTTPClient adds the HTTPClient to the public game session invite params
func (*PublicGameSessionInviteParams) WithNamespace ¶
func (o *PublicGameSessionInviteParams) WithNamespace(namespace string) *PublicGameSessionInviteParams
WithNamespace adds the namespace to the public game session invite params
func (*PublicGameSessionInviteParams) WithSessionID ¶
func (o *PublicGameSessionInviteParams) WithSessionID(sessionID string) *PublicGameSessionInviteParams
WithSessionID adds the sessionID to the public game session invite params
func (*PublicGameSessionInviteParams) WithTimeout ¶
func (o *PublicGameSessionInviteParams) WithTimeout(timeout time.Duration) *PublicGameSessionInviteParams
WithTimeout adds the timeout to the public game session invite params
func (*PublicGameSessionInviteParams) WriteToRequest ¶
func (o *PublicGameSessionInviteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGameSessionInviteReader ¶
type PublicGameSessionInviteReader struct {
// contains filtered or unexported fields
}
PublicGameSessionInviteReader is a Reader for the PublicGameSessionInvite structure.
func (*PublicGameSessionInviteReader) ReadResponse ¶
func (o *PublicGameSessionInviteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGameSessionInviteUnauthorized ¶
type PublicGameSessionInviteUnauthorized struct {
}PublicGameSessionInviteUnauthorized handles this case with default header values.
Unauthorized
func NewPublicGameSessionInviteUnauthorized ¶
func NewPublicGameSessionInviteUnauthorized() *PublicGameSessionInviteUnauthorized
NewPublicGameSessionInviteUnauthorized creates a PublicGameSessionInviteUnauthorized with default headers values
func (*PublicGameSessionInviteUnauthorized) Error ¶
func (o *PublicGameSessionInviteUnauthorized) Error() string
func (*PublicGameSessionInviteUnauthorized) GetPayload ¶
func (o *PublicGameSessionInviteUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*PublicGameSessionInviteUnauthorized) ToJSONString ¶
func (o *PublicGameSessionInviteUnauthorized) ToJSONString() string
type PublicGameSessionRejectBadRequest ¶
type PublicGameSessionRejectBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
PublicGameSessionRejectBadRequest handles this case with default header values.
Bad Request
func NewPublicGameSessionRejectBadRequest ¶
func NewPublicGameSessionRejectBadRequest() *PublicGameSessionRejectBadRequest
NewPublicGameSessionRejectBadRequest creates a PublicGameSessionRejectBadRequest with default headers values
func (*PublicGameSessionRejectBadRequest) Error ¶
func (o *PublicGameSessionRejectBadRequest) Error() string
func (*PublicGameSessionRejectBadRequest) GetPayload ¶
func (o *PublicGameSessionRejectBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*PublicGameSessionRejectBadRequest) ToJSONString ¶
func (o *PublicGameSessionRejectBadRequest) ToJSONString() string
type PublicGameSessionRejectForbidden ¶
type PublicGameSessionRejectForbidden struct {
Payload *sessionclientmodels.ResponseError
}
PublicGameSessionRejectForbidden handles this case with default header values.
Forbidden
func NewPublicGameSessionRejectForbidden ¶
func NewPublicGameSessionRejectForbidden() *PublicGameSessionRejectForbidden
NewPublicGameSessionRejectForbidden creates a PublicGameSessionRejectForbidden with default headers values
func (*PublicGameSessionRejectForbidden) Error ¶
func (o *PublicGameSessionRejectForbidden) Error() string
func (*PublicGameSessionRejectForbidden) GetPayload ¶
func (o *PublicGameSessionRejectForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*PublicGameSessionRejectForbidden) ToJSONString ¶
func (o *PublicGameSessionRejectForbidden) ToJSONString() string
type PublicGameSessionRejectInternalServerError ¶
type PublicGameSessionRejectInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
PublicGameSessionRejectInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicGameSessionRejectInternalServerError ¶
func NewPublicGameSessionRejectInternalServerError() *PublicGameSessionRejectInternalServerError
NewPublicGameSessionRejectInternalServerError creates a PublicGameSessionRejectInternalServerError with default headers values
func (*PublicGameSessionRejectInternalServerError) Error ¶
func (o *PublicGameSessionRejectInternalServerError) Error() string
func (*PublicGameSessionRejectInternalServerError) GetPayload ¶
func (o *PublicGameSessionRejectInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*PublicGameSessionRejectInternalServerError) ToJSONString ¶
func (o *PublicGameSessionRejectInternalServerError) ToJSONString() string
type PublicGameSessionRejectNoContent ¶
type PublicGameSessionRejectNoContent struct { }
PublicGameSessionRejectNoContent handles this case with default header values.
No Content
func NewPublicGameSessionRejectNoContent ¶
func NewPublicGameSessionRejectNoContent() *PublicGameSessionRejectNoContent
NewPublicGameSessionRejectNoContent creates a PublicGameSessionRejectNoContent with default headers values
func (*PublicGameSessionRejectNoContent) Error ¶
func (o *PublicGameSessionRejectNoContent) Error() string
type PublicGameSessionRejectNotFound ¶
type PublicGameSessionRejectNotFound struct {
Payload *sessionclientmodels.ResponseError
}
PublicGameSessionRejectNotFound handles this case with default header values.
Not Found
func NewPublicGameSessionRejectNotFound ¶
func NewPublicGameSessionRejectNotFound() *PublicGameSessionRejectNotFound
NewPublicGameSessionRejectNotFound creates a PublicGameSessionRejectNotFound with default headers values
func (*PublicGameSessionRejectNotFound) Error ¶
func (o *PublicGameSessionRejectNotFound) Error() string
func (*PublicGameSessionRejectNotFound) GetPayload ¶
func (o *PublicGameSessionRejectNotFound) GetPayload() *sessionclientmodels.ResponseError
func (*PublicGameSessionRejectNotFound) ToJSONString ¶
func (o *PublicGameSessionRejectNotFound) ToJSONString() string
type PublicGameSessionRejectParams ¶
type PublicGameSessionRejectParams 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 }
PublicGameSessionRejectParams contains all the parameters to send to the API endpoint for the public game session reject operation typically these are written to a http.Request
func NewPublicGameSessionRejectParams ¶
func NewPublicGameSessionRejectParams() *PublicGameSessionRejectParams
NewPublicGameSessionRejectParams creates a new PublicGameSessionRejectParams object with the default values initialized.
func NewPublicGameSessionRejectParamsWithContext ¶
func NewPublicGameSessionRejectParamsWithContext(ctx context.Context) *PublicGameSessionRejectParams
NewPublicGameSessionRejectParamsWithContext creates a new PublicGameSessionRejectParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGameSessionRejectParamsWithHTTPClient ¶
func NewPublicGameSessionRejectParamsWithHTTPClient(client *http.Client) *PublicGameSessionRejectParams
NewPublicGameSessionRejectParamsWithHTTPClient creates a new PublicGameSessionRejectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGameSessionRejectParamsWithTimeout ¶
func NewPublicGameSessionRejectParamsWithTimeout(timeout time.Duration) *PublicGameSessionRejectParams
NewPublicGameSessionRejectParamsWithTimeout creates a new PublicGameSessionRejectParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGameSessionRejectParams) SetAuthInfoWriter ¶
func (o *PublicGameSessionRejectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public game session reject params
func (*PublicGameSessionRejectParams) SetContext ¶
func (o *PublicGameSessionRejectParams) SetContext(ctx context.Context)
SetContext adds the context to the public game session reject params
func (*PublicGameSessionRejectParams) SetHTTPClient ¶
func (o *PublicGameSessionRejectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public game session reject params
func (*PublicGameSessionRejectParams) SetHTTPClientTransport ¶
func (o *PublicGameSessionRejectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public game session reject params
func (*PublicGameSessionRejectParams) SetNamespace ¶
func (o *PublicGameSessionRejectParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public game session reject params
func (*PublicGameSessionRejectParams) SetSessionID ¶
func (o *PublicGameSessionRejectParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the public game session reject params
func (*PublicGameSessionRejectParams) SetTimeout ¶
func (o *PublicGameSessionRejectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public game session reject params
func (*PublicGameSessionRejectParams) WithContext ¶
func (o *PublicGameSessionRejectParams) WithContext(ctx context.Context) *PublicGameSessionRejectParams
WithContext adds the context to the public game session reject params
func (*PublicGameSessionRejectParams) WithHTTPClient ¶
func (o *PublicGameSessionRejectParams) WithHTTPClient(client *http.Client) *PublicGameSessionRejectParams
WithHTTPClient adds the HTTPClient to the public game session reject params
func (*PublicGameSessionRejectParams) WithNamespace ¶
func (o *PublicGameSessionRejectParams) WithNamespace(namespace string) *PublicGameSessionRejectParams
WithNamespace adds the namespace to the public game session reject params
func (*PublicGameSessionRejectParams) WithSessionID ¶
func (o *PublicGameSessionRejectParams) WithSessionID(sessionID string) *PublicGameSessionRejectParams
WithSessionID adds the sessionID to the public game session reject params
func (*PublicGameSessionRejectParams) WithTimeout ¶
func (o *PublicGameSessionRejectParams) WithTimeout(timeout time.Duration) *PublicGameSessionRejectParams
WithTimeout adds the timeout to the public game session reject params
func (*PublicGameSessionRejectParams) WriteToRequest ¶
func (o *PublicGameSessionRejectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGameSessionRejectReader ¶
type PublicGameSessionRejectReader struct {
// contains filtered or unexported fields
}
PublicGameSessionRejectReader is a Reader for the PublicGameSessionReject structure.
func (*PublicGameSessionRejectReader) ReadResponse ¶
func (o *PublicGameSessionRejectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGameSessionRejectUnauthorized ¶
type PublicGameSessionRejectUnauthorized struct {
}PublicGameSessionRejectUnauthorized handles this case with default header values.
Unauthorized
func NewPublicGameSessionRejectUnauthorized ¶
func NewPublicGameSessionRejectUnauthorized() *PublicGameSessionRejectUnauthorized
NewPublicGameSessionRejectUnauthorized creates a PublicGameSessionRejectUnauthorized with default headers values
func (*PublicGameSessionRejectUnauthorized) Error ¶
func (o *PublicGameSessionRejectUnauthorized) Error() string
func (*PublicGameSessionRejectUnauthorized) GetPayload ¶
func (o *PublicGameSessionRejectUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*PublicGameSessionRejectUnauthorized) ToJSONString ¶
func (o *PublicGameSessionRejectUnauthorized) ToJSONString() string
type PublicQueryGameSessionsBadRequest ¶
type PublicQueryGameSessionsBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
PublicQueryGameSessionsBadRequest handles this case with default header values.
Bad Request
func NewPublicQueryGameSessionsBadRequest ¶
func NewPublicQueryGameSessionsBadRequest() *PublicQueryGameSessionsBadRequest
NewPublicQueryGameSessionsBadRequest creates a PublicQueryGameSessionsBadRequest with default headers values
func (*PublicQueryGameSessionsBadRequest) Error ¶
func (o *PublicQueryGameSessionsBadRequest) Error() string
func (*PublicQueryGameSessionsBadRequest) GetPayload ¶
func (o *PublicQueryGameSessionsBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*PublicQueryGameSessionsBadRequest) ToJSONString ¶
func (o *PublicQueryGameSessionsBadRequest) ToJSONString() string
type PublicQueryGameSessionsForbidden ¶
type PublicQueryGameSessionsForbidden struct {
Payload *sessionclientmodels.ResponseError
}
PublicQueryGameSessionsForbidden handles this case with default header values.
Forbidden
func NewPublicQueryGameSessionsForbidden ¶
func NewPublicQueryGameSessionsForbidden() *PublicQueryGameSessionsForbidden
NewPublicQueryGameSessionsForbidden creates a PublicQueryGameSessionsForbidden with default headers values
func (*PublicQueryGameSessionsForbidden) Error ¶
func (o *PublicQueryGameSessionsForbidden) Error() string
func (*PublicQueryGameSessionsForbidden) GetPayload ¶
func (o *PublicQueryGameSessionsForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*PublicQueryGameSessionsForbidden) ToJSONString ¶
func (o *PublicQueryGameSessionsForbidden) ToJSONString() string
type PublicQueryGameSessionsInternalServerError ¶
type PublicQueryGameSessionsInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
PublicQueryGameSessionsInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicQueryGameSessionsInternalServerError ¶
func NewPublicQueryGameSessionsInternalServerError() *PublicQueryGameSessionsInternalServerError
NewPublicQueryGameSessionsInternalServerError creates a PublicQueryGameSessionsInternalServerError with default headers values
func (*PublicQueryGameSessionsInternalServerError) Error ¶
func (o *PublicQueryGameSessionsInternalServerError) Error() string
func (*PublicQueryGameSessionsInternalServerError) GetPayload ¶
func (o *PublicQueryGameSessionsInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*PublicQueryGameSessionsInternalServerError) ToJSONString ¶
func (o *PublicQueryGameSessionsInternalServerError) ToJSONString() string
type PublicQueryGameSessionsOK ¶
type PublicQueryGameSessionsOK struct {
Payload *sessionclientmodels.ApimodelsGameSessionQueryResponse
}
PublicQueryGameSessionsOK handles this case with default header values.
OK
func NewPublicQueryGameSessionsOK ¶
func NewPublicQueryGameSessionsOK() *PublicQueryGameSessionsOK
NewPublicQueryGameSessionsOK creates a PublicQueryGameSessionsOK with default headers values
func (*PublicQueryGameSessionsOK) Error ¶
func (o *PublicQueryGameSessionsOK) Error() string
func (*PublicQueryGameSessionsOK) GetPayload ¶
func (o *PublicQueryGameSessionsOK) GetPayload() *sessionclientmodels.ApimodelsGameSessionQueryResponse
func (*PublicQueryGameSessionsOK) ToJSONString ¶
func (o *PublicQueryGameSessionsOK) ToJSONString() string
type PublicQueryGameSessionsParams ¶
type PublicQueryGameSessionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body a list of attributes to filter from available sessions */ Body interface{} /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicQueryGameSessionsParams contains all the parameters to send to the API endpoint for the public query game sessions operation typically these are written to a http.Request
func NewPublicQueryGameSessionsParams ¶
func NewPublicQueryGameSessionsParams() *PublicQueryGameSessionsParams
NewPublicQueryGameSessionsParams creates a new PublicQueryGameSessionsParams object with the default values initialized.
func NewPublicQueryGameSessionsParamsWithContext ¶
func NewPublicQueryGameSessionsParamsWithContext(ctx context.Context) *PublicQueryGameSessionsParams
NewPublicQueryGameSessionsParamsWithContext creates a new PublicQueryGameSessionsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicQueryGameSessionsParamsWithHTTPClient ¶
func NewPublicQueryGameSessionsParamsWithHTTPClient(client *http.Client) *PublicQueryGameSessionsParams
NewPublicQueryGameSessionsParamsWithHTTPClient creates a new PublicQueryGameSessionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicQueryGameSessionsParamsWithTimeout ¶
func NewPublicQueryGameSessionsParamsWithTimeout(timeout time.Duration) *PublicQueryGameSessionsParams
NewPublicQueryGameSessionsParamsWithTimeout creates a new PublicQueryGameSessionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicQueryGameSessionsParams) SetAuthInfoWriter ¶
func (o *PublicQueryGameSessionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public query game sessions params
func (*PublicQueryGameSessionsParams) SetBody ¶
func (o *PublicQueryGameSessionsParams) SetBody(body interface{})
SetBody adds the body to the public query game sessions params
func (*PublicQueryGameSessionsParams) SetContext ¶
func (o *PublicQueryGameSessionsParams) SetContext(ctx context.Context)
SetContext adds the context to the public query game sessions params
func (*PublicQueryGameSessionsParams) SetHTTPClient ¶
func (o *PublicQueryGameSessionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public query game sessions params
func (*PublicQueryGameSessionsParams) SetHTTPClientTransport ¶
func (o *PublicQueryGameSessionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public query game sessions params
func (*PublicQueryGameSessionsParams) SetNamespace ¶
func (o *PublicQueryGameSessionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public query game sessions params
func (*PublicQueryGameSessionsParams) SetTimeout ¶
func (o *PublicQueryGameSessionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public query game sessions params
func (*PublicQueryGameSessionsParams) WithBody ¶
func (o *PublicQueryGameSessionsParams) WithBody(body interface{}) *PublicQueryGameSessionsParams
WithBody adds the body to the public query game sessions params
func (*PublicQueryGameSessionsParams) WithContext ¶
func (o *PublicQueryGameSessionsParams) WithContext(ctx context.Context) *PublicQueryGameSessionsParams
WithContext adds the context to the public query game sessions params
func (*PublicQueryGameSessionsParams) WithHTTPClient ¶
func (o *PublicQueryGameSessionsParams) WithHTTPClient(client *http.Client) *PublicQueryGameSessionsParams
WithHTTPClient adds the HTTPClient to the public query game sessions params
func (*PublicQueryGameSessionsParams) WithNamespace ¶
func (o *PublicQueryGameSessionsParams) WithNamespace(namespace string) *PublicQueryGameSessionsParams
WithNamespace adds the namespace to the public query game sessions params
func (*PublicQueryGameSessionsParams) WithTimeout ¶
func (o *PublicQueryGameSessionsParams) WithTimeout(timeout time.Duration) *PublicQueryGameSessionsParams
WithTimeout adds the timeout to the public query game sessions params
func (*PublicQueryGameSessionsParams) WriteToRequest ¶
func (o *PublicQueryGameSessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicQueryGameSessionsReader ¶
type PublicQueryGameSessionsReader struct {
// contains filtered or unexported fields
}
PublicQueryGameSessionsReader is a Reader for the PublicQueryGameSessions structure.
func (*PublicQueryGameSessionsReader) ReadResponse ¶
func (o *PublicQueryGameSessionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicQueryGameSessionsUnauthorized ¶
type PublicQueryGameSessionsUnauthorized struct {
}PublicQueryGameSessionsUnauthorized handles this case with default header values.
Unauthorized
func NewPublicQueryGameSessionsUnauthorized ¶
func NewPublicQueryGameSessionsUnauthorized() *PublicQueryGameSessionsUnauthorized
NewPublicQueryGameSessionsUnauthorized creates a PublicQueryGameSessionsUnauthorized with default headers values
func (*PublicQueryGameSessionsUnauthorized) Error ¶
func (o *PublicQueryGameSessionsUnauthorized) Error() string
func (*PublicQueryGameSessionsUnauthorized) GetPayload ¶
func (o *PublicQueryGameSessionsUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*PublicQueryGameSessionsUnauthorized) ToJSONString ¶
func (o *PublicQueryGameSessionsUnauthorized) ToJSONString() string
type PublicQueryMyGameSessionsBadRequest ¶
type PublicQueryMyGameSessionsBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
PublicQueryMyGameSessionsBadRequest handles this case with default header values.
Bad Request
func NewPublicQueryMyGameSessionsBadRequest ¶
func NewPublicQueryMyGameSessionsBadRequest() *PublicQueryMyGameSessionsBadRequest
NewPublicQueryMyGameSessionsBadRequest creates a PublicQueryMyGameSessionsBadRequest with default headers values
func (*PublicQueryMyGameSessionsBadRequest) Error ¶
func (o *PublicQueryMyGameSessionsBadRequest) Error() string
func (*PublicQueryMyGameSessionsBadRequest) GetPayload ¶
func (o *PublicQueryMyGameSessionsBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*PublicQueryMyGameSessionsBadRequest) ToJSONString ¶
func (o *PublicQueryMyGameSessionsBadRequest) ToJSONString() string
type PublicQueryMyGameSessionsInternalServerError ¶
type PublicQueryMyGameSessionsInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
PublicQueryMyGameSessionsInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicQueryMyGameSessionsInternalServerError ¶
func NewPublicQueryMyGameSessionsInternalServerError() *PublicQueryMyGameSessionsInternalServerError
NewPublicQueryMyGameSessionsInternalServerError creates a PublicQueryMyGameSessionsInternalServerError with default headers values
func (*PublicQueryMyGameSessionsInternalServerError) Error ¶
func (o *PublicQueryMyGameSessionsInternalServerError) Error() string
func (*PublicQueryMyGameSessionsInternalServerError) GetPayload ¶
func (o *PublicQueryMyGameSessionsInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*PublicQueryMyGameSessionsInternalServerError) ToJSONString ¶
func (o *PublicQueryMyGameSessionsInternalServerError) ToJSONString() string
type PublicQueryMyGameSessionsOK ¶
type PublicQueryMyGameSessionsOK struct {
Payload []*sessionclientmodels.ApimodelsGameSessionResponse
}
PublicQueryMyGameSessionsOK handles this case with default header values.
OK
func NewPublicQueryMyGameSessionsOK ¶
func NewPublicQueryMyGameSessionsOK() *PublicQueryMyGameSessionsOK
NewPublicQueryMyGameSessionsOK creates a PublicQueryMyGameSessionsOK with default headers values
func (*PublicQueryMyGameSessionsOK) Error ¶
func (o *PublicQueryMyGameSessionsOK) Error() string
func (*PublicQueryMyGameSessionsOK) GetPayload ¶
func (o *PublicQueryMyGameSessionsOK) GetPayload() []*sessionclientmodels.ApimodelsGameSessionResponse
func (*PublicQueryMyGameSessionsOK) ToJSONString ¶
func (o *PublicQueryMyGameSessionsOK) ToJSONString() string
type PublicQueryMyGameSessionsParams ¶
type PublicQueryMyGameSessionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*Order Order of the result. Supported: desc (default), asc */ Order *string /*OrderBy Order result by specific attribute. Supported: createdAt (default), updatedAt */ OrderBy *string /*Status game session status to filter. supported status: INVITED,JOINED,CONNECTED */ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicQueryMyGameSessionsParams contains all the parameters to send to the API endpoint for the public query my game sessions operation typically these are written to a http.Request
func NewPublicQueryMyGameSessionsParams ¶
func NewPublicQueryMyGameSessionsParams() *PublicQueryMyGameSessionsParams
NewPublicQueryMyGameSessionsParams creates a new PublicQueryMyGameSessionsParams object with the default values initialized.
func NewPublicQueryMyGameSessionsParamsWithContext ¶
func NewPublicQueryMyGameSessionsParamsWithContext(ctx context.Context) *PublicQueryMyGameSessionsParams
NewPublicQueryMyGameSessionsParamsWithContext creates a new PublicQueryMyGameSessionsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicQueryMyGameSessionsParamsWithHTTPClient ¶
func NewPublicQueryMyGameSessionsParamsWithHTTPClient(client *http.Client) *PublicQueryMyGameSessionsParams
NewPublicQueryMyGameSessionsParamsWithHTTPClient creates a new PublicQueryMyGameSessionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicQueryMyGameSessionsParamsWithTimeout ¶
func NewPublicQueryMyGameSessionsParamsWithTimeout(timeout time.Duration) *PublicQueryMyGameSessionsParams
NewPublicQueryMyGameSessionsParamsWithTimeout creates a new PublicQueryMyGameSessionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicQueryMyGameSessionsParams) SetAuthInfoWriter ¶
func (o *PublicQueryMyGameSessionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) SetContext ¶
func (o *PublicQueryMyGameSessionsParams) SetContext(ctx context.Context)
SetContext adds the context to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) SetHTTPClient ¶
func (o *PublicQueryMyGameSessionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) SetHTTPClientTransport ¶
func (o *PublicQueryMyGameSessionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) SetNamespace ¶
func (o *PublicQueryMyGameSessionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) SetOrder ¶
func (o *PublicQueryMyGameSessionsParams) SetOrder(order *string)
SetOrder adds the order to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) SetOrderBy ¶
func (o *PublicQueryMyGameSessionsParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) SetStatus ¶
func (o *PublicQueryMyGameSessionsParams) SetStatus(status *string)
SetStatus adds the status to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) SetTimeout ¶
func (o *PublicQueryMyGameSessionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) WithContext ¶
func (o *PublicQueryMyGameSessionsParams) WithContext(ctx context.Context) *PublicQueryMyGameSessionsParams
WithContext adds the context to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) WithHTTPClient ¶
func (o *PublicQueryMyGameSessionsParams) WithHTTPClient(client *http.Client) *PublicQueryMyGameSessionsParams
WithHTTPClient adds the HTTPClient to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) WithNamespace ¶
func (o *PublicQueryMyGameSessionsParams) WithNamespace(namespace string) *PublicQueryMyGameSessionsParams
WithNamespace adds the namespace to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) WithOrder ¶
func (o *PublicQueryMyGameSessionsParams) WithOrder(order *string) *PublicQueryMyGameSessionsParams
WithOrder adds the order to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) WithOrderBy ¶
func (o *PublicQueryMyGameSessionsParams) WithOrderBy(orderBy *string) *PublicQueryMyGameSessionsParams
WithOrderBy adds the orderBy to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) WithStatus ¶
func (o *PublicQueryMyGameSessionsParams) WithStatus(status *string) *PublicQueryMyGameSessionsParams
WithStatus adds the status to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) WithTimeout ¶
func (o *PublicQueryMyGameSessionsParams) WithTimeout(timeout time.Duration) *PublicQueryMyGameSessionsParams
WithTimeout adds the timeout to the public query my game sessions params
func (*PublicQueryMyGameSessionsParams) WriteToRequest ¶
func (o *PublicQueryMyGameSessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicQueryMyGameSessionsReader ¶
type PublicQueryMyGameSessionsReader struct {
// contains filtered or unexported fields
}
PublicQueryMyGameSessionsReader is a Reader for the PublicQueryMyGameSessions structure.
func (*PublicQueryMyGameSessionsReader) ReadResponse ¶
func (o *PublicQueryMyGameSessionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicQueryMyGameSessionsUnauthorized ¶
type PublicQueryMyGameSessionsUnauthorized struct {
}PublicQueryMyGameSessionsUnauthorized handles this case with default header values.
Unauthorized
func NewPublicQueryMyGameSessionsUnauthorized ¶
func NewPublicQueryMyGameSessionsUnauthorized() *PublicQueryMyGameSessionsUnauthorized
NewPublicQueryMyGameSessionsUnauthorized creates a PublicQueryMyGameSessionsUnauthorized with default headers values
func (*PublicQueryMyGameSessionsUnauthorized) Error ¶
func (o *PublicQueryMyGameSessionsUnauthorized) Error() string
func (*PublicQueryMyGameSessionsUnauthorized) GetPayload ¶
func (o *PublicQueryMyGameSessionsUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*PublicQueryMyGameSessionsUnauthorized) ToJSONString ¶
func (o *PublicQueryMyGameSessionsUnauthorized) ToJSONString() string
type UpdateGameSessionBadRequest ¶
type UpdateGameSessionBadRequest struct {
Payload *sessionclientmodels.ResponseError
}
UpdateGameSessionBadRequest handles this case with default header values.
Bad Request
func NewUpdateGameSessionBadRequest ¶
func NewUpdateGameSessionBadRequest() *UpdateGameSessionBadRequest
NewUpdateGameSessionBadRequest creates a UpdateGameSessionBadRequest with default headers values
func (*UpdateGameSessionBadRequest) Error ¶
func (o *UpdateGameSessionBadRequest) Error() string
func (*UpdateGameSessionBadRequest) GetPayload ¶
func (o *UpdateGameSessionBadRequest) GetPayload() *sessionclientmodels.ResponseError
func (*UpdateGameSessionBadRequest) ToJSONString ¶
func (o *UpdateGameSessionBadRequest) ToJSONString() string
type UpdateGameSessionForbidden ¶
type UpdateGameSessionForbidden struct {
Payload *sessionclientmodels.ResponseError
}
UpdateGameSessionForbidden handles this case with default header values.
Forbidden
func NewUpdateGameSessionForbidden ¶
func NewUpdateGameSessionForbidden() *UpdateGameSessionForbidden
NewUpdateGameSessionForbidden creates a UpdateGameSessionForbidden with default headers values
func (*UpdateGameSessionForbidden) Error ¶
func (o *UpdateGameSessionForbidden) Error() string
func (*UpdateGameSessionForbidden) GetPayload ¶
func (o *UpdateGameSessionForbidden) GetPayload() *sessionclientmodels.ResponseError
func (*UpdateGameSessionForbidden) ToJSONString ¶
func (o *UpdateGameSessionForbidden) ToJSONString() string
type UpdateGameSessionInternalServerError ¶
type UpdateGameSessionInternalServerError struct {
Payload *sessionclientmodels.ResponseError
}
UpdateGameSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateGameSessionInternalServerError ¶
func NewUpdateGameSessionInternalServerError() *UpdateGameSessionInternalServerError
NewUpdateGameSessionInternalServerError creates a UpdateGameSessionInternalServerError with default headers values
func (*UpdateGameSessionInternalServerError) Error ¶
func (o *UpdateGameSessionInternalServerError) Error() string
func (*UpdateGameSessionInternalServerError) GetPayload ¶
func (o *UpdateGameSessionInternalServerError) GetPayload() *sessionclientmodels.ResponseError
func (*UpdateGameSessionInternalServerError) ToJSONString ¶
func (o *UpdateGameSessionInternalServerError) ToJSONString() string
type UpdateGameSessionNotFound ¶
type UpdateGameSessionNotFound struct {
Payload *sessionclientmodels.ResponseError
}
UpdateGameSessionNotFound handles this case with default header values.
Not Found
func NewUpdateGameSessionNotFound ¶
func NewUpdateGameSessionNotFound() *UpdateGameSessionNotFound
NewUpdateGameSessionNotFound creates a UpdateGameSessionNotFound with default headers values
func (*UpdateGameSessionNotFound) Error ¶
func (o *UpdateGameSessionNotFound) Error() string
func (*UpdateGameSessionNotFound) GetPayload ¶
func (o *UpdateGameSessionNotFound) GetPayload() *sessionclientmodels.ResponseError
func (*UpdateGameSessionNotFound) ToJSONString ¶
func (o *UpdateGameSessionNotFound) ToJSONString() string
type UpdateGameSessionOK ¶
type UpdateGameSessionOK struct {
Payload *sessionclientmodels.ApimodelsGameSessionResponse
}
UpdateGameSessionOK handles this case with default header values.
OK
func NewUpdateGameSessionOK ¶
func NewUpdateGameSessionOK() *UpdateGameSessionOK
NewUpdateGameSessionOK creates a UpdateGameSessionOK with default headers values
func (*UpdateGameSessionOK) Error ¶
func (o *UpdateGameSessionOK) Error() string
func (*UpdateGameSessionOK) GetPayload ¶
func (o *UpdateGameSessionOK) GetPayload() *sessionclientmodels.ApimodelsGameSessionResponse
func (*UpdateGameSessionOK) ToJSONString ¶
func (o *UpdateGameSessionOK) ToJSONString() string
type UpdateGameSessionParams ¶
type UpdateGameSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body Update game session request */ Body *sessionclientmodels.ApimodelsUpdateGameSessionRequest /*Namespace Namespace */ Namespace string /*SessionID session ID */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateGameSessionParams contains all the parameters to send to the API endpoint for the update game session operation typically these are written to a http.Request
func NewUpdateGameSessionParams ¶
func NewUpdateGameSessionParams() *UpdateGameSessionParams
NewUpdateGameSessionParams creates a new UpdateGameSessionParams object with the default values initialized.
func NewUpdateGameSessionParamsWithContext ¶
func NewUpdateGameSessionParamsWithContext(ctx context.Context) *UpdateGameSessionParams
NewUpdateGameSessionParamsWithContext creates a new UpdateGameSessionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateGameSessionParamsWithHTTPClient ¶
func NewUpdateGameSessionParamsWithHTTPClient(client *http.Client) *UpdateGameSessionParams
NewUpdateGameSessionParamsWithHTTPClient creates a new UpdateGameSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateGameSessionParamsWithTimeout ¶
func NewUpdateGameSessionParamsWithTimeout(timeout time.Duration) *UpdateGameSessionParams
NewUpdateGameSessionParamsWithTimeout creates a new UpdateGameSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateGameSessionParams) SetAuthInfoWriter ¶
func (o *UpdateGameSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update game session params
func (*UpdateGameSessionParams) SetBody ¶
func (o *UpdateGameSessionParams) SetBody(body *sessionclientmodels.ApimodelsUpdateGameSessionRequest)
SetBody adds the body to the update game session params
func (*UpdateGameSessionParams) SetContext ¶
func (o *UpdateGameSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the update game session params
func (*UpdateGameSessionParams) SetHTTPClient ¶
func (o *UpdateGameSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update game session params
func (*UpdateGameSessionParams) SetHTTPClientTransport ¶
func (o *UpdateGameSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update game session params
func (*UpdateGameSessionParams) SetNamespace ¶
func (o *UpdateGameSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update game session params
func (*UpdateGameSessionParams) SetSessionID ¶
func (o *UpdateGameSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the update game session params
func (*UpdateGameSessionParams) SetTimeout ¶
func (o *UpdateGameSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update game session params
func (*UpdateGameSessionParams) WithBody ¶
func (o *UpdateGameSessionParams) WithBody(body *sessionclientmodels.ApimodelsUpdateGameSessionRequest) *UpdateGameSessionParams
WithBody adds the body to the update game session params
func (*UpdateGameSessionParams) WithContext ¶
func (o *UpdateGameSessionParams) WithContext(ctx context.Context) *UpdateGameSessionParams
WithContext adds the context to the update game session params
func (*UpdateGameSessionParams) WithHTTPClient ¶
func (o *UpdateGameSessionParams) WithHTTPClient(client *http.Client) *UpdateGameSessionParams
WithHTTPClient adds the HTTPClient to the update game session params
func (*UpdateGameSessionParams) WithNamespace ¶
func (o *UpdateGameSessionParams) WithNamespace(namespace string) *UpdateGameSessionParams
WithNamespace adds the namespace to the update game session params
func (*UpdateGameSessionParams) WithSessionID ¶
func (o *UpdateGameSessionParams) WithSessionID(sessionID string) *UpdateGameSessionParams
WithSessionID adds the sessionID to the update game session params
func (*UpdateGameSessionParams) WithTimeout ¶
func (o *UpdateGameSessionParams) WithTimeout(timeout time.Duration) *UpdateGameSessionParams
WithTimeout adds the timeout to the update game session params
func (*UpdateGameSessionParams) WriteToRequest ¶
func (o *UpdateGameSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGameSessionReader ¶
type UpdateGameSessionReader struct {
// contains filtered or unexported fields
}
UpdateGameSessionReader is a Reader for the UpdateGameSession structure.
func (*UpdateGameSessionReader) ReadResponse ¶
func (o *UpdateGameSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateGameSessionUnauthorized ¶
type UpdateGameSessionUnauthorized struct {
}UpdateGameSessionUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateGameSessionUnauthorized ¶
func NewUpdateGameSessionUnauthorized() *UpdateGameSessionUnauthorized
NewUpdateGameSessionUnauthorized creates a UpdateGameSessionUnauthorized with default headers values
func (*UpdateGameSessionUnauthorized) Error ¶
func (o *UpdateGameSessionUnauthorized) Error() string
func (*UpdateGameSessionUnauthorized) GetPayload ¶
func (o *UpdateGameSessionUnauthorized) GetPayload() *sessionclientmodels.ResponseError
func (*UpdateGameSessionUnauthorized) ToJSONString ¶
func (o *UpdateGameSessionUnauthorized) ToJSONString() string
Source Files
¶
- admin_query_game_sessions_parameters.go
- admin_query_game_sessions_responses.go
- admin_update_game_session_member_parameters.go
- admin_update_game_session_member_responses.go
- create_game_session_parameters.go
- create_game_session_responses.go
- delete_game_session_parameters.go
- delete_game_session_responses.go
- game_session_client.go
- get_game_session_by_pod_name_parameters.go
- get_game_session_by_pod_name_responses.go
- get_game_session_parameters.go
- get_game_session_responses.go
- join_game_session_parameters.go
- join_game_session_responses.go
- leave_game_session_parameters.go
- leave_game_session_responses.go
- patch_update_game_session_parameters.go
- patch_update_game_session_responses.go
- public_game_session_invite_parameters.go
- public_game_session_invite_responses.go
- public_game_session_reject_parameters.go
- public_game_session_reject_responses.go
- public_query_game_sessions_parameters.go
- public_query_game_sessions_responses.go
- public_query_my_game_sessions_parameters.go
- public_query_my_game_sessions_responses.go
- update_game_session_parameters.go
- update_game_session_responses.go