Documentation
¶
Index ¶
- Constants
- type AdminCreateChallengeBadRequest
- type AdminCreateChallengeConflict
- type AdminCreateChallengeCreated
- type AdminCreateChallengeForbidden
- type AdminCreateChallengeInternalServerError
- type AdminCreateChallengeParams
- func NewAdminCreateChallengeParams() *AdminCreateChallengeParams
- func NewAdminCreateChallengeParamsWithContext(ctx context.Context) *AdminCreateChallengeParams
- func NewAdminCreateChallengeParamsWithHTTPClient(client *http.Client) *AdminCreateChallengeParams
- func NewAdminCreateChallengeParamsWithTimeout(timeout time.Duration) *AdminCreateChallengeParams
- func (o *AdminCreateChallengeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminCreateChallengeParams) SetBody(body *challengeclientmodels.ModelCreateChallengeRequest)
- func (o *AdminCreateChallengeParams) SetContext(ctx context.Context)
- func (o *AdminCreateChallengeParams) SetFlightId(flightId string)
- func (o *AdminCreateChallengeParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateChallengeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminCreateChallengeParams) SetNamespace(namespace string)
- func (o *AdminCreateChallengeParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateChallengeParams) WithBody(body *challengeclientmodels.ModelCreateChallengeRequest) *AdminCreateChallengeParams
- func (o *AdminCreateChallengeParams) WithContext(ctx context.Context) *AdminCreateChallengeParams
- func (o *AdminCreateChallengeParams) WithHTTPClient(client *http.Client) *AdminCreateChallengeParams
- func (o *AdminCreateChallengeParams) WithNamespace(namespace string) *AdminCreateChallengeParams
- func (o *AdminCreateChallengeParams) WithTimeout(timeout time.Duration) *AdminCreateChallengeParams
- func (o *AdminCreateChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateChallengeReader
- type AdminCreateChallengeUnauthorized
- type AdminCreateChallengeUnprocessableEntity
- type AdminDeleteChallengeBadRequest
- type AdminDeleteChallengeForbidden
- type AdminDeleteChallengeInternalServerError
- type AdminDeleteChallengeNoContent
- type AdminDeleteChallengeNotFound
- type AdminDeleteChallengeParams
- func NewAdminDeleteChallengeParams() *AdminDeleteChallengeParams
- func NewAdminDeleteChallengeParamsWithContext(ctx context.Context) *AdminDeleteChallengeParams
- func NewAdminDeleteChallengeParamsWithHTTPClient(client *http.Client) *AdminDeleteChallengeParams
- func NewAdminDeleteChallengeParamsWithTimeout(timeout time.Duration) *AdminDeleteChallengeParams
- func (o *AdminDeleteChallengeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteChallengeParams) SetChallengeCode(challengeCode string)
- func (o *AdminDeleteChallengeParams) SetContext(ctx context.Context)
- func (o *AdminDeleteChallengeParams) SetFlightId(flightId string)
- func (o *AdminDeleteChallengeParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteChallengeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteChallengeParams) SetNamespace(namespace string)
- func (o *AdminDeleteChallengeParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteChallengeParams) WithChallengeCode(challengeCode string) *AdminDeleteChallengeParams
- func (o *AdminDeleteChallengeParams) WithContext(ctx context.Context) *AdminDeleteChallengeParams
- func (o *AdminDeleteChallengeParams) WithHTTPClient(client *http.Client) *AdminDeleteChallengeParams
- func (o *AdminDeleteChallengeParams) WithNamespace(namespace string) *AdminDeleteChallengeParams
- func (o *AdminDeleteChallengeParams) WithTimeout(timeout time.Duration) *AdminDeleteChallengeParams
- func (o *AdminDeleteChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteChallengeReader
- type AdminDeleteChallengeUnauthorized
- type AdminDeleteTiedChallengeBadRequest
- type AdminDeleteTiedChallengeForbidden
- type AdminDeleteTiedChallengeInternalServerError
- type AdminDeleteTiedChallengeNoContent
- type AdminDeleteTiedChallengeNotFound
- type AdminDeleteTiedChallengeParams
- func NewAdminDeleteTiedChallengeParams() *AdminDeleteTiedChallengeParams
- func NewAdminDeleteTiedChallengeParamsWithContext(ctx context.Context) *AdminDeleteTiedChallengeParams
- func NewAdminDeleteTiedChallengeParamsWithHTTPClient(client *http.Client) *AdminDeleteTiedChallengeParams
- func NewAdminDeleteTiedChallengeParamsWithTimeout(timeout time.Duration) *AdminDeleteTiedChallengeParams
- func (o *AdminDeleteTiedChallengeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteTiedChallengeParams) SetChallengeCode(challengeCode string)
- func (o *AdminDeleteTiedChallengeParams) SetContext(ctx context.Context)
- func (o *AdminDeleteTiedChallengeParams) SetFlightId(flightId string)
- func (o *AdminDeleteTiedChallengeParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteTiedChallengeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteTiedChallengeParams) SetNamespace(namespace string)
- func (o *AdminDeleteTiedChallengeParams) SetSafeDelete(safeDelete *string)
- func (o *AdminDeleteTiedChallengeParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteTiedChallengeParams) WithChallengeCode(challengeCode string) *AdminDeleteTiedChallengeParams
- func (o *AdminDeleteTiedChallengeParams) WithContext(ctx context.Context) *AdminDeleteTiedChallengeParams
- func (o *AdminDeleteTiedChallengeParams) WithHTTPClient(client *http.Client) *AdminDeleteTiedChallengeParams
- func (o *AdminDeleteTiedChallengeParams) WithNamespace(namespace string) *AdminDeleteTiedChallengeParams
- func (o *AdminDeleteTiedChallengeParams) WithSafeDelete(safeDelete *string) *AdminDeleteTiedChallengeParams
- func (o *AdminDeleteTiedChallengeParams) WithTimeout(timeout time.Duration) *AdminDeleteTiedChallengeParams
- func (o *AdminDeleteTiedChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteTiedChallengeReader
- type AdminDeleteTiedChallengeUnauthorized
- type AdminGetActiveChallengesForbidden
- type AdminGetActiveChallengesInternalServerError
- type AdminGetActiveChallengesOK
- type AdminGetActiveChallengesParams
- func NewAdminGetActiveChallengesParams() *AdminGetActiveChallengesParams
- func NewAdminGetActiveChallengesParamsWithContext(ctx context.Context) *AdminGetActiveChallengesParams
- func NewAdminGetActiveChallengesParamsWithHTTPClient(client *http.Client) *AdminGetActiveChallengesParams
- func NewAdminGetActiveChallengesParamsWithTimeout(timeout time.Duration) *AdminGetActiveChallengesParams
- func (o *AdminGetActiveChallengesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetActiveChallengesParams) SetContext(ctx context.Context)
- func (o *AdminGetActiveChallengesParams) SetFlightId(flightId string)
- func (o *AdminGetActiveChallengesParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetActiveChallengesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetActiveChallengesParams) SetLimit(limit *int64)
- func (o *AdminGetActiveChallengesParams) SetNamespace(namespace string)
- func (o *AdminGetActiveChallengesParams) SetOffset(offset *int64)
- func (o *AdminGetActiveChallengesParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetActiveChallengesParams) SetUserID(userID string)
- func (o *AdminGetActiveChallengesParams) WithContext(ctx context.Context) *AdminGetActiveChallengesParams
- func (o *AdminGetActiveChallengesParams) WithHTTPClient(client *http.Client) *AdminGetActiveChallengesParams
- func (o *AdminGetActiveChallengesParams) WithLimit(limit *int64) *AdminGetActiveChallengesParams
- func (o *AdminGetActiveChallengesParams) WithNamespace(namespace string) *AdminGetActiveChallengesParams
- func (o *AdminGetActiveChallengesParams) WithOffset(offset *int64) *AdminGetActiveChallengesParams
- func (o *AdminGetActiveChallengesParams) WithTimeout(timeout time.Duration) *AdminGetActiveChallengesParams
- func (o *AdminGetActiveChallengesParams) WithUserID(userID string) *AdminGetActiveChallengesParams
- func (o *AdminGetActiveChallengesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetActiveChallengesReader
- type AdminGetActiveChallengesUnauthorized
- type AdminGetChallengeForbidden
- type AdminGetChallengeInternalServerError
- type AdminGetChallengeNotFound
- type AdminGetChallengeOK
- type AdminGetChallengeParams
- func NewAdminGetChallengeParams() *AdminGetChallengeParams
- func NewAdminGetChallengeParamsWithContext(ctx context.Context) *AdminGetChallengeParams
- func NewAdminGetChallengeParamsWithHTTPClient(client *http.Client) *AdminGetChallengeParams
- func NewAdminGetChallengeParamsWithTimeout(timeout time.Duration) *AdminGetChallengeParams
- func (o *AdminGetChallengeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetChallengeParams) SetChallengeCode(challengeCode string)
- func (o *AdminGetChallengeParams) SetContext(ctx context.Context)
- func (o *AdminGetChallengeParams) SetFlightId(flightId string)
- func (o *AdminGetChallengeParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetChallengeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetChallengeParams) SetNamespace(namespace string)
- func (o *AdminGetChallengeParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetChallengeParams) WithChallengeCode(challengeCode string) *AdminGetChallengeParams
- func (o *AdminGetChallengeParams) WithContext(ctx context.Context) *AdminGetChallengeParams
- func (o *AdminGetChallengeParams) WithHTTPClient(client *http.Client) *AdminGetChallengeParams
- func (o *AdminGetChallengeParams) WithNamespace(namespace string) *AdminGetChallengeParams
- func (o *AdminGetChallengeParams) WithTimeout(timeout time.Duration) *AdminGetChallengeParams
- func (o *AdminGetChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetChallengeReader
- type AdminGetChallengeUnauthorized
- type AdminGetChallengesBadRequest
- type AdminGetChallengesForbidden
- type AdminGetChallengesInternalServerError
- type AdminGetChallengesOK
- type AdminGetChallengesParams
- func NewAdminGetChallengesParams() *AdminGetChallengesParams
- func NewAdminGetChallengesParamsWithContext(ctx context.Context) *AdminGetChallengesParams
- func NewAdminGetChallengesParamsWithHTTPClient(client *http.Client) *AdminGetChallengesParams
- func NewAdminGetChallengesParamsWithTimeout(timeout time.Duration) *AdminGetChallengesParams
- func (o *AdminGetChallengesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetChallengesParams) SetContext(ctx context.Context)
- func (o *AdminGetChallengesParams) SetFlightId(flightId string)
- func (o *AdminGetChallengesParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetChallengesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetChallengesParams) SetKeyword(keyword *string)
- func (o *AdminGetChallengesParams) SetLimit(limit *int64)
- func (o *AdminGetChallengesParams) SetNamespace(namespace string)
- func (o *AdminGetChallengesParams) SetOffset(offset *int64)
- func (o *AdminGetChallengesParams) SetSortBy(sortBy *string)
- func (o *AdminGetChallengesParams) SetStatus(status *string)
- func (o *AdminGetChallengesParams) SetTags(tags []string)
- func (o *AdminGetChallengesParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetChallengesParams) WithContext(ctx context.Context) *AdminGetChallengesParams
- func (o *AdminGetChallengesParams) WithHTTPClient(client *http.Client) *AdminGetChallengesParams
- func (o *AdminGetChallengesParams) WithKeyword(keyword *string) *AdminGetChallengesParams
- func (o *AdminGetChallengesParams) WithLimit(limit *int64) *AdminGetChallengesParams
- func (o *AdminGetChallengesParams) WithNamespace(namespace string) *AdminGetChallengesParams
- func (o *AdminGetChallengesParams) WithOffset(offset *int64) *AdminGetChallengesParams
- func (o *AdminGetChallengesParams) WithSortBy(sortBy *string) *AdminGetChallengesParams
- func (o *AdminGetChallengesParams) WithStatus(status *string) *AdminGetChallengesParams
- func (o *AdminGetChallengesParams) WithTags(tags []string) *AdminGetChallengesParams
- func (o *AdminGetChallengesParams) WithTimeout(timeout time.Duration) *AdminGetChallengesParams
- func (o *AdminGetChallengesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetChallengesReader
- type AdminGetChallengesUnauthorized
- type AdminGetPeriodsForbidden
- type AdminGetPeriodsInternalServerError
- type AdminGetPeriodsNotFound
- type AdminGetPeriodsOK
- type AdminGetPeriodsParams
- func NewAdminGetPeriodsParams() *AdminGetPeriodsParams
- func NewAdminGetPeriodsParamsWithContext(ctx context.Context) *AdminGetPeriodsParams
- func NewAdminGetPeriodsParamsWithHTTPClient(client *http.Client) *AdminGetPeriodsParams
- func NewAdminGetPeriodsParamsWithTimeout(timeout time.Duration) *AdminGetPeriodsParams
- func (o *AdminGetPeriodsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetPeriodsParams) SetChallengeCode(challengeCode string)
- func (o *AdminGetPeriodsParams) SetContext(ctx context.Context)
- func (o *AdminGetPeriodsParams) SetFlightId(flightId string)
- func (o *AdminGetPeriodsParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetPeriodsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetPeriodsParams) SetLimit(limit *int64)
- func (o *AdminGetPeriodsParams) SetNamespace(namespace string)
- func (o *AdminGetPeriodsParams) SetOffset(offset *int64)
- func (o *AdminGetPeriodsParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetPeriodsParams) WithChallengeCode(challengeCode string) *AdminGetPeriodsParams
- func (o *AdminGetPeriodsParams) WithContext(ctx context.Context) *AdminGetPeriodsParams
- func (o *AdminGetPeriodsParams) WithHTTPClient(client *http.Client) *AdminGetPeriodsParams
- func (o *AdminGetPeriodsParams) WithLimit(limit *int64) *AdminGetPeriodsParams
- func (o *AdminGetPeriodsParams) WithNamespace(namespace string) *AdminGetPeriodsParams
- func (o *AdminGetPeriodsParams) WithOffset(offset *int64) *AdminGetPeriodsParams
- func (o *AdminGetPeriodsParams) WithTimeout(timeout time.Duration) *AdminGetPeriodsParams
- func (o *AdminGetPeriodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetPeriodsReader
- type AdminGetPeriodsUnauthorized
- type AdminRandomizeChallengeBadRequest
- type AdminRandomizeChallengeForbidden
- type AdminRandomizeChallengeInternalServerError
- type AdminRandomizeChallengeNotFound
- type AdminRandomizeChallengeOK
- type AdminRandomizeChallengeParams
- func NewAdminRandomizeChallengeParams() *AdminRandomizeChallengeParams
- func NewAdminRandomizeChallengeParamsWithContext(ctx context.Context) *AdminRandomizeChallengeParams
- func NewAdminRandomizeChallengeParamsWithHTTPClient(client *http.Client) *AdminRandomizeChallengeParams
- func NewAdminRandomizeChallengeParamsWithTimeout(timeout time.Duration) *AdminRandomizeChallengeParams
- func (o *AdminRandomizeChallengeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminRandomizeChallengeParams) SetChallengeCode(challengeCode string)
- func (o *AdminRandomizeChallengeParams) SetContext(ctx context.Context)
- func (o *AdminRandomizeChallengeParams) SetFlightId(flightId string)
- func (o *AdminRandomizeChallengeParams) SetHTTPClient(client *http.Client)
- func (o *AdminRandomizeChallengeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminRandomizeChallengeParams) SetNamespace(namespace string)
- func (o *AdminRandomizeChallengeParams) SetTimeout(timeout time.Duration)
- func (o *AdminRandomizeChallengeParams) WithChallengeCode(challengeCode string) *AdminRandomizeChallengeParams
- func (o *AdminRandomizeChallengeParams) WithContext(ctx context.Context) *AdminRandomizeChallengeParams
- func (o *AdminRandomizeChallengeParams) WithHTTPClient(client *http.Client) *AdminRandomizeChallengeParams
- func (o *AdminRandomizeChallengeParams) WithNamespace(namespace string) *AdminRandomizeChallengeParams
- func (o *AdminRandomizeChallengeParams) WithTimeout(timeout time.Duration) *AdminRandomizeChallengeParams
- func (o *AdminRandomizeChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminRandomizeChallengeReader
- type AdminRandomizeChallengeUnauthorized
- type AdminUpdateChallengeBadRequest
- type AdminUpdateChallengeForbidden
- type AdminUpdateChallengeInternalServerError
- type AdminUpdateChallengeNotFound
- type AdminUpdateChallengeOK
- type AdminUpdateChallengeParams
- func NewAdminUpdateChallengeParams() *AdminUpdateChallengeParams
- func NewAdminUpdateChallengeParamsWithContext(ctx context.Context) *AdminUpdateChallengeParams
- func NewAdminUpdateChallengeParamsWithHTTPClient(client *http.Client) *AdminUpdateChallengeParams
- func NewAdminUpdateChallengeParamsWithTimeout(timeout time.Duration) *AdminUpdateChallengeParams
- func (o *AdminUpdateChallengeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateChallengeParams) SetBody(body *challengeclientmodels.ModelUpdateChallengeRequest)
- func (o *AdminUpdateChallengeParams) SetChallengeCode(challengeCode string)
- func (o *AdminUpdateChallengeParams) SetContext(ctx context.Context)
- func (o *AdminUpdateChallengeParams) SetFlightId(flightId string)
- func (o *AdminUpdateChallengeParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateChallengeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateChallengeParams) SetNamespace(namespace string)
- func (o *AdminUpdateChallengeParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateChallengeParams) WithBody(body *challengeclientmodels.ModelUpdateChallengeRequest) *AdminUpdateChallengeParams
- func (o *AdminUpdateChallengeParams) WithChallengeCode(challengeCode string) *AdminUpdateChallengeParams
- func (o *AdminUpdateChallengeParams) WithContext(ctx context.Context) *AdminUpdateChallengeParams
- func (o *AdminUpdateChallengeParams) WithHTTPClient(client *http.Client) *AdminUpdateChallengeParams
- func (o *AdminUpdateChallengeParams) WithNamespace(namespace string) *AdminUpdateChallengeParams
- func (o *AdminUpdateChallengeParams) WithTimeout(timeout time.Duration) *AdminUpdateChallengeParams
- func (o *AdminUpdateChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateChallengeReader
- type AdminUpdateChallengeUnauthorized
- type AdminUpdateChallengeUnprocessableEntity
- type AdminUpdateTiedChallengeScheduleBadRequest
- type AdminUpdateTiedChallengeScheduleForbidden
- type AdminUpdateTiedChallengeScheduleInternalServerError
- type AdminUpdateTiedChallengeScheduleNotFound
- type AdminUpdateTiedChallengeScheduleOK
- type AdminUpdateTiedChallengeScheduleParams
- func NewAdminUpdateTiedChallengeScheduleParams() *AdminUpdateTiedChallengeScheduleParams
- func NewAdminUpdateTiedChallengeScheduleParamsWithContext(ctx context.Context) *AdminUpdateTiedChallengeScheduleParams
- func NewAdminUpdateTiedChallengeScheduleParamsWithHTTPClient(client *http.Client) *AdminUpdateTiedChallengeScheduleParams
- func NewAdminUpdateTiedChallengeScheduleParamsWithTimeout(timeout time.Duration) *AdminUpdateTiedChallengeScheduleParams
- func (o *AdminUpdateTiedChallengeScheduleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateTiedChallengeScheduleParams) SetBody(body *challengeclientmodels.ModelUpdateChallengeScheduleRequest)
- func (o *AdminUpdateTiedChallengeScheduleParams) SetChallengeCode(challengeCode string)
- func (o *AdminUpdateTiedChallengeScheduleParams) SetContext(ctx context.Context)
- func (o *AdminUpdateTiedChallengeScheduleParams) SetFlightId(flightId string)
- func (o *AdminUpdateTiedChallengeScheduleParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateTiedChallengeScheduleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateTiedChallengeScheduleParams) SetNamespace(namespace string)
- func (o *AdminUpdateTiedChallengeScheduleParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateTiedChallengeScheduleParams) WithBody(body *challengeclientmodels.ModelUpdateChallengeScheduleRequest) *AdminUpdateTiedChallengeScheduleParams
- func (o *AdminUpdateTiedChallengeScheduleParams) WithChallengeCode(challengeCode string) *AdminUpdateTiedChallengeScheduleParams
- func (o *AdminUpdateTiedChallengeScheduleParams) WithContext(ctx context.Context) *AdminUpdateTiedChallengeScheduleParams
- func (o *AdminUpdateTiedChallengeScheduleParams) WithHTTPClient(client *http.Client) *AdminUpdateTiedChallengeScheduleParams
- func (o *AdminUpdateTiedChallengeScheduleParams) WithNamespace(namespace string) *AdminUpdateTiedChallengeScheduleParams
- func (o *AdminUpdateTiedChallengeScheduleParams) WithTimeout(timeout time.Duration) *AdminUpdateTiedChallengeScheduleParams
- func (o *AdminUpdateTiedChallengeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateTiedChallengeScheduleReader
- type AdminUpdateTiedChallengeScheduleUnauthorized
- type Client
- func (a *Client) AdminCreateChallenge(params *AdminCreateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChallengeCreated, *AdminCreateChallengeBadRequest, ...)deprecated
- func (a *Client) AdminCreateChallengeShort(params *AdminCreateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChallengeCreated, error)
- func (a *Client) AdminDeleteChallenge(params *AdminDeleteChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChallengeNoContent, *AdminDeleteChallengeBadRequest, ...)deprecated
- func (a *Client) AdminDeleteChallengeShort(params *AdminDeleteChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChallengeNoContent, error)
- func (a *Client) AdminDeleteTiedChallenge(params *AdminDeleteTiedChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTiedChallengeNoContent, *AdminDeleteTiedChallengeBadRequest, ...)deprecated
- func (a *Client) AdminDeleteTiedChallengeShort(params *AdminDeleteTiedChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTiedChallengeNoContent, error)
- func (a *Client) AdminGetActiveChallenges(params *AdminGetActiveChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetActiveChallengesOK, *AdminGetActiveChallengesUnauthorized, ...)deprecated
- func (a *Client) AdminGetActiveChallengesShort(params *AdminGetActiveChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetActiveChallengesOK, error)
- func (a *Client) AdminGetChallenge(params *AdminGetChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengeOK, *AdminGetChallengeUnauthorized, ...)deprecated
- func (a *Client) AdminGetChallengeShort(params *AdminGetChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengeOK, error)
- func (a *Client) AdminGetChallenges(params *AdminGetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengesOK, *AdminGetChallengesBadRequest, ...)deprecated
- func (a *Client) AdminGetChallengesShort(params *AdminGetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengesOK, error)
- func (a *Client) AdminGetPeriods(params *AdminGetPeriodsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPeriodsOK, *AdminGetPeriodsUnauthorized, *AdminGetPeriodsForbidden, ...)deprecated
- func (a *Client) AdminGetPeriodsShort(params *AdminGetPeriodsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPeriodsOK, error)
- func (a *Client) AdminRandomizeChallenge(params *AdminRandomizeChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRandomizeChallengeOK, *AdminRandomizeChallengeBadRequest, ...)deprecated
- func (a *Client) AdminRandomizeChallengeShort(params *AdminRandomizeChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRandomizeChallengeOK, error)
- func (a *Client) AdminUpdateChallenge(params *AdminUpdateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChallengeOK, *AdminUpdateChallengeBadRequest, ...)deprecated
- func (a *Client) AdminUpdateChallengeShort(params *AdminUpdateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChallengeOK, error)
- func (a *Client) AdminUpdateTiedChallengeSchedule(params *AdminUpdateTiedChallengeScheduleParams, ...) (*AdminUpdateTiedChallengeScheduleOK, ...)deprecated
- func (a *Client) AdminUpdateTiedChallengeScheduleShort(params *AdminUpdateTiedChallengeScheduleParams, ...) (*AdminUpdateTiedChallengeScheduleOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
const ( AdminGetChallengesCodeAscConstant = "code:asc" AdminGetChallengesCodeDescConstant = "code:desc" AdminGetChallengesCreatedAtConstant = "createdAt" AdminGetChallengesCreatedAtAscConstant = "createdAt:asc" AdminGetChallengesCreatedAtDescConstant = "createdAt:desc" AdminGetChallengesNameAscConstant = "name:asc" AdminGetChallengesNameDescConstant = "name:desc" AdminGetChallengesUpdatedAtConstant = "updatedAt" AdminGetChallengesUpdatedAtAscConstant = "updatedAt:asc" AdminGetChallengesUpdatedAtDescConstant = "updatedAt:desc" )
Deprecated: 2025-07-16 - Use AdminGetChallengesSortBy<EnumValue>Constant instead. Get the enum in AdminGetChallengesParams
const ( AdminGetChallengesINITConstant = "INIT" AdminGetChallengesRETIREDConstant = "RETIRED" AdminGetChallengesTIEDConstant = "TIED" )
Deprecated: 2025-07-16 - Use AdminGetChallengesStatus<EnumValue>Constant instead. Get the enum in AdminGetChallengesParams
const ( AdminGetChallengesSortByCodeAscConstant = "code:asc" AdminGetChallengesSortByCodeDescConstant = "code:desc" AdminGetChallengesSortByCreatedAtConstant = "createdAt" AdminGetChallengesSortByCreatedAtAscConstant = "createdAt:asc" AdminGetChallengesSortByCreatedAtDescConstant = "createdAt:desc" AdminGetChallengesSortByNameAscConstant = "name:asc" AdminGetChallengesSortByNameDescConstant = "name:desc" AdminGetChallengesSortByUpdatedAtConstant = "updatedAt" AdminGetChallengesSortByUpdatedAtAscConstant = "updatedAt:asc" AdminGetChallengesSortByUpdatedAtDescConstant = "updatedAt:desc" )
Get the enum in AdminGetChallengesParams
const ( AdminGetChallengesStatusINITConstant = "INIT" AdminGetChallengesStatusRETIREDConstant = "RETIRED" AdminGetChallengesStatusTIEDConstant = "TIED" )
Get the enum in AdminGetChallengesParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminCreateChallengeBadRequest ¶ added in v0.70.0
type AdminCreateChallengeBadRequest struct {
Payload *challengeclientmodels.ResponseError
}
AdminCreateChallengeBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20018</td><td>bad request: {{message}}</td></tr></table>
func NewAdminCreateChallengeBadRequest ¶ added in v0.70.0
func NewAdminCreateChallengeBadRequest() *AdminCreateChallengeBadRequest
NewAdminCreateChallengeBadRequest creates a AdminCreateChallengeBadRequest with default headers values
func (*AdminCreateChallengeBadRequest) Error ¶ added in v0.70.0
func (o *AdminCreateChallengeBadRequest) Error() string
func (*AdminCreateChallengeBadRequest) GetPayload ¶ added in v0.70.0
func (o *AdminCreateChallengeBadRequest) GetPayload() *challengeclientmodels.ResponseError
func (*AdminCreateChallengeBadRequest) ToJSONString ¶ added in v0.70.0
func (o *AdminCreateChallengeBadRequest) ToJSONString() string
type AdminCreateChallengeConflict ¶
type AdminCreateChallengeConflict struct {
Payload *challengeclientmodels.ResponseError
}
AdminCreateChallengeConflict handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>99002</td><td>duplicate key error: {{message}}</td></tr></table>
func NewAdminCreateChallengeConflict ¶
func NewAdminCreateChallengeConflict() *AdminCreateChallengeConflict
NewAdminCreateChallengeConflict creates a AdminCreateChallengeConflict with default headers values
func (*AdminCreateChallengeConflict) Error ¶
func (o *AdminCreateChallengeConflict) Error() string
func (*AdminCreateChallengeConflict) GetPayload ¶
func (o *AdminCreateChallengeConflict) GetPayload() *challengeclientmodels.ResponseError
func (*AdminCreateChallengeConflict) ToJSONString ¶
func (o *AdminCreateChallengeConflict) ToJSONString() string
type AdminCreateChallengeCreated ¶
type AdminCreateChallengeCreated struct {
Payload *challengeclientmodels.ModelChallengeResponse
}
AdminCreateChallengeCreated handles this case with default header values.
Created
func NewAdminCreateChallengeCreated ¶
func NewAdminCreateChallengeCreated() *AdminCreateChallengeCreated
NewAdminCreateChallengeCreated creates a AdminCreateChallengeCreated with default headers values
func (*AdminCreateChallengeCreated) Error ¶
func (o *AdminCreateChallengeCreated) Error() string
func (*AdminCreateChallengeCreated) GetPayload ¶
func (o *AdminCreateChallengeCreated) GetPayload() *challengeclientmodels.ModelChallengeResponse
func (*AdminCreateChallengeCreated) ToJSONString ¶
func (o *AdminCreateChallengeCreated) ToJSONString() string
type AdminCreateChallengeForbidden ¶
type AdminCreateChallengeForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminCreateChallengeForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminCreateChallengeForbidden ¶
func NewAdminCreateChallengeForbidden() *AdminCreateChallengeForbidden
NewAdminCreateChallengeForbidden creates a AdminCreateChallengeForbidden with default headers values
func (*AdminCreateChallengeForbidden) Error ¶
func (o *AdminCreateChallengeForbidden) Error() string
func (*AdminCreateChallengeForbidden) GetPayload ¶
func (o *AdminCreateChallengeForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminCreateChallengeForbidden) ToJSONString ¶
func (o *AdminCreateChallengeForbidden) ToJSONString() string
type AdminCreateChallengeInternalServerError ¶
type AdminCreateChallengeInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminCreateChallengeInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewAdminCreateChallengeInternalServerError ¶
func NewAdminCreateChallengeInternalServerError() *AdminCreateChallengeInternalServerError
NewAdminCreateChallengeInternalServerError creates a AdminCreateChallengeInternalServerError with default headers values
func (*AdminCreateChallengeInternalServerError) Error ¶
func (o *AdminCreateChallengeInternalServerError) Error() string
func (*AdminCreateChallengeInternalServerError) GetPayload ¶
func (o *AdminCreateChallengeInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminCreateChallengeInternalServerError) ToJSONString ¶
func (o *AdminCreateChallengeInternalServerError) ToJSONString() string
type AdminCreateChallengeParams ¶
type AdminCreateChallengeParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *challengeclientmodels.ModelCreateChallengeRequest
/*Namespace
namespace of the game
*/
Namespace string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
AdminCreateChallengeParams contains all the parameters to send to the API endpoint for the admin create challenge operation typically these are written to a http.Request
func NewAdminCreateChallengeParams ¶
func NewAdminCreateChallengeParams() *AdminCreateChallengeParams
NewAdminCreateChallengeParams creates a new AdminCreateChallengeParams object with the default values initialized.
func NewAdminCreateChallengeParamsWithContext ¶
func NewAdminCreateChallengeParamsWithContext(ctx context.Context) *AdminCreateChallengeParams
NewAdminCreateChallengeParamsWithContext creates a new AdminCreateChallengeParams object with the default values initialized, and the ability to set a context for a request
func NewAdminCreateChallengeParamsWithHTTPClient ¶
func NewAdminCreateChallengeParamsWithHTTPClient(client *http.Client) *AdminCreateChallengeParams
NewAdminCreateChallengeParamsWithHTTPClient creates a new AdminCreateChallengeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminCreateChallengeParamsWithTimeout ¶
func NewAdminCreateChallengeParamsWithTimeout(timeout time.Duration) *AdminCreateChallengeParams
NewAdminCreateChallengeParamsWithTimeout creates a new AdminCreateChallengeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminCreateChallengeParams) SetAuthInfoWriter ¶
func (o *AdminCreateChallengeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin create challenge params
func (*AdminCreateChallengeParams) SetBody ¶
func (o *AdminCreateChallengeParams) SetBody(body *challengeclientmodels.ModelCreateChallengeRequest)
SetBody adds the body to the admin create challenge params
func (*AdminCreateChallengeParams) SetContext ¶
func (o *AdminCreateChallengeParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create challenge params
func (*AdminCreateChallengeParams) SetFlightId ¶
func (o *AdminCreateChallengeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminCreateChallengeParams) SetHTTPClient ¶
func (o *AdminCreateChallengeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create challenge params
func (*AdminCreateChallengeParams) SetHTTPClientTransport ¶
func (o *AdminCreateChallengeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin create challenge params
func (*AdminCreateChallengeParams) SetNamespace ¶
func (o *AdminCreateChallengeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin create challenge params
func (*AdminCreateChallengeParams) SetTimeout ¶
func (o *AdminCreateChallengeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create challenge params
func (*AdminCreateChallengeParams) WithBody ¶
func (o *AdminCreateChallengeParams) WithBody(body *challengeclientmodels.ModelCreateChallengeRequest) *AdminCreateChallengeParams
WithBody adds the body to the admin create challenge params
func (*AdminCreateChallengeParams) WithContext ¶
func (o *AdminCreateChallengeParams) WithContext(ctx context.Context) *AdminCreateChallengeParams
WithContext adds the context to the admin create challenge params
func (*AdminCreateChallengeParams) WithHTTPClient ¶
func (o *AdminCreateChallengeParams) WithHTTPClient(client *http.Client) *AdminCreateChallengeParams
WithHTTPClient adds the HTTPClient to the admin create challenge params
func (*AdminCreateChallengeParams) WithNamespace ¶
func (o *AdminCreateChallengeParams) WithNamespace(namespace string) *AdminCreateChallengeParams
WithNamespace adds the namespace to the admin create challenge params
func (*AdminCreateChallengeParams) WithTimeout ¶
func (o *AdminCreateChallengeParams) WithTimeout(timeout time.Duration) *AdminCreateChallengeParams
WithTimeout adds the timeout to the admin create challenge params
func (*AdminCreateChallengeParams) WriteToRequest ¶
func (o *AdminCreateChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateChallengeReader ¶
type AdminCreateChallengeReader struct {
// contains filtered or unexported fields
}
AdminCreateChallengeReader is a Reader for the AdminCreateChallenge structure.
func (*AdminCreateChallengeReader) ReadResponse ¶
func (o *AdminCreateChallengeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateChallengeUnauthorized ¶
type AdminCreateChallengeUnauthorized struct {
}
AdminCreateChallengeUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminCreateChallengeUnauthorized ¶
func NewAdminCreateChallengeUnauthorized() *AdminCreateChallengeUnauthorized
NewAdminCreateChallengeUnauthorized creates a AdminCreateChallengeUnauthorized with default headers values
func (*AdminCreateChallengeUnauthorized) Error ¶
func (o *AdminCreateChallengeUnauthorized) Error() string
func (*AdminCreateChallengeUnauthorized) GetPayload ¶
func (o *AdminCreateChallengeUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminCreateChallengeUnauthorized) ToJSONString ¶
func (o *AdminCreateChallengeUnauthorized) ToJSONString() string
type AdminCreateChallengeUnprocessableEntity ¶
type AdminCreateChallengeUnprocessableEntity struct {
Payload *challengeclientmodels.ResponseError
}
AdminCreateChallengeUnprocessableEntity handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>99003</td><td>challenge validation error: {{message}}</td></tr></table>
func NewAdminCreateChallengeUnprocessableEntity ¶
func NewAdminCreateChallengeUnprocessableEntity() *AdminCreateChallengeUnprocessableEntity
NewAdminCreateChallengeUnprocessableEntity creates a AdminCreateChallengeUnprocessableEntity with default headers values
func (*AdminCreateChallengeUnprocessableEntity) Error ¶
func (o *AdminCreateChallengeUnprocessableEntity) Error() string
func (*AdminCreateChallengeUnprocessableEntity) GetPayload ¶
func (o *AdminCreateChallengeUnprocessableEntity) GetPayload() *challengeclientmodels.ResponseError
func (*AdminCreateChallengeUnprocessableEntity) ToJSONString ¶
func (o *AdminCreateChallengeUnprocessableEntity) ToJSONString() string
type AdminDeleteChallengeBadRequest ¶
type AdminDeleteChallengeBadRequest struct {
Payload *challengeclientmodels.ResponseError
}
AdminDeleteChallengeBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20018</td><td>bad request: {{message}}</td></tr></table>
func NewAdminDeleteChallengeBadRequest ¶
func NewAdminDeleteChallengeBadRequest() *AdminDeleteChallengeBadRequest
NewAdminDeleteChallengeBadRequest creates a AdminDeleteChallengeBadRequest with default headers values
func (*AdminDeleteChallengeBadRequest) Error ¶
func (o *AdminDeleteChallengeBadRequest) Error() string
func (*AdminDeleteChallengeBadRequest) GetPayload ¶
func (o *AdminDeleteChallengeBadRequest) GetPayload() *challengeclientmodels.ResponseError
func (*AdminDeleteChallengeBadRequest) ToJSONString ¶
func (o *AdminDeleteChallengeBadRequest) ToJSONString() string
type AdminDeleteChallengeForbidden ¶
type AdminDeleteChallengeForbidden struct {
Payload *challengeclientmodels.ResponseError
}
AdminDeleteChallengeForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminDeleteChallengeForbidden ¶
func NewAdminDeleteChallengeForbidden() *AdminDeleteChallengeForbidden
NewAdminDeleteChallengeForbidden creates a AdminDeleteChallengeForbidden with default headers values
func (*AdminDeleteChallengeForbidden) Error ¶
func (o *AdminDeleteChallengeForbidden) Error() string
func (*AdminDeleteChallengeForbidden) GetPayload ¶
func (o *AdminDeleteChallengeForbidden) GetPayload() *challengeclientmodels.ResponseError
func (*AdminDeleteChallengeForbidden) ToJSONString ¶
func (o *AdminDeleteChallengeForbidden) ToJSONString() string
type AdminDeleteChallengeInternalServerError ¶
type AdminDeleteChallengeInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminDeleteChallengeInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewAdminDeleteChallengeInternalServerError ¶
func NewAdminDeleteChallengeInternalServerError() *AdminDeleteChallengeInternalServerError
NewAdminDeleteChallengeInternalServerError creates a AdminDeleteChallengeInternalServerError with default headers values
func (*AdminDeleteChallengeInternalServerError) Error ¶
func (o *AdminDeleteChallengeInternalServerError) Error() string
func (*AdminDeleteChallengeInternalServerError) GetPayload ¶
func (o *AdminDeleteChallengeInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminDeleteChallengeInternalServerError) ToJSONString ¶
func (o *AdminDeleteChallengeInternalServerError) ToJSONString() string
type AdminDeleteChallengeNoContent ¶
type AdminDeleteChallengeNoContent struct {
}
AdminDeleteChallengeNoContent handles this case with default header values.
No Content
func NewAdminDeleteChallengeNoContent ¶
func NewAdminDeleteChallengeNoContent() *AdminDeleteChallengeNoContent
NewAdminDeleteChallengeNoContent creates a AdminDeleteChallengeNoContent with default headers values
func (*AdminDeleteChallengeNoContent) Error ¶
func (o *AdminDeleteChallengeNoContent) Error() string
type AdminDeleteChallengeNotFound ¶
type AdminDeleteChallengeNotFound struct {
Payload *challengeclientmodels.ResponseError
}
AdminDeleteChallengeNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20029</td><td>not found</td></tr></table>
func NewAdminDeleteChallengeNotFound ¶
func NewAdminDeleteChallengeNotFound() *AdminDeleteChallengeNotFound
NewAdminDeleteChallengeNotFound creates a AdminDeleteChallengeNotFound with default headers values
func (*AdminDeleteChallengeNotFound) Error ¶
func (o *AdminDeleteChallengeNotFound) Error() string
func (*AdminDeleteChallengeNotFound) GetPayload ¶
func (o *AdminDeleteChallengeNotFound) GetPayload() *challengeclientmodels.ResponseError
func (*AdminDeleteChallengeNotFound) ToJSONString ¶
func (o *AdminDeleteChallengeNotFound) ToJSONString() string
type AdminDeleteChallengeParams ¶
type AdminDeleteChallengeParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*ChallengeCode
the code of the challenge data to be deleted
*/
ChallengeCode string
/*Namespace
namespace of the game
*/
Namespace string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
AdminDeleteChallengeParams contains all the parameters to send to the API endpoint for the admin delete challenge operation typically these are written to a http.Request
func NewAdminDeleteChallengeParams ¶
func NewAdminDeleteChallengeParams() *AdminDeleteChallengeParams
NewAdminDeleteChallengeParams creates a new AdminDeleteChallengeParams object with the default values initialized.
func NewAdminDeleteChallengeParamsWithContext ¶
func NewAdminDeleteChallengeParamsWithContext(ctx context.Context) *AdminDeleteChallengeParams
NewAdminDeleteChallengeParamsWithContext creates a new AdminDeleteChallengeParams object with the default values initialized, and the ability to set a context for a request
func NewAdminDeleteChallengeParamsWithHTTPClient ¶
func NewAdminDeleteChallengeParamsWithHTTPClient(client *http.Client) *AdminDeleteChallengeParams
NewAdminDeleteChallengeParamsWithHTTPClient creates a new AdminDeleteChallengeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeleteChallengeParamsWithTimeout ¶
func NewAdminDeleteChallengeParamsWithTimeout(timeout time.Duration) *AdminDeleteChallengeParams
NewAdminDeleteChallengeParamsWithTimeout creates a new AdminDeleteChallengeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeleteChallengeParams) SetAuthInfoWriter ¶
func (o *AdminDeleteChallengeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin delete challenge params
func (*AdminDeleteChallengeParams) SetChallengeCode ¶
func (o *AdminDeleteChallengeParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the admin delete challenge params
func (*AdminDeleteChallengeParams) SetContext ¶
func (o *AdminDeleteChallengeParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete challenge params
func (*AdminDeleteChallengeParams) SetFlightId ¶
func (o *AdminDeleteChallengeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminDeleteChallengeParams) SetHTTPClient ¶
func (o *AdminDeleteChallengeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete challenge params
func (*AdminDeleteChallengeParams) SetHTTPClientTransport ¶
func (o *AdminDeleteChallengeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin delete challenge params
func (*AdminDeleteChallengeParams) SetNamespace ¶
func (o *AdminDeleteChallengeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete challenge params
func (*AdminDeleteChallengeParams) SetTimeout ¶
func (o *AdminDeleteChallengeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete challenge params
func (*AdminDeleteChallengeParams) WithChallengeCode ¶
func (o *AdminDeleteChallengeParams) WithChallengeCode(challengeCode string) *AdminDeleteChallengeParams
WithChallengeCode adds the challengeCode to the admin delete challenge params
func (*AdminDeleteChallengeParams) WithContext ¶
func (o *AdminDeleteChallengeParams) WithContext(ctx context.Context) *AdminDeleteChallengeParams
WithContext adds the context to the admin delete challenge params
func (*AdminDeleteChallengeParams) WithHTTPClient ¶
func (o *AdminDeleteChallengeParams) WithHTTPClient(client *http.Client) *AdminDeleteChallengeParams
WithHTTPClient adds the HTTPClient to the admin delete challenge params
func (*AdminDeleteChallengeParams) WithNamespace ¶
func (o *AdminDeleteChallengeParams) WithNamespace(namespace string) *AdminDeleteChallengeParams
WithNamespace adds the namespace to the admin delete challenge params
func (*AdminDeleteChallengeParams) WithTimeout ¶
func (o *AdminDeleteChallengeParams) WithTimeout(timeout time.Duration) *AdminDeleteChallengeParams
WithTimeout adds the timeout to the admin delete challenge params
func (*AdminDeleteChallengeParams) WriteToRequest ¶
func (o *AdminDeleteChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteChallengeReader ¶
type AdminDeleteChallengeReader struct {
// contains filtered or unexported fields
}
AdminDeleteChallengeReader is a Reader for the AdminDeleteChallenge structure.
func (*AdminDeleteChallengeReader) ReadResponse ¶
func (o *AdminDeleteChallengeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteChallengeUnauthorized ¶
type AdminDeleteChallengeUnauthorized struct {
}
AdminDeleteChallengeUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminDeleteChallengeUnauthorized ¶
func NewAdminDeleteChallengeUnauthorized() *AdminDeleteChallengeUnauthorized
NewAdminDeleteChallengeUnauthorized creates a AdminDeleteChallengeUnauthorized with default headers values
func (*AdminDeleteChallengeUnauthorized) Error ¶
func (o *AdminDeleteChallengeUnauthorized) Error() string
func (*AdminDeleteChallengeUnauthorized) GetPayload ¶
func (o *AdminDeleteChallengeUnauthorized) GetPayload() *challengeclientmodels.ResponseError
func (*AdminDeleteChallengeUnauthorized) ToJSONString ¶
func (o *AdminDeleteChallengeUnauthorized) ToJSONString() string
type AdminDeleteTiedChallengeBadRequest ¶
type AdminDeleteTiedChallengeBadRequest struct {
Payload *challengeclientmodels.ResponseError
}
AdminDeleteTiedChallengeBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20018</td><td>bad request: {{message}}</td></tr></table>
func NewAdminDeleteTiedChallengeBadRequest ¶
func NewAdminDeleteTiedChallengeBadRequest() *AdminDeleteTiedChallengeBadRequest
NewAdminDeleteTiedChallengeBadRequest creates a AdminDeleteTiedChallengeBadRequest with default headers values
func (*AdminDeleteTiedChallengeBadRequest) Error ¶
func (o *AdminDeleteTiedChallengeBadRequest) Error() string
func (*AdminDeleteTiedChallengeBadRequest) GetPayload ¶
func (o *AdminDeleteTiedChallengeBadRequest) GetPayload() *challengeclientmodels.ResponseError
func (*AdminDeleteTiedChallengeBadRequest) ToJSONString ¶
func (o *AdminDeleteTiedChallengeBadRequest) ToJSONString() string
type AdminDeleteTiedChallengeForbidden ¶
type AdminDeleteTiedChallengeForbidden struct {
Payload *challengeclientmodels.ResponseError
}
AdminDeleteTiedChallengeForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminDeleteTiedChallengeForbidden ¶
func NewAdminDeleteTiedChallengeForbidden() *AdminDeleteTiedChallengeForbidden
NewAdminDeleteTiedChallengeForbidden creates a AdminDeleteTiedChallengeForbidden with default headers values
func (*AdminDeleteTiedChallengeForbidden) Error ¶
func (o *AdminDeleteTiedChallengeForbidden) Error() string
func (*AdminDeleteTiedChallengeForbidden) GetPayload ¶
func (o *AdminDeleteTiedChallengeForbidden) GetPayload() *challengeclientmodels.ResponseError
func (*AdminDeleteTiedChallengeForbidden) ToJSONString ¶
func (o *AdminDeleteTiedChallengeForbidden) ToJSONString() string
type AdminDeleteTiedChallengeInternalServerError ¶
type AdminDeleteTiedChallengeInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminDeleteTiedChallengeInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewAdminDeleteTiedChallengeInternalServerError ¶
func NewAdminDeleteTiedChallengeInternalServerError() *AdminDeleteTiedChallengeInternalServerError
NewAdminDeleteTiedChallengeInternalServerError creates a AdminDeleteTiedChallengeInternalServerError with default headers values
func (*AdminDeleteTiedChallengeInternalServerError) Error ¶
func (o *AdminDeleteTiedChallengeInternalServerError) Error() string
func (*AdminDeleteTiedChallengeInternalServerError) GetPayload ¶
func (o *AdminDeleteTiedChallengeInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminDeleteTiedChallengeInternalServerError) ToJSONString ¶
func (o *AdminDeleteTiedChallengeInternalServerError) ToJSONString() string
type AdminDeleteTiedChallengeNoContent ¶
type AdminDeleteTiedChallengeNoContent struct {
}
AdminDeleteTiedChallengeNoContent handles this case with default header values.
No Content
func NewAdminDeleteTiedChallengeNoContent ¶
func NewAdminDeleteTiedChallengeNoContent() *AdminDeleteTiedChallengeNoContent
NewAdminDeleteTiedChallengeNoContent creates a AdminDeleteTiedChallengeNoContent with default headers values
func (*AdminDeleteTiedChallengeNoContent) Error ¶
func (o *AdminDeleteTiedChallengeNoContent) Error() string
type AdminDeleteTiedChallengeNotFound ¶
type AdminDeleteTiedChallengeNotFound struct {
Payload *challengeclientmodels.ResponseError
}
AdminDeleteTiedChallengeNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20029</td><td>not found</td></tr></table>
func NewAdminDeleteTiedChallengeNotFound ¶
func NewAdminDeleteTiedChallengeNotFound() *AdminDeleteTiedChallengeNotFound
NewAdminDeleteTiedChallengeNotFound creates a AdminDeleteTiedChallengeNotFound with default headers values
func (*AdminDeleteTiedChallengeNotFound) Error ¶
func (o *AdminDeleteTiedChallengeNotFound) Error() string
func (*AdminDeleteTiedChallengeNotFound) GetPayload ¶
func (o *AdminDeleteTiedChallengeNotFound) GetPayload() *challengeclientmodels.ResponseError
func (*AdminDeleteTiedChallengeNotFound) ToJSONString ¶
func (o *AdminDeleteTiedChallengeNotFound) ToJSONString() string
type AdminDeleteTiedChallengeParams ¶
type AdminDeleteTiedChallengeParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*ChallengeCode
the code of the challenge data to be deleted
*/
ChallengeCode string
/*Namespace
namespace of the game
*/
Namespace string
/*SafeDelete
Since the early goal progress data does not include the namespace, it may lead to accidental deletion. If you want to safely delete this data, please set it to true, and it will check whether have conflict data.
*/
SafeDelete *string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
AdminDeleteTiedChallengeParams contains all the parameters to send to the API endpoint for the admin delete tied challenge operation typically these are written to a http.Request
func NewAdminDeleteTiedChallengeParams ¶
func NewAdminDeleteTiedChallengeParams() *AdminDeleteTiedChallengeParams
NewAdminDeleteTiedChallengeParams creates a new AdminDeleteTiedChallengeParams object with the default values initialized.
func NewAdminDeleteTiedChallengeParamsWithContext ¶
func NewAdminDeleteTiedChallengeParamsWithContext(ctx context.Context) *AdminDeleteTiedChallengeParams
NewAdminDeleteTiedChallengeParamsWithContext creates a new AdminDeleteTiedChallengeParams object with the default values initialized, and the ability to set a context for a request
func NewAdminDeleteTiedChallengeParamsWithHTTPClient ¶
func NewAdminDeleteTiedChallengeParamsWithHTTPClient(client *http.Client) *AdminDeleteTiedChallengeParams
NewAdminDeleteTiedChallengeParamsWithHTTPClient creates a new AdminDeleteTiedChallengeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeleteTiedChallengeParamsWithTimeout ¶
func NewAdminDeleteTiedChallengeParamsWithTimeout(timeout time.Duration) *AdminDeleteTiedChallengeParams
NewAdminDeleteTiedChallengeParamsWithTimeout creates a new AdminDeleteTiedChallengeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeleteTiedChallengeParams) SetAuthInfoWriter ¶
func (o *AdminDeleteTiedChallengeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) SetChallengeCode ¶
func (o *AdminDeleteTiedChallengeParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) SetContext ¶
func (o *AdminDeleteTiedChallengeParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) SetFlightId ¶
func (o *AdminDeleteTiedChallengeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminDeleteTiedChallengeParams) SetHTTPClient ¶
func (o *AdminDeleteTiedChallengeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) SetHTTPClientTransport ¶
func (o *AdminDeleteTiedChallengeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) SetNamespace ¶
func (o *AdminDeleteTiedChallengeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) SetSafeDelete ¶ added in v0.88.0
func (o *AdminDeleteTiedChallengeParams) SetSafeDelete(safeDelete *string)
SetSafeDelete adds the safeDelete to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) SetTimeout ¶
func (o *AdminDeleteTiedChallengeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) WithChallengeCode ¶
func (o *AdminDeleteTiedChallengeParams) WithChallengeCode(challengeCode string) *AdminDeleteTiedChallengeParams
WithChallengeCode adds the challengeCode to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) WithContext ¶
func (o *AdminDeleteTiedChallengeParams) WithContext(ctx context.Context) *AdminDeleteTiedChallengeParams
WithContext adds the context to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) WithHTTPClient ¶
func (o *AdminDeleteTiedChallengeParams) WithHTTPClient(client *http.Client) *AdminDeleteTiedChallengeParams
WithHTTPClient adds the HTTPClient to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) WithNamespace ¶
func (o *AdminDeleteTiedChallengeParams) WithNamespace(namespace string) *AdminDeleteTiedChallengeParams
WithNamespace adds the namespace to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) WithSafeDelete ¶ added in v0.88.0
func (o *AdminDeleteTiedChallengeParams) WithSafeDelete(safeDelete *string) *AdminDeleteTiedChallengeParams
WithSafeDelete adds the safeDelete to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) WithTimeout ¶
func (o *AdminDeleteTiedChallengeParams) WithTimeout(timeout time.Duration) *AdminDeleteTiedChallengeParams
WithTimeout adds the timeout to the admin delete tied challenge params
func (*AdminDeleteTiedChallengeParams) WriteToRequest ¶
func (o *AdminDeleteTiedChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteTiedChallengeReader ¶
type AdminDeleteTiedChallengeReader struct {
// contains filtered or unexported fields
}
AdminDeleteTiedChallengeReader is a Reader for the AdminDeleteTiedChallenge structure.
func (*AdminDeleteTiedChallengeReader) ReadResponse ¶
func (o *AdminDeleteTiedChallengeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteTiedChallengeUnauthorized ¶
type AdminDeleteTiedChallengeUnauthorized struct {
}
AdminDeleteTiedChallengeUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminDeleteTiedChallengeUnauthorized ¶
func NewAdminDeleteTiedChallengeUnauthorized() *AdminDeleteTiedChallengeUnauthorized
NewAdminDeleteTiedChallengeUnauthorized creates a AdminDeleteTiedChallengeUnauthorized with default headers values
func (*AdminDeleteTiedChallengeUnauthorized) Error ¶
func (o *AdminDeleteTiedChallengeUnauthorized) Error() string
func (*AdminDeleteTiedChallengeUnauthorized) GetPayload ¶
func (o *AdminDeleteTiedChallengeUnauthorized) GetPayload() *challengeclientmodels.ResponseError
func (*AdminDeleteTiedChallengeUnauthorized) ToJSONString ¶
func (o *AdminDeleteTiedChallengeUnauthorized) ToJSONString() string
type AdminGetActiveChallengesForbidden ¶ added in v0.74.0
type AdminGetActiveChallengesForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminGetActiveChallengesForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminGetActiveChallengesForbidden ¶ added in v0.74.0
func NewAdminGetActiveChallengesForbidden() *AdminGetActiveChallengesForbidden
NewAdminGetActiveChallengesForbidden creates a AdminGetActiveChallengesForbidden with default headers values
func (*AdminGetActiveChallengesForbidden) Error ¶ added in v0.74.0
func (o *AdminGetActiveChallengesForbidden) Error() string
func (*AdminGetActiveChallengesForbidden) GetPayload ¶ added in v0.74.0
func (o *AdminGetActiveChallengesForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetActiveChallengesForbidden) ToJSONString ¶ added in v0.74.0
func (o *AdminGetActiveChallengesForbidden) ToJSONString() string
type AdminGetActiveChallengesInternalServerError ¶ added in v0.74.0
type AdminGetActiveChallengesInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminGetActiveChallengesInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewAdminGetActiveChallengesInternalServerError ¶ added in v0.74.0
func NewAdminGetActiveChallengesInternalServerError() *AdminGetActiveChallengesInternalServerError
NewAdminGetActiveChallengesInternalServerError creates a AdminGetActiveChallengesInternalServerError with default headers values
func (*AdminGetActiveChallengesInternalServerError) Error ¶ added in v0.74.0
func (o *AdminGetActiveChallengesInternalServerError) Error() string
func (*AdminGetActiveChallengesInternalServerError) GetPayload ¶ added in v0.74.0
func (o *AdminGetActiveChallengesInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminGetActiveChallengesInternalServerError) ToJSONString ¶ added in v0.74.0
func (o *AdminGetActiveChallengesInternalServerError) ToJSONString() string
type AdminGetActiveChallengesOK ¶ added in v0.74.0
type AdminGetActiveChallengesOK struct {
Payload *challengeclientmodels.ModelListChallengeResponse
}
AdminGetActiveChallengesOK handles this case with default header values.
OK
func NewAdminGetActiveChallengesOK ¶ added in v0.74.0
func NewAdminGetActiveChallengesOK() *AdminGetActiveChallengesOK
NewAdminGetActiveChallengesOK creates a AdminGetActiveChallengesOK with default headers values
func (*AdminGetActiveChallengesOK) Error ¶ added in v0.74.0
func (o *AdminGetActiveChallengesOK) Error() string
func (*AdminGetActiveChallengesOK) GetPayload ¶ added in v0.74.0
func (o *AdminGetActiveChallengesOK) GetPayload() *challengeclientmodels.ModelListChallengeResponse
func (*AdminGetActiveChallengesOK) ToJSONString ¶ added in v0.74.0
func (o *AdminGetActiveChallengesOK) ToJSONString() string
type AdminGetActiveChallengesParams ¶ added in v0.74.0
type AdminGetActiveChallengesParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Namespace
namespace of the game
*/
Namespace string
/*UserID
user id
*/
UserID string
/*Limit
limit the amount of data retrieved
*/
Limit *int64
/*Offset
offset
*/
Offset *int64
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
AdminGetActiveChallengesParams contains all the parameters to send to the API endpoint for the admin get active challenges operation typically these are written to a http.Request
func NewAdminGetActiveChallengesParams ¶ added in v0.74.0
func NewAdminGetActiveChallengesParams() *AdminGetActiveChallengesParams
NewAdminGetActiveChallengesParams creates a new AdminGetActiveChallengesParams object with the default values initialized.
func NewAdminGetActiveChallengesParamsWithContext ¶ added in v0.74.0
func NewAdminGetActiveChallengesParamsWithContext(ctx context.Context) *AdminGetActiveChallengesParams
NewAdminGetActiveChallengesParamsWithContext creates a new AdminGetActiveChallengesParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetActiveChallengesParamsWithHTTPClient ¶ added in v0.74.0
func NewAdminGetActiveChallengesParamsWithHTTPClient(client *http.Client) *AdminGetActiveChallengesParams
NewAdminGetActiveChallengesParamsWithHTTPClient creates a new AdminGetActiveChallengesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetActiveChallengesParamsWithTimeout ¶ added in v0.74.0
func NewAdminGetActiveChallengesParamsWithTimeout(timeout time.Duration) *AdminGetActiveChallengesParams
NewAdminGetActiveChallengesParamsWithTimeout creates a new AdminGetActiveChallengesParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetActiveChallengesParams) SetAuthInfoWriter ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get active challenges params
func (*AdminGetActiveChallengesParams) SetContext ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get active challenges params
func (*AdminGetActiveChallengesParams) SetFlightId ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetActiveChallengesParams) SetHTTPClient ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get active challenges params
func (*AdminGetActiveChallengesParams) SetHTTPClientTransport ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get active challenges params
func (*AdminGetActiveChallengesParams) SetLimit ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin get active challenges params
func (*AdminGetActiveChallengesParams) SetNamespace ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get active challenges params
func (*AdminGetActiveChallengesParams) SetOffset ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin get active challenges params
func (*AdminGetActiveChallengesParams) SetTimeout ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get active challenges params
func (*AdminGetActiveChallengesParams) SetUserID ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) SetUserID(userID string)
SetUserID adds the userId to the admin get active challenges params
func (*AdminGetActiveChallengesParams) WithContext ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) WithContext(ctx context.Context) *AdminGetActiveChallengesParams
WithContext adds the context to the admin get active challenges params
func (*AdminGetActiveChallengesParams) WithHTTPClient ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) WithHTTPClient(client *http.Client) *AdminGetActiveChallengesParams
WithHTTPClient adds the HTTPClient to the admin get active challenges params
func (*AdminGetActiveChallengesParams) WithLimit ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) WithLimit(limit *int64) *AdminGetActiveChallengesParams
WithLimit adds the limit to the admin get active challenges params
func (*AdminGetActiveChallengesParams) WithNamespace ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) WithNamespace(namespace string) *AdminGetActiveChallengesParams
WithNamespace adds the namespace to the admin get active challenges params
func (*AdminGetActiveChallengesParams) WithOffset ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) WithOffset(offset *int64) *AdminGetActiveChallengesParams
WithOffset adds the offset to the admin get active challenges params
func (*AdminGetActiveChallengesParams) WithTimeout ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) WithTimeout(timeout time.Duration) *AdminGetActiveChallengesParams
WithTimeout adds the timeout to the admin get active challenges params
func (*AdminGetActiveChallengesParams) WithUserID ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) WithUserID(userID string) *AdminGetActiveChallengesParams
WithUserID adds the userID to the admin get active challenges params
func (*AdminGetActiveChallengesParams) WriteToRequest ¶ added in v0.74.0
func (o *AdminGetActiveChallengesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetActiveChallengesReader ¶ added in v0.74.0
type AdminGetActiveChallengesReader struct {
// contains filtered or unexported fields
}
AdminGetActiveChallengesReader is a Reader for the AdminGetActiveChallenges structure.
func (*AdminGetActiveChallengesReader) ReadResponse ¶ added in v0.74.0
func (o *AdminGetActiveChallengesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetActiveChallengesUnauthorized ¶ added in v0.74.0
type AdminGetActiveChallengesUnauthorized struct {
}
AdminGetActiveChallengesUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetActiveChallengesUnauthorized ¶ added in v0.74.0
func NewAdminGetActiveChallengesUnauthorized() *AdminGetActiveChallengesUnauthorized
NewAdminGetActiveChallengesUnauthorized creates a AdminGetActiveChallengesUnauthorized with default headers values
func (*AdminGetActiveChallengesUnauthorized) Error ¶ added in v0.74.0
func (o *AdminGetActiveChallengesUnauthorized) Error() string
func (*AdminGetActiveChallengesUnauthorized) GetPayload ¶ added in v0.74.0
func (o *AdminGetActiveChallengesUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetActiveChallengesUnauthorized) ToJSONString ¶ added in v0.74.0
func (o *AdminGetActiveChallengesUnauthorized) ToJSONString() string
type AdminGetChallengeForbidden ¶
type AdminGetChallengeForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminGetChallengeForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminGetChallengeForbidden ¶
func NewAdminGetChallengeForbidden() *AdminGetChallengeForbidden
NewAdminGetChallengeForbidden creates a AdminGetChallengeForbidden with default headers values
func (*AdminGetChallengeForbidden) Error ¶
func (o *AdminGetChallengeForbidden) Error() string
func (*AdminGetChallengeForbidden) GetPayload ¶
func (o *AdminGetChallengeForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetChallengeForbidden) ToJSONString ¶
func (o *AdminGetChallengeForbidden) ToJSONString() string
type AdminGetChallengeInternalServerError ¶
type AdminGetChallengeInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminGetChallengeInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewAdminGetChallengeInternalServerError ¶
func NewAdminGetChallengeInternalServerError() *AdminGetChallengeInternalServerError
NewAdminGetChallengeInternalServerError creates a AdminGetChallengeInternalServerError with default headers values
func (*AdminGetChallengeInternalServerError) Error ¶
func (o *AdminGetChallengeInternalServerError) Error() string
func (*AdminGetChallengeInternalServerError) GetPayload ¶
func (o *AdminGetChallengeInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminGetChallengeInternalServerError) ToJSONString ¶
func (o *AdminGetChallengeInternalServerError) ToJSONString() string
type AdminGetChallengeNotFound ¶
type AdminGetChallengeNotFound struct {
Payload *challengeclientmodels.ResponseError
}
AdminGetChallengeNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20029</td><td>not found</td></tr></table>
func NewAdminGetChallengeNotFound ¶
func NewAdminGetChallengeNotFound() *AdminGetChallengeNotFound
NewAdminGetChallengeNotFound creates a AdminGetChallengeNotFound with default headers values
func (*AdminGetChallengeNotFound) Error ¶
func (o *AdminGetChallengeNotFound) Error() string
func (*AdminGetChallengeNotFound) GetPayload ¶
func (o *AdminGetChallengeNotFound) GetPayload() *challengeclientmodels.ResponseError
func (*AdminGetChallengeNotFound) ToJSONString ¶
func (o *AdminGetChallengeNotFound) ToJSONString() string
type AdminGetChallengeOK ¶
type AdminGetChallengeOK struct {
Payload *challengeclientmodels.ModelChallengeResponse
}
AdminGetChallengeOK handles this case with default header values.
OK
func NewAdminGetChallengeOK ¶
func NewAdminGetChallengeOK() *AdminGetChallengeOK
NewAdminGetChallengeOK creates a AdminGetChallengeOK with default headers values
func (*AdminGetChallengeOK) Error ¶
func (o *AdminGetChallengeOK) Error() string
func (*AdminGetChallengeOK) GetPayload ¶
func (o *AdminGetChallengeOK) GetPayload() *challengeclientmodels.ModelChallengeResponse
func (*AdminGetChallengeOK) ToJSONString ¶
func (o *AdminGetChallengeOK) ToJSONString() string
type AdminGetChallengeParams ¶
type AdminGetChallengeParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*ChallengeCode
the code of the challenge data to get
*/
ChallengeCode string
/*Namespace
namespace of the game
*/
Namespace string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
AdminGetChallengeParams contains all the parameters to send to the API endpoint for the admin get challenge operation typically these are written to a http.Request
func NewAdminGetChallengeParams ¶
func NewAdminGetChallengeParams() *AdminGetChallengeParams
NewAdminGetChallengeParams creates a new AdminGetChallengeParams object with the default values initialized.
func NewAdminGetChallengeParamsWithContext ¶
func NewAdminGetChallengeParamsWithContext(ctx context.Context) *AdminGetChallengeParams
NewAdminGetChallengeParamsWithContext creates a new AdminGetChallengeParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetChallengeParamsWithHTTPClient ¶
func NewAdminGetChallengeParamsWithHTTPClient(client *http.Client) *AdminGetChallengeParams
NewAdminGetChallengeParamsWithHTTPClient creates a new AdminGetChallengeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetChallengeParamsWithTimeout ¶
func NewAdminGetChallengeParamsWithTimeout(timeout time.Duration) *AdminGetChallengeParams
NewAdminGetChallengeParamsWithTimeout creates a new AdminGetChallengeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetChallengeParams) SetAuthInfoWriter ¶
func (o *AdminGetChallengeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get challenge params
func (*AdminGetChallengeParams) SetChallengeCode ¶
func (o *AdminGetChallengeParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the admin get challenge params
func (*AdminGetChallengeParams) SetContext ¶
func (o *AdminGetChallengeParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get challenge params
func (*AdminGetChallengeParams) SetFlightId ¶
func (o *AdminGetChallengeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetChallengeParams) SetHTTPClient ¶
func (o *AdminGetChallengeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get challenge params
func (*AdminGetChallengeParams) SetHTTPClientTransport ¶
func (o *AdminGetChallengeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get challenge params
func (*AdminGetChallengeParams) SetNamespace ¶
func (o *AdminGetChallengeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get challenge params
func (*AdminGetChallengeParams) SetTimeout ¶
func (o *AdminGetChallengeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get challenge params
func (*AdminGetChallengeParams) WithChallengeCode ¶
func (o *AdminGetChallengeParams) WithChallengeCode(challengeCode string) *AdminGetChallengeParams
WithChallengeCode adds the challengeCode to the admin get challenge params
func (*AdminGetChallengeParams) WithContext ¶
func (o *AdminGetChallengeParams) WithContext(ctx context.Context) *AdminGetChallengeParams
WithContext adds the context to the admin get challenge params
func (*AdminGetChallengeParams) WithHTTPClient ¶
func (o *AdminGetChallengeParams) WithHTTPClient(client *http.Client) *AdminGetChallengeParams
WithHTTPClient adds the HTTPClient to the admin get challenge params
func (*AdminGetChallengeParams) WithNamespace ¶
func (o *AdminGetChallengeParams) WithNamespace(namespace string) *AdminGetChallengeParams
WithNamespace adds the namespace to the admin get challenge params
func (*AdminGetChallengeParams) WithTimeout ¶
func (o *AdminGetChallengeParams) WithTimeout(timeout time.Duration) *AdminGetChallengeParams
WithTimeout adds the timeout to the admin get challenge params
func (*AdminGetChallengeParams) WriteToRequest ¶
func (o *AdminGetChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetChallengeReader ¶
type AdminGetChallengeReader struct {
// contains filtered or unexported fields
}
AdminGetChallengeReader is a Reader for the AdminGetChallenge structure.
func (*AdminGetChallengeReader) ReadResponse ¶
func (o *AdminGetChallengeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetChallengeUnauthorized ¶
type AdminGetChallengeUnauthorized struct {
}
AdminGetChallengeUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetChallengeUnauthorized ¶
func NewAdminGetChallengeUnauthorized() *AdminGetChallengeUnauthorized
NewAdminGetChallengeUnauthorized creates a AdminGetChallengeUnauthorized with default headers values
func (*AdminGetChallengeUnauthorized) Error ¶
func (o *AdminGetChallengeUnauthorized) Error() string
func (*AdminGetChallengeUnauthorized) GetPayload ¶
func (o *AdminGetChallengeUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetChallengeUnauthorized) ToJSONString ¶
func (o *AdminGetChallengeUnauthorized) ToJSONString() string
type AdminGetChallengesBadRequest ¶ added in v0.77.0
type AdminGetChallengesBadRequest struct {
Payload *challengeclientmodels.ResponseError
}
AdminGetChallengesBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20018</td><td>bad request: {{message}}</td></tr></table>
func NewAdminGetChallengesBadRequest ¶ added in v0.77.0
func NewAdminGetChallengesBadRequest() *AdminGetChallengesBadRequest
NewAdminGetChallengesBadRequest creates a AdminGetChallengesBadRequest with default headers values
func (*AdminGetChallengesBadRequest) Error ¶ added in v0.77.0
func (o *AdminGetChallengesBadRequest) Error() string
func (*AdminGetChallengesBadRequest) GetPayload ¶ added in v0.77.0
func (o *AdminGetChallengesBadRequest) GetPayload() *challengeclientmodels.ResponseError
func (*AdminGetChallengesBadRequest) ToJSONString ¶ added in v0.77.0
func (o *AdminGetChallengesBadRequest) ToJSONString() string
type AdminGetChallengesForbidden ¶
type AdminGetChallengesForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminGetChallengesForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminGetChallengesForbidden ¶
func NewAdminGetChallengesForbidden() *AdminGetChallengesForbidden
NewAdminGetChallengesForbidden creates a AdminGetChallengesForbidden with default headers values
func (*AdminGetChallengesForbidden) Error ¶
func (o *AdminGetChallengesForbidden) Error() string
func (*AdminGetChallengesForbidden) GetPayload ¶
func (o *AdminGetChallengesForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetChallengesForbidden) ToJSONString ¶
func (o *AdminGetChallengesForbidden) ToJSONString() string
type AdminGetChallengesInternalServerError ¶
type AdminGetChallengesInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminGetChallengesInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewAdminGetChallengesInternalServerError ¶
func NewAdminGetChallengesInternalServerError() *AdminGetChallengesInternalServerError
NewAdminGetChallengesInternalServerError creates a AdminGetChallengesInternalServerError with default headers values
func (*AdminGetChallengesInternalServerError) Error ¶
func (o *AdminGetChallengesInternalServerError) Error() string
func (*AdminGetChallengesInternalServerError) GetPayload ¶
func (o *AdminGetChallengesInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminGetChallengesInternalServerError) ToJSONString ¶
func (o *AdminGetChallengesInternalServerError) ToJSONString() string
type AdminGetChallengesOK ¶
type AdminGetChallengesOK struct {
Payload *challengeclientmodels.ModelListChallengeResponse
}
AdminGetChallengesOK handles this case with default header values.
OK
func NewAdminGetChallengesOK ¶
func NewAdminGetChallengesOK() *AdminGetChallengesOK
NewAdminGetChallengesOK creates a AdminGetChallengesOK with default headers values
func (*AdminGetChallengesOK) Error ¶
func (o *AdminGetChallengesOK) Error() string
func (*AdminGetChallengesOK) GetPayload ¶
func (o *AdminGetChallengesOK) GetPayload() *challengeclientmodels.ModelListChallengeResponse
func (*AdminGetChallengesOK) ToJSONString ¶
func (o *AdminGetChallengesOK) ToJSONString() string
type AdminGetChallengesParams ¶
type AdminGetChallengesParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Namespace
namespace of the game
*/
Namespace string
/*Keyword
filter challenges by code with likes behavior
*/
Keyword *string
/*Limit
limit the amount of data retrieved
*/
Limit *int64
/*Offset
offset
*/
Offset *int64
/*SortBy
sort list by attributes.
default value: updatedAt:desc.
*/
SortBy *string
/*Status
challenge status
*/
Status *string
/*Tags
filter challenges by tags, comma separated value
*/
Tags []string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
AdminGetChallengesParams contains all the parameters to send to the API endpoint for the admin get challenges operation typically these are written to a http.Request
func NewAdminGetChallengesParams ¶
func NewAdminGetChallengesParams() *AdminGetChallengesParams
NewAdminGetChallengesParams creates a new AdminGetChallengesParams object with the default values initialized.
func NewAdminGetChallengesParamsWithContext ¶
func NewAdminGetChallengesParamsWithContext(ctx context.Context) *AdminGetChallengesParams
NewAdminGetChallengesParamsWithContext creates a new AdminGetChallengesParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetChallengesParamsWithHTTPClient ¶
func NewAdminGetChallengesParamsWithHTTPClient(client *http.Client) *AdminGetChallengesParams
NewAdminGetChallengesParamsWithHTTPClient creates a new AdminGetChallengesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetChallengesParamsWithTimeout ¶
func NewAdminGetChallengesParamsWithTimeout(timeout time.Duration) *AdminGetChallengesParams
NewAdminGetChallengesParamsWithTimeout creates a new AdminGetChallengesParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetChallengesParams) SetAuthInfoWriter ¶
func (o *AdminGetChallengesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get challenges params
func (*AdminGetChallengesParams) SetContext ¶
func (o *AdminGetChallengesParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get challenges params
func (*AdminGetChallengesParams) SetFlightId ¶
func (o *AdminGetChallengesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetChallengesParams) SetHTTPClient ¶
func (o *AdminGetChallengesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get challenges params
func (*AdminGetChallengesParams) SetHTTPClientTransport ¶
func (o *AdminGetChallengesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get challenges params
func (*AdminGetChallengesParams) SetKeyword ¶ added in v0.77.0
func (o *AdminGetChallengesParams) SetKeyword(keyword *string)
SetKeyword adds the keyword to the admin get challenges params
func (*AdminGetChallengesParams) SetLimit ¶
func (o *AdminGetChallengesParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin get challenges params
func (*AdminGetChallengesParams) SetNamespace ¶
func (o *AdminGetChallengesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get challenges params
func (*AdminGetChallengesParams) SetOffset ¶
func (o *AdminGetChallengesParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin get challenges params
func (*AdminGetChallengesParams) SetSortBy ¶
func (o *AdminGetChallengesParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the admin get challenges params
func (*AdminGetChallengesParams) SetStatus ¶
func (o *AdminGetChallengesParams) SetStatus(status *string)
SetStatus adds the status to the admin get challenges params
func (*AdminGetChallengesParams) SetTags ¶ added in v0.77.0
func (o *AdminGetChallengesParams) SetTags(tags []string)
SetTags adds the tags to the admin get challenges params
func (*AdminGetChallengesParams) SetTimeout ¶
func (o *AdminGetChallengesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get challenges params
func (*AdminGetChallengesParams) WithContext ¶
func (o *AdminGetChallengesParams) WithContext(ctx context.Context) *AdminGetChallengesParams
WithContext adds the context to the admin get challenges params
func (*AdminGetChallengesParams) WithHTTPClient ¶
func (o *AdminGetChallengesParams) WithHTTPClient(client *http.Client) *AdminGetChallengesParams
WithHTTPClient adds the HTTPClient to the admin get challenges params
func (*AdminGetChallengesParams) WithKeyword ¶ added in v0.77.0
func (o *AdminGetChallengesParams) WithKeyword(keyword *string) *AdminGetChallengesParams
WithKeyword adds the keyword to the admin get challenges params
func (*AdminGetChallengesParams) WithLimit ¶
func (o *AdminGetChallengesParams) WithLimit(limit *int64) *AdminGetChallengesParams
WithLimit adds the limit to the admin get challenges params
func (*AdminGetChallengesParams) WithNamespace ¶
func (o *AdminGetChallengesParams) WithNamespace(namespace string) *AdminGetChallengesParams
WithNamespace adds the namespace to the admin get challenges params
func (*AdminGetChallengesParams) WithOffset ¶
func (o *AdminGetChallengesParams) WithOffset(offset *int64) *AdminGetChallengesParams
WithOffset adds the offset to the admin get challenges params
func (*AdminGetChallengesParams) WithSortBy ¶
func (o *AdminGetChallengesParams) WithSortBy(sortBy *string) *AdminGetChallengesParams
WithSortBy adds the sortBy to the admin get challenges params
func (*AdminGetChallengesParams) WithStatus ¶
func (o *AdminGetChallengesParams) WithStatus(status *string) *AdminGetChallengesParams
WithStatus adds the status to the admin get challenges params
func (*AdminGetChallengesParams) WithTags ¶ added in v0.77.0
func (o *AdminGetChallengesParams) WithTags(tags []string) *AdminGetChallengesParams
WithTags adds the tags to the admin get challenges params
func (*AdminGetChallengesParams) WithTimeout ¶
func (o *AdminGetChallengesParams) WithTimeout(timeout time.Duration) *AdminGetChallengesParams
WithTimeout adds the timeout to the admin get challenges params
func (*AdminGetChallengesParams) WriteToRequest ¶
func (o *AdminGetChallengesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetChallengesReader ¶
type AdminGetChallengesReader struct {
// contains filtered or unexported fields
}
AdminGetChallengesReader is a Reader for the AdminGetChallenges structure.
func (*AdminGetChallengesReader) ReadResponse ¶
func (o *AdminGetChallengesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetChallengesUnauthorized ¶
type AdminGetChallengesUnauthorized struct {
}
AdminGetChallengesUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetChallengesUnauthorized ¶
func NewAdminGetChallengesUnauthorized() *AdminGetChallengesUnauthorized
NewAdminGetChallengesUnauthorized creates a AdminGetChallengesUnauthorized with default headers values
func (*AdminGetChallengesUnauthorized) Error ¶
func (o *AdminGetChallengesUnauthorized) Error() string
func (*AdminGetChallengesUnauthorized) GetPayload ¶
func (o *AdminGetChallengesUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetChallengesUnauthorized) ToJSONString ¶
func (o *AdminGetChallengesUnauthorized) ToJSONString() string
type AdminGetPeriodsForbidden ¶
type AdminGetPeriodsForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminGetPeriodsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminGetPeriodsForbidden ¶
func NewAdminGetPeriodsForbidden() *AdminGetPeriodsForbidden
NewAdminGetPeriodsForbidden creates a AdminGetPeriodsForbidden with default headers values
func (*AdminGetPeriodsForbidden) Error ¶
func (o *AdminGetPeriodsForbidden) Error() string
func (*AdminGetPeriodsForbidden) GetPayload ¶
func (o *AdminGetPeriodsForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetPeriodsForbidden) ToJSONString ¶
func (o *AdminGetPeriodsForbidden) ToJSONString() string
type AdminGetPeriodsInternalServerError ¶
type AdminGetPeriodsInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminGetPeriodsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewAdminGetPeriodsInternalServerError ¶
func NewAdminGetPeriodsInternalServerError() *AdminGetPeriodsInternalServerError
NewAdminGetPeriodsInternalServerError creates a AdminGetPeriodsInternalServerError with default headers values
func (*AdminGetPeriodsInternalServerError) Error ¶
func (o *AdminGetPeriodsInternalServerError) Error() string
func (*AdminGetPeriodsInternalServerError) GetPayload ¶
func (o *AdminGetPeriodsInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminGetPeriodsInternalServerError) ToJSONString ¶
func (o *AdminGetPeriodsInternalServerError) ToJSONString() string
type AdminGetPeriodsNotFound ¶
type AdminGetPeriodsNotFound struct {
Payload *challengeclientmodels.ResponseError
}
AdminGetPeriodsNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20029</td><td>not found</td></tr></table>
func NewAdminGetPeriodsNotFound ¶
func NewAdminGetPeriodsNotFound() *AdminGetPeriodsNotFound
NewAdminGetPeriodsNotFound creates a AdminGetPeriodsNotFound with default headers values
func (*AdminGetPeriodsNotFound) Error ¶
func (o *AdminGetPeriodsNotFound) Error() string
func (*AdminGetPeriodsNotFound) GetPayload ¶
func (o *AdminGetPeriodsNotFound) GetPayload() *challengeclientmodels.ResponseError
func (*AdminGetPeriodsNotFound) ToJSONString ¶
func (o *AdminGetPeriodsNotFound) ToJSONString() string
type AdminGetPeriodsOK ¶
type AdminGetPeriodsOK struct {
Payload *challengeclientmodels.ModelListPeriodsResponse
}
AdminGetPeriodsOK handles this case with default header values.
OK
func NewAdminGetPeriodsOK ¶
func NewAdminGetPeriodsOK() *AdminGetPeriodsOK
NewAdminGetPeriodsOK creates a AdminGetPeriodsOK with default headers values
func (*AdminGetPeriodsOK) Error ¶
func (o *AdminGetPeriodsOK) Error() string
func (*AdminGetPeriodsOK) GetPayload ¶
func (o *AdminGetPeriodsOK) GetPayload() *challengeclientmodels.ModelListPeriodsResponse
func (*AdminGetPeriodsOK) ToJSONString ¶
func (o *AdminGetPeriodsOK) ToJSONString() string
type AdminGetPeriodsParams ¶
type AdminGetPeriodsParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*ChallengeCode
challenge code
*/
ChallengeCode string
/*Namespace
namespace of the game
*/
Namespace string
/*Limit
limit the amount of data retrieved
*/
Limit *int64
/*Offset
offset
*/
Offset *int64
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
AdminGetPeriodsParams contains all the parameters to send to the API endpoint for the admin get periods operation typically these are written to a http.Request
func NewAdminGetPeriodsParams ¶
func NewAdminGetPeriodsParams() *AdminGetPeriodsParams
NewAdminGetPeriodsParams creates a new AdminGetPeriodsParams object with the default values initialized.
func NewAdminGetPeriodsParamsWithContext ¶
func NewAdminGetPeriodsParamsWithContext(ctx context.Context) *AdminGetPeriodsParams
NewAdminGetPeriodsParamsWithContext creates a new AdminGetPeriodsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetPeriodsParamsWithHTTPClient ¶
func NewAdminGetPeriodsParamsWithHTTPClient(client *http.Client) *AdminGetPeriodsParams
NewAdminGetPeriodsParamsWithHTTPClient creates a new AdminGetPeriodsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetPeriodsParamsWithTimeout ¶
func NewAdminGetPeriodsParamsWithTimeout(timeout time.Duration) *AdminGetPeriodsParams
NewAdminGetPeriodsParamsWithTimeout creates a new AdminGetPeriodsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetPeriodsParams) SetAuthInfoWriter ¶
func (o *AdminGetPeriodsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get periods params
func (*AdminGetPeriodsParams) SetChallengeCode ¶
func (o *AdminGetPeriodsParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the admin get periods params
func (*AdminGetPeriodsParams) SetContext ¶
func (o *AdminGetPeriodsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get periods params
func (*AdminGetPeriodsParams) SetFlightId ¶
func (o *AdminGetPeriodsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetPeriodsParams) SetHTTPClient ¶
func (o *AdminGetPeriodsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get periods params
func (*AdminGetPeriodsParams) SetHTTPClientTransport ¶
func (o *AdminGetPeriodsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get periods params
func (*AdminGetPeriodsParams) SetLimit ¶
func (o *AdminGetPeriodsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin get periods params
func (*AdminGetPeriodsParams) SetNamespace ¶
func (o *AdminGetPeriodsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get periods params
func (*AdminGetPeriodsParams) SetOffset ¶
func (o *AdminGetPeriodsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin get periods params
func (*AdminGetPeriodsParams) SetTimeout ¶
func (o *AdminGetPeriodsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get periods params
func (*AdminGetPeriodsParams) WithChallengeCode ¶
func (o *AdminGetPeriodsParams) WithChallengeCode(challengeCode string) *AdminGetPeriodsParams
WithChallengeCode adds the challengeCode to the admin get periods params
func (*AdminGetPeriodsParams) WithContext ¶
func (o *AdminGetPeriodsParams) WithContext(ctx context.Context) *AdminGetPeriodsParams
WithContext adds the context to the admin get periods params
func (*AdminGetPeriodsParams) WithHTTPClient ¶
func (o *AdminGetPeriodsParams) WithHTTPClient(client *http.Client) *AdminGetPeriodsParams
WithHTTPClient adds the HTTPClient to the admin get periods params
func (*AdminGetPeriodsParams) WithLimit ¶
func (o *AdminGetPeriodsParams) WithLimit(limit *int64) *AdminGetPeriodsParams
WithLimit adds the limit to the admin get periods params
func (*AdminGetPeriodsParams) WithNamespace ¶
func (o *AdminGetPeriodsParams) WithNamespace(namespace string) *AdminGetPeriodsParams
WithNamespace adds the namespace to the admin get periods params
func (*AdminGetPeriodsParams) WithOffset ¶
func (o *AdminGetPeriodsParams) WithOffset(offset *int64) *AdminGetPeriodsParams
WithOffset adds the offset to the admin get periods params
func (*AdminGetPeriodsParams) WithTimeout ¶
func (o *AdminGetPeriodsParams) WithTimeout(timeout time.Duration) *AdminGetPeriodsParams
WithTimeout adds the timeout to the admin get periods params
func (*AdminGetPeriodsParams) WriteToRequest ¶
func (o *AdminGetPeriodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetPeriodsReader ¶
type AdminGetPeriodsReader struct {
// contains filtered or unexported fields
}
AdminGetPeriodsReader is a Reader for the AdminGetPeriods structure.
func (*AdminGetPeriodsReader) ReadResponse ¶
func (o *AdminGetPeriodsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetPeriodsUnauthorized ¶
type AdminGetPeriodsUnauthorized struct {
}
AdminGetPeriodsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetPeriodsUnauthorized ¶
func NewAdminGetPeriodsUnauthorized() *AdminGetPeriodsUnauthorized
NewAdminGetPeriodsUnauthorized creates a AdminGetPeriodsUnauthorized with default headers values
func (*AdminGetPeriodsUnauthorized) Error ¶
func (o *AdminGetPeriodsUnauthorized) Error() string
func (*AdminGetPeriodsUnauthorized) GetPayload ¶
func (o *AdminGetPeriodsUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetPeriodsUnauthorized) ToJSONString ¶
func (o *AdminGetPeriodsUnauthorized) ToJSONString() string
type AdminRandomizeChallengeBadRequest ¶ added in v0.72.0
type AdminRandomizeChallengeBadRequest struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminRandomizeChallengeBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20018</td><td>bad request: {{message}}</td></tr></table>
func NewAdminRandomizeChallengeBadRequest ¶ added in v0.72.0
func NewAdminRandomizeChallengeBadRequest() *AdminRandomizeChallengeBadRequest
NewAdminRandomizeChallengeBadRequest creates a AdminRandomizeChallengeBadRequest with default headers values
func (*AdminRandomizeChallengeBadRequest) Error ¶ added in v0.72.0
func (o *AdminRandomizeChallengeBadRequest) Error() string
func (*AdminRandomizeChallengeBadRequest) GetPayload ¶ added in v0.72.0
func (o *AdminRandomizeChallengeBadRequest) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminRandomizeChallengeBadRequest) ToJSONString ¶ added in v0.72.0
func (o *AdminRandomizeChallengeBadRequest) ToJSONString() string
type AdminRandomizeChallengeForbidden ¶
type AdminRandomizeChallengeForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminRandomizeChallengeForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminRandomizeChallengeForbidden ¶
func NewAdminRandomizeChallengeForbidden() *AdminRandomizeChallengeForbidden
NewAdminRandomizeChallengeForbidden creates a AdminRandomizeChallengeForbidden with default headers values
func (*AdminRandomizeChallengeForbidden) Error ¶
func (o *AdminRandomizeChallengeForbidden) Error() string
func (*AdminRandomizeChallengeForbidden) GetPayload ¶
func (o *AdminRandomizeChallengeForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminRandomizeChallengeForbidden) ToJSONString ¶
func (o *AdminRandomizeChallengeForbidden) ToJSONString() string
type AdminRandomizeChallengeInternalServerError ¶
type AdminRandomizeChallengeInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminRandomizeChallengeInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewAdminRandomizeChallengeInternalServerError ¶
func NewAdminRandomizeChallengeInternalServerError() *AdminRandomizeChallengeInternalServerError
NewAdminRandomizeChallengeInternalServerError creates a AdminRandomizeChallengeInternalServerError with default headers values
func (*AdminRandomizeChallengeInternalServerError) Error ¶
func (o *AdminRandomizeChallengeInternalServerError) Error() string
func (*AdminRandomizeChallengeInternalServerError) GetPayload ¶
func (o *AdminRandomizeChallengeInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminRandomizeChallengeInternalServerError) ToJSONString ¶
func (o *AdminRandomizeChallengeInternalServerError) ToJSONString() string
type AdminRandomizeChallengeNotFound ¶
type AdminRandomizeChallengeNotFound struct {
Payload *challengeclientmodels.ResponseError
}
AdminRandomizeChallengeNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20029</td><td>not found</td></tr></table>
func NewAdminRandomizeChallengeNotFound ¶
func NewAdminRandomizeChallengeNotFound() *AdminRandomizeChallengeNotFound
NewAdminRandomizeChallengeNotFound creates a AdminRandomizeChallengeNotFound with default headers values
func (*AdminRandomizeChallengeNotFound) Error ¶
func (o *AdminRandomizeChallengeNotFound) Error() string
func (*AdminRandomizeChallengeNotFound) GetPayload ¶
func (o *AdminRandomizeChallengeNotFound) GetPayload() *challengeclientmodels.ResponseError
func (*AdminRandomizeChallengeNotFound) ToJSONString ¶
func (o *AdminRandomizeChallengeNotFound) ToJSONString() string
type AdminRandomizeChallengeOK ¶
type AdminRandomizeChallengeOK struct {
Payload []*challengeclientmodels.ModelSchedule
}
AdminRandomizeChallengeOK handles this case with default header values.
OK
func NewAdminRandomizeChallengeOK ¶
func NewAdminRandomizeChallengeOK() *AdminRandomizeChallengeOK
NewAdminRandomizeChallengeOK creates a AdminRandomizeChallengeOK with default headers values
func (*AdminRandomizeChallengeOK) Error ¶
func (o *AdminRandomizeChallengeOK) Error() string
func (*AdminRandomizeChallengeOK) GetPayload ¶
func (o *AdminRandomizeChallengeOK) GetPayload() []*challengeclientmodels.ModelSchedule
func (*AdminRandomizeChallengeOK) ToJSONString ¶
func (o *AdminRandomizeChallengeOK) ToJSONString() string
type AdminRandomizeChallengeParams ¶
type AdminRandomizeChallengeParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*ChallengeCode
challenge code
*/
ChallengeCode string
/*Namespace
namespace of the game
*/
Namespace string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
AdminRandomizeChallengeParams contains all the parameters to send to the API endpoint for the admin randomize challenge operation typically these are written to a http.Request
func NewAdminRandomizeChallengeParams ¶
func NewAdminRandomizeChallengeParams() *AdminRandomizeChallengeParams
NewAdminRandomizeChallengeParams creates a new AdminRandomizeChallengeParams object with the default values initialized.
func NewAdminRandomizeChallengeParamsWithContext ¶
func NewAdminRandomizeChallengeParamsWithContext(ctx context.Context) *AdminRandomizeChallengeParams
NewAdminRandomizeChallengeParamsWithContext creates a new AdminRandomizeChallengeParams object with the default values initialized, and the ability to set a context for a request
func NewAdminRandomizeChallengeParamsWithHTTPClient ¶
func NewAdminRandomizeChallengeParamsWithHTTPClient(client *http.Client) *AdminRandomizeChallengeParams
NewAdminRandomizeChallengeParamsWithHTTPClient creates a new AdminRandomizeChallengeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminRandomizeChallengeParamsWithTimeout ¶
func NewAdminRandomizeChallengeParamsWithTimeout(timeout time.Duration) *AdminRandomizeChallengeParams
NewAdminRandomizeChallengeParamsWithTimeout creates a new AdminRandomizeChallengeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminRandomizeChallengeParams) SetAuthInfoWriter ¶
func (o *AdminRandomizeChallengeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin randomize challenge params
func (*AdminRandomizeChallengeParams) SetChallengeCode ¶
func (o *AdminRandomizeChallengeParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the admin randomize challenge params
func (*AdminRandomizeChallengeParams) SetContext ¶
func (o *AdminRandomizeChallengeParams) SetContext(ctx context.Context)
SetContext adds the context to the admin randomize challenge params
func (*AdminRandomizeChallengeParams) SetFlightId ¶
func (o *AdminRandomizeChallengeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminRandomizeChallengeParams) SetHTTPClient ¶
func (o *AdminRandomizeChallengeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin randomize challenge params
func (*AdminRandomizeChallengeParams) SetHTTPClientTransport ¶
func (o *AdminRandomizeChallengeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin randomize challenge params
func (*AdminRandomizeChallengeParams) SetNamespace ¶
func (o *AdminRandomizeChallengeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin randomize challenge params
func (*AdminRandomizeChallengeParams) SetTimeout ¶
func (o *AdminRandomizeChallengeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin randomize challenge params
func (*AdminRandomizeChallengeParams) WithChallengeCode ¶
func (o *AdminRandomizeChallengeParams) WithChallengeCode(challengeCode string) *AdminRandomizeChallengeParams
WithChallengeCode adds the challengeCode to the admin randomize challenge params
func (*AdminRandomizeChallengeParams) WithContext ¶
func (o *AdminRandomizeChallengeParams) WithContext(ctx context.Context) *AdminRandomizeChallengeParams
WithContext adds the context to the admin randomize challenge params
func (*AdminRandomizeChallengeParams) WithHTTPClient ¶
func (o *AdminRandomizeChallengeParams) WithHTTPClient(client *http.Client) *AdminRandomizeChallengeParams
WithHTTPClient adds the HTTPClient to the admin randomize challenge params
func (*AdminRandomizeChallengeParams) WithNamespace ¶
func (o *AdminRandomizeChallengeParams) WithNamespace(namespace string) *AdminRandomizeChallengeParams
WithNamespace adds the namespace to the admin randomize challenge params
func (*AdminRandomizeChallengeParams) WithTimeout ¶
func (o *AdminRandomizeChallengeParams) WithTimeout(timeout time.Duration) *AdminRandomizeChallengeParams
WithTimeout adds the timeout to the admin randomize challenge params
func (*AdminRandomizeChallengeParams) WriteToRequest ¶
func (o *AdminRandomizeChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminRandomizeChallengeReader ¶
type AdminRandomizeChallengeReader struct {
// contains filtered or unexported fields
}
AdminRandomizeChallengeReader is a Reader for the AdminRandomizeChallenge structure.
func (*AdminRandomizeChallengeReader) ReadResponse ¶
func (o *AdminRandomizeChallengeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminRandomizeChallengeUnauthorized ¶
type AdminRandomizeChallengeUnauthorized struct {
}
AdminRandomizeChallengeUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminRandomizeChallengeUnauthorized ¶
func NewAdminRandomizeChallengeUnauthorized() *AdminRandomizeChallengeUnauthorized
NewAdminRandomizeChallengeUnauthorized creates a AdminRandomizeChallengeUnauthorized with default headers values
func (*AdminRandomizeChallengeUnauthorized) Error ¶
func (o *AdminRandomizeChallengeUnauthorized) Error() string
func (*AdminRandomizeChallengeUnauthorized) GetPayload ¶
func (o *AdminRandomizeChallengeUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminRandomizeChallengeUnauthorized) ToJSONString ¶
func (o *AdminRandomizeChallengeUnauthorized) ToJSONString() string
type AdminUpdateChallengeBadRequest ¶ added in v0.70.0
type AdminUpdateChallengeBadRequest struct {
Payload *challengeclientmodels.ResponseError
}
AdminUpdateChallengeBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20018</td><td>bad request: {{message}}</td></tr></table>
func NewAdminUpdateChallengeBadRequest ¶ added in v0.70.0
func NewAdminUpdateChallengeBadRequest() *AdminUpdateChallengeBadRequest
NewAdminUpdateChallengeBadRequest creates a AdminUpdateChallengeBadRequest with default headers values
func (*AdminUpdateChallengeBadRequest) Error ¶ added in v0.70.0
func (o *AdminUpdateChallengeBadRequest) Error() string
func (*AdminUpdateChallengeBadRequest) GetPayload ¶ added in v0.70.0
func (o *AdminUpdateChallengeBadRequest) GetPayload() *challengeclientmodels.ResponseError
func (*AdminUpdateChallengeBadRequest) ToJSONString ¶ added in v0.70.0
func (o *AdminUpdateChallengeBadRequest) ToJSONString() string
type AdminUpdateChallengeForbidden ¶
type AdminUpdateChallengeForbidden struct {
Payload *challengeclientmodels.ResponseError
}
AdminUpdateChallengeForbidden handles this case with default header values.
Forbidden
func NewAdminUpdateChallengeForbidden ¶
func NewAdminUpdateChallengeForbidden() *AdminUpdateChallengeForbidden
NewAdminUpdateChallengeForbidden creates a AdminUpdateChallengeForbidden with default headers values
func (*AdminUpdateChallengeForbidden) Error ¶
func (o *AdminUpdateChallengeForbidden) Error() string
func (*AdminUpdateChallengeForbidden) GetPayload ¶
func (o *AdminUpdateChallengeForbidden) GetPayload() *challengeclientmodels.ResponseError
func (*AdminUpdateChallengeForbidden) ToJSONString ¶
func (o *AdminUpdateChallengeForbidden) ToJSONString() string
type AdminUpdateChallengeInternalServerError ¶
type AdminUpdateChallengeInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminUpdateChallengeInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdateChallengeInternalServerError ¶
func NewAdminUpdateChallengeInternalServerError() *AdminUpdateChallengeInternalServerError
NewAdminUpdateChallengeInternalServerError creates a AdminUpdateChallengeInternalServerError with default headers values
func (*AdminUpdateChallengeInternalServerError) Error ¶
func (o *AdminUpdateChallengeInternalServerError) Error() string
func (*AdminUpdateChallengeInternalServerError) GetPayload ¶
func (o *AdminUpdateChallengeInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminUpdateChallengeInternalServerError) ToJSONString ¶
func (o *AdminUpdateChallengeInternalServerError) ToJSONString() string
type AdminUpdateChallengeNotFound ¶
type AdminUpdateChallengeNotFound struct {
Payload *challengeclientmodels.ResponseError
}
AdminUpdateChallengeNotFound handles this case with default header values.
Not Found
func NewAdminUpdateChallengeNotFound ¶
func NewAdminUpdateChallengeNotFound() *AdminUpdateChallengeNotFound
NewAdminUpdateChallengeNotFound creates a AdminUpdateChallengeNotFound with default headers values
func (*AdminUpdateChallengeNotFound) Error ¶
func (o *AdminUpdateChallengeNotFound) Error() string
func (*AdminUpdateChallengeNotFound) GetPayload ¶
func (o *AdminUpdateChallengeNotFound) GetPayload() *challengeclientmodels.ResponseError
func (*AdminUpdateChallengeNotFound) ToJSONString ¶
func (o *AdminUpdateChallengeNotFound) ToJSONString() string
type AdminUpdateChallengeOK ¶
type AdminUpdateChallengeOK struct {
Payload *challengeclientmodels.ModelChallengeResponse
}
AdminUpdateChallengeOK handles this case with default header values.
OK
func NewAdminUpdateChallengeOK ¶
func NewAdminUpdateChallengeOK() *AdminUpdateChallengeOK
NewAdminUpdateChallengeOK creates a AdminUpdateChallengeOK with default headers values
func (*AdminUpdateChallengeOK) Error ¶
func (o *AdminUpdateChallengeOK) Error() string
func (*AdminUpdateChallengeOK) GetPayload ¶
func (o *AdminUpdateChallengeOK) GetPayload() *challengeclientmodels.ModelChallengeResponse
func (*AdminUpdateChallengeOK) ToJSONString ¶
func (o *AdminUpdateChallengeOK) ToJSONString() string
type AdminUpdateChallengeParams ¶
type AdminUpdateChallengeParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *challengeclientmodels.ModelUpdateChallengeRequest
/*ChallengeCode
the code of the challenge data to update
*/
ChallengeCode string
/*Namespace
namespace of the game
*/
Namespace string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
AdminUpdateChallengeParams contains all the parameters to send to the API endpoint for the admin update challenge operation typically these are written to a http.Request
func NewAdminUpdateChallengeParams ¶
func NewAdminUpdateChallengeParams() *AdminUpdateChallengeParams
NewAdminUpdateChallengeParams creates a new AdminUpdateChallengeParams object with the default values initialized.
func NewAdminUpdateChallengeParamsWithContext ¶
func NewAdminUpdateChallengeParamsWithContext(ctx context.Context) *AdminUpdateChallengeParams
NewAdminUpdateChallengeParamsWithContext creates a new AdminUpdateChallengeParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateChallengeParamsWithHTTPClient ¶
func NewAdminUpdateChallengeParamsWithHTTPClient(client *http.Client) *AdminUpdateChallengeParams
NewAdminUpdateChallengeParamsWithHTTPClient creates a new AdminUpdateChallengeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateChallengeParamsWithTimeout ¶
func NewAdminUpdateChallengeParamsWithTimeout(timeout time.Duration) *AdminUpdateChallengeParams
NewAdminUpdateChallengeParamsWithTimeout creates a new AdminUpdateChallengeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateChallengeParams) SetAuthInfoWriter ¶
func (o *AdminUpdateChallengeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update challenge params
func (*AdminUpdateChallengeParams) SetBody ¶
func (o *AdminUpdateChallengeParams) SetBody(body *challengeclientmodels.ModelUpdateChallengeRequest)
SetBody adds the body to the admin update challenge params
func (*AdminUpdateChallengeParams) SetChallengeCode ¶
func (o *AdminUpdateChallengeParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the admin update challenge params
func (*AdminUpdateChallengeParams) SetContext ¶
func (o *AdminUpdateChallengeParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update challenge params
func (*AdminUpdateChallengeParams) SetFlightId ¶
func (o *AdminUpdateChallengeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminUpdateChallengeParams) SetHTTPClient ¶
func (o *AdminUpdateChallengeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update challenge params
func (*AdminUpdateChallengeParams) SetHTTPClientTransport ¶
func (o *AdminUpdateChallengeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update challenge params
func (*AdminUpdateChallengeParams) SetNamespace ¶
func (o *AdminUpdateChallengeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update challenge params
func (*AdminUpdateChallengeParams) SetTimeout ¶
func (o *AdminUpdateChallengeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update challenge params
func (*AdminUpdateChallengeParams) WithBody ¶
func (o *AdminUpdateChallengeParams) WithBody(body *challengeclientmodels.ModelUpdateChallengeRequest) *AdminUpdateChallengeParams
WithBody adds the body to the admin update challenge params
func (*AdminUpdateChallengeParams) WithChallengeCode ¶
func (o *AdminUpdateChallengeParams) WithChallengeCode(challengeCode string) *AdminUpdateChallengeParams
WithChallengeCode adds the challengeCode to the admin update challenge params
func (*AdminUpdateChallengeParams) WithContext ¶
func (o *AdminUpdateChallengeParams) WithContext(ctx context.Context) *AdminUpdateChallengeParams
WithContext adds the context to the admin update challenge params
func (*AdminUpdateChallengeParams) WithHTTPClient ¶
func (o *AdminUpdateChallengeParams) WithHTTPClient(client *http.Client) *AdminUpdateChallengeParams
WithHTTPClient adds the HTTPClient to the admin update challenge params
func (*AdminUpdateChallengeParams) WithNamespace ¶
func (o *AdminUpdateChallengeParams) WithNamespace(namespace string) *AdminUpdateChallengeParams
WithNamespace adds the namespace to the admin update challenge params
func (*AdminUpdateChallengeParams) WithTimeout ¶
func (o *AdminUpdateChallengeParams) WithTimeout(timeout time.Duration) *AdminUpdateChallengeParams
WithTimeout adds the timeout to the admin update challenge params
func (*AdminUpdateChallengeParams) WriteToRequest ¶
func (o *AdminUpdateChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateChallengeReader ¶
type AdminUpdateChallengeReader struct {
// contains filtered or unexported fields
}
AdminUpdateChallengeReader is a Reader for the AdminUpdateChallenge structure.
func (*AdminUpdateChallengeReader) ReadResponse ¶
func (o *AdminUpdateChallengeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateChallengeUnauthorized ¶
type AdminUpdateChallengeUnauthorized struct {
}
AdminUpdateChallengeUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUpdateChallengeUnauthorized ¶
func NewAdminUpdateChallengeUnauthorized() *AdminUpdateChallengeUnauthorized
NewAdminUpdateChallengeUnauthorized creates a AdminUpdateChallengeUnauthorized with default headers values
func (*AdminUpdateChallengeUnauthorized) Error ¶
func (o *AdminUpdateChallengeUnauthorized) Error() string
func (*AdminUpdateChallengeUnauthorized) GetPayload ¶
func (o *AdminUpdateChallengeUnauthorized) GetPayload() *challengeclientmodels.ResponseError
func (*AdminUpdateChallengeUnauthorized) ToJSONString ¶
func (o *AdminUpdateChallengeUnauthorized) ToJSONString() string
type AdminUpdateChallengeUnprocessableEntity ¶
type AdminUpdateChallengeUnprocessableEntity struct {
Payload *challengeclientmodels.ResponseError
}
AdminUpdateChallengeUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewAdminUpdateChallengeUnprocessableEntity ¶
func NewAdminUpdateChallengeUnprocessableEntity() *AdminUpdateChallengeUnprocessableEntity
NewAdminUpdateChallengeUnprocessableEntity creates a AdminUpdateChallengeUnprocessableEntity with default headers values
func (*AdminUpdateChallengeUnprocessableEntity) Error ¶
func (o *AdminUpdateChallengeUnprocessableEntity) Error() string
func (*AdminUpdateChallengeUnprocessableEntity) GetPayload ¶
func (o *AdminUpdateChallengeUnprocessableEntity) GetPayload() *challengeclientmodels.ResponseError
func (*AdminUpdateChallengeUnprocessableEntity) ToJSONString ¶
func (o *AdminUpdateChallengeUnprocessableEntity) ToJSONString() string
type AdminUpdateTiedChallengeScheduleBadRequest ¶ added in v0.74.0
type AdminUpdateTiedChallengeScheduleBadRequest struct {
Payload *challengeclientmodels.ResponseError
}
AdminUpdateTiedChallengeScheduleBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20018</td><td>bad request: {{message}}</td></tr></table>
func NewAdminUpdateTiedChallengeScheduleBadRequest ¶ added in v0.74.0
func NewAdminUpdateTiedChallengeScheduleBadRequest() *AdminUpdateTiedChallengeScheduleBadRequest
NewAdminUpdateTiedChallengeScheduleBadRequest creates a AdminUpdateTiedChallengeScheduleBadRequest with default headers values
func (*AdminUpdateTiedChallengeScheduleBadRequest) Error ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleBadRequest) Error() string
func (*AdminUpdateTiedChallengeScheduleBadRequest) GetPayload ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleBadRequest) GetPayload() *challengeclientmodels.ResponseError
func (*AdminUpdateTiedChallengeScheduleBadRequest) ToJSONString ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleBadRequest) ToJSONString() string
type AdminUpdateTiedChallengeScheduleForbidden ¶ added in v0.74.0
type AdminUpdateTiedChallengeScheduleForbidden struct {
Payload *challengeclientmodels.ResponseError
}
AdminUpdateTiedChallengeScheduleForbidden handles this case with default header values.
Forbidden
func NewAdminUpdateTiedChallengeScheduleForbidden ¶ added in v0.74.0
func NewAdminUpdateTiedChallengeScheduleForbidden() *AdminUpdateTiedChallengeScheduleForbidden
NewAdminUpdateTiedChallengeScheduleForbidden creates a AdminUpdateTiedChallengeScheduleForbidden with default headers values
func (*AdminUpdateTiedChallengeScheduleForbidden) Error ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleForbidden) Error() string
func (*AdminUpdateTiedChallengeScheduleForbidden) GetPayload ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleForbidden) GetPayload() *challengeclientmodels.ResponseError
func (*AdminUpdateTiedChallengeScheduleForbidden) ToJSONString ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleForbidden) ToJSONString() string
type AdminUpdateTiedChallengeScheduleInternalServerError ¶ added in v0.74.0
type AdminUpdateTiedChallengeScheduleInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminUpdateTiedChallengeScheduleInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdateTiedChallengeScheduleInternalServerError ¶ added in v0.74.0
func NewAdminUpdateTiedChallengeScheduleInternalServerError() *AdminUpdateTiedChallengeScheduleInternalServerError
NewAdminUpdateTiedChallengeScheduleInternalServerError creates a AdminUpdateTiedChallengeScheduleInternalServerError with default headers values
func (*AdminUpdateTiedChallengeScheduleInternalServerError) Error ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleInternalServerError) Error() string
func (*AdminUpdateTiedChallengeScheduleInternalServerError) GetPayload ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminUpdateTiedChallengeScheduleInternalServerError) ToJSONString ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleInternalServerError) ToJSONString() string
type AdminUpdateTiedChallengeScheduleNotFound ¶ added in v0.74.0
type AdminUpdateTiedChallengeScheduleNotFound struct {
Payload *challengeclientmodels.ResponseError
}
AdminUpdateTiedChallengeScheduleNotFound handles this case with default header values.
Not Found
func NewAdminUpdateTiedChallengeScheduleNotFound ¶ added in v0.74.0
func NewAdminUpdateTiedChallengeScheduleNotFound() *AdminUpdateTiedChallengeScheduleNotFound
NewAdminUpdateTiedChallengeScheduleNotFound creates a AdminUpdateTiedChallengeScheduleNotFound with default headers values
func (*AdminUpdateTiedChallengeScheduleNotFound) Error ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleNotFound) Error() string
func (*AdminUpdateTiedChallengeScheduleNotFound) GetPayload ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleNotFound) GetPayload() *challengeclientmodels.ResponseError
func (*AdminUpdateTiedChallengeScheduleNotFound) ToJSONString ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleNotFound) ToJSONString() string
type AdminUpdateTiedChallengeScheduleOK ¶ added in v0.74.0
type AdminUpdateTiedChallengeScheduleOK struct {
Payload *challengeclientmodels.ModelChallengeResponse
}
AdminUpdateTiedChallengeScheduleOK handles this case with default header values.
OK
func NewAdminUpdateTiedChallengeScheduleOK ¶ added in v0.74.0
func NewAdminUpdateTiedChallengeScheduleOK() *AdminUpdateTiedChallengeScheduleOK
NewAdminUpdateTiedChallengeScheduleOK creates a AdminUpdateTiedChallengeScheduleOK with default headers values
func (*AdminUpdateTiedChallengeScheduleOK) Error ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleOK) Error() string
func (*AdminUpdateTiedChallengeScheduleOK) GetPayload ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleOK) GetPayload() *challengeclientmodels.ModelChallengeResponse
func (*AdminUpdateTiedChallengeScheduleOK) ToJSONString ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleOK) ToJSONString() string
type AdminUpdateTiedChallengeScheduleParams ¶ added in v0.74.0
type AdminUpdateTiedChallengeScheduleParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *challengeclientmodels.ModelUpdateChallengeScheduleRequest
/*ChallengeCode
the code of the challenge data to be updated
*/
ChallengeCode string
/*Namespace
namespace of the game
*/
Namespace string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
AdminUpdateTiedChallengeScheduleParams contains all the parameters to send to the API endpoint for the admin update tied challenge schedule operation typically these are written to a http.Request
func NewAdminUpdateTiedChallengeScheduleParams ¶ added in v0.74.0
func NewAdminUpdateTiedChallengeScheduleParams() *AdminUpdateTiedChallengeScheduleParams
NewAdminUpdateTiedChallengeScheduleParams creates a new AdminUpdateTiedChallengeScheduleParams object with the default values initialized.
func NewAdminUpdateTiedChallengeScheduleParamsWithContext ¶ added in v0.74.0
func NewAdminUpdateTiedChallengeScheduleParamsWithContext(ctx context.Context) *AdminUpdateTiedChallengeScheduleParams
NewAdminUpdateTiedChallengeScheduleParamsWithContext creates a new AdminUpdateTiedChallengeScheduleParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateTiedChallengeScheduleParamsWithHTTPClient ¶ added in v0.74.0
func NewAdminUpdateTiedChallengeScheduleParamsWithHTTPClient(client *http.Client) *AdminUpdateTiedChallengeScheduleParams
NewAdminUpdateTiedChallengeScheduleParamsWithHTTPClient creates a new AdminUpdateTiedChallengeScheduleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateTiedChallengeScheduleParamsWithTimeout ¶ added in v0.74.0
func NewAdminUpdateTiedChallengeScheduleParamsWithTimeout(timeout time.Duration) *AdminUpdateTiedChallengeScheduleParams
NewAdminUpdateTiedChallengeScheduleParamsWithTimeout creates a new AdminUpdateTiedChallengeScheduleParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateTiedChallengeScheduleParams) SetAuthInfoWriter ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) SetBody ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) SetBody(body *challengeclientmodels.ModelUpdateChallengeScheduleRequest)
SetBody adds the body to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) SetChallengeCode ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) SetContext ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) SetFlightId ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminUpdateTiedChallengeScheduleParams) SetHTTPClient ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) SetHTTPClientTransport ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) SetNamespace ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) SetTimeout ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) WithBody ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) WithBody(body *challengeclientmodels.ModelUpdateChallengeScheduleRequest) *AdminUpdateTiedChallengeScheduleParams
WithBody adds the body to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) WithChallengeCode ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) WithChallengeCode(challengeCode string) *AdminUpdateTiedChallengeScheduleParams
WithChallengeCode adds the challengeCode to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) WithContext ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) WithContext(ctx context.Context) *AdminUpdateTiedChallengeScheduleParams
WithContext adds the context to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) WithHTTPClient ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) WithHTTPClient(client *http.Client) *AdminUpdateTiedChallengeScheduleParams
WithHTTPClient adds the HTTPClient to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) WithNamespace ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) WithNamespace(namespace string) *AdminUpdateTiedChallengeScheduleParams
WithNamespace adds the namespace to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) WithTimeout ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) WithTimeout(timeout time.Duration) *AdminUpdateTiedChallengeScheduleParams
WithTimeout adds the timeout to the admin update tied challenge schedule params
func (*AdminUpdateTiedChallengeScheduleParams) WriteToRequest ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateTiedChallengeScheduleReader ¶ added in v0.74.0
type AdminUpdateTiedChallengeScheduleReader struct {
// contains filtered or unexported fields
}
AdminUpdateTiedChallengeScheduleReader is a Reader for the AdminUpdateTiedChallengeSchedule structure.
func (*AdminUpdateTiedChallengeScheduleReader) ReadResponse ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateTiedChallengeScheduleUnauthorized ¶ added in v0.74.0
type AdminUpdateTiedChallengeScheduleUnauthorized struct {
}
AdminUpdateTiedChallengeScheduleUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUpdateTiedChallengeScheduleUnauthorized ¶ added in v0.74.0
func NewAdminUpdateTiedChallengeScheduleUnauthorized() *AdminUpdateTiedChallengeScheduleUnauthorized
NewAdminUpdateTiedChallengeScheduleUnauthorized creates a AdminUpdateTiedChallengeScheduleUnauthorized with default headers values
func (*AdminUpdateTiedChallengeScheduleUnauthorized) Error ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleUnauthorized) Error() string
func (*AdminUpdateTiedChallengeScheduleUnauthorized) GetPayload ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleUnauthorized) GetPayload() *challengeclientmodels.ResponseError
func (*AdminUpdateTiedChallengeScheduleUnauthorized) ToJSONString ¶ added in v0.74.0
func (o *AdminUpdateTiedChallengeScheduleUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for challenge configuration API
func (*Client) AdminCreateChallenge
deprecated
func (a *Client) AdminCreateChallenge(params *AdminCreateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChallengeCreated, *AdminCreateChallengeBadRequest, *AdminCreateChallengeUnauthorized, *AdminCreateChallengeForbidden, *AdminCreateChallengeConflict, *AdminCreateChallengeUnprocessableEntity, *AdminCreateChallengeInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminCreateChallengeShort instead.
AdminCreateChallenge create new challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [CREATE] Challenge is a collection of goals that can be completed by players. Challenge can have rules that specify what and when goals will be available for players to be taken. #### Request body: - code: only lowercase letters, numbers, and the separator - are allowed; must start and end with letter - name: name of the challenge - description: text describing about the challenge (optional) - startDate: timestamp of when the challenge is started - endDate: timestamp of when the challenge is ended (optional) - endAfter: describe number of period challenge will be retired after (optional). To configure challenge that never end, leave the endDate and endAfter field null/empty. - repeatAfter: describe number of period challenge's goals will be repeated after. Leave it empty if you don't want to repeat the challenge. - rotation: describe how long goals in a challenge will be available for players to progress before rotated with another goals. (DAILY|WEEKLY|MONTHLY|NONE) - activeGoalsPerRotation: number of goals per rotation (currently only applicable for RANDOMIZE assignment) - assignmentRule: describe how the goals will be assigned and scheduled to users. (FIXED|RANDOMIZED|UNSCHEDULED|CUSTOM) - goalsVisibility: describe whether users can see all goals under challenge, or only active goal in one rotation period only. (SHOWALL|PERIODONLY) - resetConfig: describe when rotation reset will happen (optional). - resetTime: Reset time must follow hours:minutes in 24 hours format (e.g. 01:30, 23:15) and in UTC timezone. Default to "00:00" - resetDay: Reset Day follows the ISO-8601 standard, from 1 (Monday) to 7 (Sunday). Default to 1 in WEEKLY rotation. - resetDate: Reset Date must be a number 1 - 31. Default to 1 in MONTHLY rotation. - randomizedPerRotation: - true: each goal will be randomly assigned to multiple periods - false: a goal will only be assigned to one period - tags: challenge's labels.
func (*Client) AdminCreateChallengeShort ¶
func (a *Client) AdminCreateChallengeShort(params *AdminCreateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChallengeCreated, error)
AdminCreateChallengeShort create new challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [CREATE] Challenge is a collection of goals that can be completed by players. Challenge can have rules that specify what and when goals will be available for players to be taken. #### Request body: - code: only lowercase letters, numbers, and the separator - are allowed; must start and end with letter - name: name of the challenge - description: text describing about the challenge (optional) - startDate: timestamp of when the challenge is started - endDate: timestamp of when the challenge is ended (optional) - endAfter: describe number of period challenge will be retired after (optional). To configure challenge that never end, leave the endDate and endAfter field null/empty. - repeatAfter: describe number of period challenge's goals will be repeated after. Leave it empty if you don't want to repeat the challenge. - rotation: describe how long goals in a challenge will be available for players to progress before rotated with another goals. (DAILY|WEEKLY|MONTHLY|NONE) - activeGoalsPerRotation: number of goals per rotation (currently only applicable for RANDOMIZE assignment) - assignmentRule: describe how the goals will be assigned and scheduled to users. (FIXED|RANDOMIZED|UNSCHEDULED|CUSTOM) - goalsVisibility: describe whether users can see all goals under challenge, or only active goal in one rotation period only. (SHOWALL|PERIODONLY) - resetConfig: describe when rotation reset will happen (optional). - resetTime: Reset time must follow hours:minutes in 24 hours format (e.g. 01:30, 23:15) and in UTC timezone. Default to "00:00" - resetDay: Reset Day follows the ISO-8601 standard, from 1 (Monday) to 7 (Sunday). Default to 1 in WEEKLY rotation. - resetDate: Reset Date must be a number 1 - 31. Default to 1 in MONTHLY rotation. - randomizedPerRotation: - true: each goal will be randomly assigned to multiple periods - false: a goal will only be assigned to one period - tags: challenge's labels.
func (*Client) AdminDeleteChallenge
deprecated
func (a *Client) AdminDeleteChallenge(params *AdminDeleteChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChallengeNoContent, *AdminDeleteChallengeBadRequest, *AdminDeleteChallengeUnauthorized, *AdminDeleteChallengeForbidden, *AdminDeleteChallengeNotFound, *AdminDeleteChallengeInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeleteChallengeShort instead.
AdminDeleteChallenge delete a challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [DELETE]
func (*Client) AdminDeleteChallengeShort ¶
func (a *Client) AdminDeleteChallengeShort(params *AdminDeleteChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChallengeNoContent, error)
AdminDeleteChallengeShort delete a challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [DELETE]
func (*Client) AdminDeleteTiedChallenge
deprecated
func (a *Client) AdminDeleteTiedChallenge(params *AdminDeleteTiedChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTiedChallengeNoContent, *AdminDeleteTiedChallengeBadRequest, *AdminDeleteTiedChallengeUnauthorized, *AdminDeleteTiedChallengeForbidden, *AdminDeleteTiedChallengeNotFound, *AdminDeleteTiedChallengeInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeleteTiedChallengeShort instead.
AdminDeleteTiedChallenge delete tied challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [DELETE] - This endpoint will delete the combination of related data: CHALLENGES, GOALS, SCHEDULES, PLAYER PROGRESSIONS
func (*Client) AdminDeleteTiedChallengeShort ¶
func (a *Client) AdminDeleteTiedChallengeShort(params *AdminDeleteTiedChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTiedChallengeNoContent, error)
AdminDeleteTiedChallengeShort delete tied challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [DELETE] - This endpoint will delete the combination of related data: CHALLENGES, GOALS, SCHEDULES, PLAYER PROGRESSIONS
func (*Client) AdminGetActiveChallenges
deprecated
added in
v0.74.0
func (a *Client) AdminGetActiveChallenges(params *AdminGetActiveChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetActiveChallengesOK, *AdminGetActiveChallengesUnauthorized, *AdminGetActiveChallengesForbidden, *AdminGetActiveChallengesInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetActiveChallengesShort instead.
AdminGetActiveChallenges list user's active challenges - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ] The endpoint provides you an access to list of currently active challenges in which the player is participating
func (*Client) AdminGetActiveChallengesShort ¶ added in v0.74.0
func (a *Client) AdminGetActiveChallengesShort(params *AdminGetActiveChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetActiveChallengesOK, error)
AdminGetActiveChallengesShort list user's active challenges - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ] The endpoint provides you an access to list of currently active challenges in which the player is participating
func (*Client) AdminGetChallenge
deprecated
func (a *Client) AdminGetChallenge(params *AdminGetChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengeOK, *AdminGetChallengeUnauthorized, *AdminGetChallengeForbidden, *AdminGetChallengeNotFound, *AdminGetChallengeInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetChallengeShort instead.
AdminGetChallenge get a challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]
func (*Client) AdminGetChallengeShort ¶
func (a *Client) AdminGetChallengeShort(params *AdminGetChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengeOK, error)
AdminGetChallengeShort get a challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]
func (*Client) AdminGetChallenges
deprecated
func (a *Client) AdminGetChallenges(params *AdminGetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengesOK, *AdminGetChallengesBadRequest, *AdminGetChallengesUnauthorized, *AdminGetChallengesForbidden, *AdminGetChallengesInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetChallengesShort instead.
AdminGetChallenges list challenges - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]
func (*Client) AdminGetChallengesShort ¶
func (a *Client) AdminGetChallengesShort(params *AdminGetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengesOK, error)
AdminGetChallengesShort list challenges - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]
func (*Client) AdminGetPeriods
deprecated
func (a *Client) AdminGetPeriods(params *AdminGetPeriodsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPeriodsOK, *AdminGetPeriodsUnauthorized, *AdminGetPeriodsForbidden, *AdminGetPeriodsNotFound, *AdminGetPeriodsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetPeriodsShort instead.
AdminGetPeriods get challenge's periods - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]
func (*Client) AdminGetPeriodsShort ¶
func (a *Client) AdminGetPeriodsShort(params *AdminGetPeriodsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPeriodsOK, error)
AdminGetPeriodsShort get challenge's periods - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]
func (*Client) AdminRandomizeChallenge
deprecated
func (a *Client) AdminRandomizeChallenge(params *AdminRandomizeChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRandomizeChallengeOK, *AdminRandomizeChallengeBadRequest, *AdminRandomizeChallengeUnauthorized, *AdminRandomizeChallengeForbidden, *AdminRandomizeChallengeNotFound, *AdminRandomizeChallengeInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminRandomizeChallengeShort instead.
AdminRandomizeChallenge randomize goals of a challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [UPDATE] This is a utility endpoint to execute randomize goals schedule on challenge that the assignmentRule is RANDOMIZED and RandomizePerRotation assigned with true.
func (*Client) AdminRandomizeChallengeShort ¶
func (a *Client) AdminRandomizeChallengeShort(params *AdminRandomizeChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRandomizeChallengeOK, error)
AdminRandomizeChallengeShort randomize goals of a challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [UPDATE] This is a utility endpoint to execute randomize goals schedule on challenge that the assignmentRule is RANDOMIZED and RandomizePerRotation assigned with true.
func (*Client) AdminUpdateChallenge
deprecated
func (a *Client) AdminUpdateChallenge(params *AdminUpdateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChallengeOK, *AdminUpdateChallengeBadRequest, *AdminUpdateChallengeUnauthorized, *AdminUpdateChallengeForbidden, *AdminUpdateChallengeNotFound, *AdminUpdateChallengeUnprocessableEntity, *AdminUpdateChallengeInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpdateChallengeShort instead.
AdminUpdateChallenge update a challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [UPDATE] Request body: - name: name of the challenge - description: text describing about the challenge (optional) - startDate: timestamp of when the challenge is started - endDate: timestamp of when the challenge is ended (optional) - endAfter: describe number of period challenge will be retired after (optional). To configure challenge that never end, leave the endDate and endAfter field null/empty. - repeatAfter: describe number of period challenge's goals will be repeated after. Leave it empty if you don't want to repeat the challenge. - rotation: describe how long goals in a challenge will be available for players to progress before rotated with another goals. (DAILY|WEEKLY|MONTHLY|NONE) - activeGoalsPerRotation: number of goals per rotation (currently only applicable for RANDOMIZE assignment) - assignmentRule: describe how the goals will be assigned and scheduled to users. (FIXED|RANDOMIZED|UNSCHEDULED|CUSTOM) - goalsVisibility: describe whether users can see all goals under challenge, or only active goal in one rotation period only. (SHOWALL|PERIODONLY) - resetConfig: describe when rotation reset will happen (optional). - resetTime: Reset time must follow hours:minutes in 24 hours format (e.g. 01:30, 23:15) and in UTC timezone. Default to "00:00" - resetDay: Reset Day follows the ISO-8601 standard, from 1 (Monday) to 7 (Sunday). Default to 1 in WEEKLY rotation. - resetDate: Reset Date must be a number 1 - 31. Default to 1 in MONTHLY rotation. - randomizedPerRotation: - true: each goal will be randomly assigned to multiple periods - false: a goal will only be assigned to one period - tags: challenge's labels.
func (*Client) AdminUpdateChallengeShort ¶
func (a *Client) AdminUpdateChallengeShort(params *AdminUpdateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChallengeOK, error)
AdminUpdateChallengeShort update a challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [UPDATE] Request body: - name: name of the challenge - description: text describing about the challenge (optional) - startDate: timestamp of when the challenge is started - endDate: timestamp of when the challenge is ended (optional) - endAfter: describe number of period challenge will be retired after (optional). To configure challenge that never end, leave the endDate and endAfter field null/empty. - repeatAfter: describe number of period challenge's goals will be repeated after. Leave it empty if you don't want to repeat the challenge. - rotation: describe how long goals in a challenge will be available for players to progress before rotated with another goals. (DAILY|WEEKLY|MONTHLY|NONE) - activeGoalsPerRotation: number of goals per rotation (currently only applicable for RANDOMIZE assignment) - assignmentRule: describe how the goals will be assigned and scheduled to users. (FIXED|RANDOMIZED|UNSCHEDULED|CUSTOM) - goalsVisibility: describe whether users can see all goals under challenge, or only active goal in one rotation period only. (SHOWALL|PERIODONLY) - resetConfig: describe when rotation reset will happen (optional). - resetTime: Reset time must follow hours:minutes in 24 hours format (e.g. 01:30, 23:15) and in UTC timezone. Default to "00:00" - resetDay: Reset Day follows the ISO-8601 standard, from 1 (Monday) to 7 (Sunday). Default to 1 in WEEKLY rotation. - resetDate: Reset Date must be a number 1 - 31. Default to 1 in MONTHLY rotation. - randomizedPerRotation: - true: each goal will be randomly assigned to multiple periods - false: a goal will only be assigned to one period - tags: challenge's labels.
func (*Client) AdminUpdateTiedChallengeSchedule
deprecated
added in
v0.74.0
func (a *Client) AdminUpdateTiedChallengeSchedule(params *AdminUpdateTiedChallengeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTiedChallengeScheduleOK, *AdminUpdateTiedChallengeScheduleBadRequest, *AdminUpdateTiedChallengeScheduleUnauthorized, *AdminUpdateTiedChallengeScheduleForbidden, *AdminUpdateTiedChallengeScheduleNotFound, *AdminUpdateTiedChallengeScheduleInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpdateTiedChallengeScheduleShort instead.
AdminUpdateTiedChallengeSchedule update tied challenge schedule - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [UPDATE] ### Request body: - action: Update the challenge schedule. The available options are: - STOP: Ends the challenge, changing its status to RETIRED. This option supports all types of challenges. - ACCELERATE: Speeds up the challenge's end time. Note that this option does not apply to challenges with an 'endAfter' value. - endDate: The timestamp specifying when the challenge should end (required if the action is ACCELERATE).
func (*Client) AdminUpdateTiedChallengeScheduleShort ¶ added in v0.74.0
func (a *Client) AdminUpdateTiedChallengeScheduleShort(params *AdminUpdateTiedChallengeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTiedChallengeScheduleOK, error)
AdminUpdateTiedChallengeScheduleShort update tied challenge schedule - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [UPDATE] ### Request body: - action: Update the challenge schedule. The available options are: - STOP: Ends the challenge, changing its status to RETIRED. This option supports all types of challenges. - ACCELERATE: Speeds up the challenge's end time. Note that this option does not apply to challenges with an 'endAfter' value. - endDate: The timestamp specifying when the challenge should end (required if the action is ACCELERATE).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface {
AdminGetChallenges(params *AdminGetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengesOK, *AdminGetChallengesBadRequest, *AdminGetChallengesUnauthorized, *AdminGetChallengesForbidden, *AdminGetChallengesInternalServerError, error)
AdminGetChallengesShort(params *AdminGetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengesOK, error)
AdminCreateChallenge(params *AdminCreateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChallengeCreated, *AdminCreateChallengeBadRequest, *AdminCreateChallengeUnauthorized, *AdminCreateChallengeForbidden, *AdminCreateChallengeConflict, *AdminCreateChallengeUnprocessableEntity, *AdminCreateChallengeInternalServerError, error)
AdminCreateChallengeShort(params *AdminCreateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChallengeCreated, error)
AdminGetActiveChallenges(params *AdminGetActiveChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetActiveChallengesOK, *AdminGetActiveChallengesUnauthorized, *AdminGetActiveChallengesForbidden, *AdminGetActiveChallengesInternalServerError, error)
AdminGetActiveChallengesShort(params *AdminGetActiveChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetActiveChallengesOK, error)
AdminGetChallenge(params *AdminGetChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengeOK, *AdminGetChallengeUnauthorized, *AdminGetChallengeForbidden, *AdminGetChallengeNotFound, *AdminGetChallengeInternalServerError, error)
AdminGetChallengeShort(params *AdminGetChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengeOK, error)
AdminUpdateChallenge(params *AdminUpdateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChallengeOK, *AdminUpdateChallengeBadRequest, *AdminUpdateChallengeUnauthorized, *AdminUpdateChallengeForbidden, *AdminUpdateChallengeNotFound, *AdminUpdateChallengeUnprocessableEntity, *AdminUpdateChallengeInternalServerError, error)
AdminUpdateChallengeShort(params *AdminUpdateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChallengeOK, error)
AdminDeleteChallenge(params *AdminDeleteChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChallengeNoContent, *AdminDeleteChallengeBadRequest, *AdminDeleteChallengeUnauthorized, *AdminDeleteChallengeForbidden, *AdminDeleteChallengeNotFound, *AdminDeleteChallengeInternalServerError, error)
AdminDeleteChallengeShort(params *AdminDeleteChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChallengeNoContent, error)
AdminGetPeriods(params *AdminGetPeriodsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPeriodsOK, *AdminGetPeriodsUnauthorized, *AdminGetPeriodsForbidden, *AdminGetPeriodsNotFound, *AdminGetPeriodsInternalServerError, error)
AdminGetPeriodsShort(params *AdminGetPeriodsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPeriodsOK, error)
AdminRandomizeChallenge(params *AdminRandomizeChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRandomizeChallengeOK, *AdminRandomizeChallengeBadRequest, *AdminRandomizeChallengeUnauthorized, *AdminRandomizeChallengeForbidden, *AdminRandomizeChallengeNotFound, *AdminRandomizeChallengeInternalServerError, error)
AdminRandomizeChallengeShort(params *AdminRandomizeChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRandomizeChallengeOK, error)
AdminDeleteTiedChallenge(params *AdminDeleteTiedChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTiedChallengeNoContent, *AdminDeleteTiedChallengeBadRequest, *AdminDeleteTiedChallengeUnauthorized, *AdminDeleteTiedChallengeForbidden, *AdminDeleteTiedChallengeNotFound, *AdminDeleteTiedChallengeInternalServerError, error)
AdminDeleteTiedChallengeShort(params *AdminDeleteTiedChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTiedChallengeNoContent, error)
AdminUpdateTiedChallengeSchedule(params *AdminUpdateTiedChallengeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTiedChallengeScheduleOK, *AdminUpdateTiedChallengeScheduleBadRequest, *AdminUpdateTiedChallengeScheduleUnauthorized, *AdminUpdateTiedChallengeScheduleForbidden, *AdminUpdateTiedChallengeScheduleNotFound, *AdminUpdateTiedChallengeScheduleInternalServerError, error)
AdminUpdateTiedChallengeScheduleShort(params *AdminUpdateTiedChallengeScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTiedChallengeScheduleOK, 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 challenge configuration API client.
Source Files
¶
- admin_create_challenge_parameters.go
- admin_create_challenge_responses.go
- admin_delete_challenge_parameters.go
- admin_delete_challenge_responses.go
- admin_delete_tied_challenge_parameters.go
- admin_delete_tied_challenge_responses.go
- admin_get_active_challenges_parameters.go
- admin_get_active_challenges_responses.go
- admin_get_challenge_parameters.go
- admin_get_challenge_responses.go
- admin_get_challenges_parameters.go
- admin_get_challenges_responses.go
- admin_get_periods_parameters.go
- admin_get_periods_responses.go
- admin_randomize_challenge_parameters.go
- admin_randomize_challenge_responses.go
- admin_update_challenge_parameters.go
- admin_update_challenge_responses.go
- admin_update_tied_challenge_schedule_parameters.go
- admin_update_tied_challenge_schedule_responses.go
- challenge_configuration_client.go