Documentation ¶
Index ¶
- type AdminCreateNewAchievementBadRequest
- type AdminCreateNewAchievementCreated
- type AdminCreateNewAchievementInternalServerError
- type AdminCreateNewAchievementParams
- func NewAdminCreateNewAchievementParams() *AdminCreateNewAchievementParams
- func NewAdminCreateNewAchievementParamsWithContext(ctx context.Context) *AdminCreateNewAchievementParams
- func NewAdminCreateNewAchievementParamsWithHTTPClient(client *http.Client) *AdminCreateNewAchievementParams
- func NewAdminCreateNewAchievementParamsWithTimeout(timeout time.Duration) *AdminCreateNewAchievementParams
- func (o *AdminCreateNewAchievementParams) SetBody(body *achievementclientmodels.ModelsAchievementRequest)
- func (o *AdminCreateNewAchievementParams) SetContext(ctx context.Context)
- func (o *AdminCreateNewAchievementParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateNewAchievementParams) SetNamespace(namespace string)
- func (o *AdminCreateNewAchievementParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateNewAchievementParams) WithBody(body *achievementclientmodels.ModelsAchievementRequest) *AdminCreateNewAchievementParams
- func (o *AdminCreateNewAchievementParams) WithContext(ctx context.Context) *AdminCreateNewAchievementParams
- func (o *AdminCreateNewAchievementParams) WithHTTPClient(client *http.Client) *AdminCreateNewAchievementParams
- func (o *AdminCreateNewAchievementParams) WithNamespace(namespace string) *AdminCreateNewAchievementParams
- func (o *AdminCreateNewAchievementParams) WithTimeout(timeout time.Duration) *AdminCreateNewAchievementParams
- func (o *AdminCreateNewAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateNewAchievementReader
- type AdminCreateNewAchievementUnauthorized
- type AdminDeleteAchievementBadRequest
- type AdminDeleteAchievementInternalServerError
- type AdminDeleteAchievementNoContent
- type AdminDeleteAchievementNotFound
- type AdminDeleteAchievementParams
- func NewAdminDeleteAchievementParams() *AdminDeleteAchievementParams
- func NewAdminDeleteAchievementParamsWithContext(ctx context.Context) *AdminDeleteAchievementParams
- func NewAdminDeleteAchievementParamsWithHTTPClient(client *http.Client) *AdminDeleteAchievementParams
- func NewAdminDeleteAchievementParamsWithTimeout(timeout time.Duration) *AdminDeleteAchievementParams
- func (o *AdminDeleteAchievementParams) SetAchievementCode(achievementCode string)
- func (o *AdminDeleteAchievementParams) SetContext(ctx context.Context)
- func (o *AdminDeleteAchievementParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteAchievementParams) SetNamespace(namespace string)
- func (o *AdminDeleteAchievementParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteAchievementParams) WithAchievementCode(achievementCode string) *AdminDeleteAchievementParams
- func (o *AdminDeleteAchievementParams) WithContext(ctx context.Context) *AdminDeleteAchievementParams
- func (o *AdminDeleteAchievementParams) WithHTTPClient(client *http.Client) *AdminDeleteAchievementParams
- func (o *AdminDeleteAchievementParams) WithNamespace(namespace string) *AdminDeleteAchievementParams
- func (o *AdminDeleteAchievementParams) WithTimeout(timeout time.Duration) *AdminDeleteAchievementParams
- func (o *AdminDeleteAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteAchievementReader
- type AdminDeleteAchievementUnauthorized
- type AdminGetAchievementBadRequest
- type AdminGetAchievementInternalServerError
- type AdminGetAchievementNotFound
- type AdminGetAchievementOK
- type AdminGetAchievementParams
- func NewAdminGetAchievementParams() *AdminGetAchievementParams
- func NewAdminGetAchievementParamsWithContext(ctx context.Context) *AdminGetAchievementParams
- func NewAdminGetAchievementParamsWithHTTPClient(client *http.Client) *AdminGetAchievementParams
- func NewAdminGetAchievementParamsWithTimeout(timeout time.Duration) *AdminGetAchievementParams
- func (o *AdminGetAchievementParams) SetAchievementCode(achievementCode string)
- func (o *AdminGetAchievementParams) SetContext(ctx context.Context)
- func (o *AdminGetAchievementParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetAchievementParams) SetNamespace(namespace string)
- func (o *AdminGetAchievementParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetAchievementParams) WithAchievementCode(achievementCode string) *AdminGetAchievementParams
- func (o *AdminGetAchievementParams) WithContext(ctx context.Context) *AdminGetAchievementParams
- func (o *AdminGetAchievementParams) WithHTTPClient(client *http.Client) *AdminGetAchievementParams
- func (o *AdminGetAchievementParams) WithNamespace(namespace string) *AdminGetAchievementParams
- func (o *AdminGetAchievementParams) WithTimeout(timeout time.Duration) *AdminGetAchievementParams
- func (o *AdminGetAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetAchievementReader
- type AdminGetAchievementUnauthorized
- type AdminListAchievementsBadRequest
- type AdminListAchievementsInternalServerError
- type AdminListAchievementsNotFound
- type AdminListAchievementsOK
- type AdminListAchievementsParams
- func NewAdminListAchievementsParams() *AdminListAchievementsParams
- func NewAdminListAchievementsParamsWithContext(ctx context.Context) *AdminListAchievementsParams
- func NewAdminListAchievementsParamsWithHTTPClient(client *http.Client) *AdminListAchievementsParams
- func NewAdminListAchievementsParamsWithTimeout(timeout time.Duration) *AdminListAchievementsParams
- func (o *AdminListAchievementsParams) SetContext(ctx context.Context)
- func (o *AdminListAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListAchievementsParams) SetLimit(limit *int64)
- func (o *AdminListAchievementsParams) SetNamespace(namespace string)
- func (o *AdminListAchievementsParams) SetOffset(offset *int64)
- func (o *AdminListAchievementsParams) SetSortBy(sortBy *string)
- func (o *AdminListAchievementsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListAchievementsParams) WithContext(ctx context.Context) *AdminListAchievementsParams
- func (o *AdminListAchievementsParams) WithHTTPClient(client *http.Client) *AdminListAchievementsParams
- func (o *AdminListAchievementsParams) WithLimit(limit *int64) *AdminListAchievementsParams
- func (o *AdminListAchievementsParams) WithNamespace(namespace string) *AdminListAchievementsParams
- func (o *AdminListAchievementsParams) WithOffset(offset *int64) *AdminListAchievementsParams
- func (o *AdminListAchievementsParams) WithSortBy(sortBy *string) *AdminListAchievementsParams
- func (o *AdminListAchievementsParams) WithTimeout(timeout time.Duration) *AdminListAchievementsParams
- func (o *AdminListAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListAchievementsReader
- type AdminListAchievementsUnauthorized
- type AdminListUserAchievementsBadRequest
- type AdminListUserAchievementsInternalServerError
- type AdminListUserAchievementsNotFound
- type AdminListUserAchievementsOK
- type AdminListUserAchievementsParams
- func NewAdminListUserAchievementsParams() *AdminListUserAchievementsParams
- func NewAdminListUserAchievementsParamsWithContext(ctx context.Context) *AdminListUserAchievementsParams
- func NewAdminListUserAchievementsParamsWithHTTPClient(client *http.Client) *AdminListUserAchievementsParams
- func NewAdminListUserAchievementsParamsWithTimeout(timeout time.Duration) *AdminListUserAchievementsParams
- func (o *AdminListUserAchievementsParams) SetContext(ctx context.Context)
- func (o *AdminListUserAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListUserAchievementsParams) SetLimit(limit *int64)
- func (o *AdminListUserAchievementsParams) SetNamespace(namespace string)
- func (o *AdminListUserAchievementsParams) SetOffset(offset *int64)
- func (o *AdminListUserAchievementsParams) SetPreferUnlocked(preferUnlocked *bool)
- func (o *AdminListUserAchievementsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListUserAchievementsParams) SetUserID(userID string)
- func (o *AdminListUserAchievementsParams) WithContext(ctx context.Context) *AdminListUserAchievementsParams
- func (o *AdminListUserAchievementsParams) WithHTTPClient(client *http.Client) *AdminListUserAchievementsParams
- func (o *AdminListUserAchievementsParams) WithLimit(limit *int64) *AdminListUserAchievementsParams
- func (o *AdminListUserAchievementsParams) WithNamespace(namespace string) *AdminListUserAchievementsParams
- func (o *AdminListUserAchievementsParams) WithOffset(offset *int64) *AdminListUserAchievementsParams
- func (o *AdminListUserAchievementsParams) WithPreferUnlocked(preferUnlocked *bool) *AdminListUserAchievementsParams
- func (o *AdminListUserAchievementsParams) WithTimeout(timeout time.Duration) *AdminListUserAchievementsParams
- func (o *AdminListUserAchievementsParams) WithUserID(userID string) *AdminListUserAchievementsParams
- func (o *AdminListUserAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListUserAchievementsReader
- type AdminListUserAchievementsUnauthorized
- type AdminUnlockAchievementBadRequest
- type AdminUnlockAchievementInternalServerError
- type AdminUnlockAchievementNoContent
- type AdminUnlockAchievementParams
- func NewAdminUnlockAchievementParams() *AdminUnlockAchievementParams
- func NewAdminUnlockAchievementParamsWithContext(ctx context.Context) *AdminUnlockAchievementParams
- func NewAdminUnlockAchievementParamsWithHTTPClient(client *http.Client) *AdminUnlockAchievementParams
- func NewAdminUnlockAchievementParamsWithTimeout(timeout time.Duration) *AdminUnlockAchievementParams
- func (o *AdminUnlockAchievementParams) SetAchievementCode(achievementCode string)
- func (o *AdminUnlockAchievementParams) SetContext(ctx context.Context)
- func (o *AdminUnlockAchievementParams) SetHTTPClient(client *http.Client)
- func (o *AdminUnlockAchievementParams) SetNamespace(namespace string)
- func (o *AdminUnlockAchievementParams) SetTimeout(timeout time.Duration)
- func (o *AdminUnlockAchievementParams) SetUserID(userID string)
- func (o *AdminUnlockAchievementParams) WithAchievementCode(achievementCode string) *AdminUnlockAchievementParams
- func (o *AdminUnlockAchievementParams) WithContext(ctx context.Context) *AdminUnlockAchievementParams
- func (o *AdminUnlockAchievementParams) WithHTTPClient(client *http.Client) *AdminUnlockAchievementParams
- func (o *AdminUnlockAchievementParams) WithNamespace(namespace string) *AdminUnlockAchievementParams
- func (o *AdminUnlockAchievementParams) WithTimeout(timeout time.Duration) *AdminUnlockAchievementParams
- func (o *AdminUnlockAchievementParams) WithUserID(userID string) *AdminUnlockAchievementParams
- func (o *AdminUnlockAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUnlockAchievementReader
- type AdminUnlockAchievementUnauthorized
- type AdminUpdateAchievementBadRequest
- type AdminUpdateAchievementInternalServerError
- type AdminUpdateAchievementListOrderBadRequest
- type AdminUpdateAchievementListOrderInternalServerError
- type AdminUpdateAchievementListOrderNoContent
- type AdminUpdateAchievementListOrderNotFound
- type AdminUpdateAchievementListOrderParams
- func NewAdminUpdateAchievementListOrderParams() *AdminUpdateAchievementListOrderParams
- func NewAdminUpdateAchievementListOrderParamsWithContext(ctx context.Context) *AdminUpdateAchievementListOrderParams
- func NewAdminUpdateAchievementListOrderParamsWithHTTPClient(client *http.Client) *AdminUpdateAchievementListOrderParams
- func NewAdminUpdateAchievementListOrderParamsWithTimeout(timeout time.Duration) *AdminUpdateAchievementListOrderParams
- func (o *AdminUpdateAchievementListOrderParams) SetAchievementCode(achievementCode string)
- func (o *AdminUpdateAchievementListOrderParams) SetBody(body *achievementclientmodels.ModelsAchievementOrderUpdateRequest)
- func (o *AdminUpdateAchievementListOrderParams) SetContext(ctx context.Context)
- func (o *AdminUpdateAchievementListOrderParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateAchievementListOrderParams) SetNamespace(namespace string)
- func (o *AdminUpdateAchievementListOrderParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateAchievementListOrderParams) WithAchievementCode(achievementCode string) *AdminUpdateAchievementListOrderParams
- func (o *AdminUpdateAchievementListOrderParams) WithBody(body *achievementclientmodels.ModelsAchievementOrderUpdateRequest) *AdminUpdateAchievementListOrderParams
- func (o *AdminUpdateAchievementListOrderParams) WithContext(ctx context.Context) *AdminUpdateAchievementListOrderParams
- func (o *AdminUpdateAchievementListOrderParams) WithHTTPClient(client *http.Client) *AdminUpdateAchievementListOrderParams
- func (o *AdminUpdateAchievementListOrderParams) WithNamespace(namespace string) *AdminUpdateAchievementListOrderParams
- func (o *AdminUpdateAchievementListOrderParams) WithTimeout(timeout time.Duration) *AdminUpdateAchievementListOrderParams
- func (o *AdminUpdateAchievementListOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateAchievementListOrderReader
- type AdminUpdateAchievementListOrderUnauthorized
- type AdminUpdateAchievementNotFound
- type AdminUpdateAchievementOK
- type AdminUpdateAchievementParams
- func NewAdminUpdateAchievementParams() *AdminUpdateAchievementParams
- func NewAdminUpdateAchievementParamsWithContext(ctx context.Context) *AdminUpdateAchievementParams
- func NewAdminUpdateAchievementParamsWithHTTPClient(client *http.Client) *AdminUpdateAchievementParams
- func NewAdminUpdateAchievementParamsWithTimeout(timeout time.Duration) *AdminUpdateAchievementParams
- func (o *AdminUpdateAchievementParams) SetAchievementCode(achievementCode string)
- func (o *AdminUpdateAchievementParams) SetBody(body *achievementclientmodels.ModelsAchievementUpdateRequest)
- func (o *AdminUpdateAchievementParams) SetContext(ctx context.Context)
- func (o *AdminUpdateAchievementParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateAchievementParams) SetNamespace(namespace string)
- func (o *AdminUpdateAchievementParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateAchievementParams) WithAchievementCode(achievementCode string) *AdminUpdateAchievementParams
- func (o *AdminUpdateAchievementParams) WithBody(body *achievementclientmodels.ModelsAchievementUpdateRequest) *AdminUpdateAchievementParams
- func (o *AdminUpdateAchievementParams) WithContext(ctx context.Context) *AdminUpdateAchievementParams
- func (o *AdminUpdateAchievementParams) WithHTTPClient(client *http.Client) *AdminUpdateAchievementParams
- func (o *AdminUpdateAchievementParams) WithNamespace(namespace string) *AdminUpdateAchievementParams
- func (o *AdminUpdateAchievementParams) WithTimeout(timeout time.Duration) *AdminUpdateAchievementParams
- func (o *AdminUpdateAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateAchievementReader
- type AdminUpdateAchievementUnauthorized
- type Client
- func (a *Client) AdminCreateNewAchievement(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, *AdminCreateNewAchievementBadRequest, ...)
- func (a *Client) AdminCreateNewAchievementShort(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, error)
- func (a *Client) AdminDeleteAchievement(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, *AdminDeleteAchievementBadRequest, ...)
- func (a *Client) AdminDeleteAchievementShort(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, error)
- func (a *Client) AdminGetAchievement(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, *AdminGetAchievementBadRequest, ...)
- func (a *Client) AdminGetAchievementShort(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, error)
- func (a *Client) AdminListAchievements(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, *AdminListAchievementsBadRequest, ...)
- func (a *Client) AdminListAchievementsShort(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, error)
- func (a *Client) AdminListUserAchievements(params *AdminListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserAchievementsOK, *AdminListUserAchievementsBadRequest, ...)
- func (a *Client) AdminListUserAchievementsShort(params *AdminListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserAchievementsOK, error)
- func (a *Client) AdminUnlockAchievement(params *AdminUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnlockAchievementNoContent, *AdminUnlockAchievementBadRequest, ...)
- func (a *Client) AdminUnlockAchievementShort(params *AdminUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnlockAchievementNoContent, error)
- func (a *Client) AdminUpdateAchievement(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, *AdminUpdateAchievementBadRequest, ...)
- func (a *Client) AdminUpdateAchievementListOrder(params *AdminUpdateAchievementListOrderParams, ...) (*AdminUpdateAchievementListOrderNoContent, ...)
- func (a *Client) AdminUpdateAchievementListOrderShort(params *AdminUpdateAchievementListOrderParams, ...) (*AdminUpdateAchievementListOrderNoContent, error)
- func (a *Client) AdminUpdateAchievementShort(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, error)
- func (a *Client) ExportAchievements(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ExportAchievementsOK, *ExportAchievementsUnauthorized, ...)
- func (a *Client) ExportAchievementsShort(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ExportAchievementsOK, error)
- func (a *Client) ImportAchievements(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, *ImportAchievementsUnauthorized, ...)
- func (a *Client) ImportAchievementsShort(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, error)
- func (a *Client) PublicGetAchievement(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, *PublicGetAchievementBadRequest, ...)
- func (a *Client) PublicGetAchievementShort(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, error)
- func (a *Client) PublicListAchievements(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, *PublicListAchievementsBadRequest, ...)
- func (a *Client) PublicListAchievementsShort(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, error)
- func (a *Client) PublicListUserAchievements(params *PublicListUserAchievementsParams, ...) (*PublicListUserAchievementsOK, *PublicListUserAchievementsBadRequest, ...)
- func (a *Client) PublicListUserAchievementsShort(params *PublicListUserAchievementsParams, ...) (*PublicListUserAchievementsOK, error)
- func (a *Client) PublicUnlockAchievement(params *PublicUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnlockAchievementNoContent, *PublicUnlockAchievementBadRequest, ...)
- func (a *Client) PublicUnlockAchievementShort(params *PublicUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnlockAchievementNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ExportAchievementsForbidden
- type ExportAchievementsInternalServerError
- type ExportAchievementsOK
- type ExportAchievementsParams
- func NewExportAchievementsParams() *ExportAchievementsParams
- func NewExportAchievementsParamsWithContext(ctx context.Context) *ExportAchievementsParams
- func NewExportAchievementsParamsWithHTTPClient(client *http.Client) *ExportAchievementsParams
- func NewExportAchievementsParamsWithTimeout(timeout time.Duration) *ExportAchievementsParams
- func (o *ExportAchievementsParams) SetContext(ctx context.Context)
- func (o *ExportAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *ExportAchievementsParams) SetNamespace(namespace string)
- func (o *ExportAchievementsParams) SetTimeout(timeout time.Duration)
- func (o *ExportAchievementsParams) WithContext(ctx context.Context) *ExportAchievementsParams
- func (o *ExportAchievementsParams) WithHTTPClient(client *http.Client) *ExportAchievementsParams
- func (o *ExportAchievementsParams) WithNamespace(namespace string) *ExportAchievementsParams
- func (o *ExportAchievementsParams) WithTimeout(timeout time.Duration) *ExportAchievementsParams
- func (o *ExportAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportAchievementsReader
- type ExportAchievementsUnauthorized
- type ImportAchievementsForbidden
- type ImportAchievementsInternalServerError
- type ImportAchievementsOK
- type ImportAchievementsParams
- func NewImportAchievementsParams() *ImportAchievementsParams
- func NewImportAchievementsParamsWithContext(ctx context.Context) *ImportAchievementsParams
- func NewImportAchievementsParamsWithHTTPClient(client *http.Client) *ImportAchievementsParams
- func NewImportAchievementsParamsWithTimeout(timeout time.Duration) *ImportAchievementsParams
- func (o *ImportAchievementsParams) SetContext(ctx context.Context)
- func (o *ImportAchievementsParams) SetFile(file runtime.NamedReadCloser)
- func (o *ImportAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *ImportAchievementsParams) SetNamespace(namespace string)
- func (o *ImportAchievementsParams) SetStrategy(strategy *string)
- func (o *ImportAchievementsParams) SetTimeout(timeout time.Duration)
- func (o *ImportAchievementsParams) WithContext(ctx context.Context) *ImportAchievementsParams
- func (o *ImportAchievementsParams) WithFile(file runtime.NamedReadCloser) *ImportAchievementsParams
- func (o *ImportAchievementsParams) WithHTTPClient(client *http.Client) *ImportAchievementsParams
- func (o *ImportAchievementsParams) WithNamespace(namespace string) *ImportAchievementsParams
- func (o *ImportAchievementsParams) WithStrategy(strategy *string) *ImportAchievementsParams
- func (o *ImportAchievementsParams) WithTimeout(timeout time.Duration) *ImportAchievementsParams
- func (o *ImportAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportAchievementsReader
- type ImportAchievementsUnauthorized
- type PublicGetAchievementBadRequest
- type PublicGetAchievementInternalServerError
- type PublicGetAchievementNotFound
- type PublicGetAchievementOK
- type PublicGetAchievementParams
- func NewPublicGetAchievementParams() *PublicGetAchievementParams
- func NewPublicGetAchievementParamsWithContext(ctx context.Context) *PublicGetAchievementParams
- func NewPublicGetAchievementParamsWithHTTPClient(client *http.Client) *PublicGetAchievementParams
- func NewPublicGetAchievementParamsWithTimeout(timeout time.Duration) *PublicGetAchievementParams
- func (o *PublicGetAchievementParams) SetAchievementCode(achievementCode string)
- func (o *PublicGetAchievementParams) SetContext(ctx context.Context)
- func (o *PublicGetAchievementParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetAchievementParams) SetLanguage(language string)
- func (o *PublicGetAchievementParams) SetNamespace(namespace string)
- func (o *PublicGetAchievementParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetAchievementParams) WithAchievementCode(achievementCode string) *PublicGetAchievementParams
- func (o *PublicGetAchievementParams) WithContext(ctx context.Context) *PublicGetAchievementParams
- func (o *PublicGetAchievementParams) WithHTTPClient(client *http.Client) *PublicGetAchievementParams
- func (o *PublicGetAchievementParams) WithLanguage(language string) *PublicGetAchievementParams
- func (o *PublicGetAchievementParams) WithNamespace(namespace string) *PublicGetAchievementParams
- func (o *PublicGetAchievementParams) WithTimeout(timeout time.Duration) *PublicGetAchievementParams
- func (o *PublicGetAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetAchievementReader
- type PublicGetAchievementUnauthorized
- type PublicListAchievementsBadRequest
- type PublicListAchievementsInternalServerError
- type PublicListAchievementsNotFound
- type PublicListAchievementsOK
- type PublicListAchievementsParams
- func NewPublicListAchievementsParams() *PublicListAchievementsParams
- func NewPublicListAchievementsParamsWithContext(ctx context.Context) *PublicListAchievementsParams
- func NewPublicListAchievementsParamsWithHTTPClient(client *http.Client) *PublicListAchievementsParams
- func NewPublicListAchievementsParamsWithTimeout(timeout time.Duration) *PublicListAchievementsParams
- func (o *PublicListAchievementsParams) SetContext(ctx context.Context)
- func (o *PublicListAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *PublicListAchievementsParams) SetLanguage(language string)
- func (o *PublicListAchievementsParams) SetLimit(limit *int64)
- func (o *PublicListAchievementsParams) SetNamespace(namespace string)
- func (o *PublicListAchievementsParams) SetOffset(offset *int64)
- func (o *PublicListAchievementsParams) SetSortBy(sortBy *string)
- func (o *PublicListAchievementsParams) SetTimeout(timeout time.Duration)
- func (o *PublicListAchievementsParams) WithContext(ctx context.Context) *PublicListAchievementsParams
- func (o *PublicListAchievementsParams) WithHTTPClient(client *http.Client) *PublicListAchievementsParams
- func (o *PublicListAchievementsParams) WithLanguage(language string) *PublicListAchievementsParams
- func (o *PublicListAchievementsParams) WithLimit(limit *int64) *PublicListAchievementsParams
- func (o *PublicListAchievementsParams) WithNamespace(namespace string) *PublicListAchievementsParams
- func (o *PublicListAchievementsParams) WithOffset(offset *int64) *PublicListAchievementsParams
- func (o *PublicListAchievementsParams) WithSortBy(sortBy *string) *PublicListAchievementsParams
- func (o *PublicListAchievementsParams) WithTimeout(timeout time.Duration) *PublicListAchievementsParams
- func (o *PublicListAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListAchievementsReader
- type PublicListAchievementsUnauthorized
- type PublicListUserAchievementsBadRequest
- type PublicListUserAchievementsInternalServerError
- type PublicListUserAchievementsNotFound
- type PublicListUserAchievementsOK
- type PublicListUserAchievementsParams
- func NewPublicListUserAchievementsParams() *PublicListUserAchievementsParams
- func NewPublicListUserAchievementsParamsWithContext(ctx context.Context) *PublicListUserAchievementsParams
- func NewPublicListUserAchievementsParamsWithHTTPClient(client *http.Client) *PublicListUserAchievementsParams
- func NewPublicListUserAchievementsParamsWithTimeout(timeout time.Duration) *PublicListUserAchievementsParams
- func (o *PublicListUserAchievementsParams) SetContext(ctx context.Context)
- func (o *PublicListUserAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *PublicListUserAchievementsParams) SetLimit(limit *int64)
- func (o *PublicListUserAchievementsParams) SetNamespace(namespace string)
- func (o *PublicListUserAchievementsParams) SetOffset(offset *int64)
- func (o *PublicListUserAchievementsParams) SetPreferUnlocked(preferUnlocked *bool)
- func (o *PublicListUserAchievementsParams) SetTimeout(timeout time.Duration)
- func (o *PublicListUserAchievementsParams) SetUserID(userID string)
- func (o *PublicListUserAchievementsParams) WithContext(ctx context.Context) *PublicListUserAchievementsParams
- func (o *PublicListUserAchievementsParams) WithHTTPClient(client *http.Client) *PublicListUserAchievementsParams
- func (o *PublicListUserAchievementsParams) WithLimit(limit *int64) *PublicListUserAchievementsParams
- func (o *PublicListUserAchievementsParams) WithNamespace(namespace string) *PublicListUserAchievementsParams
- func (o *PublicListUserAchievementsParams) WithOffset(offset *int64) *PublicListUserAchievementsParams
- func (o *PublicListUserAchievementsParams) WithPreferUnlocked(preferUnlocked *bool) *PublicListUserAchievementsParams
- func (o *PublicListUserAchievementsParams) WithTimeout(timeout time.Duration) *PublicListUserAchievementsParams
- func (o *PublicListUserAchievementsParams) WithUserID(userID string) *PublicListUserAchievementsParams
- func (o *PublicListUserAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListUserAchievementsReader
- type PublicListUserAchievementsUnauthorized
- type PublicUnlockAchievementBadRequest
- type PublicUnlockAchievementInternalServerError
- type PublicUnlockAchievementNoContent
- type PublicUnlockAchievementParams
- func NewPublicUnlockAchievementParams() *PublicUnlockAchievementParams
- func NewPublicUnlockAchievementParamsWithContext(ctx context.Context) *PublicUnlockAchievementParams
- func NewPublicUnlockAchievementParamsWithHTTPClient(client *http.Client) *PublicUnlockAchievementParams
- func NewPublicUnlockAchievementParamsWithTimeout(timeout time.Duration) *PublicUnlockAchievementParams
- func (o *PublicUnlockAchievementParams) SetAchievementCode(achievementCode string)
- func (o *PublicUnlockAchievementParams) SetContext(ctx context.Context)
- func (o *PublicUnlockAchievementParams) SetHTTPClient(client *http.Client)
- func (o *PublicUnlockAchievementParams) SetNamespace(namespace string)
- func (o *PublicUnlockAchievementParams) SetTimeout(timeout time.Duration)
- func (o *PublicUnlockAchievementParams) SetUserID(userID string)
- func (o *PublicUnlockAchievementParams) WithAchievementCode(achievementCode string) *PublicUnlockAchievementParams
- func (o *PublicUnlockAchievementParams) WithContext(ctx context.Context) *PublicUnlockAchievementParams
- func (o *PublicUnlockAchievementParams) WithHTTPClient(client *http.Client) *PublicUnlockAchievementParams
- func (o *PublicUnlockAchievementParams) WithNamespace(namespace string) *PublicUnlockAchievementParams
- func (o *PublicUnlockAchievementParams) WithTimeout(timeout time.Duration) *PublicUnlockAchievementParams
- func (o *PublicUnlockAchievementParams) WithUserID(userID string) *PublicUnlockAchievementParams
- func (o *PublicUnlockAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicUnlockAchievementReader
- type PublicUnlockAchievementUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminCreateNewAchievementBadRequest ¶
type AdminCreateNewAchievementBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
AdminCreateNewAchievementBadRequest handles this case with default header values.
Bad Request
func NewAdminCreateNewAchievementBadRequest ¶
func NewAdminCreateNewAchievementBadRequest() *AdminCreateNewAchievementBadRequest
NewAdminCreateNewAchievementBadRequest creates a AdminCreateNewAchievementBadRequest with default headers values
func (*AdminCreateNewAchievementBadRequest) Error ¶
func (o *AdminCreateNewAchievementBadRequest) Error() string
func (*AdminCreateNewAchievementBadRequest) GetPayload ¶
func (o *AdminCreateNewAchievementBadRequest) GetPayload() *achievementclientmodels.ResponseError
type AdminCreateNewAchievementCreated ¶
type AdminCreateNewAchievementCreated struct {
Payload *achievementclientmodels.ModelsAchievementResponse
}
AdminCreateNewAchievementCreated handles this case with default header values.
Created
func NewAdminCreateNewAchievementCreated ¶
func NewAdminCreateNewAchievementCreated() *AdminCreateNewAchievementCreated
NewAdminCreateNewAchievementCreated creates a AdminCreateNewAchievementCreated with default headers values
func (*AdminCreateNewAchievementCreated) Error ¶
func (o *AdminCreateNewAchievementCreated) Error() string
func (*AdminCreateNewAchievementCreated) GetPayload ¶
func (o *AdminCreateNewAchievementCreated) GetPayload() *achievementclientmodels.ModelsAchievementResponse
type AdminCreateNewAchievementInternalServerError ¶
type AdminCreateNewAchievementInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
AdminCreateNewAchievementInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminCreateNewAchievementInternalServerError ¶
func NewAdminCreateNewAchievementInternalServerError() *AdminCreateNewAchievementInternalServerError
NewAdminCreateNewAchievementInternalServerError creates a AdminCreateNewAchievementInternalServerError with default headers values
func (*AdminCreateNewAchievementInternalServerError) Error ¶
func (o *AdminCreateNewAchievementInternalServerError) Error() string
func (*AdminCreateNewAchievementInternalServerError) GetPayload ¶
func (o *AdminCreateNewAchievementInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type AdminCreateNewAchievementParams ¶
type AdminCreateNewAchievementParams struct { /*Body*/ Body *achievementclientmodels.ModelsAchievementRequest /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminCreateNewAchievementParams contains all the parameters to send to the API endpoint for the admin create new achievement operation typically these are written to a http.Request
func NewAdminCreateNewAchievementParams ¶
func NewAdminCreateNewAchievementParams() *AdminCreateNewAchievementParams
NewAdminCreateNewAchievementParams creates a new AdminCreateNewAchievementParams object with the default values initialized.
func NewAdminCreateNewAchievementParamsWithContext ¶
func NewAdminCreateNewAchievementParamsWithContext(ctx context.Context) *AdminCreateNewAchievementParams
NewAdminCreateNewAchievementParamsWithContext creates a new AdminCreateNewAchievementParams object with the default values initialized, and the ability to set a context for a request
func NewAdminCreateNewAchievementParamsWithHTTPClient ¶
func NewAdminCreateNewAchievementParamsWithHTTPClient(client *http.Client) *AdminCreateNewAchievementParams
NewAdminCreateNewAchievementParamsWithHTTPClient creates a new AdminCreateNewAchievementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminCreateNewAchievementParamsWithTimeout ¶
func NewAdminCreateNewAchievementParamsWithTimeout(timeout time.Duration) *AdminCreateNewAchievementParams
NewAdminCreateNewAchievementParamsWithTimeout creates a new AdminCreateNewAchievementParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminCreateNewAchievementParams) SetBody ¶
func (o *AdminCreateNewAchievementParams) SetBody(body *achievementclientmodels.ModelsAchievementRequest)
SetBody adds the body to the admin create new achievement params
func (*AdminCreateNewAchievementParams) SetContext ¶
func (o *AdminCreateNewAchievementParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create new achievement params
func (*AdminCreateNewAchievementParams) SetHTTPClient ¶
func (o *AdminCreateNewAchievementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create new achievement params
func (*AdminCreateNewAchievementParams) SetNamespace ¶
func (o *AdminCreateNewAchievementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin create new achievement params
func (*AdminCreateNewAchievementParams) SetTimeout ¶
func (o *AdminCreateNewAchievementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create new achievement params
func (*AdminCreateNewAchievementParams) WithBody ¶
func (o *AdminCreateNewAchievementParams) WithBody(body *achievementclientmodels.ModelsAchievementRequest) *AdminCreateNewAchievementParams
WithBody adds the body to the admin create new achievement params
func (*AdminCreateNewAchievementParams) WithContext ¶
func (o *AdminCreateNewAchievementParams) WithContext(ctx context.Context) *AdminCreateNewAchievementParams
WithContext adds the context to the admin create new achievement params
func (*AdminCreateNewAchievementParams) WithHTTPClient ¶
func (o *AdminCreateNewAchievementParams) WithHTTPClient(client *http.Client) *AdminCreateNewAchievementParams
WithHTTPClient adds the HTTPClient to the admin create new achievement params
func (*AdminCreateNewAchievementParams) WithNamespace ¶
func (o *AdminCreateNewAchievementParams) WithNamespace(namespace string) *AdminCreateNewAchievementParams
WithNamespace adds the namespace to the admin create new achievement params
func (*AdminCreateNewAchievementParams) WithTimeout ¶
func (o *AdminCreateNewAchievementParams) WithTimeout(timeout time.Duration) *AdminCreateNewAchievementParams
WithTimeout adds the timeout to the admin create new achievement params
func (*AdminCreateNewAchievementParams) WriteToRequest ¶
func (o *AdminCreateNewAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateNewAchievementReader ¶
type AdminCreateNewAchievementReader struct {
// contains filtered or unexported fields
}
AdminCreateNewAchievementReader is a Reader for the AdminCreateNewAchievement structure.
func (*AdminCreateNewAchievementReader) ReadResponse ¶
func (o *AdminCreateNewAchievementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateNewAchievementUnauthorized ¶
type AdminCreateNewAchievementUnauthorized struct {
}AdminCreateNewAchievementUnauthorized handles this case with default header values.
Unauthorized
func NewAdminCreateNewAchievementUnauthorized ¶
func NewAdminCreateNewAchievementUnauthorized() *AdminCreateNewAchievementUnauthorized
NewAdminCreateNewAchievementUnauthorized creates a AdminCreateNewAchievementUnauthorized with default headers values
func (*AdminCreateNewAchievementUnauthorized) Error ¶
func (o *AdminCreateNewAchievementUnauthorized) Error() string
func (*AdminCreateNewAchievementUnauthorized) GetPayload ¶
func (o *AdminCreateNewAchievementUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type AdminDeleteAchievementBadRequest ¶
type AdminDeleteAchievementBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
AdminDeleteAchievementBadRequest handles this case with default header values.
Bad Request
func NewAdminDeleteAchievementBadRequest ¶
func NewAdminDeleteAchievementBadRequest() *AdminDeleteAchievementBadRequest
NewAdminDeleteAchievementBadRequest creates a AdminDeleteAchievementBadRequest with default headers values
func (*AdminDeleteAchievementBadRequest) Error ¶
func (o *AdminDeleteAchievementBadRequest) Error() string
func (*AdminDeleteAchievementBadRequest) GetPayload ¶
func (o *AdminDeleteAchievementBadRequest) GetPayload() *achievementclientmodels.ResponseError
type AdminDeleteAchievementInternalServerError ¶
type AdminDeleteAchievementInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
AdminDeleteAchievementInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminDeleteAchievementInternalServerError ¶
func NewAdminDeleteAchievementInternalServerError() *AdminDeleteAchievementInternalServerError
NewAdminDeleteAchievementInternalServerError creates a AdminDeleteAchievementInternalServerError with default headers values
func (*AdminDeleteAchievementInternalServerError) Error ¶
func (o *AdminDeleteAchievementInternalServerError) Error() string
func (*AdminDeleteAchievementInternalServerError) GetPayload ¶
func (o *AdminDeleteAchievementInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type AdminDeleteAchievementNoContent ¶
type AdminDeleteAchievementNoContent struct { }
AdminDeleteAchievementNoContent handles this case with default header values.
No Content
func NewAdminDeleteAchievementNoContent ¶
func NewAdminDeleteAchievementNoContent() *AdminDeleteAchievementNoContent
NewAdminDeleteAchievementNoContent creates a AdminDeleteAchievementNoContent with default headers values
func (*AdminDeleteAchievementNoContent) Error ¶
func (o *AdminDeleteAchievementNoContent) Error() string
type AdminDeleteAchievementNotFound ¶
type AdminDeleteAchievementNotFound struct {
Payload *achievementclientmodels.ResponseError
}
AdminDeleteAchievementNotFound handles this case with default header values.
Not Found
func NewAdminDeleteAchievementNotFound ¶
func NewAdminDeleteAchievementNotFound() *AdminDeleteAchievementNotFound
NewAdminDeleteAchievementNotFound creates a AdminDeleteAchievementNotFound with default headers values
func (*AdminDeleteAchievementNotFound) Error ¶
func (o *AdminDeleteAchievementNotFound) Error() string
func (*AdminDeleteAchievementNotFound) GetPayload ¶
func (o *AdminDeleteAchievementNotFound) GetPayload() *achievementclientmodels.ResponseError
type AdminDeleteAchievementParams ¶
type AdminDeleteAchievementParams struct { /*AchievementCode achievement code */ AchievementCode string /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminDeleteAchievementParams contains all the parameters to send to the API endpoint for the admin delete achievement operation typically these are written to a http.Request
func NewAdminDeleteAchievementParams ¶
func NewAdminDeleteAchievementParams() *AdminDeleteAchievementParams
NewAdminDeleteAchievementParams creates a new AdminDeleteAchievementParams object with the default values initialized.
func NewAdminDeleteAchievementParamsWithContext ¶
func NewAdminDeleteAchievementParamsWithContext(ctx context.Context) *AdminDeleteAchievementParams
NewAdminDeleteAchievementParamsWithContext creates a new AdminDeleteAchievementParams object with the default values initialized, and the ability to set a context for a request
func NewAdminDeleteAchievementParamsWithHTTPClient ¶
func NewAdminDeleteAchievementParamsWithHTTPClient(client *http.Client) *AdminDeleteAchievementParams
NewAdminDeleteAchievementParamsWithHTTPClient creates a new AdminDeleteAchievementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeleteAchievementParamsWithTimeout ¶
func NewAdminDeleteAchievementParamsWithTimeout(timeout time.Duration) *AdminDeleteAchievementParams
NewAdminDeleteAchievementParamsWithTimeout creates a new AdminDeleteAchievementParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeleteAchievementParams) SetAchievementCode ¶
func (o *AdminDeleteAchievementParams) SetAchievementCode(achievementCode string)
SetAchievementCode adds the achievementCode to the admin delete achievement params
func (*AdminDeleteAchievementParams) SetContext ¶
func (o *AdminDeleteAchievementParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete achievement params
func (*AdminDeleteAchievementParams) SetHTTPClient ¶
func (o *AdminDeleteAchievementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete achievement params
func (*AdminDeleteAchievementParams) SetNamespace ¶
func (o *AdminDeleteAchievementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete achievement params
func (*AdminDeleteAchievementParams) SetTimeout ¶
func (o *AdminDeleteAchievementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete achievement params
func (*AdminDeleteAchievementParams) WithAchievementCode ¶
func (o *AdminDeleteAchievementParams) WithAchievementCode(achievementCode string) *AdminDeleteAchievementParams
WithAchievementCode adds the achievementCode to the admin delete achievement params
func (*AdminDeleteAchievementParams) WithContext ¶
func (o *AdminDeleteAchievementParams) WithContext(ctx context.Context) *AdminDeleteAchievementParams
WithContext adds the context to the admin delete achievement params
func (*AdminDeleteAchievementParams) WithHTTPClient ¶
func (o *AdminDeleteAchievementParams) WithHTTPClient(client *http.Client) *AdminDeleteAchievementParams
WithHTTPClient adds the HTTPClient to the admin delete achievement params
func (*AdminDeleteAchievementParams) WithNamespace ¶
func (o *AdminDeleteAchievementParams) WithNamespace(namespace string) *AdminDeleteAchievementParams
WithNamespace adds the namespace to the admin delete achievement params
func (*AdminDeleteAchievementParams) WithTimeout ¶
func (o *AdminDeleteAchievementParams) WithTimeout(timeout time.Duration) *AdminDeleteAchievementParams
WithTimeout adds the timeout to the admin delete achievement params
func (*AdminDeleteAchievementParams) WriteToRequest ¶
func (o *AdminDeleteAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteAchievementReader ¶
type AdminDeleteAchievementReader struct {
// contains filtered or unexported fields
}
AdminDeleteAchievementReader is a Reader for the AdminDeleteAchievement structure.
func (*AdminDeleteAchievementReader) ReadResponse ¶
func (o *AdminDeleteAchievementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteAchievementUnauthorized ¶
type AdminDeleteAchievementUnauthorized struct {
}AdminDeleteAchievementUnauthorized handles this case with default header values.
Unauthorized
func NewAdminDeleteAchievementUnauthorized ¶
func NewAdminDeleteAchievementUnauthorized() *AdminDeleteAchievementUnauthorized
NewAdminDeleteAchievementUnauthorized creates a AdminDeleteAchievementUnauthorized with default headers values
func (*AdminDeleteAchievementUnauthorized) Error ¶
func (o *AdminDeleteAchievementUnauthorized) Error() string
func (*AdminDeleteAchievementUnauthorized) GetPayload ¶
func (o *AdminDeleteAchievementUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type AdminGetAchievementBadRequest ¶
type AdminGetAchievementBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
AdminGetAchievementBadRequest handles this case with default header values.
Bad Request
func NewAdminGetAchievementBadRequest ¶
func NewAdminGetAchievementBadRequest() *AdminGetAchievementBadRequest
NewAdminGetAchievementBadRequest creates a AdminGetAchievementBadRequest with default headers values
func (*AdminGetAchievementBadRequest) Error ¶
func (o *AdminGetAchievementBadRequest) Error() string
func (*AdminGetAchievementBadRequest) GetPayload ¶
func (o *AdminGetAchievementBadRequest) GetPayload() *achievementclientmodels.ResponseError
type AdminGetAchievementInternalServerError ¶
type AdminGetAchievementInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
AdminGetAchievementInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminGetAchievementInternalServerError ¶
func NewAdminGetAchievementInternalServerError() *AdminGetAchievementInternalServerError
NewAdminGetAchievementInternalServerError creates a AdminGetAchievementInternalServerError with default headers values
func (*AdminGetAchievementInternalServerError) Error ¶
func (o *AdminGetAchievementInternalServerError) Error() string
func (*AdminGetAchievementInternalServerError) GetPayload ¶
func (o *AdminGetAchievementInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type AdminGetAchievementNotFound ¶
type AdminGetAchievementNotFound struct {
Payload *achievementclientmodels.ResponseError
}
AdminGetAchievementNotFound handles this case with default header values.
Not Found
func NewAdminGetAchievementNotFound ¶
func NewAdminGetAchievementNotFound() *AdminGetAchievementNotFound
NewAdminGetAchievementNotFound creates a AdminGetAchievementNotFound with default headers values
func (*AdminGetAchievementNotFound) Error ¶
func (o *AdminGetAchievementNotFound) Error() string
func (*AdminGetAchievementNotFound) GetPayload ¶
func (o *AdminGetAchievementNotFound) GetPayload() *achievementclientmodels.ResponseError
type AdminGetAchievementOK ¶
type AdminGetAchievementOK struct {
Payload *achievementclientmodels.ModelsAchievementResponse
}
AdminGetAchievementOK handles this case with default header values.
OK
func NewAdminGetAchievementOK ¶
func NewAdminGetAchievementOK() *AdminGetAchievementOK
NewAdminGetAchievementOK creates a AdminGetAchievementOK with default headers values
func (*AdminGetAchievementOK) Error ¶
func (o *AdminGetAchievementOK) Error() string
func (*AdminGetAchievementOK) GetPayload ¶
func (o *AdminGetAchievementOK) GetPayload() *achievementclientmodels.ModelsAchievementResponse
type AdminGetAchievementParams ¶
type AdminGetAchievementParams struct { /*AchievementCode achievement code */ AchievementCode string /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminGetAchievementParams contains all the parameters to send to the API endpoint for the admin get achievement operation typically these are written to a http.Request
func NewAdminGetAchievementParams ¶
func NewAdminGetAchievementParams() *AdminGetAchievementParams
NewAdminGetAchievementParams creates a new AdminGetAchievementParams object with the default values initialized.
func NewAdminGetAchievementParamsWithContext ¶
func NewAdminGetAchievementParamsWithContext(ctx context.Context) *AdminGetAchievementParams
NewAdminGetAchievementParamsWithContext creates a new AdminGetAchievementParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetAchievementParamsWithHTTPClient ¶
func NewAdminGetAchievementParamsWithHTTPClient(client *http.Client) *AdminGetAchievementParams
NewAdminGetAchievementParamsWithHTTPClient creates a new AdminGetAchievementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetAchievementParamsWithTimeout ¶
func NewAdminGetAchievementParamsWithTimeout(timeout time.Duration) *AdminGetAchievementParams
NewAdminGetAchievementParamsWithTimeout creates a new AdminGetAchievementParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetAchievementParams) SetAchievementCode ¶
func (o *AdminGetAchievementParams) SetAchievementCode(achievementCode string)
SetAchievementCode adds the achievementCode to the admin get achievement params
func (*AdminGetAchievementParams) SetContext ¶
func (o *AdminGetAchievementParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get achievement params
func (*AdminGetAchievementParams) SetHTTPClient ¶
func (o *AdminGetAchievementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get achievement params
func (*AdminGetAchievementParams) SetNamespace ¶
func (o *AdminGetAchievementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get achievement params
func (*AdminGetAchievementParams) SetTimeout ¶
func (o *AdminGetAchievementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get achievement params
func (*AdminGetAchievementParams) WithAchievementCode ¶
func (o *AdminGetAchievementParams) WithAchievementCode(achievementCode string) *AdminGetAchievementParams
WithAchievementCode adds the achievementCode to the admin get achievement params
func (*AdminGetAchievementParams) WithContext ¶
func (o *AdminGetAchievementParams) WithContext(ctx context.Context) *AdminGetAchievementParams
WithContext adds the context to the admin get achievement params
func (*AdminGetAchievementParams) WithHTTPClient ¶
func (o *AdminGetAchievementParams) WithHTTPClient(client *http.Client) *AdminGetAchievementParams
WithHTTPClient adds the HTTPClient to the admin get achievement params
func (*AdminGetAchievementParams) WithNamespace ¶
func (o *AdminGetAchievementParams) WithNamespace(namespace string) *AdminGetAchievementParams
WithNamespace adds the namespace to the admin get achievement params
func (*AdminGetAchievementParams) WithTimeout ¶
func (o *AdminGetAchievementParams) WithTimeout(timeout time.Duration) *AdminGetAchievementParams
WithTimeout adds the timeout to the admin get achievement params
func (*AdminGetAchievementParams) WriteToRequest ¶
func (o *AdminGetAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetAchievementReader ¶
type AdminGetAchievementReader struct {
// contains filtered or unexported fields
}
AdminGetAchievementReader is a Reader for the AdminGetAchievement structure.
func (*AdminGetAchievementReader) ReadResponse ¶
func (o *AdminGetAchievementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetAchievementUnauthorized ¶
type AdminGetAchievementUnauthorized struct {
}AdminGetAchievementUnauthorized handles this case with default header values.
Unauthorized
func NewAdminGetAchievementUnauthorized ¶
func NewAdminGetAchievementUnauthorized() *AdminGetAchievementUnauthorized
NewAdminGetAchievementUnauthorized creates a AdminGetAchievementUnauthorized with default headers values
func (*AdminGetAchievementUnauthorized) Error ¶
func (o *AdminGetAchievementUnauthorized) Error() string
func (*AdminGetAchievementUnauthorized) GetPayload ¶
func (o *AdminGetAchievementUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type AdminListAchievementsBadRequest ¶
type AdminListAchievementsBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
AdminListAchievementsBadRequest handles this case with default header values.
Bad Request
func NewAdminListAchievementsBadRequest ¶
func NewAdminListAchievementsBadRequest() *AdminListAchievementsBadRequest
NewAdminListAchievementsBadRequest creates a AdminListAchievementsBadRequest with default headers values
func (*AdminListAchievementsBadRequest) Error ¶
func (o *AdminListAchievementsBadRequest) Error() string
func (*AdminListAchievementsBadRequest) GetPayload ¶
func (o *AdminListAchievementsBadRequest) GetPayload() *achievementclientmodels.ResponseError
type AdminListAchievementsInternalServerError ¶
type AdminListAchievementsInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
AdminListAchievementsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminListAchievementsInternalServerError ¶
func NewAdminListAchievementsInternalServerError() *AdminListAchievementsInternalServerError
NewAdminListAchievementsInternalServerError creates a AdminListAchievementsInternalServerError with default headers values
func (*AdminListAchievementsInternalServerError) Error ¶
func (o *AdminListAchievementsInternalServerError) Error() string
func (*AdminListAchievementsInternalServerError) GetPayload ¶
func (o *AdminListAchievementsInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type AdminListAchievementsNotFound ¶
type AdminListAchievementsNotFound struct {
Payload *achievementclientmodels.ResponseError
}
AdminListAchievementsNotFound handles this case with default header values.
Not Found
func NewAdminListAchievementsNotFound ¶
func NewAdminListAchievementsNotFound() *AdminListAchievementsNotFound
NewAdminListAchievementsNotFound creates a AdminListAchievementsNotFound with default headers values
func (*AdminListAchievementsNotFound) Error ¶
func (o *AdminListAchievementsNotFound) Error() string
func (*AdminListAchievementsNotFound) GetPayload ¶
func (o *AdminListAchievementsNotFound) GetPayload() *achievementclientmodels.ResponseError
type AdminListAchievementsOK ¶
type AdminListAchievementsOK struct {
Payload *achievementclientmodels.ModelsPaginatedAchievementResponse
}
AdminListAchievementsOK handles this case with default header values.
OK
func NewAdminListAchievementsOK ¶
func NewAdminListAchievementsOK() *AdminListAchievementsOK
NewAdminListAchievementsOK creates a AdminListAchievementsOK with default headers values
func (*AdminListAchievementsOK) Error ¶
func (o *AdminListAchievementsOK) Error() string
func (*AdminListAchievementsOK) GetPayload ¶
func (o *AdminListAchievementsOK) GetPayload() *achievementclientmodels.ModelsPaginatedAchievementResponse
type AdminListAchievementsParams ¶
type AdminListAchievementsParams struct { /*Limit the maximum number of data that may be returned (1...100) */ Limit *int64 /*Namespace namespace of the game */ Namespace string /*Offset offset default 0 */ Offset *int64 /*SortBy sort by, default is 'listOrder:asc', allow values: [listOrder, listOrder:asc, listOrder:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc] */ SortBy *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminListAchievementsParams contains all the parameters to send to the API endpoint for the admin list achievements operation typically these are written to a http.Request
func NewAdminListAchievementsParams ¶
func NewAdminListAchievementsParams() *AdminListAchievementsParams
NewAdminListAchievementsParams creates a new AdminListAchievementsParams object with the default values initialized.
func NewAdminListAchievementsParamsWithContext ¶
func NewAdminListAchievementsParamsWithContext(ctx context.Context) *AdminListAchievementsParams
NewAdminListAchievementsParamsWithContext creates a new AdminListAchievementsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminListAchievementsParamsWithHTTPClient ¶
func NewAdminListAchievementsParamsWithHTTPClient(client *http.Client) *AdminListAchievementsParams
NewAdminListAchievementsParamsWithHTTPClient creates a new AdminListAchievementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminListAchievementsParamsWithTimeout ¶
func NewAdminListAchievementsParamsWithTimeout(timeout time.Duration) *AdminListAchievementsParams
NewAdminListAchievementsParamsWithTimeout creates a new AdminListAchievementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminListAchievementsParams) SetContext ¶
func (o *AdminListAchievementsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list achievements params
func (*AdminListAchievementsParams) SetHTTPClient ¶
func (o *AdminListAchievementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list achievements params
func (*AdminListAchievementsParams) SetLimit ¶
func (o *AdminListAchievementsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin list achievements params
func (*AdminListAchievementsParams) SetNamespace ¶
func (o *AdminListAchievementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin list achievements params
func (*AdminListAchievementsParams) SetOffset ¶
func (o *AdminListAchievementsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin list achievements params
func (*AdminListAchievementsParams) SetSortBy ¶
func (o *AdminListAchievementsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the admin list achievements params
func (*AdminListAchievementsParams) SetTimeout ¶
func (o *AdminListAchievementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list achievements params
func (*AdminListAchievementsParams) WithContext ¶
func (o *AdminListAchievementsParams) WithContext(ctx context.Context) *AdminListAchievementsParams
WithContext adds the context to the admin list achievements params
func (*AdminListAchievementsParams) WithHTTPClient ¶
func (o *AdminListAchievementsParams) WithHTTPClient(client *http.Client) *AdminListAchievementsParams
WithHTTPClient adds the HTTPClient to the admin list achievements params
func (*AdminListAchievementsParams) WithLimit ¶
func (o *AdminListAchievementsParams) WithLimit(limit *int64) *AdminListAchievementsParams
WithLimit adds the limit to the admin list achievements params
func (*AdminListAchievementsParams) WithNamespace ¶
func (o *AdminListAchievementsParams) WithNamespace(namespace string) *AdminListAchievementsParams
WithNamespace adds the namespace to the admin list achievements params
func (*AdminListAchievementsParams) WithOffset ¶
func (o *AdminListAchievementsParams) WithOffset(offset *int64) *AdminListAchievementsParams
WithOffset adds the offset to the admin list achievements params
func (*AdminListAchievementsParams) WithSortBy ¶
func (o *AdminListAchievementsParams) WithSortBy(sortBy *string) *AdminListAchievementsParams
WithSortBy adds the sortBy to the admin list achievements params
func (*AdminListAchievementsParams) WithTimeout ¶
func (o *AdminListAchievementsParams) WithTimeout(timeout time.Duration) *AdminListAchievementsParams
WithTimeout adds the timeout to the admin list achievements params
func (*AdminListAchievementsParams) WriteToRequest ¶
func (o *AdminListAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListAchievementsReader ¶
type AdminListAchievementsReader struct {
// contains filtered or unexported fields
}
AdminListAchievementsReader is a Reader for the AdminListAchievements structure.
func (*AdminListAchievementsReader) ReadResponse ¶
func (o *AdminListAchievementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListAchievementsUnauthorized ¶
type AdminListAchievementsUnauthorized struct {
}AdminListAchievementsUnauthorized handles this case with default header values.
Unauthorized
func NewAdminListAchievementsUnauthorized ¶
func NewAdminListAchievementsUnauthorized() *AdminListAchievementsUnauthorized
NewAdminListAchievementsUnauthorized creates a AdminListAchievementsUnauthorized with default headers values
func (*AdminListAchievementsUnauthorized) Error ¶
func (o *AdminListAchievementsUnauthorized) Error() string
func (*AdminListAchievementsUnauthorized) GetPayload ¶
func (o *AdminListAchievementsUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type AdminListUserAchievementsBadRequest ¶
type AdminListUserAchievementsBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
AdminListUserAchievementsBadRequest handles this case with default header values.
Bad Request
func NewAdminListUserAchievementsBadRequest ¶
func NewAdminListUserAchievementsBadRequest() *AdminListUserAchievementsBadRequest
NewAdminListUserAchievementsBadRequest creates a AdminListUserAchievementsBadRequest with default headers values
func (*AdminListUserAchievementsBadRequest) Error ¶
func (o *AdminListUserAchievementsBadRequest) Error() string
func (*AdminListUserAchievementsBadRequest) GetPayload ¶
func (o *AdminListUserAchievementsBadRequest) GetPayload() *achievementclientmodels.ResponseError
type AdminListUserAchievementsInternalServerError ¶
type AdminListUserAchievementsInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
AdminListUserAchievementsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminListUserAchievementsInternalServerError ¶
func NewAdminListUserAchievementsInternalServerError() *AdminListUserAchievementsInternalServerError
NewAdminListUserAchievementsInternalServerError creates a AdminListUserAchievementsInternalServerError with default headers values
func (*AdminListUserAchievementsInternalServerError) Error ¶
func (o *AdminListUserAchievementsInternalServerError) Error() string
func (*AdminListUserAchievementsInternalServerError) GetPayload ¶
func (o *AdminListUserAchievementsInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type AdminListUserAchievementsNotFound ¶
type AdminListUserAchievementsNotFound struct {
Payload *achievementclientmodels.ResponseError
}
AdminListUserAchievementsNotFound handles this case with default header values.
Not Found
func NewAdminListUserAchievementsNotFound ¶
func NewAdminListUserAchievementsNotFound() *AdminListUserAchievementsNotFound
NewAdminListUserAchievementsNotFound creates a AdminListUserAchievementsNotFound with default headers values
func (*AdminListUserAchievementsNotFound) Error ¶
func (o *AdminListUserAchievementsNotFound) Error() string
func (*AdminListUserAchievementsNotFound) GetPayload ¶
func (o *AdminListUserAchievementsNotFound) GetPayload() *achievementclientmodels.ResponseError
type AdminListUserAchievementsOK ¶
type AdminListUserAchievementsOK struct {
Payload *achievementclientmodels.ModelsPaginatedUserAchievementResponse
}
AdminListUserAchievementsOK handles this case with default header values.
OK
func NewAdminListUserAchievementsOK ¶
func NewAdminListUserAchievementsOK() *AdminListUserAchievementsOK
NewAdminListUserAchievementsOK creates a AdminListUserAchievementsOK with default headers values
func (*AdminListUserAchievementsOK) Error ¶
func (o *AdminListUserAchievementsOK) Error() string
func (*AdminListUserAchievementsOK) GetPayload ¶
func (o *AdminListUserAchievementsOK) GetPayload() *achievementclientmodels.ModelsPaginatedUserAchievementResponse
type AdminListUserAchievementsParams ¶
type AdminListUserAchievementsParams struct { /*Limit the maximum number of data that may be returned (1...100) */ Limit *int64 /*Namespace namespace of the game */ Namespace string /*Offset offset default 0 */ Offset *int64 /*PreferUnlocked prefer to query achieved */ PreferUnlocked *bool /*UserID user id */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminListUserAchievementsParams contains all the parameters to send to the API endpoint for the admin list user achievements operation typically these are written to a http.Request
func NewAdminListUserAchievementsParams ¶
func NewAdminListUserAchievementsParams() *AdminListUserAchievementsParams
NewAdminListUserAchievementsParams creates a new AdminListUserAchievementsParams object with the default values initialized.
func NewAdminListUserAchievementsParamsWithContext ¶
func NewAdminListUserAchievementsParamsWithContext(ctx context.Context) *AdminListUserAchievementsParams
NewAdminListUserAchievementsParamsWithContext creates a new AdminListUserAchievementsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminListUserAchievementsParamsWithHTTPClient ¶
func NewAdminListUserAchievementsParamsWithHTTPClient(client *http.Client) *AdminListUserAchievementsParams
NewAdminListUserAchievementsParamsWithHTTPClient creates a new AdminListUserAchievementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminListUserAchievementsParamsWithTimeout ¶
func NewAdminListUserAchievementsParamsWithTimeout(timeout time.Duration) *AdminListUserAchievementsParams
NewAdminListUserAchievementsParamsWithTimeout creates a new AdminListUserAchievementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminListUserAchievementsParams) SetContext ¶
func (o *AdminListUserAchievementsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list user achievements params
func (*AdminListUserAchievementsParams) SetHTTPClient ¶
func (o *AdminListUserAchievementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list user achievements params
func (*AdminListUserAchievementsParams) SetLimit ¶
func (o *AdminListUserAchievementsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin list user achievements params
func (*AdminListUserAchievementsParams) SetNamespace ¶
func (o *AdminListUserAchievementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin list user achievements params
func (*AdminListUserAchievementsParams) SetOffset ¶
func (o *AdminListUserAchievementsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin list user achievements params
func (*AdminListUserAchievementsParams) SetPreferUnlocked ¶
func (o *AdminListUserAchievementsParams) SetPreferUnlocked(preferUnlocked *bool)
SetPreferUnlocked adds the preferUnlocked to the admin list user achievements params
func (*AdminListUserAchievementsParams) SetTimeout ¶
func (o *AdminListUserAchievementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list user achievements params
func (*AdminListUserAchievementsParams) SetUserID ¶
func (o *AdminListUserAchievementsParams) SetUserID(userID string)
SetUserID adds the userId to the admin list user achievements params
func (*AdminListUserAchievementsParams) WithContext ¶
func (o *AdminListUserAchievementsParams) WithContext(ctx context.Context) *AdminListUserAchievementsParams
WithContext adds the context to the admin list user achievements params
func (*AdminListUserAchievementsParams) WithHTTPClient ¶
func (o *AdminListUserAchievementsParams) WithHTTPClient(client *http.Client) *AdminListUserAchievementsParams
WithHTTPClient adds the HTTPClient to the admin list user achievements params
func (*AdminListUserAchievementsParams) WithLimit ¶
func (o *AdminListUserAchievementsParams) WithLimit(limit *int64) *AdminListUserAchievementsParams
WithLimit adds the limit to the admin list user achievements params
func (*AdminListUserAchievementsParams) WithNamespace ¶
func (o *AdminListUserAchievementsParams) WithNamespace(namespace string) *AdminListUserAchievementsParams
WithNamespace adds the namespace to the admin list user achievements params
func (*AdminListUserAchievementsParams) WithOffset ¶
func (o *AdminListUserAchievementsParams) WithOffset(offset *int64) *AdminListUserAchievementsParams
WithOffset adds the offset to the admin list user achievements params
func (*AdminListUserAchievementsParams) WithPreferUnlocked ¶
func (o *AdminListUserAchievementsParams) WithPreferUnlocked(preferUnlocked *bool) *AdminListUserAchievementsParams
WithPreferUnlocked adds the preferUnlocked to the admin list user achievements params
func (*AdminListUserAchievementsParams) WithTimeout ¶
func (o *AdminListUserAchievementsParams) WithTimeout(timeout time.Duration) *AdminListUserAchievementsParams
WithTimeout adds the timeout to the admin list user achievements params
func (*AdminListUserAchievementsParams) WithUserID ¶
func (o *AdminListUserAchievementsParams) WithUserID(userID string) *AdminListUserAchievementsParams
WithUserID adds the userID to the admin list user achievements params
func (*AdminListUserAchievementsParams) WriteToRequest ¶
func (o *AdminListUserAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListUserAchievementsReader ¶
type AdminListUserAchievementsReader struct {
// contains filtered or unexported fields
}
AdminListUserAchievementsReader is a Reader for the AdminListUserAchievements structure.
func (*AdminListUserAchievementsReader) ReadResponse ¶
func (o *AdminListUserAchievementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListUserAchievementsUnauthorized ¶
type AdminListUserAchievementsUnauthorized struct {
}AdminListUserAchievementsUnauthorized handles this case with default header values.
Unauthorized
func NewAdminListUserAchievementsUnauthorized ¶
func NewAdminListUserAchievementsUnauthorized() *AdminListUserAchievementsUnauthorized
NewAdminListUserAchievementsUnauthorized creates a AdminListUserAchievementsUnauthorized with default headers values
func (*AdminListUserAchievementsUnauthorized) Error ¶
func (o *AdminListUserAchievementsUnauthorized) Error() string
func (*AdminListUserAchievementsUnauthorized) GetPayload ¶
func (o *AdminListUserAchievementsUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type AdminUnlockAchievementBadRequest ¶
type AdminUnlockAchievementBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
AdminUnlockAchievementBadRequest handles this case with default header values.
Bad Request
func NewAdminUnlockAchievementBadRequest ¶
func NewAdminUnlockAchievementBadRequest() *AdminUnlockAchievementBadRequest
NewAdminUnlockAchievementBadRequest creates a AdminUnlockAchievementBadRequest with default headers values
func (*AdminUnlockAchievementBadRequest) Error ¶
func (o *AdminUnlockAchievementBadRequest) Error() string
func (*AdminUnlockAchievementBadRequest) GetPayload ¶
func (o *AdminUnlockAchievementBadRequest) GetPayload() *achievementclientmodels.ResponseError
type AdminUnlockAchievementInternalServerError ¶
type AdminUnlockAchievementInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
AdminUnlockAchievementInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUnlockAchievementInternalServerError ¶
func NewAdminUnlockAchievementInternalServerError() *AdminUnlockAchievementInternalServerError
NewAdminUnlockAchievementInternalServerError creates a AdminUnlockAchievementInternalServerError with default headers values
func (*AdminUnlockAchievementInternalServerError) Error ¶
func (o *AdminUnlockAchievementInternalServerError) Error() string
func (*AdminUnlockAchievementInternalServerError) GetPayload ¶
func (o *AdminUnlockAchievementInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type AdminUnlockAchievementNoContent ¶
type AdminUnlockAchievementNoContent struct { }
AdminUnlockAchievementNoContent handles this case with default header values.
No Content
func NewAdminUnlockAchievementNoContent ¶
func NewAdminUnlockAchievementNoContent() *AdminUnlockAchievementNoContent
NewAdminUnlockAchievementNoContent creates a AdminUnlockAchievementNoContent with default headers values
func (*AdminUnlockAchievementNoContent) Error ¶
func (o *AdminUnlockAchievementNoContent) Error() string
type AdminUnlockAchievementParams ¶
type AdminUnlockAchievementParams struct { /*AchievementCode achievement code */ AchievementCode string /*Namespace namespace of the game */ Namespace string /*UserID user id */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminUnlockAchievementParams contains all the parameters to send to the API endpoint for the admin unlock achievement operation typically these are written to a http.Request
func NewAdminUnlockAchievementParams ¶
func NewAdminUnlockAchievementParams() *AdminUnlockAchievementParams
NewAdminUnlockAchievementParams creates a new AdminUnlockAchievementParams object with the default values initialized.
func NewAdminUnlockAchievementParamsWithContext ¶
func NewAdminUnlockAchievementParamsWithContext(ctx context.Context) *AdminUnlockAchievementParams
NewAdminUnlockAchievementParamsWithContext creates a new AdminUnlockAchievementParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUnlockAchievementParamsWithHTTPClient ¶
func NewAdminUnlockAchievementParamsWithHTTPClient(client *http.Client) *AdminUnlockAchievementParams
NewAdminUnlockAchievementParamsWithHTTPClient creates a new AdminUnlockAchievementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUnlockAchievementParamsWithTimeout ¶
func NewAdminUnlockAchievementParamsWithTimeout(timeout time.Duration) *AdminUnlockAchievementParams
NewAdminUnlockAchievementParamsWithTimeout creates a new AdminUnlockAchievementParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUnlockAchievementParams) SetAchievementCode ¶
func (o *AdminUnlockAchievementParams) SetAchievementCode(achievementCode string)
SetAchievementCode adds the achievementCode to the admin unlock achievement params
func (*AdminUnlockAchievementParams) SetContext ¶
func (o *AdminUnlockAchievementParams) SetContext(ctx context.Context)
SetContext adds the context to the admin unlock achievement params
func (*AdminUnlockAchievementParams) SetHTTPClient ¶
func (o *AdminUnlockAchievementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin unlock achievement params
func (*AdminUnlockAchievementParams) SetNamespace ¶
func (o *AdminUnlockAchievementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin unlock achievement params
func (*AdminUnlockAchievementParams) SetTimeout ¶
func (o *AdminUnlockAchievementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin unlock achievement params
func (*AdminUnlockAchievementParams) SetUserID ¶
func (o *AdminUnlockAchievementParams) SetUserID(userID string)
SetUserID adds the userId to the admin unlock achievement params
func (*AdminUnlockAchievementParams) WithAchievementCode ¶
func (o *AdminUnlockAchievementParams) WithAchievementCode(achievementCode string) *AdminUnlockAchievementParams
WithAchievementCode adds the achievementCode to the admin unlock achievement params
func (*AdminUnlockAchievementParams) WithContext ¶
func (o *AdminUnlockAchievementParams) WithContext(ctx context.Context) *AdminUnlockAchievementParams
WithContext adds the context to the admin unlock achievement params
func (*AdminUnlockAchievementParams) WithHTTPClient ¶
func (o *AdminUnlockAchievementParams) WithHTTPClient(client *http.Client) *AdminUnlockAchievementParams
WithHTTPClient adds the HTTPClient to the admin unlock achievement params
func (*AdminUnlockAchievementParams) WithNamespace ¶
func (o *AdminUnlockAchievementParams) WithNamespace(namespace string) *AdminUnlockAchievementParams
WithNamespace adds the namespace to the admin unlock achievement params
func (*AdminUnlockAchievementParams) WithTimeout ¶
func (o *AdminUnlockAchievementParams) WithTimeout(timeout time.Duration) *AdminUnlockAchievementParams
WithTimeout adds the timeout to the admin unlock achievement params
func (*AdminUnlockAchievementParams) WithUserID ¶
func (o *AdminUnlockAchievementParams) WithUserID(userID string) *AdminUnlockAchievementParams
WithUserID adds the userID to the admin unlock achievement params
func (*AdminUnlockAchievementParams) WriteToRequest ¶
func (o *AdminUnlockAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUnlockAchievementReader ¶
type AdminUnlockAchievementReader struct {
// contains filtered or unexported fields
}
AdminUnlockAchievementReader is a Reader for the AdminUnlockAchievement structure.
func (*AdminUnlockAchievementReader) ReadResponse ¶
func (o *AdminUnlockAchievementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUnlockAchievementUnauthorized ¶
type AdminUnlockAchievementUnauthorized struct {
}AdminUnlockAchievementUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUnlockAchievementUnauthorized ¶
func NewAdminUnlockAchievementUnauthorized() *AdminUnlockAchievementUnauthorized
NewAdminUnlockAchievementUnauthorized creates a AdminUnlockAchievementUnauthorized with default headers values
func (*AdminUnlockAchievementUnauthorized) Error ¶
func (o *AdminUnlockAchievementUnauthorized) Error() string
func (*AdminUnlockAchievementUnauthorized) GetPayload ¶
func (o *AdminUnlockAchievementUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type AdminUpdateAchievementBadRequest ¶
type AdminUpdateAchievementBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
AdminUpdateAchievementBadRequest handles this case with default header values.
Bad Request
func NewAdminUpdateAchievementBadRequest ¶
func NewAdminUpdateAchievementBadRequest() *AdminUpdateAchievementBadRequest
NewAdminUpdateAchievementBadRequest creates a AdminUpdateAchievementBadRequest with default headers values
func (*AdminUpdateAchievementBadRequest) Error ¶
func (o *AdminUpdateAchievementBadRequest) Error() string
func (*AdminUpdateAchievementBadRequest) GetPayload ¶
func (o *AdminUpdateAchievementBadRequest) GetPayload() *achievementclientmodels.ResponseError
type AdminUpdateAchievementInternalServerError ¶
type AdminUpdateAchievementInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
AdminUpdateAchievementInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdateAchievementInternalServerError ¶
func NewAdminUpdateAchievementInternalServerError() *AdminUpdateAchievementInternalServerError
NewAdminUpdateAchievementInternalServerError creates a AdminUpdateAchievementInternalServerError with default headers values
func (*AdminUpdateAchievementInternalServerError) Error ¶
func (o *AdminUpdateAchievementInternalServerError) Error() string
func (*AdminUpdateAchievementInternalServerError) GetPayload ¶
func (o *AdminUpdateAchievementInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type AdminUpdateAchievementListOrderBadRequest ¶
type AdminUpdateAchievementListOrderBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
AdminUpdateAchievementListOrderBadRequest handles this case with default header values.
Bad Request
func NewAdminUpdateAchievementListOrderBadRequest ¶
func NewAdminUpdateAchievementListOrderBadRequest() *AdminUpdateAchievementListOrderBadRequest
NewAdminUpdateAchievementListOrderBadRequest creates a AdminUpdateAchievementListOrderBadRequest with default headers values
func (*AdminUpdateAchievementListOrderBadRequest) Error ¶
func (o *AdminUpdateAchievementListOrderBadRequest) Error() string
func (*AdminUpdateAchievementListOrderBadRequest) GetPayload ¶
func (o *AdminUpdateAchievementListOrderBadRequest) GetPayload() *achievementclientmodels.ResponseError
type AdminUpdateAchievementListOrderInternalServerError ¶
type AdminUpdateAchievementListOrderInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
AdminUpdateAchievementListOrderInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdateAchievementListOrderInternalServerError ¶
func NewAdminUpdateAchievementListOrderInternalServerError() *AdminUpdateAchievementListOrderInternalServerError
NewAdminUpdateAchievementListOrderInternalServerError creates a AdminUpdateAchievementListOrderInternalServerError with default headers values
func (*AdminUpdateAchievementListOrderInternalServerError) Error ¶
func (o *AdminUpdateAchievementListOrderInternalServerError) Error() string
func (*AdminUpdateAchievementListOrderInternalServerError) GetPayload ¶
func (o *AdminUpdateAchievementListOrderInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type AdminUpdateAchievementListOrderNoContent ¶
type AdminUpdateAchievementListOrderNoContent struct { }
AdminUpdateAchievementListOrderNoContent handles this case with default header values.
No Content
func NewAdminUpdateAchievementListOrderNoContent ¶
func NewAdminUpdateAchievementListOrderNoContent() *AdminUpdateAchievementListOrderNoContent
NewAdminUpdateAchievementListOrderNoContent creates a AdminUpdateAchievementListOrderNoContent with default headers values
func (*AdminUpdateAchievementListOrderNoContent) Error ¶
func (o *AdminUpdateAchievementListOrderNoContent) Error() string
type AdminUpdateAchievementListOrderNotFound ¶
type AdminUpdateAchievementListOrderNotFound struct {
Payload *achievementclientmodels.ResponseError
}
AdminUpdateAchievementListOrderNotFound handles this case with default header values.
Not Found
func NewAdminUpdateAchievementListOrderNotFound ¶
func NewAdminUpdateAchievementListOrderNotFound() *AdminUpdateAchievementListOrderNotFound
NewAdminUpdateAchievementListOrderNotFound creates a AdminUpdateAchievementListOrderNotFound with default headers values
func (*AdminUpdateAchievementListOrderNotFound) Error ¶
func (o *AdminUpdateAchievementListOrderNotFound) Error() string
func (*AdminUpdateAchievementListOrderNotFound) GetPayload ¶
func (o *AdminUpdateAchievementListOrderNotFound) GetPayload() *achievementclientmodels.ResponseError
type AdminUpdateAchievementListOrderParams ¶
type AdminUpdateAchievementListOrderParams struct { /*AchievementCode achievement code */ AchievementCode string /*Body*/ Body *achievementclientmodels.ModelsAchievementOrderUpdateRequest /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminUpdateAchievementListOrderParams contains all the parameters to send to the API endpoint for the admin update achievement list order operation typically these are written to a http.Request
func NewAdminUpdateAchievementListOrderParams ¶
func NewAdminUpdateAchievementListOrderParams() *AdminUpdateAchievementListOrderParams
NewAdminUpdateAchievementListOrderParams creates a new AdminUpdateAchievementListOrderParams object with the default values initialized.
func NewAdminUpdateAchievementListOrderParamsWithContext ¶
func NewAdminUpdateAchievementListOrderParamsWithContext(ctx context.Context) *AdminUpdateAchievementListOrderParams
NewAdminUpdateAchievementListOrderParamsWithContext creates a new AdminUpdateAchievementListOrderParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateAchievementListOrderParamsWithHTTPClient ¶
func NewAdminUpdateAchievementListOrderParamsWithHTTPClient(client *http.Client) *AdminUpdateAchievementListOrderParams
NewAdminUpdateAchievementListOrderParamsWithHTTPClient creates a new AdminUpdateAchievementListOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateAchievementListOrderParamsWithTimeout ¶
func NewAdminUpdateAchievementListOrderParamsWithTimeout(timeout time.Duration) *AdminUpdateAchievementListOrderParams
NewAdminUpdateAchievementListOrderParamsWithTimeout creates a new AdminUpdateAchievementListOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateAchievementListOrderParams) SetAchievementCode ¶
func (o *AdminUpdateAchievementListOrderParams) SetAchievementCode(achievementCode string)
SetAchievementCode adds the achievementCode to the admin update achievement list order params
func (*AdminUpdateAchievementListOrderParams) SetBody ¶
func (o *AdminUpdateAchievementListOrderParams) SetBody(body *achievementclientmodels.ModelsAchievementOrderUpdateRequest)
SetBody adds the body to the admin update achievement list order params
func (*AdminUpdateAchievementListOrderParams) SetContext ¶
func (o *AdminUpdateAchievementListOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update achievement list order params
func (*AdminUpdateAchievementListOrderParams) SetHTTPClient ¶
func (o *AdminUpdateAchievementListOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update achievement list order params
func (*AdminUpdateAchievementListOrderParams) SetNamespace ¶
func (o *AdminUpdateAchievementListOrderParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update achievement list order params
func (*AdminUpdateAchievementListOrderParams) SetTimeout ¶
func (o *AdminUpdateAchievementListOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update achievement list order params
func (*AdminUpdateAchievementListOrderParams) WithAchievementCode ¶
func (o *AdminUpdateAchievementListOrderParams) WithAchievementCode(achievementCode string) *AdminUpdateAchievementListOrderParams
WithAchievementCode adds the achievementCode to the admin update achievement list order params
func (*AdminUpdateAchievementListOrderParams) WithBody ¶
func (o *AdminUpdateAchievementListOrderParams) WithBody(body *achievementclientmodels.ModelsAchievementOrderUpdateRequest) *AdminUpdateAchievementListOrderParams
WithBody adds the body to the admin update achievement list order params
func (*AdminUpdateAchievementListOrderParams) WithContext ¶
func (o *AdminUpdateAchievementListOrderParams) WithContext(ctx context.Context) *AdminUpdateAchievementListOrderParams
WithContext adds the context to the admin update achievement list order params
func (*AdminUpdateAchievementListOrderParams) WithHTTPClient ¶
func (o *AdminUpdateAchievementListOrderParams) WithHTTPClient(client *http.Client) *AdminUpdateAchievementListOrderParams
WithHTTPClient adds the HTTPClient to the admin update achievement list order params
func (*AdminUpdateAchievementListOrderParams) WithNamespace ¶
func (o *AdminUpdateAchievementListOrderParams) WithNamespace(namespace string) *AdminUpdateAchievementListOrderParams
WithNamespace adds the namespace to the admin update achievement list order params
func (*AdminUpdateAchievementListOrderParams) WithTimeout ¶
func (o *AdminUpdateAchievementListOrderParams) WithTimeout(timeout time.Duration) *AdminUpdateAchievementListOrderParams
WithTimeout adds the timeout to the admin update achievement list order params
func (*AdminUpdateAchievementListOrderParams) WriteToRequest ¶
func (o *AdminUpdateAchievementListOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateAchievementListOrderReader ¶
type AdminUpdateAchievementListOrderReader struct {
// contains filtered or unexported fields
}
AdminUpdateAchievementListOrderReader is a Reader for the AdminUpdateAchievementListOrder structure.
func (*AdminUpdateAchievementListOrderReader) ReadResponse ¶
func (o *AdminUpdateAchievementListOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateAchievementListOrderUnauthorized ¶
type AdminUpdateAchievementListOrderUnauthorized struct {
}AdminUpdateAchievementListOrderUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUpdateAchievementListOrderUnauthorized ¶
func NewAdminUpdateAchievementListOrderUnauthorized() *AdminUpdateAchievementListOrderUnauthorized
NewAdminUpdateAchievementListOrderUnauthorized creates a AdminUpdateAchievementListOrderUnauthorized with default headers values
func (*AdminUpdateAchievementListOrderUnauthorized) Error ¶
func (o *AdminUpdateAchievementListOrderUnauthorized) Error() string
func (*AdminUpdateAchievementListOrderUnauthorized) GetPayload ¶
func (o *AdminUpdateAchievementListOrderUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type AdminUpdateAchievementNotFound ¶
type AdminUpdateAchievementNotFound struct {
Payload *achievementclientmodels.ResponseError
}
AdminUpdateAchievementNotFound handles this case with default header values.
Not Found
func NewAdminUpdateAchievementNotFound ¶
func NewAdminUpdateAchievementNotFound() *AdminUpdateAchievementNotFound
NewAdminUpdateAchievementNotFound creates a AdminUpdateAchievementNotFound with default headers values
func (*AdminUpdateAchievementNotFound) Error ¶
func (o *AdminUpdateAchievementNotFound) Error() string
func (*AdminUpdateAchievementNotFound) GetPayload ¶
func (o *AdminUpdateAchievementNotFound) GetPayload() *achievementclientmodels.ResponseError
type AdminUpdateAchievementOK ¶
type AdminUpdateAchievementOK struct {
Payload *achievementclientmodels.ModelsAchievementResponse
}
AdminUpdateAchievementOK handles this case with default header values.
OK
func NewAdminUpdateAchievementOK ¶
func NewAdminUpdateAchievementOK() *AdminUpdateAchievementOK
NewAdminUpdateAchievementOK creates a AdminUpdateAchievementOK with default headers values
func (*AdminUpdateAchievementOK) Error ¶
func (o *AdminUpdateAchievementOK) Error() string
func (*AdminUpdateAchievementOK) GetPayload ¶
func (o *AdminUpdateAchievementOK) GetPayload() *achievementclientmodels.ModelsAchievementResponse
type AdminUpdateAchievementParams ¶
type AdminUpdateAchievementParams struct { /*AchievementCode achievement code */ AchievementCode string /*Body*/ Body *achievementclientmodels.ModelsAchievementUpdateRequest /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminUpdateAchievementParams contains all the parameters to send to the API endpoint for the admin update achievement operation typically these are written to a http.Request
func NewAdminUpdateAchievementParams ¶
func NewAdminUpdateAchievementParams() *AdminUpdateAchievementParams
NewAdminUpdateAchievementParams creates a new AdminUpdateAchievementParams object with the default values initialized.
func NewAdminUpdateAchievementParamsWithContext ¶
func NewAdminUpdateAchievementParamsWithContext(ctx context.Context) *AdminUpdateAchievementParams
NewAdminUpdateAchievementParamsWithContext creates a new AdminUpdateAchievementParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateAchievementParamsWithHTTPClient ¶
func NewAdminUpdateAchievementParamsWithHTTPClient(client *http.Client) *AdminUpdateAchievementParams
NewAdminUpdateAchievementParamsWithHTTPClient creates a new AdminUpdateAchievementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateAchievementParamsWithTimeout ¶
func NewAdminUpdateAchievementParamsWithTimeout(timeout time.Duration) *AdminUpdateAchievementParams
NewAdminUpdateAchievementParamsWithTimeout creates a new AdminUpdateAchievementParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateAchievementParams) SetAchievementCode ¶
func (o *AdminUpdateAchievementParams) SetAchievementCode(achievementCode string)
SetAchievementCode adds the achievementCode to the admin update achievement params
func (*AdminUpdateAchievementParams) SetBody ¶
func (o *AdminUpdateAchievementParams) SetBody(body *achievementclientmodels.ModelsAchievementUpdateRequest)
SetBody adds the body to the admin update achievement params
func (*AdminUpdateAchievementParams) SetContext ¶
func (o *AdminUpdateAchievementParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update achievement params
func (*AdminUpdateAchievementParams) SetHTTPClient ¶
func (o *AdminUpdateAchievementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update achievement params
func (*AdminUpdateAchievementParams) SetNamespace ¶
func (o *AdminUpdateAchievementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update achievement params
func (*AdminUpdateAchievementParams) SetTimeout ¶
func (o *AdminUpdateAchievementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update achievement params
func (*AdminUpdateAchievementParams) WithAchievementCode ¶
func (o *AdminUpdateAchievementParams) WithAchievementCode(achievementCode string) *AdminUpdateAchievementParams
WithAchievementCode adds the achievementCode to the admin update achievement params
func (*AdminUpdateAchievementParams) WithBody ¶
func (o *AdminUpdateAchievementParams) WithBody(body *achievementclientmodels.ModelsAchievementUpdateRequest) *AdminUpdateAchievementParams
WithBody adds the body to the admin update achievement params
func (*AdminUpdateAchievementParams) WithContext ¶
func (o *AdminUpdateAchievementParams) WithContext(ctx context.Context) *AdminUpdateAchievementParams
WithContext adds the context to the admin update achievement params
func (*AdminUpdateAchievementParams) WithHTTPClient ¶
func (o *AdminUpdateAchievementParams) WithHTTPClient(client *http.Client) *AdminUpdateAchievementParams
WithHTTPClient adds the HTTPClient to the admin update achievement params
func (*AdminUpdateAchievementParams) WithNamespace ¶
func (o *AdminUpdateAchievementParams) WithNamespace(namespace string) *AdminUpdateAchievementParams
WithNamespace adds the namespace to the admin update achievement params
func (*AdminUpdateAchievementParams) WithTimeout ¶
func (o *AdminUpdateAchievementParams) WithTimeout(timeout time.Duration) *AdminUpdateAchievementParams
WithTimeout adds the timeout to the admin update achievement params
func (*AdminUpdateAchievementParams) WriteToRequest ¶
func (o *AdminUpdateAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateAchievementReader ¶
type AdminUpdateAchievementReader struct {
// contains filtered or unexported fields
}
AdminUpdateAchievementReader is a Reader for the AdminUpdateAchievement structure.
func (*AdminUpdateAchievementReader) ReadResponse ¶
func (o *AdminUpdateAchievementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateAchievementUnauthorized ¶
type AdminUpdateAchievementUnauthorized struct {
}AdminUpdateAchievementUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUpdateAchievementUnauthorized ¶
func NewAdminUpdateAchievementUnauthorized() *AdminUpdateAchievementUnauthorized
NewAdminUpdateAchievementUnauthorized creates a AdminUpdateAchievementUnauthorized with default headers values
func (*AdminUpdateAchievementUnauthorized) Error ¶
func (o *AdminUpdateAchievementUnauthorized) Error() string
func (*AdminUpdateAchievementUnauthorized) GetPayload ¶
func (o *AdminUpdateAchievementUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for achievements API
func (*Client) AdminCreateNewAchievement ¶
func (a *Client) AdminCreateNewAchievement(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, *AdminCreateNewAchievementBadRequest, *AdminCreateNewAchievementUnauthorized, *AdminCreateNewAchievementInternalServerError, error)
AdminCreateNewAchievement creates new achievement <p>Required permission <code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [CREATE]</code> and scope <code>social</code></p> Other detail info: - achievementCode: Human readable unique code to indentify the achievement. Must be lowercase and maximum length is 32 - incremental: If the achievement is not incremental, it does not need to store a goal value of a stat to be unlocked. If the achievement is incremental, it needs to set statCode and goalValue - statCode: Selected statistic code, from the published statistic code event.Human readable unique code to indentify the achievement. Must be lowercase and maximum length is 32 - goalValue: Statistics value required to unlock the achievement. - defaultLanguage: localozation for achievement name and achievement description. Allowed format : en, en-US - slug: specify the image they want to use, it can be file image name or something to define the achievement icon.
func (*Client) AdminCreateNewAchievementShort ¶ added in v0.8.0
func (a *Client) AdminCreateNewAchievementShort(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, error)
func (*Client) AdminDeleteAchievement ¶
func (a *Client) AdminDeleteAchievement(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, *AdminDeleteAchievementBadRequest, *AdminDeleteAchievementUnauthorized, *AdminDeleteAchievementNotFound, *AdminDeleteAchievementInternalServerError, error)
AdminDeleteAchievement deletes an achievement <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [DELETE]</code> and scope <code>social</code></p>
func (*Client) AdminDeleteAchievementShort ¶ added in v0.8.0
func (a *Client) AdminDeleteAchievementShort(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, error)
func (*Client) AdminGetAchievement ¶
func (a *Client) AdminGetAchievement(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, *AdminGetAchievementBadRequest, *AdminGetAchievementUnauthorized, *AdminGetAchievementNotFound, *AdminGetAchievementInternalServerError, error)
AdminGetAchievement gets an achievement <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) AdminGetAchievementShort ¶ added in v0.8.0
func (a *Client) AdminGetAchievementShort(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, error)
func (*Client) AdminListAchievements ¶
func (a *Client) AdminListAchievements(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, *AdminListAchievementsBadRequest, *AdminListAchievementsUnauthorized, *AdminListAchievementsNotFound, *AdminListAchievementsInternalServerError, error)
AdminListAchievements queries achievements <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) AdminListAchievementsShort ¶ added in v0.8.0
func (a *Client) AdminListAchievementsShort(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, error)
func (*Client) AdminListUserAchievements ¶
func (a *Client) AdminListUserAchievements(params *AdminListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserAchievementsOK, *AdminListUserAchievementsBadRequest, *AdminListUserAchievementsUnauthorized, *AdminListUserAchievementsNotFound, *AdminListUserAchievementsInternalServerError, error)
AdminListUserAchievements queries user achievements include achieved and in progress <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) AdminListUserAchievementsShort ¶ added in v0.8.0
func (a *Client) AdminListUserAchievementsShort(params *AdminListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserAchievementsOK, error)
func (*Client) AdminUnlockAchievement ¶
func (a *Client) AdminUnlockAchievement(params *AdminUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnlockAchievementNoContent, *AdminUnlockAchievementBadRequest, *AdminUnlockAchievementUnauthorized, *AdminUnlockAchievementInternalServerError, error)
AdminUnlockAchievement unlocks an achievement <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>
func (*Client) AdminUnlockAchievementShort ¶ added in v0.8.0
func (a *Client) AdminUnlockAchievementShort(params *AdminUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnlockAchievementNoContent, error)
func (*Client) AdminUpdateAchievement ¶
func (a *Client) AdminUpdateAchievement(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, *AdminUpdateAchievementBadRequest, *AdminUpdateAchievementUnauthorized, *AdminUpdateAchievementNotFound, *AdminUpdateAchievementInternalServerError, error)
AdminUpdateAchievement updates an achievement <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>
func (*Client) AdminUpdateAchievementListOrder ¶
func (a *Client) AdminUpdateAchievementListOrder(params *AdminUpdateAchievementListOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementListOrderNoContent, *AdminUpdateAchievementListOrderBadRequest, *AdminUpdateAchievementListOrderUnauthorized, *AdminUpdateAchievementListOrderNotFound, *AdminUpdateAchievementListOrderInternalServerError, error)
AdminUpdateAchievementListOrder updates achievements list order <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>
func (*Client) AdminUpdateAchievementListOrderShort ¶ added in v0.8.0
func (a *Client) AdminUpdateAchievementListOrderShort(params *AdminUpdateAchievementListOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementListOrderNoContent, error)
func (*Client) AdminUpdateAchievementShort ¶ added in v0.8.0
func (a *Client) AdminUpdateAchievementShort(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, error)
func (*Client) ExportAchievements ¶
func (a *Client) ExportAchievements(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ExportAchievementsOK, *ExportAchievementsUnauthorized, *ExportAchievementsForbidden, *ExportAchievementsInternalServerError, error)
ExportAchievements exports achievements configuration into a json file Required permission ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ] Required Scope: social
func (*Client) ExportAchievementsShort ¶ added in v0.8.0
func (a *Client) ExportAchievementsShort(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ExportAchievementsOK, error)
func (*Client) ImportAchievements ¶
func (a *Client) ImportAchievements(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, *ImportAchievementsUnauthorized, *ImportAchievementsForbidden, *ImportAchievementsInternalServerError, error)
ImportAchievements imports achievements from file Required permission ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE] Required Scope: social Import channels configuration from file. It will merge with existing channels. Available import strategy: - leaveOut: if channel with same key exist, the existing will be used and imported one will be ignored (default) - replace: if channel with same key exist, the imported channel will be used and existing one will be removed
func (*Client) ImportAchievementsShort ¶ added in v0.8.0
func (a *Client) ImportAchievementsShort(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, error)
func (*Client) PublicGetAchievement ¶
func (a *Client) PublicGetAchievement(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, *PublicGetAchievementBadRequest, *PublicGetAchievementUnauthorized, *PublicGetAchievementNotFound, *PublicGetAchievementInternalServerError, error)
PublicGetAchievement gets an achievement <p>Required permission
<code>NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) PublicGetAchievementShort ¶ added in v0.8.0
func (a *Client) PublicGetAchievementShort(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, error)
func (*Client) PublicListAchievements ¶
func (a *Client) PublicListAchievements(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, *PublicListAchievementsBadRequest, *PublicListAchievementsUnauthorized, *PublicListAchievementsNotFound, *PublicListAchievementsInternalServerError, error)
PublicListAchievements queries achievements <p>Required permission
<code>NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) PublicListAchievementsShort ¶ added in v0.8.0
func (a *Client) PublicListAchievementsShort(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, error)
func (*Client) PublicListUserAchievements ¶
func (a *Client) PublicListUserAchievements(params *PublicListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserAchievementsOK, *PublicListUserAchievementsBadRequest, *PublicListUserAchievementsUnauthorized, *PublicListUserAchievementsNotFound, *PublicListUserAchievementsInternalServerError, error)
PublicListUserAchievements queries user achievements include achieved and in progress <p>Required permission
<code>NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) PublicListUserAchievementsShort ¶ added in v0.8.0
func (a *Client) PublicListUserAchievementsShort(params *PublicListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserAchievementsOK, error)
func (*Client) PublicUnlockAchievement ¶
func (a *Client) PublicUnlockAchievement(params *PublicUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnlockAchievementNoContent, *PublicUnlockAchievementBadRequest, *PublicUnlockAchievementUnauthorized, *PublicUnlockAchievementInternalServerError, error)
PublicUnlockAchievement unlocks an achievement <p>Required permission
<code>NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>
func (*Client) PublicUnlockAchievementShort ¶ added in v0.8.0
func (a *Client) PublicUnlockAchievementShort(params *PublicUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnlockAchievementNoContent, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminCreateNewAchievement(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, *AdminCreateNewAchievementBadRequest, *AdminCreateNewAchievementUnauthorized, *AdminCreateNewAchievementInternalServerError, error) AdminCreateNewAchievementShort(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, error) AdminDeleteAchievement(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, *AdminDeleteAchievementBadRequest, *AdminDeleteAchievementUnauthorized, *AdminDeleteAchievementNotFound, *AdminDeleteAchievementInternalServerError, error) AdminDeleteAchievementShort(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, error) AdminGetAchievement(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, *AdminGetAchievementBadRequest, *AdminGetAchievementUnauthorized, *AdminGetAchievementNotFound, *AdminGetAchievementInternalServerError, error) AdminGetAchievementShort(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, error) AdminListAchievements(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, *AdminListAchievementsBadRequest, *AdminListAchievementsUnauthorized, *AdminListAchievementsNotFound, *AdminListAchievementsInternalServerError, error) AdminListAchievementsShort(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, error) AdminListUserAchievements(params *AdminListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserAchievementsOK, *AdminListUserAchievementsBadRequest, *AdminListUserAchievementsUnauthorized, *AdminListUserAchievementsNotFound, *AdminListUserAchievementsInternalServerError, error) AdminListUserAchievementsShort(params *AdminListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserAchievementsOK, error) AdminUnlockAchievement(params *AdminUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnlockAchievementNoContent, *AdminUnlockAchievementBadRequest, *AdminUnlockAchievementUnauthorized, *AdminUnlockAchievementInternalServerError, error) AdminUnlockAchievementShort(params *AdminUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnlockAchievementNoContent, error) AdminUpdateAchievement(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, *AdminUpdateAchievementBadRequest, *AdminUpdateAchievementUnauthorized, *AdminUpdateAchievementNotFound, *AdminUpdateAchievementInternalServerError, error) AdminUpdateAchievementShort(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, error) AdminUpdateAchievementListOrder(params *AdminUpdateAchievementListOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementListOrderNoContent, *AdminUpdateAchievementListOrderBadRequest, *AdminUpdateAchievementListOrderUnauthorized, *AdminUpdateAchievementListOrderNotFound, *AdminUpdateAchievementListOrderInternalServerError, error) AdminUpdateAchievementListOrderShort(params *AdminUpdateAchievementListOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementListOrderNoContent, error) ExportAchievements(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ExportAchievementsOK, *ExportAchievementsUnauthorized, *ExportAchievementsForbidden, *ExportAchievementsInternalServerError, error) ExportAchievementsShort(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ExportAchievementsOK, error) ImportAchievements(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, *ImportAchievementsUnauthorized, *ImportAchievementsForbidden, *ImportAchievementsInternalServerError, error) ImportAchievementsShort(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, error) PublicGetAchievement(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, *PublicGetAchievementBadRequest, *PublicGetAchievementUnauthorized, *PublicGetAchievementNotFound, *PublicGetAchievementInternalServerError, error) PublicGetAchievementShort(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, error) PublicListAchievements(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, *PublicListAchievementsBadRequest, *PublicListAchievementsUnauthorized, *PublicListAchievementsNotFound, *PublicListAchievementsInternalServerError, error) PublicListAchievementsShort(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, error) PublicListUserAchievements(params *PublicListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserAchievementsOK, *PublicListUserAchievementsBadRequest, *PublicListUserAchievementsUnauthorized, *PublicListUserAchievementsNotFound, *PublicListUserAchievementsInternalServerError, error) PublicListUserAchievementsShort(params *PublicListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserAchievementsOK, error) PublicUnlockAchievement(params *PublicUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnlockAchievementNoContent, *PublicUnlockAchievementBadRequest, *PublicUnlockAchievementUnauthorized, *PublicUnlockAchievementInternalServerError, error) PublicUnlockAchievementShort(params *PublicUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnlockAchievementNoContent, 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 achievements API client.
type ExportAchievementsForbidden ¶
type ExportAchievementsForbidden struct {
Payload *achievementclientmodels.ResponseError
}
ExportAchievementsForbidden handles this case with default header values.
Forbidden
func NewExportAchievementsForbidden ¶
func NewExportAchievementsForbidden() *ExportAchievementsForbidden
NewExportAchievementsForbidden creates a ExportAchievementsForbidden with default headers values
func (*ExportAchievementsForbidden) Error ¶
func (o *ExportAchievementsForbidden) Error() string
func (*ExportAchievementsForbidden) GetPayload ¶
func (o *ExportAchievementsForbidden) GetPayload() *achievementclientmodels.ResponseError
type ExportAchievementsInternalServerError ¶
type ExportAchievementsInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
ExportAchievementsInternalServerError handles this case with default header values.
Internal Server Error
func NewExportAchievementsInternalServerError ¶
func NewExportAchievementsInternalServerError() *ExportAchievementsInternalServerError
NewExportAchievementsInternalServerError creates a ExportAchievementsInternalServerError with default headers values
func (*ExportAchievementsInternalServerError) Error ¶
func (o *ExportAchievementsInternalServerError) Error() string
func (*ExportAchievementsInternalServerError) GetPayload ¶
func (o *ExportAchievementsInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type ExportAchievementsOK ¶
type ExportAchievementsOK struct {
Payload []*achievementclientmodels.ModelsAchievement
}
ExportAchievementsOK handles this case with default header values.
OK
func NewExportAchievementsOK ¶
func NewExportAchievementsOK() *ExportAchievementsOK
NewExportAchievementsOK creates a ExportAchievementsOK with default headers values
func (*ExportAchievementsOK) Error ¶
func (o *ExportAchievementsOK) Error() string
func (*ExportAchievementsOK) GetPayload ¶
func (o *ExportAchievementsOK) GetPayload() []*achievementclientmodels.ModelsAchievement
type ExportAchievementsParams ¶
type ExportAchievementsParams struct { /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportAchievementsParams contains all the parameters to send to the API endpoint for the export achievements operation typically these are written to a http.Request
func NewExportAchievementsParams ¶
func NewExportAchievementsParams() *ExportAchievementsParams
NewExportAchievementsParams creates a new ExportAchievementsParams object with the default values initialized.
func NewExportAchievementsParamsWithContext ¶
func NewExportAchievementsParamsWithContext(ctx context.Context) *ExportAchievementsParams
NewExportAchievementsParamsWithContext creates a new ExportAchievementsParams object with the default values initialized, and the ability to set a context for a request
func NewExportAchievementsParamsWithHTTPClient ¶
func NewExportAchievementsParamsWithHTTPClient(client *http.Client) *ExportAchievementsParams
NewExportAchievementsParamsWithHTTPClient creates a new ExportAchievementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewExportAchievementsParamsWithTimeout ¶
func NewExportAchievementsParamsWithTimeout(timeout time.Duration) *ExportAchievementsParams
NewExportAchievementsParamsWithTimeout creates a new ExportAchievementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ExportAchievementsParams) SetContext ¶
func (o *ExportAchievementsParams) SetContext(ctx context.Context)
SetContext adds the context to the export achievements params
func (*ExportAchievementsParams) SetHTTPClient ¶
func (o *ExportAchievementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export achievements params
func (*ExportAchievementsParams) SetNamespace ¶
func (o *ExportAchievementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the export achievements params
func (*ExportAchievementsParams) SetTimeout ¶
func (o *ExportAchievementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export achievements params
func (*ExportAchievementsParams) WithContext ¶
func (o *ExportAchievementsParams) WithContext(ctx context.Context) *ExportAchievementsParams
WithContext adds the context to the export achievements params
func (*ExportAchievementsParams) WithHTTPClient ¶
func (o *ExportAchievementsParams) WithHTTPClient(client *http.Client) *ExportAchievementsParams
WithHTTPClient adds the HTTPClient to the export achievements params
func (*ExportAchievementsParams) WithNamespace ¶
func (o *ExportAchievementsParams) WithNamespace(namespace string) *ExportAchievementsParams
WithNamespace adds the namespace to the export achievements params
func (*ExportAchievementsParams) WithTimeout ¶
func (o *ExportAchievementsParams) WithTimeout(timeout time.Duration) *ExportAchievementsParams
WithTimeout adds the timeout to the export achievements params
func (*ExportAchievementsParams) WriteToRequest ¶
func (o *ExportAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportAchievementsReader ¶
type ExportAchievementsReader struct {
// contains filtered or unexported fields
}
ExportAchievementsReader is a Reader for the ExportAchievements structure.
func (*ExportAchievementsReader) ReadResponse ¶
func (o *ExportAchievementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportAchievementsUnauthorized ¶
type ExportAchievementsUnauthorized struct {
}ExportAchievementsUnauthorized handles this case with default header values.
Unauthorized
func NewExportAchievementsUnauthorized ¶
func NewExportAchievementsUnauthorized() *ExportAchievementsUnauthorized
NewExportAchievementsUnauthorized creates a ExportAchievementsUnauthorized with default headers values
func (*ExportAchievementsUnauthorized) Error ¶
func (o *ExportAchievementsUnauthorized) Error() string
func (*ExportAchievementsUnauthorized) GetPayload ¶
func (o *ExportAchievementsUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type ImportAchievementsForbidden ¶
type ImportAchievementsForbidden struct {
Payload *achievementclientmodels.ResponseError
}
ImportAchievementsForbidden handles this case with default header values.
Forbidden
func NewImportAchievementsForbidden ¶
func NewImportAchievementsForbidden() *ImportAchievementsForbidden
NewImportAchievementsForbidden creates a ImportAchievementsForbidden with default headers values
func (*ImportAchievementsForbidden) Error ¶
func (o *ImportAchievementsForbidden) Error() string
func (*ImportAchievementsForbidden) GetPayload ¶
func (o *ImportAchievementsForbidden) GetPayload() *achievementclientmodels.ResponseError
type ImportAchievementsInternalServerError ¶
type ImportAchievementsInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
ImportAchievementsInternalServerError handles this case with default header values.
Internal Server Error
func NewImportAchievementsInternalServerError ¶
func NewImportAchievementsInternalServerError() *ImportAchievementsInternalServerError
NewImportAchievementsInternalServerError creates a ImportAchievementsInternalServerError with default headers values
func (*ImportAchievementsInternalServerError) Error ¶
func (o *ImportAchievementsInternalServerError) Error() string
func (*ImportAchievementsInternalServerError) GetPayload ¶
func (o *ImportAchievementsInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type ImportAchievementsOK ¶
type ImportAchievementsOK struct {
Payload *achievementclientmodels.ServiceImportConfigResponse
}
ImportAchievementsOK handles this case with default header values.
OK
func NewImportAchievementsOK ¶
func NewImportAchievementsOK() *ImportAchievementsOK
NewImportAchievementsOK creates a ImportAchievementsOK with default headers values
func (*ImportAchievementsOK) Error ¶
func (o *ImportAchievementsOK) Error() string
func (*ImportAchievementsOK) GetPayload ¶
func (o *ImportAchievementsOK) GetPayload() *achievementclientmodels.ServiceImportConfigResponse
type ImportAchievementsParams ¶
type ImportAchievementsParams struct { /*File file to be imported */ File runtime.NamedReadCloser /*Namespace namespace of the game */ Namespace string /*Strategy strategy for import */ Strategy *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImportAchievementsParams contains all the parameters to send to the API endpoint for the import achievements operation typically these are written to a http.Request
func NewImportAchievementsParams ¶
func NewImportAchievementsParams() *ImportAchievementsParams
NewImportAchievementsParams creates a new ImportAchievementsParams object with the default values initialized.
func NewImportAchievementsParamsWithContext ¶
func NewImportAchievementsParamsWithContext(ctx context.Context) *ImportAchievementsParams
NewImportAchievementsParamsWithContext creates a new ImportAchievementsParams object with the default values initialized, and the ability to set a context for a request
func NewImportAchievementsParamsWithHTTPClient ¶
func NewImportAchievementsParamsWithHTTPClient(client *http.Client) *ImportAchievementsParams
NewImportAchievementsParamsWithHTTPClient creates a new ImportAchievementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewImportAchievementsParamsWithTimeout ¶
func NewImportAchievementsParamsWithTimeout(timeout time.Duration) *ImportAchievementsParams
NewImportAchievementsParamsWithTimeout creates a new ImportAchievementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ImportAchievementsParams) SetContext ¶
func (o *ImportAchievementsParams) SetContext(ctx context.Context)
SetContext adds the context to the import achievements params
func (*ImportAchievementsParams) SetFile ¶
func (o *ImportAchievementsParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the import achievements params
func (*ImportAchievementsParams) SetHTTPClient ¶
func (o *ImportAchievementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import achievements params
func (*ImportAchievementsParams) SetNamespace ¶
func (o *ImportAchievementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the import achievements params
func (*ImportAchievementsParams) SetStrategy ¶
func (o *ImportAchievementsParams) SetStrategy(strategy *string)
SetStrategy adds the strategy to the import achievements params
func (*ImportAchievementsParams) SetTimeout ¶
func (o *ImportAchievementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import achievements params
func (*ImportAchievementsParams) WithContext ¶
func (o *ImportAchievementsParams) WithContext(ctx context.Context) *ImportAchievementsParams
WithContext adds the context to the import achievements params
func (*ImportAchievementsParams) WithFile ¶
func (o *ImportAchievementsParams) WithFile(file runtime.NamedReadCloser) *ImportAchievementsParams
WithFile adds the file to the import achievements params
func (*ImportAchievementsParams) WithHTTPClient ¶
func (o *ImportAchievementsParams) WithHTTPClient(client *http.Client) *ImportAchievementsParams
WithHTTPClient adds the HTTPClient to the import achievements params
func (*ImportAchievementsParams) WithNamespace ¶
func (o *ImportAchievementsParams) WithNamespace(namespace string) *ImportAchievementsParams
WithNamespace adds the namespace to the import achievements params
func (*ImportAchievementsParams) WithStrategy ¶
func (o *ImportAchievementsParams) WithStrategy(strategy *string) *ImportAchievementsParams
WithStrategy adds the strategy to the import achievements params
func (*ImportAchievementsParams) WithTimeout ¶
func (o *ImportAchievementsParams) WithTimeout(timeout time.Duration) *ImportAchievementsParams
WithTimeout adds the timeout to the import achievements params
func (*ImportAchievementsParams) WriteToRequest ¶
func (o *ImportAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportAchievementsReader ¶
type ImportAchievementsReader struct {
// contains filtered or unexported fields
}
ImportAchievementsReader is a Reader for the ImportAchievements structure.
func (*ImportAchievementsReader) ReadResponse ¶
func (o *ImportAchievementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportAchievementsUnauthorized ¶
type ImportAchievementsUnauthorized struct {
}ImportAchievementsUnauthorized handles this case with default header values.
Unauthorized
func NewImportAchievementsUnauthorized ¶
func NewImportAchievementsUnauthorized() *ImportAchievementsUnauthorized
NewImportAchievementsUnauthorized creates a ImportAchievementsUnauthorized with default headers values
func (*ImportAchievementsUnauthorized) Error ¶
func (o *ImportAchievementsUnauthorized) Error() string
func (*ImportAchievementsUnauthorized) GetPayload ¶
func (o *ImportAchievementsUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type PublicGetAchievementBadRequest ¶
type PublicGetAchievementBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
PublicGetAchievementBadRequest handles this case with default header values.
Bad Request
func NewPublicGetAchievementBadRequest ¶
func NewPublicGetAchievementBadRequest() *PublicGetAchievementBadRequest
NewPublicGetAchievementBadRequest creates a PublicGetAchievementBadRequest with default headers values
func (*PublicGetAchievementBadRequest) Error ¶
func (o *PublicGetAchievementBadRequest) Error() string
func (*PublicGetAchievementBadRequest) GetPayload ¶
func (o *PublicGetAchievementBadRequest) GetPayload() *achievementclientmodels.ResponseError
type PublicGetAchievementInternalServerError ¶
type PublicGetAchievementInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
PublicGetAchievementInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicGetAchievementInternalServerError ¶
func NewPublicGetAchievementInternalServerError() *PublicGetAchievementInternalServerError
NewPublicGetAchievementInternalServerError creates a PublicGetAchievementInternalServerError with default headers values
func (*PublicGetAchievementInternalServerError) Error ¶
func (o *PublicGetAchievementInternalServerError) Error() string
func (*PublicGetAchievementInternalServerError) GetPayload ¶
func (o *PublicGetAchievementInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type PublicGetAchievementNotFound ¶
type PublicGetAchievementNotFound struct {
Payload *achievementclientmodels.ResponseError
}
PublicGetAchievementNotFound handles this case with default header values.
Not Found
func NewPublicGetAchievementNotFound ¶
func NewPublicGetAchievementNotFound() *PublicGetAchievementNotFound
NewPublicGetAchievementNotFound creates a PublicGetAchievementNotFound with default headers values
func (*PublicGetAchievementNotFound) Error ¶
func (o *PublicGetAchievementNotFound) Error() string
func (*PublicGetAchievementNotFound) GetPayload ¶
func (o *PublicGetAchievementNotFound) GetPayload() *achievementclientmodels.ResponseError
type PublicGetAchievementOK ¶
type PublicGetAchievementOK struct {
Payload *achievementclientmodels.ModelsPublicAchievementResponse
}
PublicGetAchievementOK handles this case with default header values.
OK
func NewPublicGetAchievementOK ¶
func NewPublicGetAchievementOK() *PublicGetAchievementOK
NewPublicGetAchievementOK creates a PublicGetAchievementOK with default headers values
func (*PublicGetAchievementOK) Error ¶
func (o *PublicGetAchievementOK) Error() string
func (*PublicGetAchievementOK) GetPayload ¶
func (o *PublicGetAchievementOK) GetPayload() *achievementclientmodels.ModelsPublicAchievementResponse
type PublicGetAchievementParams ¶
type PublicGetAchievementParams struct { /*AchievementCode achievement code */ AchievementCode string /*Language language, if the selected language not exist in achievement,it use default language */ Language string /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetAchievementParams contains all the parameters to send to the API endpoint for the public get achievement operation typically these are written to a http.Request
func NewPublicGetAchievementParams ¶
func NewPublicGetAchievementParams() *PublicGetAchievementParams
NewPublicGetAchievementParams creates a new PublicGetAchievementParams object with the default values initialized.
func NewPublicGetAchievementParamsWithContext ¶
func NewPublicGetAchievementParamsWithContext(ctx context.Context) *PublicGetAchievementParams
NewPublicGetAchievementParamsWithContext creates a new PublicGetAchievementParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetAchievementParamsWithHTTPClient ¶
func NewPublicGetAchievementParamsWithHTTPClient(client *http.Client) *PublicGetAchievementParams
NewPublicGetAchievementParamsWithHTTPClient creates a new PublicGetAchievementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetAchievementParamsWithTimeout ¶
func NewPublicGetAchievementParamsWithTimeout(timeout time.Duration) *PublicGetAchievementParams
NewPublicGetAchievementParamsWithTimeout creates a new PublicGetAchievementParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetAchievementParams) SetAchievementCode ¶
func (o *PublicGetAchievementParams) SetAchievementCode(achievementCode string)
SetAchievementCode adds the achievementCode to the public get achievement params
func (*PublicGetAchievementParams) SetContext ¶
func (o *PublicGetAchievementParams) SetContext(ctx context.Context)
SetContext adds the context to the public get achievement params
func (*PublicGetAchievementParams) SetHTTPClient ¶
func (o *PublicGetAchievementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get achievement params
func (*PublicGetAchievementParams) SetLanguage ¶
func (o *PublicGetAchievementParams) SetLanguage(language string)
SetLanguage adds the language to the public get achievement params
func (*PublicGetAchievementParams) SetNamespace ¶
func (o *PublicGetAchievementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get achievement params
func (*PublicGetAchievementParams) SetTimeout ¶
func (o *PublicGetAchievementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get achievement params
func (*PublicGetAchievementParams) WithAchievementCode ¶
func (o *PublicGetAchievementParams) WithAchievementCode(achievementCode string) *PublicGetAchievementParams
WithAchievementCode adds the achievementCode to the public get achievement params
func (*PublicGetAchievementParams) WithContext ¶
func (o *PublicGetAchievementParams) WithContext(ctx context.Context) *PublicGetAchievementParams
WithContext adds the context to the public get achievement params
func (*PublicGetAchievementParams) WithHTTPClient ¶
func (o *PublicGetAchievementParams) WithHTTPClient(client *http.Client) *PublicGetAchievementParams
WithHTTPClient adds the HTTPClient to the public get achievement params
func (*PublicGetAchievementParams) WithLanguage ¶
func (o *PublicGetAchievementParams) WithLanguage(language string) *PublicGetAchievementParams
WithLanguage adds the language to the public get achievement params
func (*PublicGetAchievementParams) WithNamespace ¶
func (o *PublicGetAchievementParams) WithNamespace(namespace string) *PublicGetAchievementParams
WithNamespace adds the namespace to the public get achievement params
func (*PublicGetAchievementParams) WithTimeout ¶
func (o *PublicGetAchievementParams) WithTimeout(timeout time.Duration) *PublicGetAchievementParams
WithTimeout adds the timeout to the public get achievement params
func (*PublicGetAchievementParams) WriteToRequest ¶
func (o *PublicGetAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetAchievementReader ¶
type PublicGetAchievementReader struct {
// contains filtered or unexported fields
}
PublicGetAchievementReader is a Reader for the PublicGetAchievement structure.
func (*PublicGetAchievementReader) ReadResponse ¶
func (o *PublicGetAchievementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetAchievementUnauthorized ¶
type PublicGetAchievementUnauthorized struct {
}PublicGetAchievementUnauthorized handles this case with default header values.
Unauthorized
func NewPublicGetAchievementUnauthorized ¶
func NewPublicGetAchievementUnauthorized() *PublicGetAchievementUnauthorized
NewPublicGetAchievementUnauthorized creates a PublicGetAchievementUnauthorized with default headers values
func (*PublicGetAchievementUnauthorized) Error ¶
func (o *PublicGetAchievementUnauthorized) Error() string
func (*PublicGetAchievementUnauthorized) GetPayload ¶
func (o *PublicGetAchievementUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type PublicListAchievementsBadRequest ¶
type PublicListAchievementsBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
PublicListAchievementsBadRequest handles this case with default header values.
Bad Request
func NewPublicListAchievementsBadRequest ¶
func NewPublicListAchievementsBadRequest() *PublicListAchievementsBadRequest
NewPublicListAchievementsBadRequest creates a PublicListAchievementsBadRequest with default headers values
func (*PublicListAchievementsBadRequest) Error ¶
func (o *PublicListAchievementsBadRequest) Error() string
func (*PublicListAchievementsBadRequest) GetPayload ¶
func (o *PublicListAchievementsBadRequest) GetPayload() *achievementclientmodels.ResponseError
type PublicListAchievementsInternalServerError ¶
type PublicListAchievementsInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
PublicListAchievementsInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicListAchievementsInternalServerError ¶
func NewPublicListAchievementsInternalServerError() *PublicListAchievementsInternalServerError
NewPublicListAchievementsInternalServerError creates a PublicListAchievementsInternalServerError with default headers values
func (*PublicListAchievementsInternalServerError) Error ¶
func (o *PublicListAchievementsInternalServerError) Error() string
func (*PublicListAchievementsInternalServerError) GetPayload ¶
func (o *PublicListAchievementsInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type PublicListAchievementsNotFound ¶
type PublicListAchievementsNotFound struct {
Payload *achievementclientmodels.ResponseError
}
PublicListAchievementsNotFound handles this case with default header values.
Not Found
func NewPublicListAchievementsNotFound ¶
func NewPublicListAchievementsNotFound() *PublicListAchievementsNotFound
NewPublicListAchievementsNotFound creates a PublicListAchievementsNotFound with default headers values
func (*PublicListAchievementsNotFound) Error ¶
func (o *PublicListAchievementsNotFound) Error() string
func (*PublicListAchievementsNotFound) GetPayload ¶
func (o *PublicListAchievementsNotFound) GetPayload() *achievementclientmodels.ResponseError
type PublicListAchievementsOK ¶
type PublicListAchievementsOK struct {
Payload *achievementclientmodels.ModelsPublicAchievementsResponse
}
PublicListAchievementsOK handles this case with default header values.
OK
func NewPublicListAchievementsOK ¶
func NewPublicListAchievementsOK() *PublicListAchievementsOK
NewPublicListAchievementsOK creates a PublicListAchievementsOK with default headers values
func (*PublicListAchievementsOK) Error ¶
func (o *PublicListAchievementsOK) Error() string
func (*PublicListAchievementsOK) GetPayload ¶
func (o *PublicListAchievementsOK) GetPayload() *achievementclientmodels.ModelsPublicAchievementsResponse
type PublicListAchievementsParams ¶
type PublicListAchievementsParams struct { /*Language language, if the selected language not exist in achievement,it use default language */ Language string /*Limit the maximum number of data that may be returned (1...100) */ Limit *int64 /*Namespace namespace of the game */ Namespace string /*Offset offset default 0 */ Offset *int64 /*SortBy sort by, default is 'listOrder:asc', allow values: [listOrder, listOrder:asc, listOrder:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc] */ SortBy *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicListAchievementsParams contains all the parameters to send to the API endpoint for the public list achievements operation typically these are written to a http.Request
func NewPublicListAchievementsParams ¶
func NewPublicListAchievementsParams() *PublicListAchievementsParams
NewPublicListAchievementsParams creates a new PublicListAchievementsParams object with the default values initialized.
func NewPublicListAchievementsParamsWithContext ¶
func NewPublicListAchievementsParamsWithContext(ctx context.Context) *PublicListAchievementsParams
NewPublicListAchievementsParamsWithContext creates a new PublicListAchievementsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicListAchievementsParamsWithHTTPClient ¶
func NewPublicListAchievementsParamsWithHTTPClient(client *http.Client) *PublicListAchievementsParams
NewPublicListAchievementsParamsWithHTTPClient creates a new PublicListAchievementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicListAchievementsParamsWithTimeout ¶
func NewPublicListAchievementsParamsWithTimeout(timeout time.Duration) *PublicListAchievementsParams
NewPublicListAchievementsParamsWithTimeout creates a new PublicListAchievementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicListAchievementsParams) SetContext ¶
func (o *PublicListAchievementsParams) SetContext(ctx context.Context)
SetContext adds the context to the public list achievements params
func (*PublicListAchievementsParams) SetHTTPClient ¶
func (o *PublicListAchievementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public list achievements params
func (*PublicListAchievementsParams) SetLanguage ¶
func (o *PublicListAchievementsParams) SetLanguage(language string)
SetLanguage adds the language to the public list achievements params
func (*PublicListAchievementsParams) SetLimit ¶
func (o *PublicListAchievementsParams) SetLimit(limit *int64)
SetLimit adds the limit to the public list achievements params
func (*PublicListAchievementsParams) SetNamespace ¶
func (o *PublicListAchievementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public list achievements params
func (*PublicListAchievementsParams) SetOffset ¶
func (o *PublicListAchievementsParams) SetOffset(offset *int64)
SetOffset adds the offset to the public list achievements params
func (*PublicListAchievementsParams) SetSortBy ¶
func (o *PublicListAchievementsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the public list achievements params
func (*PublicListAchievementsParams) SetTimeout ¶
func (o *PublicListAchievementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public list achievements params
func (*PublicListAchievementsParams) WithContext ¶
func (o *PublicListAchievementsParams) WithContext(ctx context.Context) *PublicListAchievementsParams
WithContext adds the context to the public list achievements params
func (*PublicListAchievementsParams) WithHTTPClient ¶
func (o *PublicListAchievementsParams) WithHTTPClient(client *http.Client) *PublicListAchievementsParams
WithHTTPClient adds the HTTPClient to the public list achievements params
func (*PublicListAchievementsParams) WithLanguage ¶
func (o *PublicListAchievementsParams) WithLanguage(language string) *PublicListAchievementsParams
WithLanguage adds the language to the public list achievements params
func (*PublicListAchievementsParams) WithLimit ¶
func (o *PublicListAchievementsParams) WithLimit(limit *int64) *PublicListAchievementsParams
WithLimit adds the limit to the public list achievements params
func (*PublicListAchievementsParams) WithNamespace ¶
func (o *PublicListAchievementsParams) WithNamespace(namespace string) *PublicListAchievementsParams
WithNamespace adds the namespace to the public list achievements params
func (*PublicListAchievementsParams) WithOffset ¶
func (o *PublicListAchievementsParams) WithOffset(offset *int64) *PublicListAchievementsParams
WithOffset adds the offset to the public list achievements params
func (*PublicListAchievementsParams) WithSortBy ¶
func (o *PublicListAchievementsParams) WithSortBy(sortBy *string) *PublicListAchievementsParams
WithSortBy adds the sortBy to the public list achievements params
func (*PublicListAchievementsParams) WithTimeout ¶
func (o *PublicListAchievementsParams) WithTimeout(timeout time.Duration) *PublicListAchievementsParams
WithTimeout adds the timeout to the public list achievements params
func (*PublicListAchievementsParams) WriteToRequest ¶
func (o *PublicListAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicListAchievementsReader ¶
type PublicListAchievementsReader struct {
// contains filtered or unexported fields
}
PublicListAchievementsReader is a Reader for the PublicListAchievements structure.
func (*PublicListAchievementsReader) ReadResponse ¶
func (o *PublicListAchievementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicListAchievementsUnauthorized ¶
type PublicListAchievementsUnauthorized struct {
}PublicListAchievementsUnauthorized handles this case with default header values.
Unauthorized
func NewPublicListAchievementsUnauthorized ¶
func NewPublicListAchievementsUnauthorized() *PublicListAchievementsUnauthorized
NewPublicListAchievementsUnauthorized creates a PublicListAchievementsUnauthorized with default headers values
func (*PublicListAchievementsUnauthorized) Error ¶
func (o *PublicListAchievementsUnauthorized) Error() string
func (*PublicListAchievementsUnauthorized) GetPayload ¶
func (o *PublicListAchievementsUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type PublicListUserAchievementsBadRequest ¶
type PublicListUserAchievementsBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
PublicListUserAchievementsBadRequest handles this case with default header values.
Bad Request
func NewPublicListUserAchievementsBadRequest ¶
func NewPublicListUserAchievementsBadRequest() *PublicListUserAchievementsBadRequest
NewPublicListUserAchievementsBadRequest creates a PublicListUserAchievementsBadRequest with default headers values
func (*PublicListUserAchievementsBadRequest) Error ¶
func (o *PublicListUserAchievementsBadRequest) Error() string
func (*PublicListUserAchievementsBadRequest) GetPayload ¶
func (o *PublicListUserAchievementsBadRequest) GetPayload() *achievementclientmodels.ResponseError
type PublicListUserAchievementsInternalServerError ¶
type PublicListUserAchievementsInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
PublicListUserAchievementsInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicListUserAchievementsInternalServerError ¶
func NewPublicListUserAchievementsInternalServerError() *PublicListUserAchievementsInternalServerError
NewPublicListUserAchievementsInternalServerError creates a PublicListUserAchievementsInternalServerError with default headers values
func (*PublicListUserAchievementsInternalServerError) Error ¶
func (o *PublicListUserAchievementsInternalServerError) Error() string
func (*PublicListUserAchievementsInternalServerError) GetPayload ¶
func (o *PublicListUserAchievementsInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type PublicListUserAchievementsNotFound ¶
type PublicListUserAchievementsNotFound struct {
Payload *achievementclientmodels.ResponseError
}
PublicListUserAchievementsNotFound handles this case with default header values.
Not Found
func NewPublicListUserAchievementsNotFound ¶
func NewPublicListUserAchievementsNotFound() *PublicListUserAchievementsNotFound
NewPublicListUserAchievementsNotFound creates a PublicListUserAchievementsNotFound with default headers values
func (*PublicListUserAchievementsNotFound) Error ¶
func (o *PublicListUserAchievementsNotFound) Error() string
func (*PublicListUserAchievementsNotFound) GetPayload ¶
func (o *PublicListUserAchievementsNotFound) GetPayload() *achievementclientmodels.ResponseError
type PublicListUserAchievementsOK ¶
type PublicListUserAchievementsOK struct {
Payload *achievementclientmodels.ModelsPaginatedUserAchievementResponse
}
PublicListUserAchievementsOK handles this case with default header values.
OK
func NewPublicListUserAchievementsOK ¶
func NewPublicListUserAchievementsOK() *PublicListUserAchievementsOK
NewPublicListUserAchievementsOK creates a PublicListUserAchievementsOK with default headers values
func (*PublicListUserAchievementsOK) Error ¶
func (o *PublicListUserAchievementsOK) Error() string
func (*PublicListUserAchievementsOK) GetPayload ¶
func (o *PublicListUserAchievementsOK) GetPayload() *achievementclientmodels.ModelsPaginatedUserAchievementResponse
type PublicListUserAchievementsParams ¶
type PublicListUserAchievementsParams struct { /*Limit the maximum number of data that may be returned (1...100) */ Limit *int64 /*Namespace namespace of the game */ Namespace string /*Offset offset default 0 */ Offset *int64 /*PreferUnlocked prefer to query achieved */ PreferUnlocked *bool /*UserID user id */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicListUserAchievementsParams contains all the parameters to send to the API endpoint for the public list user achievements operation typically these are written to a http.Request
func NewPublicListUserAchievementsParams ¶
func NewPublicListUserAchievementsParams() *PublicListUserAchievementsParams
NewPublicListUserAchievementsParams creates a new PublicListUserAchievementsParams object with the default values initialized.
func NewPublicListUserAchievementsParamsWithContext ¶
func NewPublicListUserAchievementsParamsWithContext(ctx context.Context) *PublicListUserAchievementsParams
NewPublicListUserAchievementsParamsWithContext creates a new PublicListUserAchievementsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicListUserAchievementsParamsWithHTTPClient ¶
func NewPublicListUserAchievementsParamsWithHTTPClient(client *http.Client) *PublicListUserAchievementsParams
NewPublicListUserAchievementsParamsWithHTTPClient creates a new PublicListUserAchievementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicListUserAchievementsParamsWithTimeout ¶
func NewPublicListUserAchievementsParamsWithTimeout(timeout time.Duration) *PublicListUserAchievementsParams
NewPublicListUserAchievementsParamsWithTimeout creates a new PublicListUserAchievementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicListUserAchievementsParams) SetContext ¶
func (o *PublicListUserAchievementsParams) SetContext(ctx context.Context)
SetContext adds the context to the public list user achievements params
func (*PublicListUserAchievementsParams) SetHTTPClient ¶
func (o *PublicListUserAchievementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public list user achievements params
func (*PublicListUserAchievementsParams) SetLimit ¶
func (o *PublicListUserAchievementsParams) SetLimit(limit *int64)
SetLimit adds the limit to the public list user achievements params
func (*PublicListUserAchievementsParams) SetNamespace ¶
func (o *PublicListUserAchievementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public list user achievements params
func (*PublicListUserAchievementsParams) SetOffset ¶
func (o *PublicListUserAchievementsParams) SetOffset(offset *int64)
SetOffset adds the offset to the public list user achievements params
func (*PublicListUserAchievementsParams) SetPreferUnlocked ¶
func (o *PublicListUserAchievementsParams) SetPreferUnlocked(preferUnlocked *bool)
SetPreferUnlocked adds the preferUnlocked to the public list user achievements params
func (*PublicListUserAchievementsParams) SetTimeout ¶
func (o *PublicListUserAchievementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public list user achievements params
func (*PublicListUserAchievementsParams) SetUserID ¶
func (o *PublicListUserAchievementsParams) SetUserID(userID string)
SetUserID adds the userId to the public list user achievements params
func (*PublicListUserAchievementsParams) WithContext ¶
func (o *PublicListUserAchievementsParams) WithContext(ctx context.Context) *PublicListUserAchievementsParams
WithContext adds the context to the public list user achievements params
func (*PublicListUserAchievementsParams) WithHTTPClient ¶
func (o *PublicListUserAchievementsParams) WithHTTPClient(client *http.Client) *PublicListUserAchievementsParams
WithHTTPClient adds the HTTPClient to the public list user achievements params
func (*PublicListUserAchievementsParams) WithLimit ¶
func (o *PublicListUserAchievementsParams) WithLimit(limit *int64) *PublicListUserAchievementsParams
WithLimit adds the limit to the public list user achievements params
func (*PublicListUserAchievementsParams) WithNamespace ¶
func (o *PublicListUserAchievementsParams) WithNamespace(namespace string) *PublicListUserAchievementsParams
WithNamespace adds the namespace to the public list user achievements params
func (*PublicListUserAchievementsParams) WithOffset ¶
func (o *PublicListUserAchievementsParams) WithOffset(offset *int64) *PublicListUserAchievementsParams
WithOffset adds the offset to the public list user achievements params
func (*PublicListUserAchievementsParams) WithPreferUnlocked ¶
func (o *PublicListUserAchievementsParams) WithPreferUnlocked(preferUnlocked *bool) *PublicListUserAchievementsParams
WithPreferUnlocked adds the preferUnlocked to the public list user achievements params
func (*PublicListUserAchievementsParams) WithTimeout ¶
func (o *PublicListUserAchievementsParams) WithTimeout(timeout time.Duration) *PublicListUserAchievementsParams
WithTimeout adds the timeout to the public list user achievements params
func (*PublicListUserAchievementsParams) WithUserID ¶
func (o *PublicListUserAchievementsParams) WithUserID(userID string) *PublicListUserAchievementsParams
WithUserID adds the userID to the public list user achievements params
func (*PublicListUserAchievementsParams) WriteToRequest ¶
func (o *PublicListUserAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicListUserAchievementsReader ¶
type PublicListUserAchievementsReader struct {
// contains filtered or unexported fields
}
PublicListUserAchievementsReader is a Reader for the PublicListUserAchievements structure.
func (*PublicListUserAchievementsReader) ReadResponse ¶
func (o *PublicListUserAchievementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicListUserAchievementsUnauthorized ¶
type PublicListUserAchievementsUnauthorized struct {
}PublicListUserAchievementsUnauthorized handles this case with default header values.
Unauthorized
func NewPublicListUserAchievementsUnauthorized ¶
func NewPublicListUserAchievementsUnauthorized() *PublicListUserAchievementsUnauthorized
NewPublicListUserAchievementsUnauthorized creates a PublicListUserAchievementsUnauthorized with default headers values
func (*PublicListUserAchievementsUnauthorized) Error ¶
func (o *PublicListUserAchievementsUnauthorized) Error() string
func (*PublicListUserAchievementsUnauthorized) GetPayload ¶
func (o *PublicListUserAchievementsUnauthorized) GetPayload() *achievementclientmodels.ResponseError
type PublicUnlockAchievementBadRequest ¶
type PublicUnlockAchievementBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
PublicUnlockAchievementBadRequest handles this case with default header values.
Bad Request
func NewPublicUnlockAchievementBadRequest ¶
func NewPublicUnlockAchievementBadRequest() *PublicUnlockAchievementBadRequest
NewPublicUnlockAchievementBadRequest creates a PublicUnlockAchievementBadRequest with default headers values
func (*PublicUnlockAchievementBadRequest) Error ¶
func (o *PublicUnlockAchievementBadRequest) Error() string
func (*PublicUnlockAchievementBadRequest) GetPayload ¶
func (o *PublicUnlockAchievementBadRequest) GetPayload() *achievementclientmodels.ResponseError
type PublicUnlockAchievementInternalServerError ¶
type PublicUnlockAchievementInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
PublicUnlockAchievementInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicUnlockAchievementInternalServerError ¶
func NewPublicUnlockAchievementInternalServerError() *PublicUnlockAchievementInternalServerError
NewPublicUnlockAchievementInternalServerError creates a PublicUnlockAchievementInternalServerError with default headers values
func (*PublicUnlockAchievementInternalServerError) Error ¶
func (o *PublicUnlockAchievementInternalServerError) Error() string
func (*PublicUnlockAchievementInternalServerError) GetPayload ¶
func (o *PublicUnlockAchievementInternalServerError) GetPayload() *achievementclientmodels.ResponseError
type PublicUnlockAchievementNoContent ¶
type PublicUnlockAchievementNoContent struct { }
PublicUnlockAchievementNoContent handles this case with default header values.
No Content
func NewPublicUnlockAchievementNoContent ¶
func NewPublicUnlockAchievementNoContent() *PublicUnlockAchievementNoContent
NewPublicUnlockAchievementNoContent creates a PublicUnlockAchievementNoContent with default headers values
func (*PublicUnlockAchievementNoContent) Error ¶
func (o *PublicUnlockAchievementNoContent) Error() string
type PublicUnlockAchievementParams ¶
type PublicUnlockAchievementParams struct { /*AchievementCode achievement code */ AchievementCode string /*Namespace namespace of the game */ Namespace string /*UserID user id */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicUnlockAchievementParams contains all the parameters to send to the API endpoint for the public unlock achievement operation typically these are written to a http.Request
func NewPublicUnlockAchievementParams ¶
func NewPublicUnlockAchievementParams() *PublicUnlockAchievementParams
NewPublicUnlockAchievementParams creates a new PublicUnlockAchievementParams object with the default values initialized.
func NewPublicUnlockAchievementParamsWithContext ¶
func NewPublicUnlockAchievementParamsWithContext(ctx context.Context) *PublicUnlockAchievementParams
NewPublicUnlockAchievementParamsWithContext creates a new PublicUnlockAchievementParams object with the default values initialized, and the ability to set a context for a request
func NewPublicUnlockAchievementParamsWithHTTPClient ¶
func NewPublicUnlockAchievementParamsWithHTTPClient(client *http.Client) *PublicUnlockAchievementParams
NewPublicUnlockAchievementParamsWithHTTPClient creates a new PublicUnlockAchievementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicUnlockAchievementParamsWithTimeout ¶
func NewPublicUnlockAchievementParamsWithTimeout(timeout time.Duration) *PublicUnlockAchievementParams
NewPublicUnlockAchievementParamsWithTimeout creates a new PublicUnlockAchievementParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicUnlockAchievementParams) SetAchievementCode ¶
func (o *PublicUnlockAchievementParams) SetAchievementCode(achievementCode string)
SetAchievementCode adds the achievementCode to the public unlock achievement params
func (*PublicUnlockAchievementParams) SetContext ¶
func (o *PublicUnlockAchievementParams) SetContext(ctx context.Context)
SetContext adds the context to the public unlock achievement params
func (*PublicUnlockAchievementParams) SetHTTPClient ¶
func (o *PublicUnlockAchievementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public unlock achievement params
func (*PublicUnlockAchievementParams) SetNamespace ¶
func (o *PublicUnlockAchievementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public unlock achievement params
func (*PublicUnlockAchievementParams) SetTimeout ¶
func (o *PublicUnlockAchievementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public unlock achievement params
func (*PublicUnlockAchievementParams) SetUserID ¶
func (o *PublicUnlockAchievementParams) SetUserID(userID string)
SetUserID adds the userId to the public unlock achievement params
func (*PublicUnlockAchievementParams) WithAchievementCode ¶
func (o *PublicUnlockAchievementParams) WithAchievementCode(achievementCode string) *PublicUnlockAchievementParams
WithAchievementCode adds the achievementCode to the public unlock achievement params
func (*PublicUnlockAchievementParams) WithContext ¶
func (o *PublicUnlockAchievementParams) WithContext(ctx context.Context) *PublicUnlockAchievementParams
WithContext adds the context to the public unlock achievement params
func (*PublicUnlockAchievementParams) WithHTTPClient ¶
func (o *PublicUnlockAchievementParams) WithHTTPClient(client *http.Client) *PublicUnlockAchievementParams
WithHTTPClient adds the HTTPClient to the public unlock achievement params
func (*PublicUnlockAchievementParams) WithNamespace ¶
func (o *PublicUnlockAchievementParams) WithNamespace(namespace string) *PublicUnlockAchievementParams
WithNamespace adds the namespace to the public unlock achievement params
func (*PublicUnlockAchievementParams) WithTimeout ¶
func (o *PublicUnlockAchievementParams) WithTimeout(timeout time.Duration) *PublicUnlockAchievementParams
WithTimeout adds the timeout to the public unlock achievement params
func (*PublicUnlockAchievementParams) WithUserID ¶
func (o *PublicUnlockAchievementParams) WithUserID(userID string) *PublicUnlockAchievementParams
WithUserID adds the userID to the public unlock achievement params
func (*PublicUnlockAchievementParams) WriteToRequest ¶
func (o *PublicUnlockAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicUnlockAchievementReader ¶
type PublicUnlockAchievementReader struct {
// contains filtered or unexported fields
}
PublicUnlockAchievementReader is a Reader for the PublicUnlockAchievement structure.
func (*PublicUnlockAchievementReader) ReadResponse ¶
func (o *PublicUnlockAchievementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicUnlockAchievementUnauthorized ¶
type PublicUnlockAchievementUnauthorized struct {
}PublicUnlockAchievementUnauthorized handles this case with default header values.
Unauthorized
func NewPublicUnlockAchievementUnauthorized ¶
func NewPublicUnlockAchievementUnauthorized() *PublicUnlockAchievementUnauthorized
NewPublicUnlockAchievementUnauthorized creates a PublicUnlockAchievementUnauthorized with default headers values
func (*PublicUnlockAchievementUnauthorized) Error ¶
func (o *PublicUnlockAchievementUnauthorized) Error() string
func (*PublicUnlockAchievementUnauthorized) GetPayload ¶
func (o *PublicUnlockAchievementUnauthorized) GetPayload() *achievementclientmodels.ResponseError
Source Files ¶
- achievements_client.go
- admin_create_new_achievement_parameters.go
- admin_create_new_achievement_responses.go
- admin_delete_achievement_parameters.go
- admin_delete_achievement_responses.go
- admin_get_achievement_parameters.go
- admin_get_achievement_responses.go
- admin_list_achievements_parameters.go
- admin_list_achievements_responses.go
- admin_list_user_achievements_parameters.go
- admin_list_user_achievements_responses.go
- admin_unlock_achievement_parameters.go
- admin_unlock_achievement_responses.go
- admin_update_achievement_list_order_parameters.go
- admin_update_achievement_list_order_responses.go
- admin_update_achievement_parameters.go
- admin_update_achievement_responses.go
- export_achievements_parameters.go
- export_achievements_responses.go
- import_achievements_parameters.go
- import_achievements_responses.go
- public_get_achievement_parameters.go
- public_get_achievement_responses.go
- public_list_achievements_parameters.go
- public_list_achievements_responses.go
- public_list_user_achievements_parameters.go
- public_list_user_achievements_responses.go
- public_unlock_achievement_parameters.go
- public_unlock_achievement_responses.go