Documentation ¶
Index ¶
- type AdminListGlobalAchievementContributorsBadRequest
- type AdminListGlobalAchievementContributorsInternalServerError
- type AdminListGlobalAchievementContributorsOK
- type AdminListGlobalAchievementContributorsParams
- func NewAdminListGlobalAchievementContributorsParams() *AdminListGlobalAchievementContributorsParams
- func NewAdminListGlobalAchievementContributorsParamsWithContext(ctx context.Context) *AdminListGlobalAchievementContributorsParams
- func NewAdminListGlobalAchievementContributorsParamsWithHTTPClient(client *http.Client) *AdminListGlobalAchievementContributorsParams
- func NewAdminListGlobalAchievementContributorsParamsWithTimeout(timeout time.Duration) *AdminListGlobalAchievementContributorsParams
- func (o *AdminListGlobalAchievementContributorsParams) SetAchievementCode(achievementCode string)
- func (o *AdminListGlobalAchievementContributorsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListGlobalAchievementContributorsParams) SetContext(ctx context.Context)
- func (o *AdminListGlobalAchievementContributorsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListGlobalAchievementContributorsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListGlobalAchievementContributorsParams) SetLimit(limit *int64)
- func (o *AdminListGlobalAchievementContributorsParams) SetNamespace(namespace string)
- func (o *AdminListGlobalAchievementContributorsParams) SetOffset(offset *int64)
- func (o *AdminListGlobalAchievementContributorsParams) SetSortBy(sortBy *string)
- func (o *AdminListGlobalAchievementContributorsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListGlobalAchievementContributorsParams) WithAchievementCode(achievementCode string) *AdminListGlobalAchievementContributorsParams
- func (o *AdminListGlobalAchievementContributorsParams) WithContext(ctx context.Context) *AdminListGlobalAchievementContributorsParams
- func (o *AdminListGlobalAchievementContributorsParams) WithHTTPClient(client *http.Client) *AdminListGlobalAchievementContributorsParams
- func (o *AdminListGlobalAchievementContributorsParams) WithLimit(limit *int64) *AdminListGlobalAchievementContributorsParams
- func (o *AdminListGlobalAchievementContributorsParams) WithNamespace(namespace string) *AdminListGlobalAchievementContributorsParams
- func (o *AdminListGlobalAchievementContributorsParams) WithOffset(offset *int64) *AdminListGlobalAchievementContributorsParams
- func (o *AdminListGlobalAchievementContributorsParams) WithSortBy(sortBy *string) *AdminListGlobalAchievementContributorsParams
- func (o *AdminListGlobalAchievementContributorsParams) WithTimeout(timeout time.Duration) *AdminListGlobalAchievementContributorsParams
- func (o *AdminListGlobalAchievementContributorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListGlobalAchievementContributorsReader
- type AdminListGlobalAchievementContributorsUnauthorized
- type AdminListGlobalAchievementsBadRequest
- type AdminListGlobalAchievementsInternalServerError
- type AdminListGlobalAchievementsOK
- type AdminListGlobalAchievementsParams
- func NewAdminListGlobalAchievementsParams() *AdminListGlobalAchievementsParams
- func NewAdminListGlobalAchievementsParamsWithContext(ctx context.Context) *AdminListGlobalAchievementsParams
- func NewAdminListGlobalAchievementsParamsWithHTTPClient(client *http.Client) *AdminListGlobalAchievementsParams
- func NewAdminListGlobalAchievementsParamsWithTimeout(timeout time.Duration) *AdminListGlobalAchievementsParams
- func (o *AdminListGlobalAchievementsParams) SetAchievementCodes(achievementCodes *string)
- func (o *AdminListGlobalAchievementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListGlobalAchievementsParams) SetContext(ctx context.Context)
- func (o *AdminListGlobalAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListGlobalAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListGlobalAchievementsParams) SetLimit(limit *int64)
- func (o *AdminListGlobalAchievementsParams) SetNamespace(namespace string)
- func (o *AdminListGlobalAchievementsParams) SetOffset(offset *int64)
- func (o *AdminListGlobalAchievementsParams) SetSortBy(sortBy *string)
- func (o *AdminListGlobalAchievementsParams) SetStatus(status *string)
- func (o *AdminListGlobalAchievementsParams) SetTags(tags []string)
- func (o *AdminListGlobalAchievementsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListGlobalAchievementsParams) WithAchievementCodes(achievementCodes *string) *AdminListGlobalAchievementsParams
- func (o *AdminListGlobalAchievementsParams) WithContext(ctx context.Context) *AdminListGlobalAchievementsParams
- func (o *AdminListGlobalAchievementsParams) WithHTTPClient(client *http.Client) *AdminListGlobalAchievementsParams
- func (o *AdminListGlobalAchievementsParams) WithLimit(limit *int64) *AdminListGlobalAchievementsParams
- func (o *AdminListGlobalAchievementsParams) WithNamespace(namespace string) *AdminListGlobalAchievementsParams
- func (o *AdminListGlobalAchievementsParams) WithOffset(offset *int64) *AdminListGlobalAchievementsParams
- func (o *AdminListGlobalAchievementsParams) WithSortBy(sortBy *string) *AdminListGlobalAchievementsParams
- func (o *AdminListGlobalAchievementsParams) WithStatus(status *string) *AdminListGlobalAchievementsParams
- func (o *AdminListGlobalAchievementsParams) WithTags(tags []string) *AdminListGlobalAchievementsParams
- func (o *AdminListGlobalAchievementsParams) WithTimeout(timeout time.Duration) *AdminListGlobalAchievementsParams
- func (o *AdminListGlobalAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListGlobalAchievementsReader
- type AdminListGlobalAchievementsUnauthorized
- type AdminListUserContributionsBadRequest
- type AdminListUserContributionsInternalServerError
- type AdminListUserContributionsOK
- type AdminListUserContributionsParams
- func NewAdminListUserContributionsParams() *AdminListUserContributionsParams
- func NewAdminListUserContributionsParamsWithContext(ctx context.Context) *AdminListUserContributionsParams
- func NewAdminListUserContributionsParamsWithHTTPClient(client *http.Client) *AdminListUserContributionsParams
- func NewAdminListUserContributionsParamsWithTimeout(timeout time.Duration) *AdminListUserContributionsParams
- func (o *AdminListUserContributionsParams) SetAchievementCodes(achievementCodes *string)
- func (o *AdminListUserContributionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListUserContributionsParams) SetContext(ctx context.Context)
- func (o *AdminListUserContributionsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListUserContributionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListUserContributionsParams) SetLimit(limit *int64)
- func (o *AdminListUserContributionsParams) SetNamespace(namespace string)
- func (o *AdminListUserContributionsParams) SetOffset(offset *int64)
- func (o *AdminListUserContributionsParams) SetSortBy(sortBy *string)
- func (o *AdminListUserContributionsParams) SetTags(tags []string)
- func (o *AdminListUserContributionsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListUserContributionsParams) SetUserID(userID string)
- func (o *AdminListUserContributionsParams) WithAchievementCodes(achievementCodes *string) *AdminListUserContributionsParams
- func (o *AdminListUserContributionsParams) WithContext(ctx context.Context) *AdminListUserContributionsParams
- func (o *AdminListUserContributionsParams) WithHTTPClient(client *http.Client) *AdminListUserContributionsParams
- func (o *AdminListUserContributionsParams) WithLimit(limit *int64) *AdminListUserContributionsParams
- func (o *AdminListUserContributionsParams) WithNamespace(namespace string) *AdminListUserContributionsParams
- func (o *AdminListUserContributionsParams) WithOffset(offset *int64) *AdminListUserContributionsParams
- func (o *AdminListUserContributionsParams) WithSortBy(sortBy *string) *AdminListUserContributionsParams
- func (o *AdminListUserContributionsParams) WithTags(tags []string) *AdminListUserContributionsParams
- func (o *AdminListUserContributionsParams) WithTimeout(timeout time.Duration) *AdminListUserContributionsParams
- func (o *AdminListUserContributionsParams) WithUserID(userID string) *AdminListUserContributionsParams
- func (o *AdminListUserContributionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListUserContributionsReader
- type AdminListUserContributionsUnauthorized
- type ClaimGlobalAchievementRewardAccepted
- type ClaimGlobalAchievementRewardBadRequest
- type ClaimGlobalAchievementRewardInternalServerError
- type ClaimGlobalAchievementRewardParams
- func NewClaimGlobalAchievementRewardParams() *ClaimGlobalAchievementRewardParams
- func NewClaimGlobalAchievementRewardParamsWithContext(ctx context.Context) *ClaimGlobalAchievementRewardParams
- func NewClaimGlobalAchievementRewardParamsWithHTTPClient(client *http.Client) *ClaimGlobalAchievementRewardParams
- func NewClaimGlobalAchievementRewardParamsWithTimeout(timeout time.Duration) *ClaimGlobalAchievementRewardParams
- func (o *ClaimGlobalAchievementRewardParams) SetAchievementCode(achievementCode string)
- func (o *ClaimGlobalAchievementRewardParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ClaimGlobalAchievementRewardParams) SetContext(ctx context.Context)
- func (o *ClaimGlobalAchievementRewardParams) SetHTTPClient(client *http.Client)
- func (o *ClaimGlobalAchievementRewardParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ClaimGlobalAchievementRewardParams) SetNamespace(namespace string)
- func (o *ClaimGlobalAchievementRewardParams) SetTimeout(timeout time.Duration)
- func (o *ClaimGlobalAchievementRewardParams) SetUserID(userID string)
- func (o *ClaimGlobalAchievementRewardParams) WithAchievementCode(achievementCode string) *ClaimGlobalAchievementRewardParams
- func (o *ClaimGlobalAchievementRewardParams) WithContext(ctx context.Context) *ClaimGlobalAchievementRewardParams
- func (o *ClaimGlobalAchievementRewardParams) WithHTTPClient(client *http.Client) *ClaimGlobalAchievementRewardParams
- func (o *ClaimGlobalAchievementRewardParams) WithNamespace(namespace string) *ClaimGlobalAchievementRewardParams
- func (o *ClaimGlobalAchievementRewardParams) WithTimeout(timeout time.Duration) *ClaimGlobalAchievementRewardParams
- func (o *ClaimGlobalAchievementRewardParams) WithUserID(userID string) *ClaimGlobalAchievementRewardParams
- func (o *ClaimGlobalAchievementRewardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClaimGlobalAchievementRewardReader
- type ClaimGlobalAchievementRewardUnauthorized
- type Client
- func (a *Client) AdminListGlobalAchievementContributors(params *AdminListGlobalAchievementContributorsParams, ...) (*AdminListGlobalAchievementContributorsOK, ...)deprecated
- func (a *Client) AdminListGlobalAchievementContributorsShort(params *AdminListGlobalAchievementContributorsParams, ...) (*AdminListGlobalAchievementContributorsOK, error)
- func (a *Client) AdminListGlobalAchievements(params *AdminListGlobalAchievementsParams, ...) (*AdminListGlobalAchievementsOK, *AdminListGlobalAchievementsBadRequest, ...)deprecated
- func (a *Client) AdminListGlobalAchievementsShort(params *AdminListGlobalAchievementsParams, ...) (*AdminListGlobalAchievementsOK, error)
- func (a *Client) AdminListUserContributions(params *AdminListUserContributionsParams, ...) (*AdminListUserContributionsOK, *AdminListUserContributionsBadRequest, ...)deprecated
- func (a *Client) AdminListUserContributionsShort(params *AdminListUserContributionsParams, ...) (*AdminListUserContributionsOK, error)
- func (a *Client) ClaimGlobalAchievementReward(params *ClaimGlobalAchievementRewardParams, ...) (*ClaimGlobalAchievementRewardAccepted, *ClaimGlobalAchievementRewardBadRequest, ...)deprecated
- func (a *Client) ClaimGlobalAchievementRewardShort(params *ClaimGlobalAchievementRewardParams, ...) (*ClaimGlobalAchievementRewardAccepted, error)
- func (a *Client) ListGlobalAchievementContributors(params *ListGlobalAchievementContributorsParams, ...) (*ListGlobalAchievementContributorsOK, ...)deprecated
- func (a *Client) ListGlobalAchievementContributorsShort(params *ListGlobalAchievementContributorsParams, ...) (*ListGlobalAchievementContributorsOK, error)
- func (a *Client) ListUserContributions(params *ListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserContributionsOK, *ListUserContributionsBadRequest, ...)deprecated
- func (a *Client) ListUserContributionsShort(params *ListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserContributionsOK, error)
- func (a *Client) PublicListGlobalAchievements(params *PublicListGlobalAchievementsParams, ...) (*PublicListGlobalAchievementsOK, *PublicListGlobalAchievementsBadRequest, ...)deprecated
- func (a *Client) PublicListGlobalAchievementsShort(params *PublicListGlobalAchievementsParams, ...) (*PublicListGlobalAchievementsOK, error)
- func (a *Client) ResetGlobalAchievement(params *ResetGlobalAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*ResetGlobalAchievementNoContent, *ResetGlobalAchievementUnauthorized, ...)deprecated
- func (a *Client) ResetGlobalAchievementShort(params *ResetGlobalAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*ResetGlobalAchievementNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ListGlobalAchievementContributorsBadRequest
- type ListGlobalAchievementContributorsInternalServerError
- type ListGlobalAchievementContributorsOK
- type ListGlobalAchievementContributorsParams
- func NewListGlobalAchievementContributorsParams() *ListGlobalAchievementContributorsParams
- func NewListGlobalAchievementContributorsParamsWithContext(ctx context.Context) *ListGlobalAchievementContributorsParams
- func NewListGlobalAchievementContributorsParamsWithHTTPClient(client *http.Client) *ListGlobalAchievementContributorsParams
- func NewListGlobalAchievementContributorsParamsWithTimeout(timeout time.Duration) *ListGlobalAchievementContributorsParams
- func (o *ListGlobalAchievementContributorsParams) SetAchievementCode(achievementCode string)
- func (o *ListGlobalAchievementContributorsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListGlobalAchievementContributorsParams) SetContext(ctx context.Context)
- func (o *ListGlobalAchievementContributorsParams) SetHTTPClient(client *http.Client)
- func (o *ListGlobalAchievementContributorsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListGlobalAchievementContributorsParams) SetLimit(limit *int64)
- func (o *ListGlobalAchievementContributorsParams) SetNamespace(namespace string)
- func (o *ListGlobalAchievementContributorsParams) SetOffset(offset *int64)
- func (o *ListGlobalAchievementContributorsParams) SetSortBy(sortBy *string)
- func (o *ListGlobalAchievementContributorsParams) SetTimeout(timeout time.Duration)
- func (o *ListGlobalAchievementContributorsParams) WithAchievementCode(achievementCode string) *ListGlobalAchievementContributorsParams
- func (o *ListGlobalAchievementContributorsParams) WithContext(ctx context.Context) *ListGlobalAchievementContributorsParams
- func (o *ListGlobalAchievementContributorsParams) WithHTTPClient(client *http.Client) *ListGlobalAchievementContributorsParams
- func (o *ListGlobalAchievementContributorsParams) WithLimit(limit *int64) *ListGlobalAchievementContributorsParams
- func (o *ListGlobalAchievementContributorsParams) WithNamespace(namespace string) *ListGlobalAchievementContributorsParams
- func (o *ListGlobalAchievementContributorsParams) WithOffset(offset *int64) *ListGlobalAchievementContributorsParams
- func (o *ListGlobalAchievementContributorsParams) WithSortBy(sortBy *string) *ListGlobalAchievementContributorsParams
- func (o *ListGlobalAchievementContributorsParams) WithTimeout(timeout time.Duration) *ListGlobalAchievementContributorsParams
- func (o *ListGlobalAchievementContributorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGlobalAchievementContributorsReader
- type ListGlobalAchievementContributorsUnauthorized
- type ListUserContributionsBadRequest
- type ListUserContributionsInternalServerError
- type ListUserContributionsOK
- type ListUserContributionsParams
- func NewListUserContributionsParams() *ListUserContributionsParams
- func NewListUserContributionsParamsWithContext(ctx context.Context) *ListUserContributionsParams
- func NewListUserContributionsParamsWithHTTPClient(client *http.Client) *ListUserContributionsParams
- func NewListUserContributionsParamsWithTimeout(timeout time.Duration) *ListUserContributionsParams
- func (o *ListUserContributionsParams) SetAchievementCodes(achievementCodes *string)
- func (o *ListUserContributionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListUserContributionsParams) SetContext(ctx context.Context)
- func (o *ListUserContributionsParams) SetHTTPClient(client *http.Client)
- func (o *ListUserContributionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListUserContributionsParams) SetLimit(limit *int64)
- func (o *ListUserContributionsParams) SetNamespace(namespace string)
- func (o *ListUserContributionsParams) SetOffset(offset *int64)
- func (o *ListUserContributionsParams) SetSortBy(sortBy *string)
- func (o *ListUserContributionsParams) SetTags(tags []string)
- func (o *ListUserContributionsParams) SetTimeout(timeout time.Duration)
- func (o *ListUserContributionsParams) SetUserID(userID string)
- func (o *ListUserContributionsParams) WithAchievementCodes(achievementCodes *string) *ListUserContributionsParams
- func (o *ListUserContributionsParams) WithContext(ctx context.Context) *ListUserContributionsParams
- func (o *ListUserContributionsParams) WithHTTPClient(client *http.Client) *ListUserContributionsParams
- func (o *ListUserContributionsParams) WithLimit(limit *int64) *ListUserContributionsParams
- func (o *ListUserContributionsParams) WithNamespace(namespace string) *ListUserContributionsParams
- func (o *ListUserContributionsParams) WithOffset(offset *int64) *ListUserContributionsParams
- func (o *ListUserContributionsParams) WithSortBy(sortBy *string) *ListUserContributionsParams
- func (o *ListUserContributionsParams) WithTags(tags []string) *ListUserContributionsParams
- func (o *ListUserContributionsParams) WithTimeout(timeout time.Duration) *ListUserContributionsParams
- func (o *ListUserContributionsParams) WithUserID(userID string) *ListUserContributionsParams
- func (o *ListUserContributionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserContributionsReader
- type ListUserContributionsUnauthorized
- type PublicListGlobalAchievementsBadRequest
- type PublicListGlobalAchievementsInternalServerError
- type PublicListGlobalAchievementsOK
- type PublicListGlobalAchievementsParams
- func NewPublicListGlobalAchievementsParams() *PublicListGlobalAchievementsParams
- func NewPublicListGlobalAchievementsParamsWithContext(ctx context.Context) *PublicListGlobalAchievementsParams
- func NewPublicListGlobalAchievementsParamsWithHTTPClient(client *http.Client) *PublicListGlobalAchievementsParams
- func NewPublicListGlobalAchievementsParamsWithTimeout(timeout time.Duration) *PublicListGlobalAchievementsParams
- func (o *PublicListGlobalAchievementsParams) SetAchievementCodes(achievementCodes *string)
- func (o *PublicListGlobalAchievementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListGlobalAchievementsParams) SetContext(ctx context.Context)
- func (o *PublicListGlobalAchievementsParams) SetHTTPClient(client *http.Client)
- func (o *PublicListGlobalAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicListGlobalAchievementsParams) SetLimit(limit *int64)
- func (o *PublicListGlobalAchievementsParams) SetNamespace(namespace string)
- func (o *PublicListGlobalAchievementsParams) SetOffset(offset *int64)
- func (o *PublicListGlobalAchievementsParams) SetSortBy(sortBy *string)
- func (o *PublicListGlobalAchievementsParams) SetStatus(status *string)
- func (o *PublicListGlobalAchievementsParams) SetTags(tags []string)
- func (o *PublicListGlobalAchievementsParams) SetTimeout(timeout time.Duration)
- func (o *PublicListGlobalAchievementsParams) WithAchievementCodes(achievementCodes *string) *PublicListGlobalAchievementsParams
- func (o *PublicListGlobalAchievementsParams) WithContext(ctx context.Context) *PublicListGlobalAchievementsParams
- func (o *PublicListGlobalAchievementsParams) WithHTTPClient(client *http.Client) *PublicListGlobalAchievementsParams
- func (o *PublicListGlobalAchievementsParams) WithLimit(limit *int64) *PublicListGlobalAchievementsParams
- func (o *PublicListGlobalAchievementsParams) WithNamespace(namespace string) *PublicListGlobalAchievementsParams
- func (o *PublicListGlobalAchievementsParams) WithOffset(offset *int64) *PublicListGlobalAchievementsParams
- func (o *PublicListGlobalAchievementsParams) WithSortBy(sortBy *string) *PublicListGlobalAchievementsParams
- func (o *PublicListGlobalAchievementsParams) WithStatus(status *string) *PublicListGlobalAchievementsParams
- func (o *PublicListGlobalAchievementsParams) WithTags(tags []string) *PublicListGlobalAchievementsParams
- func (o *PublicListGlobalAchievementsParams) WithTimeout(timeout time.Duration) *PublicListGlobalAchievementsParams
- func (o *PublicListGlobalAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListGlobalAchievementsReader
- type PublicListGlobalAchievementsUnauthorized
- type ResetGlobalAchievementForbidden
- type ResetGlobalAchievementInternalServerError
- type ResetGlobalAchievementNoContent
- type ResetGlobalAchievementParams
- func NewResetGlobalAchievementParams() *ResetGlobalAchievementParams
- func NewResetGlobalAchievementParamsWithContext(ctx context.Context) *ResetGlobalAchievementParams
- func NewResetGlobalAchievementParamsWithHTTPClient(client *http.Client) *ResetGlobalAchievementParams
- func NewResetGlobalAchievementParamsWithTimeout(timeout time.Duration) *ResetGlobalAchievementParams
- func (o *ResetGlobalAchievementParams) SetAchievementCode(achievementCode string)
- func (o *ResetGlobalAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ResetGlobalAchievementParams) SetContext(ctx context.Context)
- func (o *ResetGlobalAchievementParams) SetHTTPClient(client *http.Client)
- func (o *ResetGlobalAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ResetGlobalAchievementParams) SetNamespace(namespace string)
- func (o *ResetGlobalAchievementParams) SetTimeout(timeout time.Duration)
- func (o *ResetGlobalAchievementParams) WithAchievementCode(achievementCode string) *ResetGlobalAchievementParams
- func (o *ResetGlobalAchievementParams) WithContext(ctx context.Context) *ResetGlobalAchievementParams
- func (o *ResetGlobalAchievementParams) WithHTTPClient(client *http.Client) *ResetGlobalAchievementParams
- func (o *ResetGlobalAchievementParams) WithNamespace(namespace string) *ResetGlobalAchievementParams
- func (o *ResetGlobalAchievementParams) WithTimeout(timeout time.Duration) *ResetGlobalAchievementParams
- func (o *ResetGlobalAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetGlobalAchievementReader
- type ResetGlobalAchievementUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminListGlobalAchievementContributorsBadRequest ¶ added in v0.39.0
type AdminListGlobalAchievementContributorsBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
AdminListGlobalAchievementContributorsBadRequest handles this case with default header values.
Bad Request
func NewAdminListGlobalAchievementContributorsBadRequest ¶ added in v0.39.0
func NewAdminListGlobalAchievementContributorsBadRequest() *AdminListGlobalAchievementContributorsBadRequest
NewAdminListGlobalAchievementContributorsBadRequest creates a AdminListGlobalAchievementContributorsBadRequest with default headers values
func (*AdminListGlobalAchievementContributorsBadRequest) Error ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsBadRequest) Error() string
func (*AdminListGlobalAchievementContributorsBadRequest) GetPayload ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsBadRequest) GetPayload() *achievementclientmodels.ResponseError
func (*AdminListGlobalAchievementContributorsBadRequest) ToJSONString ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsBadRequest) ToJSONString() string
type AdminListGlobalAchievementContributorsInternalServerError ¶ added in v0.39.0
type AdminListGlobalAchievementContributorsInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
AdminListGlobalAchievementContributorsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminListGlobalAchievementContributorsInternalServerError ¶ added in v0.39.0
func NewAdminListGlobalAchievementContributorsInternalServerError() *AdminListGlobalAchievementContributorsInternalServerError
NewAdminListGlobalAchievementContributorsInternalServerError creates a AdminListGlobalAchievementContributorsInternalServerError with default headers values
func (*AdminListGlobalAchievementContributorsInternalServerError) Error ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsInternalServerError) Error() string
func (*AdminListGlobalAchievementContributorsInternalServerError) GetPayload ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsInternalServerError) GetPayload() *achievementclientmodels.ResponseError
func (*AdminListGlobalAchievementContributorsInternalServerError) ToJSONString ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsInternalServerError) ToJSONString() string
type AdminListGlobalAchievementContributorsOK ¶ added in v0.39.0
type AdminListGlobalAchievementContributorsOK struct {
Payload *achievementclientmodels.ModelsPaginatedContributorResponse
}
AdminListGlobalAchievementContributorsOK handles this case with default header values.
OK
func NewAdminListGlobalAchievementContributorsOK ¶ added in v0.39.0
func NewAdminListGlobalAchievementContributorsOK() *AdminListGlobalAchievementContributorsOK
NewAdminListGlobalAchievementContributorsOK creates a AdminListGlobalAchievementContributorsOK with default headers values
func (*AdminListGlobalAchievementContributorsOK) Error ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsOK) Error() string
func (*AdminListGlobalAchievementContributorsOK) GetPayload ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsOK) GetPayload() *achievementclientmodels.ModelsPaginatedContributorResponse
func (*AdminListGlobalAchievementContributorsOK) ToJSONString ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsOK) ToJSONString() string
type AdminListGlobalAchievementContributorsParams ¶ added in v0.39.0
type AdminListGlobalAchievementContributorsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*AchievementCode achievement code */ AchievementCode 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 'contributedValue:desc', allow values: [contributedValue, contributedValue:asc, contributedValue:desc] */ SortBy *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminListGlobalAchievementContributorsParams contains all the parameters to send to the API endpoint for the admin list global achievement contributors operation typically these are written to a http.Request
func NewAdminListGlobalAchievementContributorsParams ¶ added in v0.39.0
func NewAdminListGlobalAchievementContributorsParams() *AdminListGlobalAchievementContributorsParams
NewAdminListGlobalAchievementContributorsParams creates a new AdminListGlobalAchievementContributorsParams object with the default values initialized.
func NewAdminListGlobalAchievementContributorsParamsWithContext ¶ added in v0.39.0
func NewAdminListGlobalAchievementContributorsParamsWithContext(ctx context.Context) *AdminListGlobalAchievementContributorsParams
NewAdminListGlobalAchievementContributorsParamsWithContext creates a new AdminListGlobalAchievementContributorsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminListGlobalAchievementContributorsParamsWithHTTPClient ¶ added in v0.39.0
func NewAdminListGlobalAchievementContributorsParamsWithHTTPClient(client *http.Client) *AdminListGlobalAchievementContributorsParams
NewAdminListGlobalAchievementContributorsParamsWithHTTPClient creates a new AdminListGlobalAchievementContributorsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminListGlobalAchievementContributorsParamsWithTimeout ¶ added in v0.39.0
func NewAdminListGlobalAchievementContributorsParamsWithTimeout(timeout time.Duration) *AdminListGlobalAchievementContributorsParams
NewAdminListGlobalAchievementContributorsParamsWithTimeout creates a new AdminListGlobalAchievementContributorsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminListGlobalAchievementContributorsParams) SetAchievementCode ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) SetAchievementCode(achievementCode string)
SetAchievementCode adds the achievementCode to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) SetAuthInfoWriter ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) SetContext ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) SetHTTPClient ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) SetHTTPClientTransport ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) SetLimit ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) SetNamespace ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) SetOffset ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) SetSortBy ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) SetTimeout ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) WithAchievementCode ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) WithAchievementCode(achievementCode string) *AdminListGlobalAchievementContributorsParams
WithAchievementCode adds the achievementCode to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) WithContext ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) WithContext(ctx context.Context) *AdminListGlobalAchievementContributorsParams
WithContext adds the context to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) WithHTTPClient ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) WithHTTPClient(client *http.Client) *AdminListGlobalAchievementContributorsParams
WithHTTPClient adds the HTTPClient to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) WithLimit ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) WithLimit(limit *int64) *AdminListGlobalAchievementContributorsParams
WithLimit adds the limit to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) WithNamespace ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) WithNamespace(namespace string) *AdminListGlobalAchievementContributorsParams
WithNamespace adds the namespace to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) WithOffset ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) WithOffset(offset *int64) *AdminListGlobalAchievementContributorsParams
WithOffset adds the offset to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) WithSortBy ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) WithSortBy(sortBy *string) *AdminListGlobalAchievementContributorsParams
WithSortBy adds the sortBy to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) WithTimeout ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) WithTimeout(timeout time.Duration) *AdminListGlobalAchievementContributorsParams
WithTimeout adds the timeout to the admin list global achievement contributors params
func (*AdminListGlobalAchievementContributorsParams) WriteToRequest ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListGlobalAchievementContributorsReader ¶ added in v0.39.0
type AdminListGlobalAchievementContributorsReader struct {
// contains filtered or unexported fields
}
AdminListGlobalAchievementContributorsReader is a Reader for the AdminListGlobalAchievementContributors structure.
func (*AdminListGlobalAchievementContributorsReader) ReadResponse ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListGlobalAchievementContributorsUnauthorized ¶ added in v0.39.0
type AdminListGlobalAchievementContributorsUnauthorized struct {
}AdminListGlobalAchievementContributorsUnauthorized handles this case with default header values.
Unauthorized
func NewAdminListGlobalAchievementContributorsUnauthorized ¶ added in v0.39.0
func NewAdminListGlobalAchievementContributorsUnauthorized() *AdminListGlobalAchievementContributorsUnauthorized
NewAdminListGlobalAchievementContributorsUnauthorized creates a AdminListGlobalAchievementContributorsUnauthorized with default headers values
func (*AdminListGlobalAchievementContributorsUnauthorized) Error ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsUnauthorized) Error() string
func (*AdminListGlobalAchievementContributorsUnauthorized) GetPayload ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsUnauthorized) GetPayload() *achievementclientmodels.ResponseError
func (*AdminListGlobalAchievementContributorsUnauthorized) ToJSONString ¶ added in v0.39.0
func (o *AdminListGlobalAchievementContributorsUnauthorized) ToJSONString() string
type AdminListGlobalAchievementsBadRequest ¶ added in v0.39.0
type AdminListGlobalAchievementsBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
AdminListGlobalAchievementsBadRequest handles this case with default header values.
Bad Request
func NewAdminListGlobalAchievementsBadRequest ¶ added in v0.39.0
func NewAdminListGlobalAchievementsBadRequest() *AdminListGlobalAchievementsBadRequest
NewAdminListGlobalAchievementsBadRequest creates a AdminListGlobalAchievementsBadRequest with default headers values
func (*AdminListGlobalAchievementsBadRequest) Error ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsBadRequest) Error() string
func (*AdminListGlobalAchievementsBadRequest) GetPayload ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsBadRequest) GetPayload() *achievementclientmodels.ResponseError
func (*AdminListGlobalAchievementsBadRequest) ToJSONString ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsBadRequest) ToJSONString() string
type AdminListGlobalAchievementsInternalServerError ¶ added in v0.39.0
type AdminListGlobalAchievementsInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
AdminListGlobalAchievementsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminListGlobalAchievementsInternalServerError ¶ added in v0.39.0
func NewAdminListGlobalAchievementsInternalServerError() *AdminListGlobalAchievementsInternalServerError
NewAdminListGlobalAchievementsInternalServerError creates a AdminListGlobalAchievementsInternalServerError with default headers values
func (*AdminListGlobalAchievementsInternalServerError) Error ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsInternalServerError) Error() string
func (*AdminListGlobalAchievementsInternalServerError) GetPayload ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsInternalServerError) GetPayload() *achievementclientmodels.ResponseError
func (*AdminListGlobalAchievementsInternalServerError) ToJSONString ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsInternalServerError) ToJSONString() string
type AdminListGlobalAchievementsOK ¶ added in v0.39.0
type AdminListGlobalAchievementsOK struct {
Payload *achievementclientmodels.ModelsPaginatedGlobalAchievementResponse
}
AdminListGlobalAchievementsOK handles this case with default header values.
OK
func NewAdminListGlobalAchievementsOK ¶ added in v0.39.0
func NewAdminListGlobalAchievementsOK() *AdminListGlobalAchievementsOK
NewAdminListGlobalAchievementsOK creates a AdminListGlobalAchievementsOK with default headers values
func (*AdminListGlobalAchievementsOK) Error ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsOK) Error() string
func (*AdminListGlobalAchievementsOK) GetPayload ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsOK) GetPayload() *achievementclientmodels.ModelsPaginatedGlobalAchievementResponse
func (*AdminListGlobalAchievementsOK) ToJSONString ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsOK) ToJSONString() string
type AdminListGlobalAchievementsParams ¶ added in v0.39.0
type AdminListGlobalAchievementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*AchievementCodes filter by achievement codes. multiple value separated by comma */ AchievementCodes *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, allow values: [achievedAt, achievedAt:asc, achievedAt:desc, createdAt, createdAt:asc, createdAt:desc] */ SortBy *string /*Status filter by status. available value: [in_progress, unlocked] */ Status *string /*Tags tags */ Tags []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminListGlobalAchievementsParams contains all the parameters to send to the API endpoint for the admin list global achievements operation typically these are written to a http.Request
func NewAdminListGlobalAchievementsParams ¶ added in v0.39.0
func NewAdminListGlobalAchievementsParams() *AdminListGlobalAchievementsParams
NewAdminListGlobalAchievementsParams creates a new AdminListGlobalAchievementsParams object with the default values initialized.
func NewAdminListGlobalAchievementsParamsWithContext ¶ added in v0.39.0
func NewAdminListGlobalAchievementsParamsWithContext(ctx context.Context) *AdminListGlobalAchievementsParams
NewAdminListGlobalAchievementsParamsWithContext creates a new AdminListGlobalAchievementsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminListGlobalAchievementsParamsWithHTTPClient ¶ added in v0.39.0
func NewAdminListGlobalAchievementsParamsWithHTTPClient(client *http.Client) *AdminListGlobalAchievementsParams
NewAdminListGlobalAchievementsParamsWithHTTPClient creates a new AdminListGlobalAchievementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminListGlobalAchievementsParamsWithTimeout ¶ added in v0.39.0
func NewAdminListGlobalAchievementsParamsWithTimeout(timeout time.Duration) *AdminListGlobalAchievementsParams
NewAdminListGlobalAchievementsParamsWithTimeout creates a new AdminListGlobalAchievementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminListGlobalAchievementsParams) SetAchievementCodes ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) SetAchievementCodes(achievementCodes *string)
SetAchievementCodes adds the achievementCodes to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) SetAuthInfoWriter ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) SetContext ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) SetHTTPClient ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) SetHTTPClientTransport ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) SetLimit ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) SetNamespace ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) SetOffset ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) SetSortBy ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) SetStatus ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) SetStatus(status *string)
SetStatus adds the status to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) SetTags ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) SetTags(tags []string)
SetTags adds the tags to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) SetTimeout ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) WithAchievementCodes ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) WithAchievementCodes(achievementCodes *string) *AdminListGlobalAchievementsParams
WithAchievementCodes adds the achievementCodes to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) WithContext ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) WithContext(ctx context.Context) *AdminListGlobalAchievementsParams
WithContext adds the context to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) WithHTTPClient ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) WithHTTPClient(client *http.Client) *AdminListGlobalAchievementsParams
WithHTTPClient adds the HTTPClient to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) WithLimit ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) WithLimit(limit *int64) *AdminListGlobalAchievementsParams
WithLimit adds the limit to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) WithNamespace ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) WithNamespace(namespace string) *AdminListGlobalAchievementsParams
WithNamespace adds the namespace to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) WithOffset ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) WithOffset(offset *int64) *AdminListGlobalAchievementsParams
WithOffset adds the offset to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) WithSortBy ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) WithSortBy(sortBy *string) *AdminListGlobalAchievementsParams
WithSortBy adds the sortBy to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) WithStatus ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) WithStatus(status *string) *AdminListGlobalAchievementsParams
WithStatus adds the status to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) WithTags ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) WithTags(tags []string) *AdminListGlobalAchievementsParams
WithTags adds the tags to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) WithTimeout ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) WithTimeout(timeout time.Duration) *AdminListGlobalAchievementsParams
WithTimeout adds the timeout to the admin list global achievements params
func (*AdminListGlobalAchievementsParams) WriteToRequest ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListGlobalAchievementsReader ¶ added in v0.39.0
type AdminListGlobalAchievementsReader struct {
// contains filtered or unexported fields
}
AdminListGlobalAchievementsReader is a Reader for the AdminListGlobalAchievements structure.
func (*AdminListGlobalAchievementsReader) ReadResponse ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListGlobalAchievementsUnauthorized ¶ added in v0.39.0
type AdminListGlobalAchievementsUnauthorized struct {
}AdminListGlobalAchievementsUnauthorized handles this case with default header values.
Unauthorized
func NewAdminListGlobalAchievementsUnauthorized ¶ added in v0.39.0
func NewAdminListGlobalAchievementsUnauthorized() *AdminListGlobalAchievementsUnauthorized
NewAdminListGlobalAchievementsUnauthorized creates a AdminListGlobalAchievementsUnauthorized with default headers values
func (*AdminListGlobalAchievementsUnauthorized) Error ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsUnauthorized) Error() string
func (*AdminListGlobalAchievementsUnauthorized) GetPayload ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsUnauthorized) GetPayload() *achievementclientmodels.ResponseError
func (*AdminListGlobalAchievementsUnauthorized) ToJSONString ¶ added in v0.39.0
func (o *AdminListGlobalAchievementsUnauthorized) ToJSONString() string
type AdminListUserContributionsBadRequest ¶ added in v0.39.0
type AdminListUserContributionsBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
AdminListUserContributionsBadRequest handles this case with default header values.
Bad Request
func NewAdminListUserContributionsBadRequest ¶ added in v0.39.0
func NewAdminListUserContributionsBadRequest() *AdminListUserContributionsBadRequest
NewAdminListUserContributionsBadRequest creates a AdminListUserContributionsBadRequest with default headers values
func (*AdminListUserContributionsBadRequest) Error ¶ added in v0.39.0
func (o *AdminListUserContributionsBadRequest) Error() string
func (*AdminListUserContributionsBadRequest) GetPayload ¶ added in v0.39.0
func (o *AdminListUserContributionsBadRequest) GetPayload() *achievementclientmodels.ResponseError
func (*AdminListUserContributionsBadRequest) ToJSONString ¶ added in v0.39.0
func (o *AdminListUserContributionsBadRequest) ToJSONString() string
type AdminListUserContributionsInternalServerError ¶ added in v0.39.0
type AdminListUserContributionsInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
AdminListUserContributionsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminListUserContributionsInternalServerError ¶ added in v0.39.0
func NewAdminListUserContributionsInternalServerError() *AdminListUserContributionsInternalServerError
NewAdminListUserContributionsInternalServerError creates a AdminListUserContributionsInternalServerError with default headers values
func (*AdminListUserContributionsInternalServerError) Error ¶ added in v0.39.0
func (o *AdminListUserContributionsInternalServerError) Error() string
func (*AdminListUserContributionsInternalServerError) GetPayload ¶ added in v0.39.0
func (o *AdminListUserContributionsInternalServerError) GetPayload() *achievementclientmodels.ResponseError
func (*AdminListUserContributionsInternalServerError) ToJSONString ¶ added in v0.39.0
func (o *AdminListUserContributionsInternalServerError) ToJSONString() string
type AdminListUserContributionsOK ¶ added in v0.39.0
type AdminListUserContributionsOK struct {
Payload *achievementclientmodels.ModelsPaginatedUserContributionResponse
}
AdminListUserContributionsOK handles this case with default header values.
OK
func NewAdminListUserContributionsOK ¶ added in v0.39.0
func NewAdminListUserContributionsOK() *AdminListUserContributionsOK
NewAdminListUserContributionsOK creates a AdminListUserContributionsOK with default headers values
func (*AdminListUserContributionsOK) Error ¶ added in v0.39.0
func (o *AdminListUserContributionsOK) Error() string
func (*AdminListUserContributionsOK) GetPayload ¶ added in v0.39.0
func (o *AdminListUserContributionsOK) GetPayload() *achievementclientmodels.ModelsPaginatedUserContributionResponse
func (*AdminListUserContributionsOK) ToJSONString ¶ added in v0.39.0
func (o *AdminListUserContributionsOK) ToJSONString() string
type AdminListUserContributionsParams ¶ added in v0.39.0
type AdminListUserContributionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*AchievementCodes achievement codes. multiple value separated by comma */ AchievementCodes *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 'contributedValue:desc', allow values: [contributedValue, contributedValue:asc, contributedValue:desc] */ SortBy *string /*Tags tags */ Tags []string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminListUserContributionsParams contains all the parameters to send to the API endpoint for the admin list user contributions operation typically these are written to a http.Request
func NewAdminListUserContributionsParams ¶ added in v0.39.0
func NewAdminListUserContributionsParams() *AdminListUserContributionsParams
NewAdminListUserContributionsParams creates a new AdminListUserContributionsParams object with the default values initialized.
func NewAdminListUserContributionsParamsWithContext ¶ added in v0.39.0
func NewAdminListUserContributionsParamsWithContext(ctx context.Context) *AdminListUserContributionsParams
NewAdminListUserContributionsParamsWithContext creates a new AdminListUserContributionsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminListUserContributionsParamsWithHTTPClient ¶ added in v0.39.0
func NewAdminListUserContributionsParamsWithHTTPClient(client *http.Client) *AdminListUserContributionsParams
NewAdminListUserContributionsParamsWithHTTPClient creates a new AdminListUserContributionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminListUserContributionsParamsWithTimeout ¶ added in v0.39.0
func NewAdminListUserContributionsParamsWithTimeout(timeout time.Duration) *AdminListUserContributionsParams
NewAdminListUserContributionsParamsWithTimeout creates a new AdminListUserContributionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminListUserContributionsParams) SetAchievementCodes ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) SetAchievementCodes(achievementCodes *string)
SetAchievementCodes adds the achievementCodes to the admin list user contributions params
func (*AdminListUserContributionsParams) SetAuthInfoWriter ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin list user contributions params
func (*AdminListUserContributionsParams) SetContext ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list user contributions params
func (*AdminListUserContributionsParams) SetHTTPClient ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list user contributions params
func (*AdminListUserContributionsParams) SetHTTPClientTransport ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin list user contributions params
func (*AdminListUserContributionsParams) SetLimit ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin list user contributions params
func (*AdminListUserContributionsParams) SetNamespace ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin list user contributions params
func (*AdminListUserContributionsParams) SetOffset ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin list user contributions params
func (*AdminListUserContributionsParams) SetSortBy ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the admin list user contributions params
func (*AdminListUserContributionsParams) SetTags ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) SetTags(tags []string)
SetTags adds the tags to the admin list user contributions params
func (*AdminListUserContributionsParams) SetTimeout ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list user contributions params
func (*AdminListUserContributionsParams) SetUserID ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) SetUserID(userID string)
SetUserID adds the userId to the admin list user contributions params
func (*AdminListUserContributionsParams) WithAchievementCodes ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) WithAchievementCodes(achievementCodes *string) *AdminListUserContributionsParams
WithAchievementCodes adds the achievementCodes to the admin list user contributions params
func (*AdminListUserContributionsParams) WithContext ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) WithContext(ctx context.Context) *AdminListUserContributionsParams
WithContext adds the context to the admin list user contributions params
func (*AdminListUserContributionsParams) WithHTTPClient ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) WithHTTPClient(client *http.Client) *AdminListUserContributionsParams
WithHTTPClient adds the HTTPClient to the admin list user contributions params
func (*AdminListUserContributionsParams) WithLimit ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) WithLimit(limit *int64) *AdminListUserContributionsParams
WithLimit adds the limit to the admin list user contributions params
func (*AdminListUserContributionsParams) WithNamespace ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) WithNamespace(namespace string) *AdminListUserContributionsParams
WithNamespace adds the namespace to the admin list user contributions params
func (*AdminListUserContributionsParams) WithOffset ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) WithOffset(offset *int64) *AdminListUserContributionsParams
WithOffset adds the offset to the admin list user contributions params
func (*AdminListUserContributionsParams) WithSortBy ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) WithSortBy(sortBy *string) *AdminListUserContributionsParams
WithSortBy adds the sortBy to the admin list user contributions params
func (*AdminListUserContributionsParams) WithTags ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) WithTags(tags []string) *AdminListUserContributionsParams
WithTags adds the tags to the admin list user contributions params
func (*AdminListUserContributionsParams) WithTimeout ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) WithTimeout(timeout time.Duration) *AdminListUserContributionsParams
WithTimeout adds the timeout to the admin list user contributions params
func (*AdminListUserContributionsParams) WithUserID ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) WithUserID(userID string) *AdminListUserContributionsParams
WithUserID adds the userID to the admin list user contributions params
func (*AdminListUserContributionsParams) WriteToRequest ¶ added in v0.39.0
func (o *AdminListUserContributionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListUserContributionsReader ¶ added in v0.39.0
type AdminListUserContributionsReader struct {
// contains filtered or unexported fields
}
AdminListUserContributionsReader is a Reader for the AdminListUserContributions structure.
func (*AdminListUserContributionsReader) ReadResponse ¶ added in v0.39.0
func (o *AdminListUserContributionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListUserContributionsUnauthorized ¶ added in v0.39.0
type AdminListUserContributionsUnauthorized struct {
}AdminListUserContributionsUnauthorized handles this case with default header values.
Unauthorized
func NewAdminListUserContributionsUnauthorized ¶ added in v0.39.0
func NewAdminListUserContributionsUnauthorized() *AdminListUserContributionsUnauthorized
NewAdminListUserContributionsUnauthorized creates a AdminListUserContributionsUnauthorized with default headers values
func (*AdminListUserContributionsUnauthorized) Error ¶ added in v0.39.0
func (o *AdminListUserContributionsUnauthorized) Error() string
func (*AdminListUserContributionsUnauthorized) GetPayload ¶ added in v0.39.0
func (o *AdminListUserContributionsUnauthorized) GetPayload() *achievementclientmodels.ResponseError
func (*AdminListUserContributionsUnauthorized) ToJSONString ¶ added in v0.39.0
func (o *AdminListUserContributionsUnauthorized) ToJSONString() string
type ClaimGlobalAchievementRewardAccepted ¶
type ClaimGlobalAchievementRewardAccepted struct { }
ClaimGlobalAchievementRewardAccepted handles this case with default header values.
Accepted
func NewClaimGlobalAchievementRewardAccepted ¶
func NewClaimGlobalAchievementRewardAccepted() *ClaimGlobalAchievementRewardAccepted
NewClaimGlobalAchievementRewardAccepted creates a ClaimGlobalAchievementRewardAccepted with default headers values
func (*ClaimGlobalAchievementRewardAccepted) Error ¶
func (o *ClaimGlobalAchievementRewardAccepted) Error() string
type ClaimGlobalAchievementRewardBadRequest ¶
type ClaimGlobalAchievementRewardBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
ClaimGlobalAchievementRewardBadRequest handles this case with default header values.
Bad Request
func NewClaimGlobalAchievementRewardBadRequest ¶
func NewClaimGlobalAchievementRewardBadRequest() *ClaimGlobalAchievementRewardBadRequest
NewClaimGlobalAchievementRewardBadRequest creates a ClaimGlobalAchievementRewardBadRequest with default headers values
func (*ClaimGlobalAchievementRewardBadRequest) Error ¶
func (o *ClaimGlobalAchievementRewardBadRequest) Error() string
func (*ClaimGlobalAchievementRewardBadRequest) GetPayload ¶
func (o *ClaimGlobalAchievementRewardBadRequest) GetPayload() *achievementclientmodels.ResponseError
func (*ClaimGlobalAchievementRewardBadRequest) ToJSONString ¶
func (o *ClaimGlobalAchievementRewardBadRequest) ToJSONString() string
type ClaimGlobalAchievementRewardInternalServerError ¶
type ClaimGlobalAchievementRewardInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
ClaimGlobalAchievementRewardInternalServerError handles this case with default header values.
Internal Server Error
func NewClaimGlobalAchievementRewardInternalServerError ¶
func NewClaimGlobalAchievementRewardInternalServerError() *ClaimGlobalAchievementRewardInternalServerError
NewClaimGlobalAchievementRewardInternalServerError creates a ClaimGlobalAchievementRewardInternalServerError with default headers values
func (*ClaimGlobalAchievementRewardInternalServerError) Error ¶
func (o *ClaimGlobalAchievementRewardInternalServerError) Error() string
func (*ClaimGlobalAchievementRewardInternalServerError) GetPayload ¶
func (o *ClaimGlobalAchievementRewardInternalServerError) GetPayload() *achievementclientmodels.ResponseError
func (*ClaimGlobalAchievementRewardInternalServerError) ToJSONString ¶
func (o *ClaimGlobalAchievementRewardInternalServerError) ToJSONString() string
type ClaimGlobalAchievementRewardParams ¶
type ClaimGlobalAchievementRewardParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*AchievementCode achievement code */ AchievementCode string /*Namespace namespace of the game */ Namespace string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClaimGlobalAchievementRewardParams contains all the parameters to send to the API endpoint for the claim global achievement reward operation typically these are written to a http.Request
func NewClaimGlobalAchievementRewardParams ¶
func NewClaimGlobalAchievementRewardParams() *ClaimGlobalAchievementRewardParams
NewClaimGlobalAchievementRewardParams creates a new ClaimGlobalAchievementRewardParams object with the default values initialized.
func NewClaimGlobalAchievementRewardParamsWithContext ¶
func NewClaimGlobalAchievementRewardParamsWithContext(ctx context.Context) *ClaimGlobalAchievementRewardParams
NewClaimGlobalAchievementRewardParamsWithContext creates a new ClaimGlobalAchievementRewardParams object with the default values initialized, and the ability to set a context for a request
func NewClaimGlobalAchievementRewardParamsWithHTTPClient ¶
func NewClaimGlobalAchievementRewardParamsWithHTTPClient(client *http.Client) *ClaimGlobalAchievementRewardParams
NewClaimGlobalAchievementRewardParamsWithHTTPClient creates a new ClaimGlobalAchievementRewardParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewClaimGlobalAchievementRewardParamsWithTimeout ¶
func NewClaimGlobalAchievementRewardParamsWithTimeout(timeout time.Duration) *ClaimGlobalAchievementRewardParams
NewClaimGlobalAchievementRewardParamsWithTimeout creates a new ClaimGlobalAchievementRewardParams object with the default values initialized, and the ability to set a timeout on a request
func (*ClaimGlobalAchievementRewardParams) SetAchievementCode ¶
func (o *ClaimGlobalAchievementRewardParams) SetAchievementCode(achievementCode string)
SetAchievementCode adds the achievementCode to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) SetAuthInfoWriter ¶
func (o *ClaimGlobalAchievementRewardParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) SetContext ¶
func (o *ClaimGlobalAchievementRewardParams) SetContext(ctx context.Context)
SetContext adds the context to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) SetHTTPClient ¶
func (o *ClaimGlobalAchievementRewardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) SetHTTPClientTransport ¶
func (o *ClaimGlobalAchievementRewardParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) SetNamespace ¶
func (o *ClaimGlobalAchievementRewardParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) SetTimeout ¶
func (o *ClaimGlobalAchievementRewardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) SetUserID ¶
func (o *ClaimGlobalAchievementRewardParams) SetUserID(userID string)
SetUserID adds the userId to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) WithAchievementCode ¶
func (o *ClaimGlobalAchievementRewardParams) WithAchievementCode(achievementCode string) *ClaimGlobalAchievementRewardParams
WithAchievementCode adds the achievementCode to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) WithContext ¶
func (o *ClaimGlobalAchievementRewardParams) WithContext(ctx context.Context) *ClaimGlobalAchievementRewardParams
WithContext adds the context to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) WithHTTPClient ¶
func (o *ClaimGlobalAchievementRewardParams) WithHTTPClient(client *http.Client) *ClaimGlobalAchievementRewardParams
WithHTTPClient adds the HTTPClient to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) WithNamespace ¶
func (o *ClaimGlobalAchievementRewardParams) WithNamespace(namespace string) *ClaimGlobalAchievementRewardParams
WithNamespace adds the namespace to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) WithTimeout ¶
func (o *ClaimGlobalAchievementRewardParams) WithTimeout(timeout time.Duration) *ClaimGlobalAchievementRewardParams
WithTimeout adds the timeout to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) WithUserID ¶
func (o *ClaimGlobalAchievementRewardParams) WithUserID(userID string) *ClaimGlobalAchievementRewardParams
WithUserID adds the userID to the claim global achievement reward params
func (*ClaimGlobalAchievementRewardParams) WriteToRequest ¶
func (o *ClaimGlobalAchievementRewardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClaimGlobalAchievementRewardReader ¶
type ClaimGlobalAchievementRewardReader struct {
// contains filtered or unexported fields
}
ClaimGlobalAchievementRewardReader is a Reader for the ClaimGlobalAchievementReward structure.
func (*ClaimGlobalAchievementRewardReader) ReadResponse ¶
func (o *ClaimGlobalAchievementRewardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ClaimGlobalAchievementRewardUnauthorized ¶
type ClaimGlobalAchievementRewardUnauthorized struct {
}ClaimGlobalAchievementRewardUnauthorized handles this case with default header values.
Unauthorized
func NewClaimGlobalAchievementRewardUnauthorized ¶
func NewClaimGlobalAchievementRewardUnauthorized() *ClaimGlobalAchievementRewardUnauthorized
NewClaimGlobalAchievementRewardUnauthorized creates a ClaimGlobalAchievementRewardUnauthorized with default headers values
func (*ClaimGlobalAchievementRewardUnauthorized) Error ¶
func (o *ClaimGlobalAchievementRewardUnauthorized) Error() string
func (*ClaimGlobalAchievementRewardUnauthorized) GetPayload ¶
func (o *ClaimGlobalAchievementRewardUnauthorized) GetPayload() *achievementclientmodels.ResponseError
func (*ClaimGlobalAchievementRewardUnauthorized) ToJSONString ¶
func (o *ClaimGlobalAchievementRewardUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for global achievements API
func (*Client) AdminListGlobalAchievementContributors
deprecated
added in
v0.39.0
func (a *Client) AdminListGlobalAchievementContributors(params *AdminListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementContributorsOK, *AdminListGlobalAchievementContributorsBadRequest, *AdminListGlobalAchievementContributorsUnauthorized, *AdminListGlobalAchievementContributorsInternalServerError, error)
Deprecated: Use AdminListGlobalAchievementContributorsShort instead.
AdminListGlobalAchievementContributors admins list contributors of global achievement <p>Required permission <code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) AdminListGlobalAchievementContributorsShort ¶ added in v0.39.0
func (a *Client) AdminListGlobalAchievementContributorsShort(params *AdminListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementContributorsOK, error)
AdminListGlobalAchievementContributorsShort admins list contributors of global achievement <p>Required permission <code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) AdminListGlobalAchievements
deprecated
added in
v0.39.0
func (a *Client) AdminListGlobalAchievements(params *AdminListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementsOK, *AdminListGlobalAchievementsBadRequest, *AdminListGlobalAchievementsUnauthorized, *AdminListGlobalAchievementsInternalServerError, error)
Deprecated: Use AdminListGlobalAchievementsShort instead.
AdminListGlobalAchievements admins query global achievements include achieved and in progress <p>Required permission <code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p> <p>Note:</p> <p> Global achievement status value mean: <code>status = 1 (in progress)</code> and <code>status = 2 (unlocked)</code></p>
func (*Client) AdminListGlobalAchievementsShort ¶ added in v0.39.0
func (a *Client) AdminListGlobalAchievementsShort(params *AdminListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementsOK, error)
AdminListGlobalAchievementsShort admins query global achievements include achieved and in progress <p>Required permission <code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p> <p>Note:</p> <p> Global achievement status value mean: <code>status = 1 (in progress)</code> and <code>status = 2 (unlocked)</code></p>
func (*Client) AdminListUserContributions
deprecated
added in
v0.39.0
func (a *Client) AdminListUserContributions(params *AdminListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserContributionsOK, *AdminListUserContributionsBadRequest, *AdminListUserContributionsUnauthorized, *AdminListUserContributionsInternalServerError, error)
Deprecated: Use AdminListUserContributionsShort instead.
AdminListUserContributions admins list of global achievements that has been contributed by the user <p>Required permission <code>ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) AdminListUserContributionsShort ¶ added in v0.39.0
func (a *Client) AdminListUserContributionsShort(params *AdminListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserContributionsOK, error)
AdminListUserContributionsShort admins list of global achievements that has been contributed by the user <p>Required permission <code>ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) ClaimGlobalAchievementReward
deprecated
func (a *Client) ClaimGlobalAchievementReward(params *ClaimGlobalAchievementRewardParams, authInfo runtime.ClientAuthInfoWriter) (*ClaimGlobalAchievementRewardAccepted, *ClaimGlobalAchievementRewardBadRequest, *ClaimGlobalAchievementRewardUnauthorized, *ClaimGlobalAchievementRewardInternalServerError, error)
Deprecated: Use ClaimGlobalAchievementRewardShort instead.
ClaimGlobalAchievementReward claims global achievement reward <p>Required permission <code>NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p> <p>Note:</p> <p> Global achievement should be unlocked to claim the reward. Only contributor of global achievement are eligible for rewards
func (*Client) ClaimGlobalAchievementRewardShort ¶
func (a *Client) ClaimGlobalAchievementRewardShort(params *ClaimGlobalAchievementRewardParams, authInfo runtime.ClientAuthInfoWriter) (*ClaimGlobalAchievementRewardAccepted, error)
ClaimGlobalAchievementRewardShort claims global achievement reward <p>Required permission <code>NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p> <p>Note:</p> <p> Global achievement should be unlocked to claim the reward. Only contributor of global achievement are eligible for rewards
func (*Client) ListGlobalAchievementContributors
deprecated
added in
v0.39.0
func (a *Client) ListGlobalAchievementContributors(params *ListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*ListGlobalAchievementContributorsOK, *ListGlobalAchievementContributorsBadRequest, *ListGlobalAchievementContributorsUnauthorized, *ListGlobalAchievementContributorsInternalServerError, error)
Deprecated: Use ListGlobalAchievementContributorsShort instead.
ListGlobalAchievementContributors lists contributors of global achievement <p>Required permission <code>NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) ListGlobalAchievementContributorsShort ¶ added in v0.39.0
func (a *Client) ListGlobalAchievementContributorsShort(params *ListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*ListGlobalAchievementContributorsOK, error)
ListGlobalAchievementContributorsShort lists contributors of global achievement <p>Required permission <code>NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) ListUserContributions
deprecated
added in
v0.39.0
func (a *Client) ListUserContributions(params *ListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserContributionsOK, *ListUserContributionsBadRequest, *ListUserContributionsUnauthorized, *ListUserContributionsInternalServerError, error)
Deprecated: Use ListUserContributionsShort instead.
ListUserContributions lists of global achievements that has been contributed by the user <p>Required permission <code>NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) ListUserContributionsShort ¶ added in v0.39.0
func (a *Client) ListUserContributionsShort(params *ListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserContributionsOK, error)
ListUserContributionsShort lists of global achievements that has been contributed by the user <p>Required permission <code>NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
func (*Client) PublicListGlobalAchievements
deprecated
func (a *Client) PublicListGlobalAchievements(params *PublicListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListGlobalAchievementsOK, *PublicListGlobalAchievementsBadRequest, *PublicListGlobalAchievementsUnauthorized, *PublicListGlobalAchievementsInternalServerError, error)
Deprecated: Use PublicListGlobalAchievementsShort instead.
PublicListGlobalAchievements queries global achievements include achieved and in progress <p>Required permission <code>NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p> <p>Note:</p> <p> Global achievement status value mean: <code>status = 1 (in progress)</code> and <code>status = 2 (unlocked)</code></p>
func (*Client) PublicListGlobalAchievementsShort ¶
func (a *Client) PublicListGlobalAchievementsShort(params *PublicListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListGlobalAchievementsOK, error)
PublicListGlobalAchievementsShort queries global achievements include achieved and in progress <p>Required permission <code>NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p> <p>Note:</p> <p> Global achievement status value mean: <code>status = 1 (in progress)</code> and <code>status = 2 (unlocked)</code></p>
func (*Client) ResetGlobalAchievement
deprecated
added in
v0.39.0
func (a *Client) ResetGlobalAchievement(params *ResetGlobalAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*ResetGlobalAchievementNoContent, *ResetGlobalAchievementUnauthorized, *ResetGlobalAchievementForbidden, *ResetGlobalAchievementInternalServerError, error)
Deprecated: Use ResetGlobalAchievementShort instead.
ResetGlobalAchievement resets global achievement <p>[TEST FACILITY ONLY]</p> <p>Required permission <code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [DELETE]</code> and scope <code>social</code> </p>
func (*Client) ResetGlobalAchievementShort ¶ added in v0.39.0
func (a *Client) ResetGlobalAchievementShort(params *ResetGlobalAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*ResetGlobalAchievementNoContent, error)
ResetGlobalAchievementShort resets global achievement
<p>[TEST FACILITY ONLY]</p>
<p>Required permission <code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [DELETE]</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 { AdminListGlobalAchievementContributors(params *AdminListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementContributorsOK, *AdminListGlobalAchievementContributorsBadRequest, *AdminListGlobalAchievementContributorsUnauthorized, *AdminListGlobalAchievementContributorsInternalServerError, error) AdminListGlobalAchievementContributorsShort(params *AdminListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementContributorsOK, error) AdminListGlobalAchievements(params *AdminListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementsOK, *AdminListGlobalAchievementsBadRequest, *AdminListGlobalAchievementsUnauthorized, *AdminListGlobalAchievementsInternalServerError, error) AdminListGlobalAchievementsShort(params *AdminListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementsOK, error) AdminListUserContributions(params *AdminListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserContributionsOK, *AdminListUserContributionsBadRequest, *AdminListUserContributionsUnauthorized, *AdminListUserContributionsInternalServerError, error) AdminListUserContributionsShort(params *AdminListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserContributionsOK, error) ClaimGlobalAchievementReward(params *ClaimGlobalAchievementRewardParams, authInfo runtime.ClientAuthInfoWriter) (*ClaimGlobalAchievementRewardAccepted, *ClaimGlobalAchievementRewardBadRequest, *ClaimGlobalAchievementRewardUnauthorized, *ClaimGlobalAchievementRewardInternalServerError, error) ClaimGlobalAchievementRewardShort(params *ClaimGlobalAchievementRewardParams, authInfo runtime.ClientAuthInfoWriter) (*ClaimGlobalAchievementRewardAccepted, error) ListGlobalAchievementContributors(params *ListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*ListGlobalAchievementContributorsOK, *ListGlobalAchievementContributorsBadRequest, *ListGlobalAchievementContributorsUnauthorized, *ListGlobalAchievementContributorsInternalServerError, error) ListGlobalAchievementContributorsShort(params *ListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*ListGlobalAchievementContributorsOK, error) ListUserContributions(params *ListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserContributionsOK, *ListUserContributionsBadRequest, *ListUserContributionsUnauthorized, *ListUserContributionsInternalServerError, error) ListUserContributionsShort(params *ListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserContributionsOK, error) PublicListGlobalAchievements(params *PublicListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListGlobalAchievementsOK, *PublicListGlobalAchievementsBadRequest, *PublicListGlobalAchievementsUnauthorized, *PublicListGlobalAchievementsInternalServerError, error) PublicListGlobalAchievementsShort(params *PublicListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListGlobalAchievementsOK, error) ResetGlobalAchievement(params *ResetGlobalAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*ResetGlobalAchievementNoContent, *ResetGlobalAchievementUnauthorized, *ResetGlobalAchievementForbidden, *ResetGlobalAchievementInternalServerError, error) ResetGlobalAchievementShort(params *ResetGlobalAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*ResetGlobalAchievementNoContent, 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 global achievements API client.
type ListGlobalAchievementContributorsBadRequest ¶ added in v0.39.0
type ListGlobalAchievementContributorsBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
ListGlobalAchievementContributorsBadRequest handles this case with default header values.
Bad Request
func NewListGlobalAchievementContributorsBadRequest ¶ added in v0.39.0
func NewListGlobalAchievementContributorsBadRequest() *ListGlobalAchievementContributorsBadRequest
NewListGlobalAchievementContributorsBadRequest creates a ListGlobalAchievementContributorsBadRequest with default headers values
func (*ListGlobalAchievementContributorsBadRequest) Error ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsBadRequest) Error() string
func (*ListGlobalAchievementContributorsBadRequest) GetPayload ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsBadRequest) GetPayload() *achievementclientmodels.ResponseError
func (*ListGlobalAchievementContributorsBadRequest) ToJSONString ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsBadRequest) ToJSONString() string
type ListGlobalAchievementContributorsInternalServerError ¶ added in v0.39.0
type ListGlobalAchievementContributorsInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
ListGlobalAchievementContributorsInternalServerError handles this case with default header values.
Internal Server Error
func NewListGlobalAchievementContributorsInternalServerError ¶ added in v0.39.0
func NewListGlobalAchievementContributorsInternalServerError() *ListGlobalAchievementContributorsInternalServerError
NewListGlobalAchievementContributorsInternalServerError creates a ListGlobalAchievementContributorsInternalServerError with default headers values
func (*ListGlobalAchievementContributorsInternalServerError) Error ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsInternalServerError) Error() string
func (*ListGlobalAchievementContributorsInternalServerError) GetPayload ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsInternalServerError) GetPayload() *achievementclientmodels.ResponseError
func (*ListGlobalAchievementContributorsInternalServerError) ToJSONString ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsInternalServerError) ToJSONString() string
type ListGlobalAchievementContributorsOK ¶ added in v0.39.0
type ListGlobalAchievementContributorsOK struct {
Payload *achievementclientmodels.ModelsPaginatedContributorResponse
}
ListGlobalAchievementContributorsOK handles this case with default header values.
OK
func NewListGlobalAchievementContributorsOK ¶ added in v0.39.0
func NewListGlobalAchievementContributorsOK() *ListGlobalAchievementContributorsOK
NewListGlobalAchievementContributorsOK creates a ListGlobalAchievementContributorsOK with default headers values
func (*ListGlobalAchievementContributorsOK) Error ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsOK) Error() string
func (*ListGlobalAchievementContributorsOK) GetPayload ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsOK) GetPayload() *achievementclientmodels.ModelsPaginatedContributorResponse
func (*ListGlobalAchievementContributorsOK) ToJSONString ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsOK) ToJSONString() string
type ListGlobalAchievementContributorsParams ¶ added in v0.39.0
type ListGlobalAchievementContributorsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*AchievementCode achievement code */ AchievementCode 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 'contributedValue:desc', allow values: [contributedValue, contributedValue:asc, contributedValue:desc] */ SortBy *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListGlobalAchievementContributorsParams contains all the parameters to send to the API endpoint for the list global achievement contributors operation typically these are written to a http.Request
func NewListGlobalAchievementContributorsParams ¶ added in v0.39.0
func NewListGlobalAchievementContributorsParams() *ListGlobalAchievementContributorsParams
NewListGlobalAchievementContributorsParams creates a new ListGlobalAchievementContributorsParams object with the default values initialized.
func NewListGlobalAchievementContributorsParamsWithContext ¶ added in v0.39.0
func NewListGlobalAchievementContributorsParamsWithContext(ctx context.Context) *ListGlobalAchievementContributorsParams
NewListGlobalAchievementContributorsParamsWithContext creates a new ListGlobalAchievementContributorsParams object with the default values initialized, and the ability to set a context for a request
func NewListGlobalAchievementContributorsParamsWithHTTPClient ¶ added in v0.39.0
func NewListGlobalAchievementContributorsParamsWithHTTPClient(client *http.Client) *ListGlobalAchievementContributorsParams
NewListGlobalAchievementContributorsParamsWithHTTPClient creates a new ListGlobalAchievementContributorsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListGlobalAchievementContributorsParamsWithTimeout ¶ added in v0.39.0
func NewListGlobalAchievementContributorsParamsWithTimeout(timeout time.Duration) *ListGlobalAchievementContributorsParams
NewListGlobalAchievementContributorsParamsWithTimeout creates a new ListGlobalAchievementContributorsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListGlobalAchievementContributorsParams) SetAchievementCode ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) SetAchievementCode(achievementCode string)
SetAchievementCode adds the achievementCode to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) SetAuthInfoWriter ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) SetContext ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) SetContext(ctx context.Context)
SetContext adds the context to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) SetHTTPClient ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) SetHTTPClientTransport ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) SetLimit ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) SetNamespace ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) SetOffset ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) SetOffset(offset *int64)
SetOffset adds the offset to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) SetSortBy ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) SetTimeout ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) WithAchievementCode ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) WithAchievementCode(achievementCode string) *ListGlobalAchievementContributorsParams
WithAchievementCode adds the achievementCode to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) WithContext ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) WithContext(ctx context.Context) *ListGlobalAchievementContributorsParams
WithContext adds the context to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) WithHTTPClient ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) WithHTTPClient(client *http.Client) *ListGlobalAchievementContributorsParams
WithHTTPClient adds the HTTPClient to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) WithLimit ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) WithLimit(limit *int64) *ListGlobalAchievementContributorsParams
WithLimit adds the limit to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) WithNamespace ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) WithNamespace(namespace string) *ListGlobalAchievementContributorsParams
WithNamespace adds the namespace to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) WithOffset ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) WithOffset(offset *int64) *ListGlobalAchievementContributorsParams
WithOffset adds the offset to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) WithSortBy ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) WithSortBy(sortBy *string) *ListGlobalAchievementContributorsParams
WithSortBy adds the sortBy to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) WithTimeout ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) WithTimeout(timeout time.Duration) *ListGlobalAchievementContributorsParams
WithTimeout adds the timeout to the list global achievement contributors params
func (*ListGlobalAchievementContributorsParams) WriteToRequest ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListGlobalAchievementContributorsReader ¶ added in v0.39.0
type ListGlobalAchievementContributorsReader struct {
// contains filtered or unexported fields
}
ListGlobalAchievementContributorsReader is a Reader for the ListGlobalAchievementContributors structure.
func (*ListGlobalAchievementContributorsReader) ReadResponse ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListGlobalAchievementContributorsUnauthorized ¶ added in v0.39.0
type ListGlobalAchievementContributorsUnauthorized struct {
}ListGlobalAchievementContributorsUnauthorized handles this case with default header values.
Unauthorized
func NewListGlobalAchievementContributorsUnauthorized ¶ added in v0.39.0
func NewListGlobalAchievementContributorsUnauthorized() *ListGlobalAchievementContributorsUnauthorized
NewListGlobalAchievementContributorsUnauthorized creates a ListGlobalAchievementContributorsUnauthorized with default headers values
func (*ListGlobalAchievementContributorsUnauthorized) Error ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsUnauthorized) Error() string
func (*ListGlobalAchievementContributorsUnauthorized) GetPayload ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsUnauthorized) GetPayload() *achievementclientmodels.ResponseError
func (*ListGlobalAchievementContributorsUnauthorized) ToJSONString ¶ added in v0.39.0
func (o *ListGlobalAchievementContributorsUnauthorized) ToJSONString() string
type ListUserContributionsBadRequest ¶ added in v0.39.0
type ListUserContributionsBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
ListUserContributionsBadRequest handles this case with default header values.
Bad Request
func NewListUserContributionsBadRequest ¶ added in v0.39.0
func NewListUserContributionsBadRequest() *ListUserContributionsBadRequest
NewListUserContributionsBadRequest creates a ListUserContributionsBadRequest with default headers values
func (*ListUserContributionsBadRequest) Error ¶ added in v0.39.0
func (o *ListUserContributionsBadRequest) Error() string
func (*ListUserContributionsBadRequest) GetPayload ¶ added in v0.39.0
func (o *ListUserContributionsBadRequest) GetPayload() *achievementclientmodels.ResponseError
func (*ListUserContributionsBadRequest) ToJSONString ¶ added in v0.39.0
func (o *ListUserContributionsBadRequest) ToJSONString() string
type ListUserContributionsInternalServerError ¶ added in v0.39.0
type ListUserContributionsInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
ListUserContributionsInternalServerError handles this case with default header values.
Internal Server Error
func NewListUserContributionsInternalServerError ¶ added in v0.39.0
func NewListUserContributionsInternalServerError() *ListUserContributionsInternalServerError
NewListUserContributionsInternalServerError creates a ListUserContributionsInternalServerError with default headers values
func (*ListUserContributionsInternalServerError) Error ¶ added in v0.39.0
func (o *ListUserContributionsInternalServerError) Error() string
func (*ListUserContributionsInternalServerError) GetPayload ¶ added in v0.39.0
func (o *ListUserContributionsInternalServerError) GetPayload() *achievementclientmodels.ResponseError
func (*ListUserContributionsInternalServerError) ToJSONString ¶ added in v0.39.0
func (o *ListUserContributionsInternalServerError) ToJSONString() string
type ListUserContributionsOK ¶ added in v0.39.0
type ListUserContributionsOK struct {
Payload *achievementclientmodels.ModelsPaginatedUserContributionResponse
}
ListUserContributionsOK handles this case with default header values.
OK
func NewListUserContributionsOK ¶ added in v0.39.0
func NewListUserContributionsOK() *ListUserContributionsOK
NewListUserContributionsOK creates a ListUserContributionsOK with default headers values
func (*ListUserContributionsOK) Error ¶ added in v0.39.0
func (o *ListUserContributionsOK) Error() string
func (*ListUserContributionsOK) GetPayload ¶ added in v0.39.0
func (o *ListUserContributionsOK) GetPayload() *achievementclientmodels.ModelsPaginatedUserContributionResponse
func (*ListUserContributionsOK) ToJSONString ¶ added in v0.39.0
func (o *ListUserContributionsOK) ToJSONString() string
type ListUserContributionsParams ¶ added in v0.39.0
type ListUserContributionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*AchievementCodes achievement codes. multiple value separated by comma */ AchievementCodes *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 'contributedValue:desc', allow values: [contributedValue, contributedValue:asc, contributedValue:desc] */ SortBy *string /*Tags tags */ Tags []string /*UserID user ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserContributionsParams contains all the parameters to send to the API endpoint for the list user contributions operation typically these are written to a http.Request
func NewListUserContributionsParams ¶ added in v0.39.0
func NewListUserContributionsParams() *ListUserContributionsParams
NewListUserContributionsParams creates a new ListUserContributionsParams object with the default values initialized.
func NewListUserContributionsParamsWithContext ¶ added in v0.39.0
func NewListUserContributionsParamsWithContext(ctx context.Context) *ListUserContributionsParams
NewListUserContributionsParamsWithContext creates a new ListUserContributionsParams object with the default values initialized, and the ability to set a context for a request
func NewListUserContributionsParamsWithHTTPClient ¶ added in v0.39.0
func NewListUserContributionsParamsWithHTTPClient(client *http.Client) *ListUserContributionsParams
NewListUserContributionsParamsWithHTTPClient creates a new ListUserContributionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListUserContributionsParamsWithTimeout ¶ added in v0.39.0
func NewListUserContributionsParamsWithTimeout(timeout time.Duration) *ListUserContributionsParams
NewListUserContributionsParamsWithTimeout creates a new ListUserContributionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListUserContributionsParams) SetAchievementCodes ¶ added in v0.39.0
func (o *ListUserContributionsParams) SetAchievementCodes(achievementCodes *string)
SetAchievementCodes adds the achievementCodes to the list user contributions params
func (*ListUserContributionsParams) SetAuthInfoWriter ¶ added in v0.39.0
func (o *ListUserContributionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list user contributions params
func (*ListUserContributionsParams) SetContext ¶ added in v0.39.0
func (o *ListUserContributionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list user contributions params
func (*ListUserContributionsParams) SetHTTPClient ¶ added in v0.39.0
func (o *ListUserContributionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user contributions params
func (*ListUserContributionsParams) SetHTTPClientTransport ¶ added in v0.39.0
func (o *ListUserContributionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list user contributions params
func (*ListUserContributionsParams) SetLimit ¶ added in v0.39.0
func (o *ListUserContributionsParams) SetLimit(limit *int64)
SetLimit adds the limit to the list user contributions params
func (*ListUserContributionsParams) SetNamespace ¶ added in v0.39.0
func (o *ListUserContributionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list user contributions params
func (*ListUserContributionsParams) SetOffset ¶ added in v0.39.0
func (o *ListUserContributionsParams) SetOffset(offset *int64)
SetOffset adds the offset to the list user contributions params
func (*ListUserContributionsParams) SetSortBy ¶ added in v0.39.0
func (o *ListUserContributionsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the list user contributions params
func (*ListUserContributionsParams) SetTags ¶ added in v0.39.0
func (o *ListUserContributionsParams) SetTags(tags []string)
SetTags adds the tags to the list user contributions params
func (*ListUserContributionsParams) SetTimeout ¶ added in v0.39.0
func (o *ListUserContributionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user contributions params
func (*ListUserContributionsParams) SetUserID ¶ added in v0.39.0
func (o *ListUserContributionsParams) SetUserID(userID string)
SetUserID adds the userId to the list user contributions params
func (*ListUserContributionsParams) WithAchievementCodes ¶ added in v0.39.0
func (o *ListUserContributionsParams) WithAchievementCodes(achievementCodes *string) *ListUserContributionsParams
WithAchievementCodes adds the achievementCodes to the list user contributions params
func (*ListUserContributionsParams) WithContext ¶ added in v0.39.0
func (o *ListUserContributionsParams) WithContext(ctx context.Context) *ListUserContributionsParams
WithContext adds the context to the list user contributions params
func (*ListUserContributionsParams) WithHTTPClient ¶ added in v0.39.0
func (o *ListUserContributionsParams) WithHTTPClient(client *http.Client) *ListUserContributionsParams
WithHTTPClient adds the HTTPClient to the list user contributions params
func (*ListUserContributionsParams) WithLimit ¶ added in v0.39.0
func (o *ListUserContributionsParams) WithLimit(limit *int64) *ListUserContributionsParams
WithLimit adds the limit to the list user contributions params
func (*ListUserContributionsParams) WithNamespace ¶ added in v0.39.0
func (o *ListUserContributionsParams) WithNamespace(namespace string) *ListUserContributionsParams
WithNamespace adds the namespace to the list user contributions params
func (*ListUserContributionsParams) WithOffset ¶ added in v0.39.0
func (o *ListUserContributionsParams) WithOffset(offset *int64) *ListUserContributionsParams
WithOffset adds the offset to the list user contributions params
func (*ListUserContributionsParams) WithSortBy ¶ added in v0.39.0
func (o *ListUserContributionsParams) WithSortBy(sortBy *string) *ListUserContributionsParams
WithSortBy adds the sortBy to the list user contributions params
func (*ListUserContributionsParams) WithTags ¶ added in v0.39.0
func (o *ListUserContributionsParams) WithTags(tags []string) *ListUserContributionsParams
WithTags adds the tags to the list user contributions params
func (*ListUserContributionsParams) WithTimeout ¶ added in v0.39.0
func (o *ListUserContributionsParams) WithTimeout(timeout time.Duration) *ListUserContributionsParams
WithTimeout adds the timeout to the list user contributions params
func (*ListUserContributionsParams) WithUserID ¶ added in v0.39.0
func (o *ListUserContributionsParams) WithUserID(userID string) *ListUserContributionsParams
WithUserID adds the userID to the list user contributions params
func (*ListUserContributionsParams) WriteToRequest ¶ added in v0.39.0
func (o *ListUserContributionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserContributionsReader ¶ added in v0.39.0
type ListUserContributionsReader struct {
// contains filtered or unexported fields
}
ListUserContributionsReader is a Reader for the ListUserContributions structure.
func (*ListUserContributionsReader) ReadResponse ¶ added in v0.39.0
func (o *ListUserContributionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserContributionsUnauthorized ¶ added in v0.39.0
type ListUserContributionsUnauthorized struct {
}ListUserContributionsUnauthorized handles this case with default header values.
Unauthorized
func NewListUserContributionsUnauthorized ¶ added in v0.39.0
func NewListUserContributionsUnauthorized() *ListUserContributionsUnauthorized
NewListUserContributionsUnauthorized creates a ListUserContributionsUnauthorized with default headers values
func (*ListUserContributionsUnauthorized) Error ¶ added in v0.39.0
func (o *ListUserContributionsUnauthorized) Error() string
func (*ListUserContributionsUnauthorized) GetPayload ¶ added in v0.39.0
func (o *ListUserContributionsUnauthorized) GetPayload() *achievementclientmodels.ResponseError
func (*ListUserContributionsUnauthorized) ToJSONString ¶ added in v0.39.0
func (o *ListUserContributionsUnauthorized) ToJSONString() string
type PublicListGlobalAchievementsBadRequest ¶
type PublicListGlobalAchievementsBadRequest struct {
Payload *achievementclientmodels.ResponseError
}
PublicListGlobalAchievementsBadRequest handles this case with default header values.
Bad Request
func NewPublicListGlobalAchievementsBadRequest ¶
func NewPublicListGlobalAchievementsBadRequest() *PublicListGlobalAchievementsBadRequest
NewPublicListGlobalAchievementsBadRequest creates a PublicListGlobalAchievementsBadRequest with default headers values
func (*PublicListGlobalAchievementsBadRequest) Error ¶
func (o *PublicListGlobalAchievementsBadRequest) Error() string
func (*PublicListGlobalAchievementsBadRequest) GetPayload ¶
func (o *PublicListGlobalAchievementsBadRequest) GetPayload() *achievementclientmodels.ResponseError
func (*PublicListGlobalAchievementsBadRequest) ToJSONString ¶
func (o *PublicListGlobalAchievementsBadRequest) ToJSONString() string
type PublicListGlobalAchievementsInternalServerError ¶
type PublicListGlobalAchievementsInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
PublicListGlobalAchievementsInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicListGlobalAchievementsInternalServerError ¶
func NewPublicListGlobalAchievementsInternalServerError() *PublicListGlobalAchievementsInternalServerError
NewPublicListGlobalAchievementsInternalServerError creates a PublicListGlobalAchievementsInternalServerError with default headers values
func (*PublicListGlobalAchievementsInternalServerError) Error ¶
func (o *PublicListGlobalAchievementsInternalServerError) Error() string
func (*PublicListGlobalAchievementsInternalServerError) GetPayload ¶
func (o *PublicListGlobalAchievementsInternalServerError) GetPayload() *achievementclientmodels.ResponseError
func (*PublicListGlobalAchievementsInternalServerError) ToJSONString ¶
func (o *PublicListGlobalAchievementsInternalServerError) ToJSONString() string
type PublicListGlobalAchievementsOK ¶
type PublicListGlobalAchievementsOK struct {
Payload *achievementclientmodels.ModelsPaginatedGlobalAchievementResponse
}
PublicListGlobalAchievementsOK handles this case with default header values.
OK
func NewPublicListGlobalAchievementsOK ¶
func NewPublicListGlobalAchievementsOK() *PublicListGlobalAchievementsOK
NewPublicListGlobalAchievementsOK creates a PublicListGlobalAchievementsOK with default headers values
func (*PublicListGlobalAchievementsOK) Error ¶
func (o *PublicListGlobalAchievementsOK) Error() string
func (*PublicListGlobalAchievementsOK) GetPayload ¶
func (o *PublicListGlobalAchievementsOK) GetPayload() *achievementclientmodels.ModelsPaginatedGlobalAchievementResponse
func (*PublicListGlobalAchievementsOK) ToJSONString ¶
func (o *PublicListGlobalAchievementsOK) ToJSONString() string
type PublicListGlobalAchievementsParams ¶
type PublicListGlobalAchievementsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*AchievementCodes filter by achievement codes. multiple value separated by comma */ AchievementCodes *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, allow values: [achievedAt, achievedAt:asc, achievedAt:desc, createdAt, createdAt:asc, createdAt:desc] */ SortBy *string /*Status filter by status. available value: [in_progress, unlocked] */ Status *string /*Tags tags */ Tags []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicListGlobalAchievementsParams contains all the parameters to send to the API endpoint for the public list global achievements operation typically these are written to a http.Request
func NewPublicListGlobalAchievementsParams ¶
func NewPublicListGlobalAchievementsParams() *PublicListGlobalAchievementsParams
NewPublicListGlobalAchievementsParams creates a new PublicListGlobalAchievementsParams object with the default values initialized.
func NewPublicListGlobalAchievementsParamsWithContext ¶
func NewPublicListGlobalAchievementsParamsWithContext(ctx context.Context) *PublicListGlobalAchievementsParams
NewPublicListGlobalAchievementsParamsWithContext creates a new PublicListGlobalAchievementsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicListGlobalAchievementsParamsWithHTTPClient ¶
func NewPublicListGlobalAchievementsParamsWithHTTPClient(client *http.Client) *PublicListGlobalAchievementsParams
NewPublicListGlobalAchievementsParamsWithHTTPClient creates a new PublicListGlobalAchievementsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicListGlobalAchievementsParamsWithTimeout ¶
func NewPublicListGlobalAchievementsParamsWithTimeout(timeout time.Duration) *PublicListGlobalAchievementsParams
NewPublicListGlobalAchievementsParamsWithTimeout creates a new PublicListGlobalAchievementsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicListGlobalAchievementsParams) SetAchievementCodes ¶ added in v0.39.0
func (o *PublicListGlobalAchievementsParams) SetAchievementCodes(achievementCodes *string)
SetAchievementCodes adds the achievementCodes to the public list global achievements params
func (*PublicListGlobalAchievementsParams) SetAuthInfoWriter ¶
func (o *PublicListGlobalAchievementsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public list global achievements params
func (*PublicListGlobalAchievementsParams) SetContext ¶
func (o *PublicListGlobalAchievementsParams) SetContext(ctx context.Context)
SetContext adds the context to the public list global achievements params
func (*PublicListGlobalAchievementsParams) SetHTTPClient ¶
func (o *PublicListGlobalAchievementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public list global achievements params
func (*PublicListGlobalAchievementsParams) SetHTTPClientTransport ¶
func (o *PublicListGlobalAchievementsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public list global achievements params
func (*PublicListGlobalAchievementsParams) SetLimit ¶
func (o *PublicListGlobalAchievementsParams) SetLimit(limit *int64)
SetLimit adds the limit to the public list global achievements params
func (*PublicListGlobalAchievementsParams) SetNamespace ¶
func (o *PublicListGlobalAchievementsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public list global achievements params
func (*PublicListGlobalAchievementsParams) SetOffset ¶
func (o *PublicListGlobalAchievementsParams) SetOffset(offset *int64)
SetOffset adds the offset to the public list global achievements params
func (*PublicListGlobalAchievementsParams) SetSortBy ¶
func (o *PublicListGlobalAchievementsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the public list global achievements params
func (*PublicListGlobalAchievementsParams) SetStatus ¶
func (o *PublicListGlobalAchievementsParams) SetStatus(status *string)
SetStatus adds the status to the public list global achievements params
func (*PublicListGlobalAchievementsParams) SetTags ¶ added in v0.39.0
func (o *PublicListGlobalAchievementsParams) SetTags(tags []string)
SetTags adds the tags to the public list global achievements params
func (*PublicListGlobalAchievementsParams) SetTimeout ¶
func (o *PublicListGlobalAchievementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public list global achievements params
func (*PublicListGlobalAchievementsParams) WithAchievementCodes ¶ added in v0.39.0
func (o *PublicListGlobalAchievementsParams) WithAchievementCodes(achievementCodes *string) *PublicListGlobalAchievementsParams
WithAchievementCodes adds the achievementCodes to the public list global achievements params
func (*PublicListGlobalAchievementsParams) WithContext ¶
func (o *PublicListGlobalAchievementsParams) WithContext(ctx context.Context) *PublicListGlobalAchievementsParams
WithContext adds the context to the public list global achievements params
func (*PublicListGlobalAchievementsParams) WithHTTPClient ¶
func (o *PublicListGlobalAchievementsParams) WithHTTPClient(client *http.Client) *PublicListGlobalAchievementsParams
WithHTTPClient adds the HTTPClient to the public list global achievements params
func (*PublicListGlobalAchievementsParams) WithLimit ¶
func (o *PublicListGlobalAchievementsParams) WithLimit(limit *int64) *PublicListGlobalAchievementsParams
WithLimit adds the limit to the public list global achievements params
func (*PublicListGlobalAchievementsParams) WithNamespace ¶
func (o *PublicListGlobalAchievementsParams) WithNamespace(namespace string) *PublicListGlobalAchievementsParams
WithNamespace adds the namespace to the public list global achievements params
func (*PublicListGlobalAchievementsParams) WithOffset ¶
func (o *PublicListGlobalAchievementsParams) WithOffset(offset *int64) *PublicListGlobalAchievementsParams
WithOffset adds the offset to the public list global achievements params
func (*PublicListGlobalAchievementsParams) WithSortBy ¶
func (o *PublicListGlobalAchievementsParams) WithSortBy(sortBy *string) *PublicListGlobalAchievementsParams
WithSortBy adds the sortBy to the public list global achievements params
func (*PublicListGlobalAchievementsParams) WithStatus ¶
func (o *PublicListGlobalAchievementsParams) WithStatus(status *string) *PublicListGlobalAchievementsParams
WithStatus adds the status to the public list global achievements params
func (*PublicListGlobalAchievementsParams) WithTags ¶ added in v0.39.0
func (o *PublicListGlobalAchievementsParams) WithTags(tags []string) *PublicListGlobalAchievementsParams
WithTags adds the tags to the public list global achievements params
func (*PublicListGlobalAchievementsParams) WithTimeout ¶
func (o *PublicListGlobalAchievementsParams) WithTimeout(timeout time.Duration) *PublicListGlobalAchievementsParams
WithTimeout adds the timeout to the public list global achievements params
func (*PublicListGlobalAchievementsParams) WriteToRequest ¶
func (o *PublicListGlobalAchievementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicListGlobalAchievementsReader ¶
type PublicListGlobalAchievementsReader struct {
// contains filtered or unexported fields
}
PublicListGlobalAchievementsReader is a Reader for the PublicListGlobalAchievements structure.
func (*PublicListGlobalAchievementsReader) ReadResponse ¶
func (o *PublicListGlobalAchievementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicListGlobalAchievementsUnauthorized ¶
type PublicListGlobalAchievementsUnauthorized struct {
}PublicListGlobalAchievementsUnauthorized handles this case with default header values.
Unauthorized
func NewPublicListGlobalAchievementsUnauthorized ¶
func NewPublicListGlobalAchievementsUnauthorized() *PublicListGlobalAchievementsUnauthorized
NewPublicListGlobalAchievementsUnauthorized creates a PublicListGlobalAchievementsUnauthorized with default headers values
func (*PublicListGlobalAchievementsUnauthorized) Error ¶
func (o *PublicListGlobalAchievementsUnauthorized) Error() string
func (*PublicListGlobalAchievementsUnauthorized) GetPayload ¶
func (o *PublicListGlobalAchievementsUnauthorized) GetPayload() *achievementclientmodels.ResponseError
func (*PublicListGlobalAchievementsUnauthorized) ToJSONString ¶
func (o *PublicListGlobalAchievementsUnauthorized) ToJSONString() string
type ResetGlobalAchievementForbidden ¶ added in v0.39.0
type ResetGlobalAchievementForbidden struct {
Payload *achievementclientmodels.ResponseError
}
ResetGlobalAchievementForbidden handles this case with default header values.
Forbidden
func NewResetGlobalAchievementForbidden ¶ added in v0.39.0
func NewResetGlobalAchievementForbidden() *ResetGlobalAchievementForbidden
NewResetGlobalAchievementForbidden creates a ResetGlobalAchievementForbidden with default headers values
func (*ResetGlobalAchievementForbidden) Error ¶ added in v0.39.0
func (o *ResetGlobalAchievementForbidden) Error() string
func (*ResetGlobalAchievementForbidden) GetPayload ¶ added in v0.39.0
func (o *ResetGlobalAchievementForbidden) GetPayload() *achievementclientmodels.ResponseError
func (*ResetGlobalAchievementForbidden) ToJSONString ¶ added in v0.39.0
func (o *ResetGlobalAchievementForbidden) ToJSONString() string
type ResetGlobalAchievementInternalServerError ¶ added in v0.39.0
type ResetGlobalAchievementInternalServerError struct {
Payload *achievementclientmodels.ResponseError
}
ResetGlobalAchievementInternalServerError handles this case with default header values.
Internal Server Error
func NewResetGlobalAchievementInternalServerError ¶ added in v0.39.0
func NewResetGlobalAchievementInternalServerError() *ResetGlobalAchievementInternalServerError
NewResetGlobalAchievementInternalServerError creates a ResetGlobalAchievementInternalServerError with default headers values
func (*ResetGlobalAchievementInternalServerError) Error ¶ added in v0.39.0
func (o *ResetGlobalAchievementInternalServerError) Error() string
func (*ResetGlobalAchievementInternalServerError) GetPayload ¶ added in v0.39.0
func (o *ResetGlobalAchievementInternalServerError) GetPayload() *achievementclientmodels.ResponseError
func (*ResetGlobalAchievementInternalServerError) ToJSONString ¶ added in v0.39.0
func (o *ResetGlobalAchievementInternalServerError) ToJSONString() string
type ResetGlobalAchievementNoContent ¶ added in v0.39.0
type ResetGlobalAchievementNoContent struct { }
ResetGlobalAchievementNoContent handles this case with default header values.
No Content
func NewResetGlobalAchievementNoContent ¶ added in v0.39.0
func NewResetGlobalAchievementNoContent() *ResetGlobalAchievementNoContent
NewResetGlobalAchievementNoContent creates a ResetGlobalAchievementNoContent with default headers values
func (*ResetGlobalAchievementNoContent) Error ¶ added in v0.39.0
func (o *ResetGlobalAchievementNoContent) Error() string
type ResetGlobalAchievementParams ¶ added in v0.39.0
type ResetGlobalAchievementParams 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 }
ResetGlobalAchievementParams contains all the parameters to send to the API endpoint for the reset global achievement operation typically these are written to a http.Request
func NewResetGlobalAchievementParams ¶ added in v0.39.0
func NewResetGlobalAchievementParams() *ResetGlobalAchievementParams
NewResetGlobalAchievementParams creates a new ResetGlobalAchievementParams object with the default values initialized.
func NewResetGlobalAchievementParamsWithContext ¶ added in v0.39.0
func NewResetGlobalAchievementParamsWithContext(ctx context.Context) *ResetGlobalAchievementParams
NewResetGlobalAchievementParamsWithContext creates a new ResetGlobalAchievementParams object with the default values initialized, and the ability to set a context for a request
func NewResetGlobalAchievementParamsWithHTTPClient ¶ added in v0.39.0
func NewResetGlobalAchievementParamsWithHTTPClient(client *http.Client) *ResetGlobalAchievementParams
NewResetGlobalAchievementParamsWithHTTPClient creates a new ResetGlobalAchievementParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewResetGlobalAchievementParamsWithTimeout ¶ added in v0.39.0
func NewResetGlobalAchievementParamsWithTimeout(timeout time.Duration) *ResetGlobalAchievementParams
NewResetGlobalAchievementParamsWithTimeout creates a new ResetGlobalAchievementParams object with the default values initialized, and the ability to set a timeout on a request
func (*ResetGlobalAchievementParams) SetAchievementCode ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) SetAchievementCode(achievementCode string)
SetAchievementCode adds the achievementCode to the reset global achievement params
func (*ResetGlobalAchievementParams) SetAuthInfoWriter ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the reset global achievement params
func (*ResetGlobalAchievementParams) SetContext ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) SetContext(ctx context.Context)
SetContext adds the context to the reset global achievement params
func (*ResetGlobalAchievementParams) SetHTTPClient ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset global achievement params
func (*ResetGlobalAchievementParams) SetHTTPClientTransport ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the reset global achievement params
func (*ResetGlobalAchievementParams) SetNamespace ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the reset global achievement params
func (*ResetGlobalAchievementParams) SetTimeout ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset global achievement params
func (*ResetGlobalAchievementParams) WithAchievementCode ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) WithAchievementCode(achievementCode string) *ResetGlobalAchievementParams
WithAchievementCode adds the achievementCode to the reset global achievement params
func (*ResetGlobalAchievementParams) WithContext ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) WithContext(ctx context.Context) *ResetGlobalAchievementParams
WithContext adds the context to the reset global achievement params
func (*ResetGlobalAchievementParams) WithHTTPClient ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) WithHTTPClient(client *http.Client) *ResetGlobalAchievementParams
WithHTTPClient adds the HTTPClient to the reset global achievement params
func (*ResetGlobalAchievementParams) WithNamespace ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) WithNamespace(namespace string) *ResetGlobalAchievementParams
WithNamespace adds the namespace to the reset global achievement params
func (*ResetGlobalAchievementParams) WithTimeout ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) WithTimeout(timeout time.Duration) *ResetGlobalAchievementParams
WithTimeout adds the timeout to the reset global achievement params
func (*ResetGlobalAchievementParams) WriteToRequest ¶ added in v0.39.0
func (o *ResetGlobalAchievementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetGlobalAchievementReader ¶ added in v0.39.0
type ResetGlobalAchievementReader struct {
// contains filtered or unexported fields
}
ResetGlobalAchievementReader is a Reader for the ResetGlobalAchievement structure.
func (*ResetGlobalAchievementReader) ReadResponse ¶ added in v0.39.0
func (o *ResetGlobalAchievementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetGlobalAchievementUnauthorized ¶ added in v0.39.0
type ResetGlobalAchievementUnauthorized struct {
}ResetGlobalAchievementUnauthorized handles this case with default header values.
Unauthorized
func NewResetGlobalAchievementUnauthorized ¶ added in v0.39.0
func NewResetGlobalAchievementUnauthorized() *ResetGlobalAchievementUnauthorized
NewResetGlobalAchievementUnauthorized creates a ResetGlobalAchievementUnauthorized with default headers values
func (*ResetGlobalAchievementUnauthorized) Error ¶ added in v0.39.0
func (o *ResetGlobalAchievementUnauthorized) Error() string
func (*ResetGlobalAchievementUnauthorized) GetPayload ¶ added in v0.39.0
func (o *ResetGlobalAchievementUnauthorized) GetPayload() *achievementclientmodels.ResponseError
func (*ResetGlobalAchievementUnauthorized) ToJSONString ¶ added in v0.39.0
func (o *ResetGlobalAchievementUnauthorized) ToJSONString() string
Source Files ¶
- admin_list_global_achievement_contributors_parameters.go
- admin_list_global_achievement_contributors_responses.go
- admin_list_global_achievements_parameters.go
- admin_list_global_achievements_responses.go
- admin_list_user_contributions_parameters.go
- admin_list_user_contributions_responses.go
- claim_global_achievement_reward_parameters.go
- claim_global_achievement_reward_responses.go
- global_achievements_client.go
- list_global_achievement_contributors_parameters.go
- list_global_achievement_contributors_responses.go
- list_user_contributions_parameters.go
- list_user_contributions_responses.go
- public_list_global_achievements_parameters.go
- public_list_global_achievements_responses.go
- reset_global_achievement_parameters.go
- reset_global_achievement_responses.go