Documentation
¶
Index ¶
- Constants
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminCreateNewAchievementParams) SetBody(body *achievementclientmodels.ModelsAchievementRequest)
- func (o *AdminCreateNewAchievementParams) SetContext(ctx context.Context)
- func (o *AdminCreateNewAchievementParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateNewAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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 AdminCreateNewAchievementTooManyRequests
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteAchievementParams) SetContext(ctx context.Context)
- func (o *AdminDeleteAchievementParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetAchievementParams) SetContext(ctx context.Context)
- func (o *AdminGetAchievementParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListAchievementsParams) SetContext(ctx context.Context)
- func (o *AdminListAchievementsParams) SetGlobal(global *bool)
- func (o *AdminListAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetTags(tags []string)
- func (o *AdminListAchievementsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListAchievementsParams) WithContext(ctx context.Context) *AdminListAchievementsParams
- func (o *AdminListAchievementsParams) WithGlobal(global *bool) *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) WithTags(tags []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 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateAchievementListOrderParams) SetBody(body *achievementclientmodels.ModelsAchievementOrderUpdateRequest)
- func (o *AdminUpdateAchievementListOrderParams) SetContext(ctx context.Context)
- func (o *AdminUpdateAchievementListOrderParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateAchievementListOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateAchievementParams) SetBody(body *achievementclientmodels.ModelsAchievementUpdateRequest)
- func (o *AdminUpdateAchievementParams) SetContext(ctx context.Context)
- func (o *AdminUpdateAchievementParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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, ...)deprecated
- func (a *Client) AdminCreateNewAchievementShort(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, error)
- func (a *Client) AdminDeleteAchievement(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, *AdminDeleteAchievementBadRequest, ...)deprecated
- func (a *Client) AdminDeleteAchievementShort(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, error)
- func (a *Client) AdminGetAchievement(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, *AdminGetAchievementBadRequest, ...)deprecated
- func (a *Client) AdminGetAchievementShort(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, error)
- func (a *Client) AdminListAchievements(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, *AdminListAchievementsBadRequest, ...)deprecated
- func (a *Client) AdminListAchievementsShort(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, error)
- func (a *Client) AdminUpdateAchievement(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, *AdminUpdateAchievementBadRequest, ...)deprecated
- func (a *Client) AdminUpdateAchievementListOrder(params *AdminUpdateAchievementListOrderParams, ...) (*AdminUpdateAchievementListOrderNoContent, ...)deprecated
- 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, ...)deprecated
- func (a *Client) ExportAchievementsShort(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportAchievementsOK, error)
- func (a *Client) ImportAchievements(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, *ImportAchievementsUnauthorized, ...)deprecated
- func (a *Client) ImportAchievementsShort(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, error)
- func (a *Client) PublicGetAchievement(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, *PublicGetAchievementBadRequest, ...)deprecated
- func (a *Client) PublicGetAchievementShort(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, error)
- func (a *Client) PublicListAchievements(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, *PublicListAchievementsBadRequest, ...)deprecated
- func (a *Client) PublicListAchievementsShort(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ExportAchievementsParams) SetContext(ctx context.Context)
- func (o *ExportAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *ExportAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ExportAchievementsParams) SetNamespace(namespace string)
- func (o *ExportAchievementsParams) SetTags(tags []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) WithTags(tags []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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ImportAchievementsParams) SetContext(ctx context.Context)
- func (o *ImportAchievementsParams) SetFile(file runtime.NamedReadCloser)
- func (o *ImportAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *ImportAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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 ImportAchievementsTooManyRequests
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetAchievementParams) SetContext(ctx context.Context)
- func (o *PublicGetAchievementParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListAchievementsParams) SetContext(ctx context.Context)
- func (o *PublicListAchievementsParams) SetGlobal(global *bool)
- func (o *PublicListAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *PublicListAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetTags(tags []string)
- func (o *PublicListAchievementsParams) SetTimeout(timeout time.Duration)
- func (o *PublicListAchievementsParams) WithContext(ctx context.Context) *PublicListAchievementsParams
- func (o *PublicListAchievementsParams) WithGlobal(global *bool) *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) WithTags(tags []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
Constants ¶
const ( AdminListAchievementsListOrderConstant = "listOrder" AdminListAchievementsListOrderAscConstant = "listOrder:asc" AdminListAchievementsListOrderDescConstant = "listOrder:desc" AdminListAchievementsCreatedAtConstant = "createdAt" AdminListAchievementsCreatedAtAscConstant = "createdAt:asc" AdminListAchievementsCreatedAtDescConstant = "createdAt:desc" AdminListAchievementsUpdatedAtConstant = "updatedAt" AdminListAchievementsUpdatedAtAscConstant = "updatedAt:asc" AdminListAchievementsUpdatedAtDescConstant = "updatedAt:desc" )
Get the enum in AdminListAchievementsParams
const ( PublicListAchievementsListOrderConstant = "listOrder" PublicListAchievementsListOrderAscConstant = "listOrder:asc" PublicListAchievementsListOrderDescConstant = "listOrder:desc" PublicListAchievementsCreatedAtConstant = "createdAt" PublicListAchievementsCreatedAtAscConstant = "createdAt:asc" PublicListAchievementsCreatedAtDescConstant = "createdAt:desc" PublicListAchievementsUpdatedAtConstant = "updatedAt" PublicListAchievementsUpdatedAtAscConstant = "updatedAt:asc" PublicListAchievementsUpdatedAtDescConstant = "updatedAt:desc" )
Get the enum in PublicListAchievementsParams
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
func (*AdminCreateNewAchievementBadRequest) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateNewAchievementBadRequest) ToJSONString() string
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
func (*AdminCreateNewAchievementCreated) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateNewAchievementCreated) ToJSONString() string
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
func (*AdminCreateNewAchievementInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateNewAchievementInternalServerError) ToJSONString() string
type AdminCreateNewAchievementParams ¶
type AdminCreateNewAchievementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *achievementclientmodels.ModelsAchievementRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter 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) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminCreateNewAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin create new achievement params
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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminCreateNewAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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 AdminCreateNewAchievementTooManyRequests ¶ added in v0.36.0
type AdminCreateNewAchievementTooManyRequests struct {
Payload *achievementclientmodels.ResponseError
}
AdminCreateNewAchievementTooManyRequests handles this case with default header values.
Too Many Requests
func NewAdminCreateNewAchievementTooManyRequests ¶ added in v0.36.0
func NewAdminCreateNewAchievementTooManyRequests() *AdminCreateNewAchievementTooManyRequests
NewAdminCreateNewAchievementTooManyRequests creates a AdminCreateNewAchievementTooManyRequests with default headers values
func (*AdminCreateNewAchievementTooManyRequests) Error ¶ added in v0.36.0
func (o *AdminCreateNewAchievementTooManyRequests) Error() string
func (*AdminCreateNewAchievementTooManyRequests) GetPayload ¶ added in v0.36.0
func (o *AdminCreateNewAchievementTooManyRequests) GetPayload() *achievementclientmodels.ResponseError
func (*AdminCreateNewAchievementTooManyRequests) ToJSONString ¶ added in v0.36.0
func (o *AdminCreateNewAchievementTooManyRequests) ToJSONString() string
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
func (*AdminCreateNewAchievementUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateNewAchievementUnauthorized) ToJSONString() string
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
func (*AdminDeleteAchievementBadRequest) ToJSONString ¶ added in v0.25.0
func (o *AdminDeleteAchievementBadRequest) ToJSONString() string
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
func (*AdminDeleteAchievementInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminDeleteAchievementInternalServerError) ToJSONString() string
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
func (*AdminDeleteAchievementNotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminDeleteAchievementNotFound) ToJSONString() string
type AdminDeleteAchievementParams ¶
type AdminDeleteAchievementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*AchievementCode achievement code */ AchievementCode string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter 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) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminDeleteAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminDeleteAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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
func (*AdminDeleteAchievementUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminDeleteAchievementUnauthorized) ToJSONString() string
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
func (*AdminGetAchievementBadRequest) ToJSONString ¶ added in v0.25.0
func (o *AdminGetAchievementBadRequest) ToJSONString() string
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
func (*AdminGetAchievementInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminGetAchievementInternalServerError) ToJSONString() string
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
func (*AdminGetAchievementNotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminGetAchievementNotFound) ToJSONString() string
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
func (*AdminGetAchievementOK) ToJSONString ¶ added in v0.25.0
func (o *AdminGetAchievementOK) ToJSONString() string
type AdminGetAchievementParams ¶
type AdminGetAchievementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*AchievementCode achievement code */ AchievementCode string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter 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) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminGetAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminGetAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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
func (*AdminGetAchievementUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminGetAchievementUnauthorized) ToJSONString() string
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
func (*AdminListAchievementsBadRequest) ToJSONString ¶ added in v0.25.0
func (o *AdminListAchievementsBadRequest) ToJSONString() string
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
func (*AdminListAchievementsInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminListAchievementsInternalServerError) ToJSONString() string
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
func (*AdminListAchievementsNotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminListAchievementsNotFound) ToJSONString() string
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
func (*AdminListAchievementsOK) ToJSONString ¶ added in v0.25.0
func (o *AdminListAchievementsOK) ToJSONString() string
type AdminListAchievementsParams ¶
type AdminListAchievementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Global filter by global achievement flag */ Global *bool /*Limit the maximum number of data that may be returned (1...100) */ Limit *int64 /*Namespace namespace of the game */ Namespace string /*Offset offset */ 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 /*Tags tags */ Tags []string AuthInfoWriter runtime.ClientAuthInfoWriter 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) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminListAchievementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin list achievements params
func (*AdminListAchievementsParams) SetContext ¶
func (o *AdminListAchievementsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list achievements params
func (*AdminListAchievementsParams) SetGlobal ¶ added in v0.38.0
func (o *AdminListAchievementsParams) SetGlobal(global *bool)
SetGlobal adds the global 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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminListAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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) SetTags ¶ added in v0.34.0
func (o *AdminListAchievementsParams) SetTags(tags []string)
SetTags adds the tags 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) WithGlobal ¶ added in v0.38.0
func (o *AdminListAchievementsParams) WithGlobal(global *bool) *AdminListAchievementsParams
WithGlobal adds the global 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) WithTags ¶ added in v0.34.0
func (o *AdminListAchievementsParams) WithTags(tags []string) *AdminListAchievementsParams
WithTags adds the tags 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
func (*AdminListAchievementsUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminListAchievementsUnauthorized) ToJSONString() string
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
func (*AdminUpdateAchievementBadRequest) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateAchievementBadRequest) ToJSONString() string
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
func (*AdminUpdateAchievementInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateAchievementInternalServerError) ToJSONString() string
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
func (*AdminUpdateAchievementListOrderBadRequest) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateAchievementListOrderBadRequest) ToJSONString() string
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
func (*AdminUpdateAchievementListOrderInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateAchievementListOrderInternalServerError) ToJSONString() string
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
func (*AdminUpdateAchievementListOrderNotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateAchievementListOrderNotFound) ToJSONString() string
type AdminUpdateAchievementListOrderParams ¶
type AdminUpdateAchievementListOrderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*AchievementCode achievement code */ AchievementCode string /*Body*/ Body *achievementclientmodels.ModelsAchievementOrderUpdateRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter 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) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminUpdateAchievementListOrderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminUpdateAchievementListOrderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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
func (*AdminUpdateAchievementListOrderUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateAchievementListOrderUnauthorized) ToJSONString() string
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
func (*AdminUpdateAchievementNotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateAchievementNotFound) ToJSONString() string
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
func (*AdminUpdateAchievementOK) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateAchievementOK) ToJSONString() string
type AdminUpdateAchievementParams ¶
type AdminUpdateAchievementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*AchievementCode achievement code */ AchievementCode string /*Body*/ Body *achievementclientmodels.ModelsAchievementUpdateRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter 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) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminUpdateAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminUpdateAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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
func (*AdminUpdateAchievementUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateAchievementUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for achievements API
func (*Client) AdminCreateNewAchievement
deprecated
func (a *Client) AdminCreateNewAchievement(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, *AdminCreateNewAchievementBadRequest, *AdminCreateNewAchievementUnauthorized, *AdminCreateNewAchievementTooManyRequests, *AdminCreateNewAchievementInternalServerError, error)
Deprecated: Use AdminCreateNewAchievementShort instead.
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)
AdminCreateNewAchievementShort 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) AdminDeleteAchievement
deprecated
func (a *Client) AdminDeleteAchievement(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, *AdminDeleteAchievementBadRequest, *AdminDeleteAchievementUnauthorized, *AdminDeleteAchievementNotFound, *AdminDeleteAchievementInternalServerError, error)
Deprecated: Use AdminDeleteAchievementShort instead.
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)
AdminDeleteAchievementShort deletes an achievement <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [DELETE]</code> and scope <code>social</code></p>
func (*Client) AdminGetAchievement
deprecated
func (a *Client) AdminGetAchievement(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, *AdminGetAchievementBadRequest, *AdminGetAchievementUnauthorized, *AdminGetAchievementNotFound, *AdminGetAchievementInternalServerError, error)
Deprecated: Use AdminGetAchievementShort instead.
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)
AdminGetAchievementShort gets an achievement <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) AdminListAchievements
deprecated
func (a *Client) AdminListAchievements(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, *AdminListAchievementsBadRequest, *AdminListAchievementsUnauthorized, *AdminListAchievementsNotFound, *AdminListAchievementsInternalServerError, error)
Deprecated: Use AdminListAchievementsShort instead.
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)
AdminListAchievementsShort queries achievements <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) AdminUpdateAchievement
deprecated
func (a *Client) AdminUpdateAchievement(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, *AdminUpdateAchievementBadRequest, *AdminUpdateAchievementUnauthorized, *AdminUpdateAchievementNotFound, *AdminUpdateAchievementInternalServerError, error)
Deprecated: Use AdminUpdateAchievementShort instead.
AdminUpdateAchievement updates an achievement <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>
func (*Client) AdminUpdateAchievementListOrder
deprecated
func (a *Client) AdminUpdateAchievementListOrder(params *AdminUpdateAchievementListOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementListOrderNoContent, *AdminUpdateAchievementListOrderBadRequest, *AdminUpdateAchievementListOrderUnauthorized, *AdminUpdateAchievementListOrderNotFound, *AdminUpdateAchievementListOrderInternalServerError, error)
Deprecated: Use AdminUpdateAchievementListOrderShort instead.
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)
AdminUpdateAchievementListOrderShort updates achievements list order <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>
func (*Client) AdminUpdateAchievementShort ¶ added in v0.8.0
func (a *Client) AdminUpdateAchievementShort(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, error)
AdminUpdateAchievementShort updates an achievement <p>Required permission
<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>
func (*Client) ExportAchievements
deprecated
func (a *Client) ExportAchievements(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportAchievementsOK, *ExportAchievementsUnauthorized, *ExportAchievementsForbidden, *ExportAchievementsInternalServerError, error)
Deprecated: Use ExportAchievementsShort instead.
ExportAchievements exports achievements configuration into a json file <p> Required permission <code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code></p><p>Required Scope: <code>social</code><p>Successful response header will contain: <code>content-disposition: attachment; filename=achievement_<namespace>_config.json</code></p>
func (*Client) ExportAchievementsShort ¶ added in v0.8.0
func (a *Client) ExportAchievementsShort(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportAchievementsOK, error)
ExportAchievementsShort exports achievements configuration into a json file <p> Required permission <code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code></p><p>Required Scope: <code>social</code><p>Successful response header will contain: <code>content-disposition: attachment; filename=achievement_<namespace>_config.json</code></p>
func (*Client) ImportAchievements
deprecated
func (a *Client) ImportAchievements(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, *ImportAchievementsUnauthorized, *ImportAchievementsForbidden, *ImportAchievementsTooManyRequests, *ImportAchievementsInternalServerError, error)
Deprecated: Use ImportAchievementsShort instead.
ImportAchievements imports achievements from file Required permission ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE] Required Scope: social Import achievement configuration from file. It will merge with existing achievement. Available import strategy: - leaveOut: if achievement with same key exist, the existing will be used and imported one will be ignored (default) - replace: if achievement with same key exist, the imported achievement 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)
ImportAchievementsShort imports achievements from file Required permission ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE] Required Scope: social Import achievement configuration from file. It will merge with existing achievement. Available import strategy: - leaveOut: if achievement with same key exist, the existing will be used and imported one will be ignored (default) - replace: if achievement with same key exist, the imported achievement will be used and existing one will be removed
func (*Client) PublicGetAchievement
deprecated
func (a *Client) PublicGetAchievement(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, *PublicGetAchievementBadRequest, *PublicGetAchievementUnauthorized, *PublicGetAchievementNotFound, *PublicGetAchievementInternalServerError, error)
Deprecated: Use PublicGetAchievementShort instead.
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)
PublicGetAchievementShort gets an achievement <p>Required permission
<code>NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) PublicListAchievements
deprecated
func (a *Client) PublicListAchievements(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, *PublicListAchievementsBadRequest, *PublicListAchievementsUnauthorized, *PublicListAchievementsNotFound, *PublicListAchievementsInternalServerError, error)
Deprecated: Use PublicListAchievementsShort instead.
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)
PublicListAchievementsShort queries achievements <p>Required permission
<code>NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
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, *AdminCreateNewAchievementTooManyRequests, *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) 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, writer io.Writer) (*ExportAchievementsOK, *ExportAchievementsUnauthorized, *ExportAchievementsForbidden, *ExportAchievementsInternalServerError, error) ExportAchievementsShort(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportAchievementsOK, error) ImportAchievements(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, *ImportAchievementsUnauthorized, *ImportAchievementsForbidden, *ImportAchievementsTooManyRequests, *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) 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
func (*ExportAchievementsForbidden) ToJSONString ¶ added in v0.25.0
func (o *ExportAchievementsForbidden) ToJSONString() string
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
func (*ExportAchievementsInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *ExportAchievementsInternalServerError) ToJSONString() string
type ExportAchievementsOK ¶
ExportAchievementsOK handles this case with default header values.
OK
func NewExportAchievementsOK ¶
func NewExportAchievementsOK(writer io.Writer) *ExportAchievementsOK
NewExportAchievementsOK creates a ExportAchievementsOK with default headers values
func (*ExportAchievementsOK) Error ¶
func (o *ExportAchievementsOK) Error() string
func (*ExportAchievementsOK) GetPayload ¶
func (o *ExportAchievementsOK) GetPayload() io.Writer
func (*ExportAchievementsOK) ToJSONString ¶ added in v0.25.0
func (o *ExportAchievementsOK) ToJSONString() string
type ExportAchievementsParams ¶
type ExportAchievementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*Tags tags */ Tags []string AuthInfoWriter runtime.ClientAuthInfoWriter 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) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ExportAchievementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the export achievements params
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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ExportAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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) SetTags ¶ added in v0.34.0
func (o *ExportAchievementsParams) SetTags(tags []string)
SetTags adds the tags 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) WithTags ¶ added in v0.34.0
func (o *ExportAchievementsParams) WithTags(tags []string) *ExportAchievementsParams
WithTags adds the tags 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
func (*ExportAchievementsUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *ExportAchievementsUnauthorized) ToJSONString() string
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
func (*ImportAchievementsForbidden) ToJSONString ¶ added in v0.25.0
func (o *ImportAchievementsForbidden) ToJSONString() string
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
func (*ImportAchievementsInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *ImportAchievementsInternalServerError) ToJSONString() string
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
func (*ImportAchievementsOK) ToJSONString ¶ added in v0.25.0
func (o *ImportAchievementsOK) ToJSONString() string
type ImportAchievementsParams ¶
type ImportAchievementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*File file to be imported */ File runtime.NamedReadCloser /*Namespace namespace of the game */ Namespace string /*Strategy strategy for import */ Strategy *string AuthInfoWriter runtime.ClientAuthInfoWriter 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) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ImportAchievementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the import achievements params
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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ImportAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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 ImportAchievementsTooManyRequests ¶ added in v0.36.0
type ImportAchievementsTooManyRequests struct {
Payload *achievementclientmodels.ResponseError
}
ImportAchievementsTooManyRequests handles this case with default header values.
Too Many Requests
func NewImportAchievementsTooManyRequests ¶ added in v0.36.0
func NewImportAchievementsTooManyRequests() *ImportAchievementsTooManyRequests
NewImportAchievementsTooManyRequests creates a ImportAchievementsTooManyRequests with default headers values
func (*ImportAchievementsTooManyRequests) Error ¶ added in v0.36.0
func (o *ImportAchievementsTooManyRequests) Error() string
func (*ImportAchievementsTooManyRequests) GetPayload ¶ added in v0.36.0
func (o *ImportAchievementsTooManyRequests) GetPayload() *achievementclientmodels.ResponseError
func (*ImportAchievementsTooManyRequests) ToJSONString ¶ added in v0.36.0
func (o *ImportAchievementsTooManyRequests) ToJSONString() string
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
func (*ImportAchievementsUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *ImportAchievementsUnauthorized) ToJSONString() string
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
func (*PublicGetAchievementBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PublicGetAchievementBadRequest) ToJSONString() string
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
func (*PublicGetAchievementInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *PublicGetAchievementInternalServerError) ToJSONString() string
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
func (*PublicGetAchievementNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicGetAchievementNotFound) ToJSONString() string
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
func (*PublicGetAchievementOK) ToJSONString ¶ added in v0.25.0
func (o *PublicGetAchievementOK) ToJSONString() string
type PublicGetAchievementParams ¶
type PublicGetAchievementParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*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 AuthInfoWriter runtime.ClientAuthInfoWriter 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) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter 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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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
func (*PublicGetAchievementUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *PublicGetAchievementUnauthorized) ToJSONString() string
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
func (*PublicListAchievementsBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PublicListAchievementsBadRequest) ToJSONString() string
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
func (*PublicListAchievementsInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *PublicListAchievementsInternalServerError) ToJSONString() string
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
func (*PublicListAchievementsNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublicListAchievementsNotFound) ToJSONString() string
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
func (*PublicListAchievementsOK) ToJSONString ¶ added in v0.25.0
func (o *PublicListAchievementsOK) ToJSONString() string
type PublicListAchievementsParams ¶
type PublicListAchievementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Global filter by global achievement flag */ Global *bool /*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 */ 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 /*Tags tags */ Tags []string AuthInfoWriter runtime.ClientAuthInfoWriter 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) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicListAchievementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public list achievements params
func (*PublicListAchievementsParams) SetContext ¶
func (o *PublicListAchievementsParams) SetContext(ctx context.Context)
SetContext adds the context to the public list achievements params
func (*PublicListAchievementsParams) SetGlobal ¶ added in v0.38.0
func (o *PublicListAchievementsParams) SetGlobal(global *bool)
SetGlobal adds the global 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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicListAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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) SetTags ¶ added in v0.34.0
func (o *PublicListAchievementsParams) SetTags(tags []string)
SetTags adds the tags 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) WithGlobal ¶ added in v0.38.0
func (o *PublicListAchievementsParams) WithGlobal(global *bool) *PublicListAchievementsParams
WithGlobal adds the global 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) WithTags ¶ added in v0.34.0
func (o *PublicListAchievementsParams) WithTags(tags []string) *PublicListAchievementsParams
WithTags adds the tags 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
func (*PublicListAchievementsUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *PublicListAchievementsUnauthorized) ToJSONString() string
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_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