Documentation
¶
Index ¶
- Constants
- type AdminClaimUserRewardsByGoalCodeBadRequest
- type AdminClaimUserRewardsByGoalCodeForbidden
- type AdminClaimUserRewardsByGoalCodeInternalServerError
- type AdminClaimUserRewardsByGoalCodeNotFound
- type AdminClaimUserRewardsByGoalCodeOK
- type AdminClaimUserRewardsByGoalCodeParams
- func NewAdminClaimUserRewardsByGoalCodeParams() *AdminClaimUserRewardsByGoalCodeParams
- func NewAdminClaimUserRewardsByGoalCodeParamsWithContext(ctx context.Context) *AdminClaimUserRewardsByGoalCodeParams
- func NewAdminClaimUserRewardsByGoalCodeParamsWithHTTPClient(client *http.Client) *AdminClaimUserRewardsByGoalCodeParams
- func NewAdminClaimUserRewardsByGoalCodeParamsWithTimeout(timeout time.Duration) *AdminClaimUserRewardsByGoalCodeParams
- func (o *AdminClaimUserRewardsByGoalCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminClaimUserRewardsByGoalCodeParams) SetBody(body *challengeclientmodels.ModelClaimUserRewardsByGoalCodeRequest)
- func (o *AdminClaimUserRewardsByGoalCodeParams) SetChallengeCode(challengeCode string)
- func (o *AdminClaimUserRewardsByGoalCodeParams) SetContext(ctx context.Context)
- func (o *AdminClaimUserRewardsByGoalCodeParams) SetFlightId(flightId string)
- func (o *AdminClaimUserRewardsByGoalCodeParams) SetHTTPClient(client *http.Client)
- func (o *AdminClaimUserRewardsByGoalCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminClaimUserRewardsByGoalCodeParams) SetNamespace(namespace string)
- func (o *AdminClaimUserRewardsByGoalCodeParams) SetTimeout(timeout time.Duration)
- func (o *AdminClaimUserRewardsByGoalCodeParams) SetUserID(userID string)
- func (o *AdminClaimUserRewardsByGoalCodeParams) WithBody(body *challengeclientmodels.ModelClaimUserRewardsByGoalCodeRequest) *AdminClaimUserRewardsByGoalCodeParams
- func (o *AdminClaimUserRewardsByGoalCodeParams) WithChallengeCode(challengeCode string) *AdminClaimUserRewardsByGoalCodeParams
- func (o *AdminClaimUserRewardsByGoalCodeParams) WithContext(ctx context.Context) *AdminClaimUserRewardsByGoalCodeParams
- func (o *AdminClaimUserRewardsByGoalCodeParams) WithHTTPClient(client *http.Client) *AdminClaimUserRewardsByGoalCodeParams
- func (o *AdminClaimUserRewardsByGoalCodeParams) WithNamespace(namespace string) *AdminClaimUserRewardsByGoalCodeParams
- func (o *AdminClaimUserRewardsByGoalCodeParams) WithTimeout(timeout time.Duration) *AdminClaimUserRewardsByGoalCodeParams
- func (o *AdminClaimUserRewardsByGoalCodeParams) WithUserID(userID string) *AdminClaimUserRewardsByGoalCodeParams
- func (o *AdminClaimUserRewardsByGoalCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminClaimUserRewardsByGoalCodeReader
- type AdminClaimUserRewardsByGoalCodeUnauthorized
- type AdminClaimUserRewardsByGoalCodeUnprocessableEntity
- type AdminClaimUserRewardsForbidden
- type AdminClaimUserRewardsInternalServerError
- type AdminClaimUserRewardsNotFound
- type AdminClaimUserRewardsOK
- type AdminClaimUserRewardsParams
- func NewAdminClaimUserRewardsParams() *AdminClaimUserRewardsParams
- func NewAdminClaimUserRewardsParamsWithContext(ctx context.Context) *AdminClaimUserRewardsParams
- func NewAdminClaimUserRewardsParamsWithHTTPClient(client *http.Client) *AdminClaimUserRewardsParams
- func NewAdminClaimUserRewardsParamsWithTimeout(timeout time.Duration) *AdminClaimUserRewardsParams
- func (o *AdminClaimUserRewardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminClaimUserRewardsParams) SetBody(body *challengeclientmodels.ModelClaimUserRewardsReq)
- func (o *AdminClaimUserRewardsParams) SetContext(ctx context.Context)
- func (o *AdminClaimUserRewardsParams) SetFlightId(flightId string)
- func (o *AdminClaimUserRewardsParams) SetHTTPClient(client *http.Client)
- func (o *AdminClaimUserRewardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminClaimUserRewardsParams) SetNamespace(namespace string)
- func (o *AdminClaimUserRewardsParams) SetTimeout(timeout time.Duration)
- func (o *AdminClaimUserRewardsParams) SetUserID(userID string)
- func (o *AdminClaimUserRewardsParams) WithBody(body *challengeclientmodels.ModelClaimUserRewardsReq) *AdminClaimUserRewardsParams
- func (o *AdminClaimUserRewardsParams) WithContext(ctx context.Context) *AdminClaimUserRewardsParams
- func (o *AdminClaimUserRewardsParams) WithHTTPClient(client *http.Client) *AdminClaimUserRewardsParams
- func (o *AdminClaimUserRewardsParams) WithNamespace(namespace string) *AdminClaimUserRewardsParams
- func (o *AdminClaimUserRewardsParams) WithTimeout(timeout time.Duration) *AdminClaimUserRewardsParams
- func (o *AdminClaimUserRewardsParams) WithUserID(userID string) *AdminClaimUserRewardsParams
- func (o *AdminClaimUserRewardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminClaimUserRewardsReader
- type AdminClaimUserRewardsUnauthorized
- type AdminClaimUserRewardsUnprocessableEntity
- type AdminClaimUsersRewardsBadRequest
- type AdminClaimUsersRewardsForbidden
- type AdminClaimUsersRewardsInternalServerError
- type AdminClaimUsersRewardsNotFound
- type AdminClaimUsersRewardsOK
- type AdminClaimUsersRewardsParams
- func NewAdminClaimUsersRewardsParams() *AdminClaimUsersRewardsParams
- func NewAdminClaimUsersRewardsParamsWithContext(ctx context.Context) *AdminClaimUsersRewardsParams
- func NewAdminClaimUsersRewardsParamsWithHTTPClient(client *http.Client) *AdminClaimUsersRewardsParams
- func NewAdminClaimUsersRewardsParamsWithTimeout(timeout time.Duration) *AdminClaimUsersRewardsParams
- func (o *AdminClaimUsersRewardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminClaimUsersRewardsParams) SetBody(body []*challengeclientmodels.ModelClaimUsersRewardsRequest)
- func (o *AdminClaimUsersRewardsParams) SetContext(ctx context.Context)
- func (o *AdminClaimUsersRewardsParams) SetFlightId(flightId string)
- func (o *AdminClaimUsersRewardsParams) SetHTTPClient(client *http.Client)
- func (o *AdminClaimUsersRewardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminClaimUsersRewardsParams) SetNamespace(namespace string)
- func (o *AdminClaimUsersRewardsParams) SetTimeout(timeout time.Duration)
- func (o *AdminClaimUsersRewardsParams) WithBody(body []*challengeclientmodels.ModelClaimUsersRewardsRequest) *AdminClaimUsersRewardsParams
- func (o *AdminClaimUsersRewardsParams) WithContext(ctx context.Context) *AdminClaimUsersRewardsParams
- func (o *AdminClaimUsersRewardsParams) WithHTTPClient(client *http.Client) *AdminClaimUsersRewardsParams
- func (o *AdminClaimUsersRewardsParams) WithNamespace(namespace string) *AdminClaimUsersRewardsParams
- func (o *AdminClaimUsersRewardsParams) WithTimeout(timeout time.Duration) *AdminClaimUsersRewardsParams
- func (o *AdminClaimUsersRewardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminClaimUsersRewardsReader
- type AdminClaimUsersRewardsUnauthorized
- type AdminGetUserRewardsForbidden
- type AdminGetUserRewardsInternalServerError
- type AdminGetUserRewardsOK
- type AdminGetUserRewardsParams
- func NewAdminGetUserRewardsParams() *AdminGetUserRewardsParams
- func NewAdminGetUserRewardsParamsWithContext(ctx context.Context) *AdminGetUserRewardsParams
- func NewAdminGetUserRewardsParamsWithHTTPClient(client *http.Client) *AdminGetUserRewardsParams
- func NewAdminGetUserRewardsParamsWithTimeout(timeout time.Duration) *AdminGetUserRewardsParams
- func (o *AdminGetUserRewardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetUserRewardsParams) SetChallengeCode(challengeCode *string)
- func (o *AdminGetUserRewardsParams) SetContext(ctx context.Context)
- func (o *AdminGetUserRewardsParams) SetFlightId(flightId string)
- func (o *AdminGetUserRewardsParams) SetGoalProgressionID(goalProgressionID *string)
- func (o *AdminGetUserRewardsParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetUserRewardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetUserRewardsParams) SetLimit(limit *int64)
- func (o *AdminGetUserRewardsParams) SetNamespace(namespace string)
- func (o *AdminGetUserRewardsParams) SetOffset(offset *int64)
- func (o *AdminGetUserRewardsParams) SetSortBy(sortBy *string)
- func (o *AdminGetUserRewardsParams) SetStatus(status *string)
- func (o *AdminGetUserRewardsParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetUserRewardsParams) SetUserID(userID string)
- func (o *AdminGetUserRewardsParams) WithChallengeCode(challengeCode *string) *AdminGetUserRewardsParams
- func (o *AdminGetUserRewardsParams) WithContext(ctx context.Context) *AdminGetUserRewardsParams
- func (o *AdminGetUserRewardsParams) WithGoalProgressionID(goalProgressionID *string) *AdminGetUserRewardsParams
- func (o *AdminGetUserRewardsParams) WithHTTPClient(client *http.Client) *AdminGetUserRewardsParams
- func (o *AdminGetUserRewardsParams) WithLimit(limit *int64) *AdminGetUserRewardsParams
- func (o *AdminGetUserRewardsParams) WithNamespace(namespace string) *AdminGetUserRewardsParams
- func (o *AdminGetUserRewardsParams) WithOffset(offset *int64) *AdminGetUserRewardsParams
- func (o *AdminGetUserRewardsParams) WithSortBy(sortBy *string) *AdminGetUserRewardsParams
- func (o *AdminGetUserRewardsParams) WithStatus(status *string) *AdminGetUserRewardsParams
- func (o *AdminGetUserRewardsParams) WithTimeout(timeout time.Duration) *AdminGetUserRewardsParams
- func (o *AdminGetUserRewardsParams) WithUserID(userID string) *AdminGetUserRewardsParams
- func (o *AdminGetUserRewardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetUserRewardsReader
- type AdminGetUserRewardsUnauthorized
- type Client
- func (a *Client) AdminClaimUserRewards(params *AdminClaimUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUserRewardsOK, *AdminClaimUserRewardsUnauthorized, ...)deprecated
- func (a *Client) AdminClaimUserRewardsByGoalCode(params *AdminClaimUserRewardsByGoalCodeParams, ...) (*AdminClaimUserRewardsByGoalCodeOK, *AdminClaimUserRewardsByGoalCodeBadRequest, ...)deprecated
- func (a *Client) AdminClaimUserRewardsByGoalCodeShort(params *AdminClaimUserRewardsByGoalCodeParams, ...) (*AdminClaimUserRewardsByGoalCodeOK, error)
- func (a *Client) AdminClaimUserRewardsShort(params *AdminClaimUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUserRewardsOK, error)
- func (a *Client) AdminClaimUsersRewards(params *AdminClaimUsersRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUsersRewardsOK, *AdminClaimUsersRewardsBadRequest, ...)deprecated
- func (a *Client) AdminClaimUsersRewardsShort(params *AdminClaimUsersRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUsersRewardsOK, error)
- func (a *Client) AdminGetUserRewards(params *AdminGetUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserRewardsOK, *AdminGetUserRewardsUnauthorized, ...)deprecated
- func (a *Client) AdminGetUserRewardsShort(params *AdminGetUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserRewardsOK, error)
- func (a *Client) PublicClaimUserRewards(params *PublicClaimUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicClaimUserRewardsOK, *PublicClaimUserRewardsUnauthorized, ...)deprecated
- func (a *Client) PublicClaimUserRewardsByGoalCode(params *PublicClaimUserRewardsByGoalCodeParams, ...) (*PublicClaimUserRewardsByGoalCodeOK, ...)deprecated
- func (a *Client) PublicClaimUserRewardsByGoalCodeShort(params *PublicClaimUserRewardsByGoalCodeParams, ...) (*PublicClaimUserRewardsByGoalCodeOK, error)
- func (a *Client) PublicClaimUserRewardsShort(params *PublicClaimUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicClaimUserRewardsOK, error)
- func (a *Client) PublicGetUserRewards(params *PublicGetUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserRewardsOK, *PublicGetUserRewardsUnauthorized, ...)deprecated
- func (a *Client) PublicGetUserRewardsShort(params *PublicGetUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserRewardsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicClaimUserRewardsByGoalCodeBadRequest
- type PublicClaimUserRewardsByGoalCodeForbidden
- type PublicClaimUserRewardsByGoalCodeInternalServerError
- type PublicClaimUserRewardsByGoalCodeNotFound
- type PublicClaimUserRewardsByGoalCodeOK
- type PublicClaimUserRewardsByGoalCodeParams
- func NewPublicClaimUserRewardsByGoalCodeParams() *PublicClaimUserRewardsByGoalCodeParams
- func NewPublicClaimUserRewardsByGoalCodeParamsWithContext(ctx context.Context) *PublicClaimUserRewardsByGoalCodeParams
- func NewPublicClaimUserRewardsByGoalCodeParamsWithHTTPClient(client *http.Client) *PublicClaimUserRewardsByGoalCodeParams
- func NewPublicClaimUserRewardsByGoalCodeParamsWithTimeout(timeout time.Duration) *PublicClaimUserRewardsByGoalCodeParams
- func (o *PublicClaimUserRewardsByGoalCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicClaimUserRewardsByGoalCodeParams) SetBody(body *challengeclientmodels.ModelClaimUserRewardsByGoalCodeRequest)
- func (o *PublicClaimUserRewardsByGoalCodeParams) SetChallengeCode(challengeCode string)
- func (o *PublicClaimUserRewardsByGoalCodeParams) SetContext(ctx context.Context)
- func (o *PublicClaimUserRewardsByGoalCodeParams) SetFlightId(flightId string)
- func (o *PublicClaimUserRewardsByGoalCodeParams) SetHTTPClient(client *http.Client)
- func (o *PublicClaimUserRewardsByGoalCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicClaimUserRewardsByGoalCodeParams) SetNamespace(namespace string)
- func (o *PublicClaimUserRewardsByGoalCodeParams) SetTimeout(timeout time.Duration)
- func (o *PublicClaimUserRewardsByGoalCodeParams) WithBody(body *challengeclientmodels.ModelClaimUserRewardsByGoalCodeRequest) *PublicClaimUserRewardsByGoalCodeParams
- func (o *PublicClaimUserRewardsByGoalCodeParams) WithChallengeCode(challengeCode string) *PublicClaimUserRewardsByGoalCodeParams
- func (o *PublicClaimUserRewardsByGoalCodeParams) WithContext(ctx context.Context) *PublicClaimUserRewardsByGoalCodeParams
- func (o *PublicClaimUserRewardsByGoalCodeParams) WithHTTPClient(client *http.Client) *PublicClaimUserRewardsByGoalCodeParams
- func (o *PublicClaimUserRewardsByGoalCodeParams) WithNamespace(namespace string) *PublicClaimUserRewardsByGoalCodeParams
- func (o *PublicClaimUserRewardsByGoalCodeParams) WithTimeout(timeout time.Duration) *PublicClaimUserRewardsByGoalCodeParams
- func (o *PublicClaimUserRewardsByGoalCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicClaimUserRewardsByGoalCodeReader
- type PublicClaimUserRewardsByGoalCodeUnauthorized
- type PublicClaimUserRewardsByGoalCodeUnprocessableEntity
- type PublicClaimUserRewardsForbidden
- type PublicClaimUserRewardsInternalServerError
- type PublicClaimUserRewardsNotFound
- type PublicClaimUserRewardsOK
- type PublicClaimUserRewardsParams
- func NewPublicClaimUserRewardsParams() *PublicClaimUserRewardsParams
- func NewPublicClaimUserRewardsParamsWithContext(ctx context.Context) *PublicClaimUserRewardsParams
- func NewPublicClaimUserRewardsParamsWithHTTPClient(client *http.Client) *PublicClaimUserRewardsParams
- func NewPublicClaimUserRewardsParamsWithTimeout(timeout time.Duration) *PublicClaimUserRewardsParams
- func (o *PublicClaimUserRewardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicClaimUserRewardsParams) SetBody(body *challengeclientmodels.ModelClaimUserRewardsReq)
- func (o *PublicClaimUserRewardsParams) SetContext(ctx context.Context)
- func (o *PublicClaimUserRewardsParams) SetFlightId(flightId string)
- func (o *PublicClaimUserRewardsParams) SetHTTPClient(client *http.Client)
- func (o *PublicClaimUserRewardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicClaimUserRewardsParams) SetNamespace(namespace string)
- func (o *PublicClaimUserRewardsParams) SetTimeout(timeout time.Duration)
- func (o *PublicClaimUserRewardsParams) WithBody(body *challengeclientmodels.ModelClaimUserRewardsReq) *PublicClaimUserRewardsParams
- func (o *PublicClaimUserRewardsParams) WithContext(ctx context.Context) *PublicClaimUserRewardsParams
- func (o *PublicClaimUserRewardsParams) WithHTTPClient(client *http.Client) *PublicClaimUserRewardsParams
- func (o *PublicClaimUserRewardsParams) WithNamespace(namespace string) *PublicClaimUserRewardsParams
- func (o *PublicClaimUserRewardsParams) WithTimeout(timeout time.Duration) *PublicClaimUserRewardsParams
- func (o *PublicClaimUserRewardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicClaimUserRewardsReader
- type PublicClaimUserRewardsUnauthorized
- type PublicClaimUserRewardsUnprocessableEntity
- type PublicGetUserRewardsForbidden
- type PublicGetUserRewardsInternalServerError
- type PublicGetUserRewardsOK
- type PublicGetUserRewardsParams
- func NewPublicGetUserRewardsParams() *PublicGetUserRewardsParams
- func NewPublicGetUserRewardsParamsWithContext(ctx context.Context) *PublicGetUserRewardsParams
- func NewPublicGetUserRewardsParamsWithHTTPClient(client *http.Client) *PublicGetUserRewardsParams
- func NewPublicGetUserRewardsParamsWithTimeout(timeout time.Duration) *PublicGetUserRewardsParams
- func (o *PublicGetUserRewardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserRewardsParams) SetChallengeCode(challengeCode *string)
- func (o *PublicGetUserRewardsParams) SetContext(ctx context.Context)
- func (o *PublicGetUserRewardsParams) SetFlightId(flightId string)
- func (o *PublicGetUserRewardsParams) SetGoalProgressionID(goalProgressionID *string)
- func (o *PublicGetUserRewardsParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserRewardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserRewardsParams) SetLimit(limit *int64)
- func (o *PublicGetUserRewardsParams) SetNamespace(namespace string)
- func (o *PublicGetUserRewardsParams) SetOffset(offset *int64)
- func (o *PublicGetUserRewardsParams) SetSortBy(sortBy *string)
- func (o *PublicGetUserRewardsParams) SetStatus(status *string)
- func (o *PublicGetUserRewardsParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserRewardsParams) WithChallengeCode(challengeCode *string) *PublicGetUserRewardsParams
- func (o *PublicGetUserRewardsParams) WithContext(ctx context.Context) *PublicGetUserRewardsParams
- func (o *PublicGetUserRewardsParams) WithGoalProgressionID(goalProgressionID *string) *PublicGetUserRewardsParams
- func (o *PublicGetUserRewardsParams) WithHTTPClient(client *http.Client) *PublicGetUserRewardsParams
- func (o *PublicGetUserRewardsParams) WithLimit(limit *int64) *PublicGetUserRewardsParams
- func (o *PublicGetUserRewardsParams) WithNamespace(namespace string) *PublicGetUserRewardsParams
- func (o *PublicGetUserRewardsParams) WithOffset(offset *int64) *PublicGetUserRewardsParams
- func (o *PublicGetUserRewardsParams) WithSortBy(sortBy *string) *PublicGetUserRewardsParams
- func (o *PublicGetUserRewardsParams) WithStatus(status *string) *PublicGetUserRewardsParams
- func (o *PublicGetUserRewardsParams) WithTimeout(timeout time.Duration) *PublicGetUserRewardsParams
- func (o *PublicGetUserRewardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserRewardsReader
- type PublicGetUserRewardsUnauthorized
Constants ¶
const ( AdminGetUserRewardsCreatedAtConstant = "createdAt" AdminGetUserRewardsCreatedAtAscConstant = "createdAt:asc" AdminGetUserRewardsCreatedAtDescConstant = "createdAt:desc" AdminGetUserRewardsUpdatedAtConstant = "updatedAt" AdminGetUserRewardsUpdatedAtAscConstant = "updatedAt:asc" AdminGetUserRewardsUpdatedAtDescConstant = "updatedAt:desc" )
Get the enum in AdminGetUserRewardsParams
const ( AdminGetUserRewardsCLAIMEDConstant = "CLAIMED" AdminGetUserRewardsUNCLAIMEDConstant = "UNCLAIMED" )
Get the enum in AdminGetUserRewardsParams
const ( PublicGetUserRewardsCreatedAtConstant = "createdAt" PublicGetUserRewardsCreatedAtAscConstant = "createdAt:asc" PublicGetUserRewardsCreatedAtDescConstant = "createdAt:desc" PublicGetUserRewardsUpdatedAtConstant = "updatedAt" PublicGetUserRewardsUpdatedAtAscConstant = "updatedAt:asc" PublicGetUserRewardsUpdatedAtDescConstant = "updatedAt:desc" )
Get the enum in PublicGetUserRewardsParams
const ( PublicGetUserRewardsCLAIMEDConstant = "CLAIMED" PublicGetUserRewardsUNCLAIMEDConstant = "UNCLAIMED" )
Get the enum in PublicGetUserRewardsParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminClaimUserRewardsByGoalCodeBadRequest ¶ added in v0.74.0
type AdminClaimUserRewardsByGoalCodeBadRequest struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminClaimUserRewardsByGoalCodeBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20018</td><td>bad request: {{message}}</td></tr></table>
func NewAdminClaimUserRewardsByGoalCodeBadRequest ¶ added in v0.74.0
func NewAdminClaimUserRewardsByGoalCodeBadRequest() *AdminClaimUserRewardsByGoalCodeBadRequest
NewAdminClaimUserRewardsByGoalCodeBadRequest creates a AdminClaimUserRewardsByGoalCodeBadRequest with default headers values
func (*AdminClaimUserRewardsByGoalCodeBadRequest) Error ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeBadRequest) Error() string
func (*AdminClaimUserRewardsByGoalCodeBadRequest) GetPayload ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeBadRequest) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminClaimUserRewardsByGoalCodeBadRequest) ToJSONString ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeBadRequest) ToJSONString() string
type AdminClaimUserRewardsByGoalCodeForbidden ¶ added in v0.74.0
type AdminClaimUserRewardsByGoalCodeForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminClaimUserRewardsByGoalCodeForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminClaimUserRewardsByGoalCodeForbidden ¶ added in v0.74.0
func NewAdminClaimUserRewardsByGoalCodeForbidden() *AdminClaimUserRewardsByGoalCodeForbidden
NewAdminClaimUserRewardsByGoalCodeForbidden creates a AdminClaimUserRewardsByGoalCodeForbidden with default headers values
func (*AdminClaimUserRewardsByGoalCodeForbidden) Error ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeForbidden) Error() string
func (*AdminClaimUserRewardsByGoalCodeForbidden) GetPayload ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminClaimUserRewardsByGoalCodeForbidden) ToJSONString ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeForbidden) ToJSONString() string
type AdminClaimUserRewardsByGoalCodeInternalServerError ¶ added in v0.74.0
type AdminClaimUserRewardsByGoalCodeInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminClaimUserRewardsByGoalCodeInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewAdminClaimUserRewardsByGoalCodeInternalServerError ¶ added in v0.74.0
func NewAdminClaimUserRewardsByGoalCodeInternalServerError() *AdminClaimUserRewardsByGoalCodeInternalServerError
NewAdminClaimUserRewardsByGoalCodeInternalServerError creates a AdminClaimUserRewardsByGoalCodeInternalServerError with default headers values
func (*AdminClaimUserRewardsByGoalCodeInternalServerError) Error ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeInternalServerError) Error() string
func (*AdminClaimUserRewardsByGoalCodeInternalServerError) GetPayload ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminClaimUserRewardsByGoalCodeInternalServerError) ToJSONString ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeInternalServerError) ToJSONString() string
type AdminClaimUserRewardsByGoalCodeNotFound ¶ added in v0.74.0
type AdminClaimUserRewardsByGoalCodeNotFound struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminClaimUserRewardsByGoalCodeNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20029</td><td>not found</td></tr></table>
func NewAdminClaimUserRewardsByGoalCodeNotFound ¶ added in v0.74.0
func NewAdminClaimUserRewardsByGoalCodeNotFound() *AdminClaimUserRewardsByGoalCodeNotFound
NewAdminClaimUserRewardsByGoalCodeNotFound creates a AdminClaimUserRewardsByGoalCodeNotFound with default headers values
func (*AdminClaimUserRewardsByGoalCodeNotFound) Error ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeNotFound) Error() string
func (*AdminClaimUserRewardsByGoalCodeNotFound) GetPayload ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeNotFound) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminClaimUserRewardsByGoalCodeNotFound) ToJSONString ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeNotFound) ToJSONString() string
type AdminClaimUserRewardsByGoalCodeOK ¶ added in v0.74.0
type AdminClaimUserRewardsByGoalCodeOK struct {
Payload []*challengeclientmodels.ModelUserReward
}
AdminClaimUserRewardsByGoalCodeOK handles this case with default header values.
OK
func NewAdminClaimUserRewardsByGoalCodeOK ¶ added in v0.74.0
func NewAdminClaimUserRewardsByGoalCodeOK() *AdminClaimUserRewardsByGoalCodeOK
NewAdminClaimUserRewardsByGoalCodeOK creates a AdminClaimUserRewardsByGoalCodeOK with default headers values
func (*AdminClaimUserRewardsByGoalCodeOK) Error ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeOK) Error() string
func (*AdminClaimUserRewardsByGoalCodeOK) GetPayload ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeOK) GetPayload() []*challengeclientmodels.ModelUserReward
func (*AdminClaimUserRewardsByGoalCodeOK) ToJSONString ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeOK) ToJSONString() string
type AdminClaimUserRewardsByGoalCodeParams ¶ added in v0.74.0
type AdminClaimUserRewardsByGoalCodeParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *challengeclientmodels.ModelClaimUserRewardsByGoalCodeRequest /*ChallengeCode*/ ChallengeCode string /*Namespace namespace of the game */ Namespace string /*UserID*/ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminClaimUserRewardsByGoalCodeParams contains all the parameters to send to the API endpoint for the admin claim user rewards by goal code operation typically these are written to a http.Request
func NewAdminClaimUserRewardsByGoalCodeParams ¶ added in v0.74.0
func NewAdminClaimUserRewardsByGoalCodeParams() *AdminClaimUserRewardsByGoalCodeParams
NewAdminClaimUserRewardsByGoalCodeParams creates a new AdminClaimUserRewardsByGoalCodeParams object with the default values initialized.
func NewAdminClaimUserRewardsByGoalCodeParamsWithContext ¶ added in v0.74.0
func NewAdminClaimUserRewardsByGoalCodeParamsWithContext(ctx context.Context) *AdminClaimUserRewardsByGoalCodeParams
NewAdminClaimUserRewardsByGoalCodeParamsWithContext creates a new AdminClaimUserRewardsByGoalCodeParams object with the default values initialized, and the ability to set a context for a request
func NewAdminClaimUserRewardsByGoalCodeParamsWithHTTPClient ¶ added in v0.74.0
func NewAdminClaimUserRewardsByGoalCodeParamsWithHTTPClient(client *http.Client) *AdminClaimUserRewardsByGoalCodeParams
NewAdminClaimUserRewardsByGoalCodeParamsWithHTTPClient creates a new AdminClaimUserRewardsByGoalCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminClaimUserRewardsByGoalCodeParamsWithTimeout ¶ added in v0.74.0
func NewAdminClaimUserRewardsByGoalCodeParamsWithTimeout(timeout time.Duration) *AdminClaimUserRewardsByGoalCodeParams
NewAdminClaimUserRewardsByGoalCodeParamsWithTimeout creates a new AdminClaimUserRewardsByGoalCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminClaimUserRewardsByGoalCodeParams) SetAuthInfoWriter ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) SetBody ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) SetBody(body *challengeclientmodels.ModelClaimUserRewardsByGoalCodeRequest)
SetBody adds the body to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) SetChallengeCode ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) SetContext ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) SetFlightId ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminClaimUserRewardsByGoalCodeParams) SetHTTPClient ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) SetHTTPClientTransport ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) SetNamespace ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) SetTimeout ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) SetUserID ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) SetUserID(userID string)
SetUserID adds the userId to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) WithBody ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) WithBody(body *challengeclientmodels.ModelClaimUserRewardsByGoalCodeRequest) *AdminClaimUserRewardsByGoalCodeParams
WithBody adds the body to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) WithChallengeCode ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) WithChallengeCode(challengeCode string) *AdminClaimUserRewardsByGoalCodeParams
WithChallengeCode adds the challengeCode to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) WithContext ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) WithContext(ctx context.Context) *AdminClaimUserRewardsByGoalCodeParams
WithContext adds the context to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) WithHTTPClient ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) WithHTTPClient(client *http.Client) *AdminClaimUserRewardsByGoalCodeParams
WithHTTPClient adds the HTTPClient to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) WithNamespace ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) WithNamespace(namespace string) *AdminClaimUserRewardsByGoalCodeParams
WithNamespace adds the namespace to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) WithTimeout ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) WithTimeout(timeout time.Duration) *AdminClaimUserRewardsByGoalCodeParams
WithTimeout adds the timeout to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) WithUserID ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) WithUserID(userID string) *AdminClaimUserRewardsByGoalCodeParams
WithUserID adds the userID to the admin claim user rewards by goal code params
func (*AdminClaimUserRewardsByGoalCodeParams) WriteToRequest ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminClaimUserRewardsByGoalCodeReader ¶ added in v0.74.0
type AdminClaimUserRewardsByGoalCodeReader struct {
// contains filtered or unexported fields
}
AdminClaimUserRewardsByGoalCodeReader is a Reader for the AdminClaimUserRewardsByGoalCode structure.
func (*AdminClaimUserRewardsByGoalCodeReader) ReadResponse ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminClaimUserRewardsByGoalCodeUnauthorized ¶ added in v0.74.0
type AdminClaimUserRewardsByGoalCodeUnauthorized struct {
}AdminClaimUserRewardsByGoalCodeUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminClaimUserRewardsByGoalCodeUnauthorized ¶ added in v0.74.0
func NewAdminClaimUserRewardsByGoalCodeUnauthorized() *AdminClaimUserRewardsByGoalCodeUnauthorized
NewAdminClaimUserRewardsByGoalCodeUnauthorized creates a AdminClaimUserRewardsByGoalCodeUnauthorized with default headers values
func (*AdminClaimUserRewardsByGoalCodeUnauthorized) Error ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeUnauthorized) Error() string
func (*AdminClaimUserRewardsByGoalCodeUnauthorized) GetPayload ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminClaimUserRewardsByGoalCodeUnauthorized) ToJSONString ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeUnauthorized) ToJSONString() string
type AdminClaimUserRewardsByGoalCodeUnprocessableEntity ¶ added in v0.74.0
type AdminClaimUserRewardsByGoalCodeUnprocessableEntity struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminClaimUserRewardsByGoalCodeUnprocessableEntity handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>99004</td><td>unprocessable entity: {{message}}</td></tr></table>
func NewAdminClaimUserRewardsByGoalCodeUnprocessableEntity ¶ added in v0.74.0
func NewAdminClaimUserRewardsByGoalCodeUnprocessableEntity() *AdminClaimUserRewardsByGoalCodeUnprocessableEntity
NewAdminClaimUserRewardsByGoalCodeUnprocessableEntity creates a AdminClaimUserRewardsByGoalCodeUnprocessableEntity with default headers values
func (*AdminClaimUserRewardsByGoalCodeUnprocessableEntity) Error ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeUnprocessableEntity) Error() string
func (*AdminClaimUserRewardsByGoalCodeUnprocessableEntity) GetPayload ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeUnprocessableEntity) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminClaimUserRewardsByGoalCodeUnprocessableEntity) ToJSONString ¶ added in v0.74.0
func (o *AdminClaimUserRewardsByGoalCodeUnprocessableEntity) ToJSONString() string
type AdminClaimUserRewardsForbidden ¶ added in v0.71.0
type AdminClaimUserRewardsForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminClaimUserRewardsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminClaimUserRewardsForbidden ¶ added in v0.71.0
func NewAdminClaimUserRewardsForbidden() *AdminClaimUserRewardsForbidden
NewAdminClaimUserRewardsForbidden creates a AdminClaimUserRewardsForbidden with default headers values
func (*AdminClaimUserRewardsForbidden) Error ¶ added in v0.71.0
func (o *AdminClaimUserRewardsForbidden) Error() string
func (*AdminClaimUserRewardsForbidden) GetPayload ¶ added in v0.71.0
func (o *AdminClaimUserRewardsForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminClaimUserRewardsForbidden) ToJSONString ¶ added in v0.71.0
func (o *AdminClaimUserRewardsForbidden) ToJSONString() string
type AdminClaimUserRewardsInternalServerError ¶ added in v0.71.0
type AdminClaimUserRewardsInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminClaimUserRewardsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewAdminClaimUserRewardsInternalServerError ¶ added in v0.71.0
func NewAdminClaimUserRewardsInternalServerError() *AdminClaimUserRewardsInternalServerError
NewAdminClaimUserRewardsInternalServerError creates a AdminClaimUserRewardsInternalServerError with default headers values
func (*AdminClaimUserRewardsInternalServerError) Error ¶ added in v0.71.0
func (o *AdminClaimUserRewardsInternalServerError) Error() string
func (*AdminClaimUserRewardsInternalServerError) GetPayload ¶ added in v0.71.0
func (o *AdminClaimUserRewardsInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminClaimUserRewardsInternalServerError) ToJSONString ¶ added in v0.71.0
func (o *AdminClaimUserRewardsInternalServerError) ToJSONString() string
type AdminClaimUserRewardsNotFound ¶ added in v0.71.0
type AdminClaimUserRewardsNotFound struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminClaimUserRewardsNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20029</td><td>not found</td></tr></table>
func NewAdminClaimUserRewardsNotFound ¶ added in v0.71.0
func NewAdminClaimUserRewardsNotFound() *AdminClaimUserRewardsNotFound
NewAdminClaimUserRewardsNotFound creates a AdminClaimUserRewardsNotFound with default headers values
func (*AdminClaimUserRewardsNotFound) Error ¶ added in v0.71.0
func (o *AdminClaimUserRewardsNotFound) Error() string
func (*AdminClaimUserRewardsNotFound) GetPayload ¶ added in v0.71.0
func (o *AdminClaimUserRewardsNotFound) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminClaimUserRewardsNotFound) ToJSONString ¶ added in v0.71.0
func (o *AdminClaimUserRewardsNotFound) ToJSONString() string
type AdminClaimUserRewardsOK ¶ added in v0.71.0
type AdminClaimUserRewardsOK struct {
Payload []*challengeclientmodels.ModelUserReward
}
AdminClaimUserRewardsOK handles this case with default header values.
OK
func NewAdminClaimUserRewardsOK ¶ added in v0.71.0
func NewAdminClaimUserRewardsOK() *AdminClaimUserRewardsOK
NewAdminClaimUserRewardsOK creates a AdminClaimUserRewardsOK with default headers values
func (*AdminClaimUserRewardsOK) Error ¶ added in v0.71.0
func (o *AdminClaimUserRewardsOK) Error() string
func (*AdminClaimUserRewardsOK) GetPayload ¶ added in v0.71.0
func (o *AdminClaimUserRewardsOK) GetPayload() []*challengeclientmodels.ModelUserReward
func (*AdminClaimUserRewardsOK) ToJSONString ¶ added in v0.71.0
func (o *AdminClaimUserRewardsOK) ToJSONString() string
type AdminClaimUserRewardsParams ¶ added in v0.71.0
type AdminClaimUserRewardsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *challengeclientmodels.ModelClaimUserRewardsReq /*Namespace namespace of the game */ Namespace string /*UserID user id */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminClaimUserRewardsParams contains all the parameters to send to the API endpoint for the admin claim user rewards operation typically these are written to a http.Request
func NewAdminClaimUserRewardsParams ¶ added in v0.71.0
func NewAdminClaimUserRewardsParams() *AdminClaimUserRewardsParams
NewAdminClaimUserRewardsParams creates a new AdminClaimUserRewardsParams object with the default values initialized.
func NewAdminClaimUserRewardsParamsWithContext ¶ added in v0.71.0
func NewAdminClaimUserRewardsParamsWithContext(ctx context.Context) *AdminClaimUserRewardsParams
NewAdminClaimUserRewardsParamsWithContext creates a new AdminClaimUserRewardsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminClaimUserRewardsParamsWithHTTPClient ¶ added in v0.71.0
func NewAdminClaimUserRewardsParamsWithHTTPClient(client *http.Client) *AdminClaimUserRewardsParams
NewAdminClaimUserRewardsParamsWithHTTPClient creates a new AdminClaimUserRewardsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminClaimUserRewardsParamsWithTimeout ¶ added in v0.71.0
func NewAdminClaimUserRewardsParamsWithTimeout(timeout time.Duration) *AdminClaimUserRewardsParams
NewAdminClaimUserRewardsParamsWithTimeout creates a new AdminClaimUserRewardsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminClaimUserRewardsParams) SetAuthInfoWriter ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) SetBody ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) SetBody(body *challengeclientmodels.ModelClaimUserRewardsReq)
SetBody adds the body to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) SetContext ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) SetFlightId ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminClaimUserRewardsParams) SetHTTPClient ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) SetHTTPClientTransport ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) SetNamespace ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) SetTimeout ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) SetUserID ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) SetUserID(userID string)
SetUserID adds the userId to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) WithBody ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) WithBody(body *challengeclientmodels.ModelClaimUserRewardsReq) *AdminClaimUserRewardsParams
WithBody adds the body to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) WithContext ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) WithContext(ctx context.Context) *AdminClaimUserRewardsParams
WithContext adds the context to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) WithHTTPClient ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) WithHTTPClient(client *http.Client) *AdminClaimUserRewardsParams
WithHTTPClient adds the HTTPClient to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) WithNamespace ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) WithNamespace(namespace string) *AdminClaimUserRewardsParams
WithNamespace adds the namespace to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) WithTimeout ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) WithTimeout(timeout time.Duration) *AdminClaimUserRewardsParams
WithTimeout adds the timeout to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) WithUserID ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) WithUserID(userID string) *AdminClaimUserRewardsParams
WithUserID adds the userID to the admin claim user rewards params
func (*AdminClaimUserRewardsParams) WriteToRequest ¶ added in v0.71.0
func (o *AdminClaimUserRewardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminClaimUserRewardsReader ¶ added in v0.71.0
type AdminClaimUserRewardsReader struct {
// contains filtered or unexported fields
}
AdminClaimUserRewardsReader is a Reader for the AdminClaimUserRewards structure.
func (*AdminClaimUserRewardsReader) ReadResponse ¶ added in v0.71.0
func (o *AdminClaimUserRewardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminClaimUserRewardsUnauthorized ¶ added in v0.71.0
type AdminClaimUserRewardsUnauthorized struct {
}AdminClaimUserRewardsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminClaimUserRewardsUnauthorized ¶ added in v0.71.0
func NewAdminClaimUserRewardsUnauthorized() *AdminClaimUserRewardsUnauthorized
NewAdminClaimUserRewardsUnauthorized creates a AdminClaimUserRewardsUnauthorized with default headers values
func (*AdminClaimUserRewardsUnauthorized) Error ¶ added in v0.71.0
func (o *AdminClaimUserRewardsUnauthorized) Error() string
func (*AdminClaimUserRewardsUnauthorized) GetPayload ¶ added in v0.71.0
func (o *AdminClaimUserRewardsUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminClaimUserRewardsUnauthorized) ToJSONString ¶ added in v0.71.0
func (o *AdminClaimUserRewardsUnauthorized) ToJSONString() string
type AdminClaimUserRewardsUnprocessableEntity ¶ added in v0.71.0
type AdminClaimUserRewardsUnprocessableEntity struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminClaimUserRewardsUnprocessableEntity handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>99004</td><td>unprocessable entity: {{message}}</td></tr></table>
func NewAdminClaimUserRewardsUnprocessableEntity ¶ added in v0.71.0
func NewAdminClaimUserRewardsUnprocessableEntity() *AdminClaimUserRewardsUnprocessableEntity
NewAdminClaimUserRewardsUnprocessableEntity creates a AdminClaimUserRewardsUnprocessableEntity with default headers values
func (*AdminClaimUserRewardsUnprocessableEntity) Error ¶ added in v0.71.0
func (o *AdminClaimUserRewardsUnprocessableEntity) Error() string
func (*AdminClaimUserRewardsUnprocessableEntity) GetPayload ¶ added in v0.71.0
func (o *AdminClaimUserRewardsUnprocessableEntity) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminClaimUserRewardsUnprocessableEntity) ToJSONString ¶ added in v0.71.0
func (o *AdminClaimUserRewardsUnprocessableEntity) ToJSONString() string
type AdminClaimUsersRewardsBadRequest ¶ added in v0.71.0
type AdminClaimUsersRewardsBadRequest struct {
Payload *challengeclientmodels.ResponseError
}
AdminClaimUsersRewardsBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20018</td><td>bad request: {{message}}</td></tr></table>
func NewAdminClaimUsersRewardsBadRequest ¶ added in v0.71.0
func NewAdminClaimUsersRewardsBadRequest() *AdminClaimUsersRewardsBadRequest
NewAdminClaimUsersRewardsBadRequest creates a AdminClaimUsersRewardsBadRequest with default headers values
func (*AdminClaimUsersRewardsBadRequest) Error ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsBadRequest) Error() string
func (*AdminClaimUsersRewardsBadRequest) GetPayload ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsBadRequest) GetPayload() *challengeclientmodels.ResponseError
func (*AdminClaimUsersRewardsBadRequest) ToJSONString ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsBadRequest) ToJSONString() string
type AdminClaimUsersRewardsForbidden ¶ added in v0.71.0
type AdminClaimUsersRewardsForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminClaimUsersRewardsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminClaimUsersRewardsForbidden ¶ added in v0.71.0
func NewAdminClaimUsersRewardsForbidden() *AdminClaimUsersRewardsForbidden
NewAdminClaimUsersRewardsForbidden creates a AdminClaimUsersRewardsForbidden with default headers values
func (*AdminClaimUsersRewardsForbidden) Error ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsForbidden) Error() string
func (*AdminClaimUsersRewardsForbidden) GetPayload ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminClaimUsersRewardsForbidden) ToJSONString ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsForbidden) ToJSONString() string
type AdminClaimUsersRewardsInternalServerError ¶ added in v0.71.0
type AdminClaimUsersRewardsInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminClaimUsersRewardsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewAdminClaimUsersRewardsInternalServerError ¶ added in v0.71.0
func NewAdminClaimUsersRewardsInternalServerError() *AdminClaimUsersRewardsInternalServerError
NewAdminClaimUsersRewardsInternalServerError creates a AdminClaimUsersRewardsInternalServerError with default headers values
func (*AdminClaimUsersRewardsInternalServerError) Error ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsInternalServerError) Error() string
func (*AdminClaimUsersRewardsInternalServerError) GetPayload ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminClaimUsersRewardsInternalServerError) ToJSONString ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsInternalServerError) ToJSONString() string
type AdminClaimUsersRewardsNotFound ¶ added in v0.71.0
type AdminClaimUsersRewardsNotFound struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminClaimUsersRewardsNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20029</td><td>not found</td></tr></table>
func NewAdminClaimUsersRewardsNotFound ¶ added in v0.71.0
func NewAdminClaimUsersRewardsNotFound() *AdminClaimUsersRewardsNotFound
NewAdminClaimUsersRewardsNotFound creates a AdminClaimUsersRewardsNotFound with default headers values
func (*AdminClaimUsersRewardsNotFound) Error ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsNotFound) Error() string
func (*AdminClaimUsersRewardsNotFound) GetPayload ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsNotFound) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminClaimUsersRewardsNotFound) ToJSONString ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsNotFound) ToJSONString() string
type AdminClaimUsersRewardsOK ¶ added in v0.71.0
type AdminClaimUsersRewardsOK struct {
Payload []*challengeclientmodels.ModelClaimUsersRewardsResponse
}
AdminClaimUsersRewardsOK handles this case with default header values.
OK
func NewAdminClaimUsersRewardsOK ¶ added in v0.71.0
func NewAdminClaimUsersRewardsOK() *AdminClaimUsersRewardsOK
NewAdminClaimUsersRewardsOK creates a AdminClaimUsersRewardsOK with default headers values
func (*AdminClaimUsersRewardsOK) Error ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsOK) Error() string
func (*AdminClaimUsersRewardsOK) GetPayload ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsOK) GetPayload() []*challengeclientmodels.ModelClaimUsersRewardsResponse
func (*AdminClaimUsersRewardsOK) ToJSONString ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsOK) ToJSONString() string
type AdminClaimUsersRewardsParams ¶ added in v0.71.0
type AdminClaimUsersRewardsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body []*challengeclientmodels.ModelClaimUsersRewardsRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminClaimUsersRewardsParams contains all the parameters to send to the API endpoint for the admin claim users rewards operation typically these are written to a http.Request
func NewAdminClaimUsersRewardsParams ¶ added in v0.71.0
func NewAdminClaimUsersRewardsParams() *AdminClaimUsersRewardsParams
NewAdminClaimUsersRewardsParams creates a new AdminClaimUsersRewardsParams object with the default values initialized.
func NewAdminClaimUsersRewardsParamsWithContext ¶ added in v0.71.0
func NewAdminClaimUsersRewardsParamsWithContext(ctx context.Context) *AdminClaimUsersRewardsParams
NewAdminClaimUsersRewardsParamsWithContext creates a new AdminClaimUsersRewardsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminClaimUsersRewardsParamsWithHTTPClient ¶ added in v0.71.0
func NewAdminClaimUsersRewardsParamsWithHTTPClient(client *http.Client) *AdminClaimUsersRewardsParams
NewAdminClaimUsersRewardsParamsWithHTTPClient creates a new AdminClaimUsersRewardsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminClaimUsersRewardsParamsWithTimeout ¶ added in v0.71.0
func NewAdminClaimUsersRewardsParamsWithTimeout(timeout time.Duration) *AdminClaimUsersRewardsParams
NewAdminClaimUsersRewardsParamsWithTimeout creates a new AdminClaimUsersRewardsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminClaimUsersRewardsParams) SetAuthInfoWriter ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin claim users rewards params
func (*AdminClaimUsersRewardsParams) SetBody ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) SetBody(body []*challengeclientmodels.ModelClaimUsersRewardsRequest)
SetBody adds the body to the admin claim users rewards params
func (*AdminClaimUsersRewardsParams) SetContext ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin claim users rewards params
func (*AdminClaimUsersRewardsParams) SetFlightId ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminClaimUsersRewardsParams) SetHTTPClient ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin claim users rewards params
func (*AdminClaimUsersRewardsParams) SetHTTPClientTransport ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin claim users rewards params
func (*AdminClaimUsersRewardsParams) SetNamespace ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin claim users rewards params
func (*AdminClaimUsersRewardsParams) SetTimeout ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin claim users rewards params
func (*AdminClaimUsersRewardsParams) WithBody ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) WithBody(body []*challengeclientmodels.ModelClaimUsersRewardsRequest) *AdminClaimUsersRewardsParams
WithBody adds the body to the admin claim users rewards params
func (*AdminClaimUsersRewardsParams) WithContext ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) WithContext(ctx context.Context) *AdminClaimUsersRewardsParams
WithContext adds the context to the admin claim users rewards params
func (*AdminClaimUsersRewardsParams) WithHTTPClient ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) WithHTTPClient(client *http.Client) *AdminClaimUsersRewardsParams
WithHTTPClient adds the HTTPClient to the admin claim users rewards params
func (*AdminClaimUsersRewardsParams) WithNamespace ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) WithNamespace(namespace string) *AdminClaimUsersRewardsParams
WithNamespace adds the namespace to the admin claim users rewards params
func (*AdminClaimUsersRewardsParams) WithTimeout ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) WithTimeout(timeout time.Duration) *AdminClaimUsersRewardsParams
WithTimeout adds the timeout to the admin claim users rewards params
func (*AdminClaimUsersRewardsParams) WriteToRequest ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminClaimUsersRewardsReader ¶ added in v0.71.0
type AdminClaimUsersRewardsReader struct {
// contains filtered or unexported fields
}
AdminClaimUsersRewardsReader is a Reader for the AdminClaimUsersRewards structure.
func (*AdminClaimUsersRewardsReader) ReadResponse ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminClaimUsersRewardsUnauthorized ¶ added in v0.71.0
type AdminClaimUsersRewardsUnauthorized struct {
}AdminClaimUsersRewardsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminClaimUsersRewardsUnauthorized ¶ added in v0.71.0
func NewAdminClaimUsersRewardsUnauthorized() *AdminClaimUsersRewardsUnauthorized
NewAdminClaimUsersRewardsUnauthorized creates a AdminClaimUsersRewardsUnauthorized with default headers values
func (*AdminClaimUsersRewardsUnauthorized) Error ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsUnauthorized) Error() string
func (*AdminClaimUsersRewardsUnauthorized) GetPayload ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminClaimUsersRewardsUnauthorized) ToJSONString ¶ added in v0.71.0
func (o *AdminClaimUsersRewardsUnauthorized) ToJSONString() string
type AdminGetUserRewardsForbidden ¶
type AdminGetUserRewardsForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminGetUserRewardsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewAdminGetUserRewardsForbidden ¶
func NewAdminGetUserRewardsForbidden() *AdminGetUserRewardsForbidden
NewAdminGetUserRewardsForbidden creates a AdminGetUserRewardsForbidden with default headers values
func (*AdminGetUserRewardsForbidden) Error ¶
func (o *AdminGetUserRewardsForbidden) Error() string
func (*AdminGetUserRewardsForbidden) GetPayload ¶
func (o *AdminGetUserRewardsForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetUserRewardsForbidden) ToJSONString ¶
func (o *AdminGetUserRewardsForbidden) ToJSONString() string
type AdminGetUserRewardsInternalServerError ¶
type AdminGetUserRewardsInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminGetUserRewardsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewAdminGetUserRewardsInternalServerError ¶
func NewAdminGetUserRewardsInternalServerError() *AdminGetUserRewardsInternalServerError
NewAdminGetUserRewardsInternalServerError creates a AdminGetUserRewardsInternalServerError with default headers values
func (*AdminGetUserRewardsInternalServerError) Error ¶
func (o *AdminGetUserRewardsInternalServerError) Error() string
func (*AdminGetUserRewardsInternalServerError) GetPayload ¶
func (o *AdminGetUserRewardsInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminGetUserRewardsInternalServerError) ToJSONString ¶
func (o *AdminGetUserRewardsInternalServerError) ToJSONString() string
type AdminGetUserRewardsOK ¶
type AdminGetUserRewardsOK struct {
Payload *challengeclientmodels.ModelListUserRewardsResponse
}
AdminGetUserRewardsOK handles this case with default header values.
OK
func NewAdminGetUserRewardsOK ¶
func NewAdminGetUserRewardsOK() *AdminGetUserRewardsOK
NewAdminGetUserRewardsOK creates a AdminGetUserRewardsOK with default headers values
func (*AdminGetUserRewardsOK) Error ¶
func (o *AdminGetUserRewardsOK) Error() string
func (*AdminGetUserRewardsOK) GetPayload ¶
func (o *AdminGetUserRewardsOK) GetPayload() *challengeclientmodels.ModelListUserRewardsResponse
func (*AdminGetUserRewardsOK) ToJSONString ¶
func (o *AdminGetUserRewardsOK) ToJSONString() string
type AdminGetUserRewardsParams ¶
type AdminGetUserRewardsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*UserID user id */ UserID string /*ChallengeCode reward's challenge code */ ChallengeCode *string /*GoalProgressionID reward's goal progression id */ GoalProgressionID *string /*Limit limit the amount of data retrieved */ Limit *int64 /*Offset offset */ Offset *int64 /*SortBy sort list by attributes. default value: updatedAt:desc. */ SortBy *string /*Status user reward status */ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetUserRewardsParams contains all the parameters to send to the API endpoint for the admin get user rewards operation typically these are written to a http.Request
func NewAdminGetUserRewardsParams ¶
func NewAdminGetUserRewardsParams() *AdminGetUserRewardsParams
NewAdminGetUserRewardsParams creates a new AdminGetUserRewardsParams object with the default values initialized.
func NewAdminGetUserRewardsParamsWithContext ¶
func NewAdminGetUserRewardsParamsWithContext(ctx context.Context) *AdminGetUserRewardsParams
NewAdminGetUserRewardsParamsWithContext creates a new AdminGetUserRewardsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetUserRewardsParamsWithHTTPClient ¶
func NewAdminGetUserRewardsParamsWithHTTPClient(client *http.Client) *AdminGetUserRewardsParams
NewAdminGetUserRewardsParamsWithHTTPClient creates a new AdminGetUserRewardsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetUserRewardsParamsWithTimeout ¶
func NewAdminGetUserRewardsParamsWithTimeout(timeout time.Duration) *AdminGetUserRewardsParams
NewAdminGetUserRewardsParamsWithTimeout creates a new AdminGetUserRewardsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetUserRewardsParams) SetAuthInfoWriter ¶
func (o *AdminGetUserRewardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get user rewards params
func (*AdminGetUserRewardsParams) SetChallengeCode ¶ added in v0.76.0
func (o *AdminGetUserRewardsParams) SetChallengeCode(challengeCode *string)
SetChallengeCode adds the challengeCode to the admin get user rewards params
func (*AdminGetUserRewardsParams) SetContext ¶
func (o *AdminGetUserRewardsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get user rewards params
func (*AdminGetUserRewardsParams) SetFlightId ¶
func (o *AdminGetUserRewardsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetUserRewardsParams) SetGoalProgressionID ¶ added in v0.76.0
func (o *AdminGetUserRewardsParams) SetGoalProgressionID(goalProgressionID *string)
SetGoalProgressionID adds the goalProgressionId to the admin get user rewards params
func (*AdminGetUserRewardsParams) SetHTTPClient ¶
func (o *AdminGetUserRewardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get user rewards params
func (*AdminGetUserRewardsParams) SetHTTPClientTransport ¶
func (o *AdminGetUserRewardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get user rewards params
func (*AdminGetUserRewardsParams) SetLimit ¶
func (o *AdminGetUserRewardsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin get user rewards params
func (*AdminGetUserRewardsParams) SetNamespace ¶
func (o *AdminGetUserRewardsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get user rewards params
func (*AdminGetUserRewardsParams) SetOffset ¶
func (o *AdminGetUserRewardsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin get user rewards params
func (*AdminGetUserRewardsParams) SetSortBy ¶
func (o *AdminGetUserRewardsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the admin get user rewards params
func (*AdminGetUserRewardsParams) SetStatus ¶
func (o *AdminGetUserRewardsParams) SetStatus(status *string)
SetStatus adds the status to the admin get user rewards params
func (*AdminGetUserRewardsParams) SetTimeout ¶
func (o *AdminGetUserRewardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get user rewards params
func (*AdminGetUserRewardsParams) SetUserID ¶
func (o *AdminGetUserRewardsParams) SetUserID(userID string)
SetUserID adds the userId to the admin get user rewards params
func (*AdminGetUserRewardsParams) WithChallengeCode ¶ added in v0.76.0
func (o *AdminGetUserRewardsParams) WithChallengeCode(challengeCode *string) *AdminGetUserRewardsParams
WithChallengeCode adds the challengeCode to the admin get user rewards params
func (*AdminGetUserRewardsParams) WithContext ¶
func (o *AdminGetUserRewardsParams) WithContext(ctx context.Context) *AdminGetUserRewardsParams
WithContext adds the context to the admin get user rewards params
func (*AdminGetUserRewardsParams) WithGoalProgressionID ¶ added in v0.76.0
func (o *AdminGetUserRewardsParams) WithGoalProgressionID(goalProgressionID *string) *AdminGetUserRewardsParams
WithGoalProgressionID adds the goalProgressionID to the admin get user rewards params
func (*AdminGetUserRewardsParams) WithHTTPClient ¶
func (o *AdminGetUserRewardsParams) WithHTTPClient(client *http.Client) *AdminGetUserRewardsParams
WithHTTPClient adds the HTTPClient to the admin get user rewards params
func (*AdminGetUserRewardsParams) WithLimit ¶
func (o *AdminGetUserRewardsParams) WithLimit(limit *int64) *AdminGetUserRewardsParams
WithLimit adds the limit to the admin get user rewards params
func (*AdminGetUserRewardsParams) WithNamespace ¶
func (o *AdminGetUserRewardsParams) WithNamespace(namespace string) *AdminGetUserRewardsParams
WithNamespace adds the namespace to the admin get user rewards params
func (*AdminGetUserRewardsParams) WithOffset ¶
func (o *AdminGetUserRewardsParams) WithOffset(offset *int64) *AdminGetUserRewardsParams
WithOffset adds the offset to the admin get user rewards params
func (*AdminGetUserRewardsParams) WithSortBy ¶
func (o *AdminGetUserRewardsParams) WithSortBy(sortBy *string) *AdminGetUserRewardsParams
WithSortBy adds the sortBy to the admin get user rewards params
func (*AdminGetUserRewardsParams) WithStatus ¶
func (o *AdminGetUserRewardsParams) WithStatus(status *string) *AdminGetUserRewardsParams
WithStatus adds the status to the admin get user rewards params
func (*AdminGetUserRewardsParams) WithTimeout ¶
func (o *AdminGetUserRewardsParams) WithTimeout(timeout time.Duration) *AdminGetUserRewardsParams
WithTimeout adds the timeout to the admin get user rewards params
func (*AdminGetUserRewardsParams) WithUserID ¶
func (o *AdminGetUserRewardsParams) WithUserID(userID string) *AdminGetUserRewardsParams
WithUserID adds the userID to the admin get user rewards params
func (*AdminGetUserRewardsParams) WriteToRequest ¶
func (o *AdminGetUserRewardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetUserRewardsReader ¶
type AdminGetUserRewardsReader struct {
// contains filtered or unexported fields
}
AdminGetUserRewardsReader is a Reader for the AdminGetUserRewards structure.
func (*AdminGetUserRewardsReader) ReadResponse ¶
func (o *AdminGetUserRewardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetUserRewardsUnauthorized ¶
type AdminGetUserRewardsUnauthorized struct {
}AdminGetUserRewardsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewAdminGetUserRewardsUnauthorized ¶
func NewAdminGetUserRewardsUnauthorized() *AdminGetUserRewardsUnauthorized
NewAdminGetUserRewardsUnauthorized creates a AdminGetUserRewardsUnauthorized with default headers values
func (*AdminGetUserRewardsUnauthorized) Error ¶
func (o *AdminGetUserRewardsUnauthorized) Error() string
func (*AdminGetUserRewardsUnauthorized) GetPayload ¶
func (o *AdminGetUserRewardsUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetUserRewardsUnauthorized) ToJSONString ¶
func (o *AdminGetUserRewardsUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for player reward API
func (*Client) AdminClaimUserRewards
deprecated
added in
v0.71.0
func (a *Client) AdminClaimUserRewards(params *AdminClaimUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUserRewardsOK, *AdminClaimUserRewardsUnauthorized, *AdminClaimUserRewardsForbidden, *AdminClaimUserRewardsNotFound, *AdminClaimUserRewardsUnprocessableEntity, *AdminClaimUserRewardsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminClaimUserRewardsShort instead.
AdminClaimUserRewards claim rewards of a single user - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:REWARD [UPDATE]
func (*Client) AdminClaimUserRewardsByGoalCode
deprecated
added in
v0.74.0
func (a *Client) AdminClaimUserRewardsByGoalCode(params *AdminClaimUserRewardsByGoalCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUserRewardsByGoalCodeOK, *AdminClaimUserRewardsByGoalCodeBadRequest, *AdminClaimUserRewardsByGoalCodeUnauthorized, *AdminClaimUserRewardsByGoalCodeForbidden, *AdminClaimUserRewardsByGoalCodeNotFound, *AdminClaimUserRewardsByGoalCodeUnprocessableEntity, *AdminClaimUserRewardsByGoalCodeInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminClaimUserRewardsByGoalCodeShort instead.
AdminClaimUserRewardsByGoalCode claim rewards of a single user by goal code - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:REWARD [UPDATE]
func (*Client) AdminClaimUserRewardsByGoalCodeShort ¶ added in v0.74.0
func (a *Client) AdminClaimUserRewardsByGoalCodeShort(params *AdminClaimUserRewardsByGoalCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUserRewardsByGoalCodeOK, error)
AdminClaimUserRewardsByGoalCodeShort claim rewards of a single user by goal code - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:REWARD [UPDATE]
func (*Client) AdminClaimUserRewardsShort ¶ added in v0.71.0
func (a *Client) AdminClaimUserRewardsShort(params *AdminClaimUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUserRewardsOK, error)
AdminClaimUserRewardsShort claim rewards of a single user - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:REWARD [UPDATE]
func (*Client) AdminClaimUsersRewards
deprecated
added in
v0.71.0
func (a *Client) AdminClaimUsersRewards(params *AdminClaimUsersRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUsersRewardsOK, *AdminClaimUsersRewardsBadRequest, *AdminClaimUsersRewardsUnauthorized, *AdminClaimUsersRewardsForbidden, *AdminClaimUsersRewardsNotFound, *AdminClaimUsersRewardsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminClaimUsersRewardsShort instead.
AdminClaimUsersRewards claim rewards of multiple users - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:REWARD [UPDATE]
func (*Client) AdminClaimUsersRewardsShort ¶ added in v0.71.0
func (a *Client) AdminClaimUsersRewardsShort(params *AdminClaimUsersRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUsersRewardsOK, error)
AdminClaimUsersRewardsShort claim rewards of multiple users - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:REWARD [UPDATE]
func (*Client) AdminGetUserRewards
deprecated
func (a *Client) AdminGetUserRewards(params *AdminGetUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserRewardsOK, *AdminGetUserRewardsUnauthorized, *AdminGetUserRewardsForbidden, *AdminGetUserRewardsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetUserRewardsShort instead.
AdminGetUserRewards list user's rewards - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:REWARD [READ]
func (*Client) AdminGetUserRewardsShort ¶
func (a *Client) AdminGetUserRewardsShort(params *AdminGetUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserRewardsOK, error)
AdminGetUserRewardsShort list user's rewards - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:REWARD [READ]
func (*Client) PublicClaimUserRewards
deprecated
func (a *Client) PublicClaimUserRewards(params *PublicClaimUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicClaimUserRewardsOK, *PublicClaimUserRewardsUnauthorized, *PublicClaimUserRewardsForbidden, *PublicClaimUserRewardsNotFound, *PublicClaimUserRewardsUnprocessableEntity, *PublicClaimUserRewardsInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicClaimUserRewardsShort instead.
PublicClaimUserRewards claim user's rewards - Required permission: NAMESPACE:{namespace}:CHALLENGE:REWARD [UPDATE]
func (*Client) PublicClaimUserRewardsByGoalCode
deprecated
added in
v0.74.0
func (a *Client) PublicClaimUserRewardsByGoalCode(params *PublicClaimUserRewardsByGoalCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicClaimUserRewardsByGoalCodeOK, *PublicClaimUserRewardsByGoalCodeBadRequest, *PublicClaimUserRewardsByGoalCodeUnauthorized, *PublicClaimUserRewardsByGoalCodeForbidden, *PublicClaimUserRewardsByGoalCodeNotFound, *PublicClaimUserRewardsByGoalCodeUnprocessableEntity, *PublicClaimUserRewardsByGoalCodeInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicClaimUserRewardsByGoalCodeShort instead.
PublicClaimUserRewardsByGoalCode claim user's rewards by goal code - Required permission: NAMESPACE:{namespace}:CHALLENGE:REWARD [UPDATE]
func (*Client) PublicClaimUserRewardsByGoalCodeShort ¶ added in v0.74.0
func (a *Client) PublicClaimUserRewardsByGoalCodeShort(params *PublicClaimUserRewardsByGoalCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicClaimUserRewardsByGoalCodeOK, error)
PublicClaimUserRewardsByGoalCodeShort claim user's rewards by goal code - Required permission: NAMESPACE:{namespace}:CHALLENGE:REWARD [UPDATE]
func (*Client) PublicClaimUserRewardsShort ¶
func (a *Client) PublicClaimUserRewardsShort(params *PublicClaimUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicClaimUserRewardsOK, error)
PublicClaimUserRewardsShort claim user's rewards - Required permission: NAMESPACE:{namespace}:CHALLENGE:REWARD [UPDATE]
func (*Client) PublicGetUserRewards
deprecated
func (a *Client) PublicGetUserRewards(params *PublicGetUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserRewardsOK, *PublicGetUserRewardsUnauthorized, *PublicGetUserRewardsForbidden, *PublicGetUserRewardsInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetUserRewardsShort instead.
PublicGetUserRewards list user's rewards - Required permission: NAMESPACE:{namespace}:CHALLENGE:REWARD [READ]
func (*Client) PublicGetUserRewardsShort ¶
func (a *Client) PublicGetUserRewardsShort(params *PublicGetUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserRewardsOK, error)
PublicGetUserRewardsShort list user's rewards - Required permission: NAMESPACE:{namespace}:CHALLENGE:REWARD [READ]
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminClaimUsersRewards(params *AdminClaimUsersRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUsersRewardsOK, *AdminClaimUsersRewardsBadRequest, *AdminClaimUsersRewardsUnauthorized, *AdminClaimUsersRewardsForbidden, *AdminClaimUsersRewardsNotFound, *AdminClaimUsersRewardsInternalServerError, error) AdminClaimUsersRewardsShort(params *AdminClaimUsersRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUsersRewardsOK, error) AdminClaimUserRewardsByGoalCode(params *AdminClaimUserRewardsByGoalCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUserRewardsByGoalCodeOK, *AdminClaimUserRewardsByGoalCodeBadRequest, *AdminClaimUserRewardsByGoalCodeUnauthorized, *AdminClaimUserRewardsByGoalCodeForbidden, *AdminClaimUserRewardsByGoalCodeNotFound, *AdminClaimUserRewardsByGoalCodeUnprocessableEntity, *AdminClaimUserRewardsByGoalCodeInternalServerError, error) AdminClaimUserRewardsByGoalCodeShort(params *AdminClaimUserRewardsByGoalCodeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUserRewardsByGoalCodeOK, error) AdminGetUserRewards(params *AdminGetUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserRewardsOK, *AdminGetUserRewardsUnauthorized, *AdminGetUserRewardsForbidden, *AdminGetUserRewardsInternalServerError, error) AdminGetUserRewardsShort(params *AdminGetUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserRewardsOK, error) AdminClaimUserRewards(params *AdminClaimUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUserRewardsOK, *AdminClaimUserRewardsUnauthorized, *AdminClaimUserRewardsForbidden, *AdminClaimUserRewardsNotFound, *AdminClaimUserRewardsUnprocessableEntity, *AdminClaimUserRewardsInternalServerError, error) AdminClaimUserRewardsShort(params *AdminClaimUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminClaimUserRewardsOK, error) PublicClaimUserRewardsByGoalCode(params *PublicClaimUserRewardsByGoalCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicClaimUserRewardsByGoalCodeOK, *PublicClaimUserRewardsByGoalCodeBadRequest, *PublicClaimUserRewardsByGoalCodeUnauthorized, *PublicClaimUserRewardsByGoalCodeForbidden, *PublicClaimUserRewardsByGoalCodeNotFound, *PublicClaimUserRewardsByGoalCodeUnprocessableEntity, *PublicClaimUserRewardsByGoalCodeInternalServerError, error) PublicClaimUserRewardsByGoalCodeShort(params *PublicClaimUserRewardsByGoalCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicClaimUserRewardsByGoalCodeOK, error) PublicGetUserRewards(params *PublicGetUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserRewardsOK, *PublicGetUserRewardsUnauthorized, *PublicGetUserRewardsForbidden, *PublicGetUserRewardsInternalServerError, error) PublicGetUserRewardsShort(params *PublicGetUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserRewardsOK, error) PublicClaimUserRewards(params *PublicClaimUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicClaimUserRewardsOK, *PublicClaimUserRewardsUnauthorized, *PublicClaimUserRewardsForbidden, *PublicClaimUserRewardsNotFound, *PublicClaimUserRewardsUnprocessableEntity, *PublicClaimUserRewardsInternalServerError, error) PublicClaimUserRewardsShort(params *PublicClaimUserRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicClaimUserRewardsOK, 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 player reward API client.
type PublicClaimUserRewardsByGoalCodeBadRequest ¶ added in v0.74.0
type PublicClaimUserRewardsByGoalCodeBadRequest struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicClaimUserRewardsByGoalCodeBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20018</td><td>bad request: {{message}}</td></tr></table>
func NewPublicClaimUserRewardsByGoalCodeBadRequest ¶ added in v0.74.0
func NewPublicClaimUserRewardsByGoalCodeBadRequest() *PublicClaimUserRewardsByGoalCodeBadRequest
NewPublicClaimUserRewardsByGoalCodeBadRequest creates a PublicClaimUserRewardsByGoalCodeBadRequest with default headers values
func (*PublicClaimUserRewardsByGoalCodeBadRequest) Error ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeBadRequest) Error() string
func (*PublicClaimUserRewardsByGoalCodeBadRequest) GetPayload ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeBadRequest) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicClaimUserRewardsByGoalCodeBadRequest) ToJSONString ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeBadRequest) ToJSONString() string
type PublicClaimUserRewardsByGoalCodeForbidden ¶ added in v0.74.0
type PublicClaimUserRewardsByGoalCodeForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicClaimUserRewardsByGoalCodeForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPublicClaimUserRewardsByGoalCodeForbidden ¶ added in v0.74.0
func NewPublicClaimUserRewardsByGoalCodeForbidden() *PublicClaimUserRewardsByGoalCodeForbidden
NewPublicClaimUserRewardsByGoalCodeForbidden creates a PublicClaimUserRewardsByGoalCodeForbidden with default headers values
func (*PublicClaimUserRewardsByGoalCodeForbidden) Error ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeForbidden) Error() string
func (*PublicClaimUserRewardsByGoalCodeForbidden) GetPayload ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicClaimUserRewardsByGoalCodeForbidden) ToJSONString ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeForbidden) ToJSONString() string
type PublicClaimUserRewardsByGoalCodeInternalServerError ¶ added in v0.74.0
type PublicClaimUserRewardsByGoalCodeInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
PublicClaimUserRewardsByGoalCodeInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewPublicClaimUserRewardsByGoalCodeInternalServerError ¶ added in v0.74.0
func NewPublicClaimUserRewardsByGoalCodeInternalServerError() *PublicClaimUserRewardsByGoalCodeInternalServerError
NewPublicClaimUserRewardsByGoalCodeInternalServerError creates a PublicClaimUserRewardsByGoalCodeInternalServerError with default headers values
func (*PublicClaimUserRewardsByGoalCodeInternalServerError) Error ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeInternalServerError) Error() string
func (*PublicClaimUserRewardsByGoalCodeInternalServerError) GetPayload ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*PublicClaimUserRewardsByGoalCodeInternalServerError) ToJSONString ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeInternalServerError) ToJSONString() string
type PublicClaimUserRewardsByGoalCodeNotFound ¶ added in v0.74.0
type PublicClaimUserRewardsByGoalCodeNotFound struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicClaimUserRewardsByGoalCodeNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20029</td><td>not found</td></tr></table>
func NewPublicClaimUserRewardsByGoalCodeNotFound ¶ added in v0.74.0
func NewPublicClaimUserRewardsByGoalCodeNotFound() *PublicClaimUserRewardsByGoalCodeNotFound
NewPublicClaimUserRewardsByGoalCodeNotFound creates a PublicClaimUserRewardsByGoalCodeNotFound with default headers values
func (*PublicClaimUserRewardsByGoalCodeNotFound) Error ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeNotFound) Error() string
func (*PublicClaimUserRewardsByGoalCodeNotFound) GetPayload ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeNotFound) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicClaimUserRewardsByGoalCodeNotFound) ToJSONString ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeNotFound) ToJSONString() string
type PublicClaimUserRewardsByGoalCodeOK ¶ added in v0.74.0
type PublicClaimUserRewardsByGoalCodeOK struct {
Payload []*challengeclientmodels.ModelUserReward
}
PublicClaimUserRewardsByGoalCodeOK handles this case with default header values.
OK
func NewPublicClaimUserRewardsByGoalCodeOK ¶ added in v0.74.0
func NewPublicClaimUserRewardsByGoalCodeOK() *PublicClaimUserRewardsByGoalCodeOK
NewPublicClaimUserRewardsByGoalCodeOK creates a PublicClaimUserRewardsByGoalCodeOK with default headers values
func (*PublicClaimUserRewardsByGoalCodeOK) Error ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeOK) Error() string
func (*PublicClaimUserRewardsByGoalCodeOK) GetPayload ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeOK) GetPayload() []*challengeclientmodels.ModelUserReward
func (*PublicClaimUserRewardsByGoalCodeOK) ToJSONString ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeOK) ToJSONString() string
type PublicClaimUserRewardsByGoalCodeParams ¶ added in v0.74.0
type PublicClaimUserRewardsByGoalCodeParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *challengeclientmodels.ModelClaimUserRewardsByGoalCodeRequest /*ChallengeCode*/ ChallengeCode string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicClaimUserRewardsByGoalCodeParams contains all the parameters to send to the API endpoint for the public claim user rewards by goal code operation typically these are written to a http.Request
func NewPublicClaimUserRewardsByGoalCodeParams ¶ added in v0.74.0
func NewPublicClaimUserRewardsByGoalCodeParams() *PublicClaimUserRewardsByGoalCodeParams
NewPublicClaimUserRewardsByGoalCodeParams creates a new PublicClaimUserRewardsByGoalCodeParams object with the default values initialized.
func NewPublicClaimUserRewardsByGoalCodeParamsWithContext ¶ added in v0.74.0
func NewPublicClaimUserRewardsByGoalCodeParamsWithContext(ctx context.Context) *PublicClaimUserRewardsByGoalCodeParams
NewPublicClaimUserRewardsByGoalCodeParamsWithContext creates a new PublicClaimUserRewardsByGoalCodeParams object with the default values initialized, and the ability to set a context for a request
func NewPublicClaimUserRewardsByGoalCodeParamsWithHTTPClient ¶ added in v0.74.0
func NewPublicClaimUserRewardsByGoalCodeParamsWithHTTPClient(client *http.Client) *PublicClaimUserRewardsByGoalCodeParams
NewPublicClaimUserRewardsByGoalCodeParamsWithHTTPClient creates a new PublicClaimUserRewardsByGoalCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicClaimUserRewardsByGoalCodeParamsWithTimeout ¶ added in v0.74.0
func NewPublicClaimUserRewardsByGoalCodeParamsWithTimeout(timeout time.Duration) *PublicClaimUserRewardsByGoalCodeParams
NewPublicClaimUserRewardsByGoalCodeParamsWithTimeout creates a new PublicClaimUserRewardsByGoalCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicClaimUserRewardsByGoalCodeParams) SetAuthInfoWriter ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) SetBody ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) SetBody(body *challengeclientmodels.ModelClaimUserRewardsByGoalCodeRequest)
SetBody adds the body to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) SetChallengeCode ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) SetContext ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) SetFlightId ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicClaimUserRewardsByGoalCodeParams) SetHTTPClient ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) SetHTTPClientTransport ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) SetNamespace ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) SetTimeout ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) WithBody ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) WithBody(body *challengeclientmodels.ModelClaimUserRewardsByGoalCodeRequest) *PublicClaimUserRewardsByGoalCodeParams
WithBody adds the body to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) WithChallengeCode ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) WithChallengeCode(challengeCode string) *PublicClaimUserRewardsByGoalCodeParams
WithChallengeCode adds the challengeCode to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) WithContext ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) WithContext(ctx context.Context) *PublicClaimUserRewardsByGoalCodeParams
WithContext adds the context to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) WithHTTPClient ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) WithHTTPClient(client *http.Client) *PublicClaimUserRewardsByGoalCodeParams
WithHTTPClient adds the HTTPClient to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) WithNamespace ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) WithNamespace(namespace string) *PublicClaimUserRewardsByGoalCodeParams
WithNamespace adds the namespace to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) WithTimeout ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) WithTimeout(timeout time.Duration) *PublicClaimUserRewardsByGoalCodeParams
WithTimeout adds the timeout to the public claim user rewards by goal code params
func (*PublicClaimUserRewardsByGoalCodeParams) WriteToRequest ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicClaimUserRewardsByGoalCodeReader ¶ added in v0.74.0
type PublicClaimUserRewardsByGoalCodeReader struct {
// contains filtered or unexported fields
}
PublicClaimUserRewardsByGoalCodeReader is a Reader for the PublicClaimUserRewardsByGoalCode structure.
func (*PublicClaimUserRewardsByGoalCodeReader) ReadResponse ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicClaimUserRewardsByGoalCodeUnauthorized ¶ added in v0.74.0
type PublicClaimUserRewardsByGoalCodeUnauthorized struct {
}PublicClaimUserRewardsByGoalCodeUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicClaimUserRewardsByGoalCodeUnauthorized ¶ added in v0.74.0
func NewPublicClaimUserRewardsByGoalCodeUnauthorized() *PublicClaimUserRewardsByGoalCodeUnauthorized
NewPublicClaimUserRewardsByGoalCodeUnauthorized creates a PublicClaimUserRewardsByGoalCodeUnauthorized with default headers values
func (*PublicClaimUserRewardsByGoalCodeUnauthorized) Error ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeUnauthorized) Error() string
func (*PublicClaimUserRewardsByGoalCodeUnauthorized) GetPayload ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicClaimUserRewardsByGoalCodeUnauthorized) ToJSONString ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeUnauthorized) ToJSONString() string
type PublicClaimUserRewardsByGoalCodeUnprocessableEntity ¶ added in v0.74.0
type PublicClaimUserRewardsByGoalCodeUnprocessableEntity struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicClaimUserRewardsByGoalCodeUnprocessableEntity handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>99004</td><td>unprocessable entity: {{message}}</td></tr></table>
func NewPublicClaimUserRewardsByGoalCodeUnprocessableEntity ¶ added in v0.74.0
func NewPublicClaimUserRewardsByGoalCodeUnprocessableEntity() *PublicClaimUserRewardsByGoalCodeUnprocessableEntity
NewPublicClaimUserRewardsByGoalCodeUnprocessableEntity creates a PublicClaimUserRewardsByGoalCodeUnprocessableEntity with default headers values
func (*PublicClaimUserRewardsByGoalCodeUnprocessableEntity) Error ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeUnprocessableEntity) Error() string
func (*PublicClaimUserRewardsByGoalCodeUnprocessableEntity) GetPayload ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeUnprocessableEntity) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicClaimUserRewardsByGoalCodeUnprocessableEntity) ToJSONString ¶ added in v0.74.0
func (o *PublicClaimUserRewardsByGoalCodeUnprocessableEntity) ToJSONString() string
type PublicClaimUserRewardsForbidden ¶
type PublicClaimUserRewardsForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicClaimUserRewardsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPublicClaimUserRewardsForbidden ¶
func NewPublicClaimUserRewardsForbidden() *PublicClaimUserRewardsForbidden
NewPublicClaimUserRewardsForbidden creates a PublicClaimUserRewardsForbidden with default headers values
func (*PublicClaimUserRewardsForbidden) Error ¶
func (o *PublicClaimUserRewardsForbidden) Error() string
func (*PublicClaimUserRewardsForbidden) GetPayload ¶
func (o *PublicClaimUserRewardsForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicClaimUserRewardsForbidden) ToJSONString ¶
func (o *PublicClaimUserRewardsForbidden) ToJSONString() string
type PublicClaimUserRewardsInternalServerError ¶
type PublicClaimUserRewardsInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
PublicClaimUserRewardsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewPublicClaimUserRewardsInternalServerError ¶
func NewPublicClaimUserRewardsInternalServerError() *PublicClaimUserRewardsInternalServerError
NewPublicClaimUserRewardsInternalServerError creates a PublicClaimUserRewardsInternalServerError with default headers values
func (*PublicClaimUserRewardsInternalServerError) Error ¶
func (o *PublicClaimUserRewardsInternalServerError) Error() string
func (*PublicClaimUserRewardsInternalServerError) GetPayload ¶
func (o *PublicClaimUserRewardsInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*PublicClaimUserRewardsInternalServerError) ToJSONString ¶
func (o *PublicClaimUserRewardsInternalServerError) ToJSONString() string
type PublicClaimUserRewardsNotFound ¶
type PublicClaimUserRewardsNotFound struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicClaimUserRewardsNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20029</td><td>not found</td></tr></table>
func NewPublicClaimUserRewardsNotFound ¶
func NewPublicClaimUserRewardsNotFound() *PublicClaimUserRewardsNotFound
NewPublicClaimUserRewardsNotFound creates a PublicClaimUserRewardsNotFound with default headers values
func (*PublicClaimUserRewardsNotFound) Error ¶
func (o *PublicClaimUserRewardsNotFound) Error() string
func (*PublicClaimUserRewardsNotFound) GetPayload ¶
func (o *PublicClaimUserRewardsNotFound) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicClaimUserRewardsNotFound) ToJSONString ¶
func (o *PublicClaimUserRewardsNotFound) ToJSONString() string
type PublicClaimUserRewardsOK ¶
type PublicClaimUserRewardsOK struct {
Payload []*challengeclientmodels.ModelUserReward
}
PublicClaimUserRewardsOK handles this case with default header values.
OK
func NewPublicClaimUserRewardsOK ¶
func NewPublicClaimUserRewardsOK() *PublicClaimUserRewardsOK
NewPublicClaimUserRewardsOK creates a PublicClaimUserRewardsOK with default headers values
func (*PublicClaimUserRewardsOK) Error ¶
func (o *PublicClaimUserRewardsOK) Error() string
func (*PublicClaimUserRewardsOK) GetPayload ¶
func (o *PublicClaimUserRewardsOK) GetPayload() []*challengeclientmodels.ModelUserReward
func (*PublicClaimUserRewardsOK) ToJSONString ¶
func (o *PublicClaimUserRewardsOK) ToJSONString() string
type PublicClaimUserRewardsParams ¶
type PublicClaimUserRewardsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *challengeclientmodels.ModelClaimUserRewardsReq /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicClaimUserRewardsParams contains all the parameters to send to the API endpoint for the public claim user rewards operation typically these are written to a http.Request
func NewPublicClaimUserRewardsParams ¶
func NewPublicClaimUserRewardsParams() *PublicClaimUserRewardsParams
NewPublicClaimUserRewardsParams creates a new PublicClaimUserRewardsParams object with the default values initialized.
func NewPublicClaimUserRewardsParamsWithContext ¶
func NewPublicClaimUserRewardsParamsWithContext(ctx context.Context) *PublicClaimUserRewardsParams
NewPublicClaimUserRewardsParamsWithContext creates a new PublicClaimUserRewardsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicClaimUserRewardsParamsWithHTTPClient ¶
func NewPublicClaimUserRewardsParamsWithHTTPClient(client *http.Client) *PublicClaimUserRewardsParams
NewPublicClaimUserRewardsParamsWithHTTPClient creates a new PublicClaimUserRewardsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicClaimUserRewardsParamsWithTimeout ¶
func NewPublicClaimUserRewardsParamsWithTimeout(timeout time.Duration) *PublicClaimUserRewardsParams
NewPublicClaimUserRewardsParamsWithTimeout creates a new PublicClaimUserRewardsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicClaimUserRewardsParams) SetAuthInfoWriter ¶
func (o *PublicClaimUserRewardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public claim user rewards params
func (*PublicClaimUserRewardsParams) SetBody ¶
func (o *PublicClaimUserRewardsParams) SetBody(body *challengeclientmodels.ModelClaimUserRewardsReq)
SetBody adds the body to the public claim user rewards params
func (*PublicClaimUserRewardsParams) SetContext ¶
func (o *PublicClaimUserRewardsParams) SetContext(ctx context.Context)
SetContext adds the context to the public claim user rewards params
func (*PublicClaimUserRewardsParams) SetFlightId ¶
func (o *PublicClaimUserRewardsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicClaimUserRewardsParams) SetHTTPClient ¶
func (o *PublicClaimUserRewardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public claim user rewards params
func (*PublicClaimUserRewardsParams) SetHTTPClientTransport ¶
func (o *PublicClaimUserRewardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public claim user rewards params
func (*PublicClaimUserRewardsParams) SetNamespace ¶
func (o *PublicClaimUserRewardsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public claim user rewards params
func (*PublicClaimUserRewardsParams) SetTimeout ¶
func (o *PublicClaimUserRewardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public claim user rewards params
func (*PublicClaimUserRewardsParams) WithBody ¶
func (o *PublicClaimUserRewardsParams) WithBody(body *challengeclientmodels.ModelClaimUserRewardsReq) *PublicClaimUserRewardsParams
WithBody adds the body to the public claim user rewards params
func (*PublicClaimUserRewardsParams) WithContext ¶
func (o *PublicClaimUserRewardsParams) WithContext(ctx context.Context) *PublicClaimUserRewardsParams
WithContext adds the context to the public claim user rewards params
func (*PublicClaimUserRewardsParams) WithHTTPClient ¶
func (o *PublicClaimUserRewardsParams) WithHTTPClient(client *http.Client) *PublicClaimUserRewardsParams
WithHTTPClient adds the HTTPClient to the public claim user rewards params
func (*PublicClaimUserRewardsParams) WithNamespace ¶
func (o *PublicClaimUserRewardsParams) WithNamespace(namespace string) *PublicClaimUserRewardsParams
WithNamespace adds the namespace to the public claim user rewards params
func (*PublicClaimUserRewardsParams) WithTimeout ¶
func (o *PublicClaimUserRewardsParams) WithTimeout(timeout time.Duration) *PublicClaimUserRewardsParams
WithTimeout adds the timeout to the public claim user rewards params
func (*PublicClaimUserRewardsParams) WriteToRequest ¶
func (o *PublicClaimUserRewardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicClaimUserRewardsReader ¶
type PublicClaimUserRewardsReader struct {
// contains filtered or unexported fields
}
PublicClaimUserRewardsReader is a Reader for the PublicClaimUserRewards structure.
func (*PublicClaimUserRewardsReader) ReadResponse ¶
func (o *PublicClaimUserRewardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicClaimUserRewardsUnauthorized ¶
type PublicClaimUserRewardsUnauthorized struct {
}PublicClaimUserRewardsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicClaimUserRewardsUnauthorized ¶
func NewPublicClaimUserRewardsUnauthorized() *PublicClaimUserRewardsUnauthorized
NewPublicClaimUserRewardsUnauthorized creates a PublicClaimUserRewardsUnauthorized with default headers values
func (*PublicClaimUserRewardsUnauthorized) Error ¶
func (o *PublicClaimUserRewardsUnauthorized) Error() string
func (*PublicClaimUserRewardsUnauthorized) GetPayload ¶
func (o *PublicClaimUserRewardsUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicClaimUserRewardsUnauthorized) ToJSONString ¶
func (o *PublicClaimUserRewardsUnauthorized) ToJSONString() string
type PublicClaimUserRewardsUnprocessableEntity ¶ added in v0.71.0
type PublicClaimUserRewardsUnprocessableEntity struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicClaimUserRewardsUnprocessableEntity handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>99004</td><td>unprocessable entity: {{message}}</td></tr></table>
func NewPublicClaimUserRewardsUnprocessableEntity ¶ added in v0.71.0
func NewPublicClaimUserRewardsUnprocessableEntity() *PublicClaimUserRewardsUnprocessableEntity
NewPublicClaimUserRewardsUnprocessableEntity creates a PublicClaimUserRewardsUnprocessableEntity with default headers values
func (*PublicClaimUserRewardsUnprocessableEntity) Error ¶ added in v0.71.0
func (o *PublicClaimUserRewardsUnprocessableEntity) Error() string
func (*PublicClaimUserRewardsUnprocessableEntity) GetPayload ¶ added in v0.71.0
func (o *PublicClaimUserRewardsUnprocessableEntity) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicClaimUserRewardsUnprocessableEntity) ToJSONString ¶ added in v0.71.0
func (o *PublicClaimUserRewardsUnprocessableEntity) ToJSONString() string
type PublicGetUserRewardsForbidden ¶
type PublicGetUserRewardsForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicGetUserRewardsForbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPublicGetUserRewardsForbidden ¶
func NewPublicGetUserRewardsForbidden() *PublicGetUserRewardsForbidden
NewPublicGetUserRewardsForbidden creates a PublicGetUserRewardsForbidden with default headers values
func (*PublicGetUserRewardsForbidden) Error ¶
func (o *PublicGetUserRewardsForbidden) Error() string
func (*PublicGetUserRewardsForbidden) GetPayload ¶
func (o *PublicGetUserRewardsForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicGetUserRewardsForbidden) ToJSONString ¶
func (o *PublicGetUserRewardsForbidden) ToJSONString() string
type PublicGetUserRewardsInternalServerError ¶
type PublicGetUserRewardsInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
PublicGetUserRewardsInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error: {{message}}</td></tr></table>
func NewPublicGetUserRewardsInternalServerError ¶
func NewPublicGetUserRewardsInternalServerError() *PublicGetUserRewardsInternalServerError
NewPublicGetUserRewardsInternalServerError creates a PublicGetUserRewardsInternalServerError with default headers values
func (*PublicGetUserRewardsInternalServerError) Error ¶
func (o *PublicGetUserRewardsInternalServerError) Error() string
func (*PublicGetUserRewardsInternalServerError) GetPayload ¶
func (o *PublicGetUserRewardsInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*PublicGetUserRewardsInternalServerError) ToJSONString ¶
func (o *PublicGetUserRewardsInternalServerError) ToJSONString() string
type PublicGetUserRewardsOK ¶
type PublicGetUserRewardsOK struct {
Payload *challengeclientmodels.ModelListUserRewardsResponse
}
PublicGetUserRewardsOK handles this case with default header values.
OK
func NewPublicGetUserRewardsOK ¶
func NewPublicGetUserRewardsOK() *PublicGetUserRewardsOK
NewPublicGetUserRewardsOK creates a PublicGetUserRewardsOK with default headers values
func (*PublicGetUserRewardsOK) Error ¶
func (o *PublicGetUserRewardsOK) Error() string
func (*PublicGetUserRewardsOK) GetPayload ¶
func (o *PublicGetUserRewardsOK) GetPayload() *challengeclientmodels.ModelListUserRewardsResponse
func (*PublicGetUserRewardsOK) ToJSONString ¶
func (o *PublicGetUserRewardsOK) ToJSONString() string
type PublicGetUserRewardsParams ¶
type PublicGetUserRewardsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*ChallengeCode reward's challenge code */ ChallengeCode *string /*GoalProgressionID reward's goal progression id */ GoalProgressionID *string /*Limit limit the amount of data retrieved */ Limit *int64 /*Offset offset */ Offset *int64 /*SortBy sort list by attributes. default value: updatedAt:desc. */ SortBy *string /*Status user reward status */ Status *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetUserRewardsParams contains all the parameters to send to the API endpoint for the public get user rewards operation typically these are written to a http.Request
func NewPublicGetUserRewardsParams ¶
func NewPublicGetUserRewardsParams() *PublicGetUserRewardsParams
NewPublicGetUserRewardsParams creates a new PublicGetUserRewardsParams object with the default values initialized.
func NewPublicGetUserRewardsParamsWithContext ¶
func NewPublicGetUserRewardsParamsWithContext(ctx context.Context) *PublicGetUserRewardsParams
NewPublicGetUserRewardsParamsWithContext creates a new PublicGetUserRewardsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserRewardsParamsWithHTTPClient ¶
func NewPublicGetUserRewardsParamsWithHTTPClient(client *http.Client) *PublicGetUserRewardsParams
NewPublicGetUserRewardsParamsWithHTTPClient creates a new PublicGetUserRewardsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserRewardsParamsWithTimeout ¶
func NewPublicGetUserRewardsParamsWithTimeout(timeout time.Duration) *PublicGetUserRewardsParams
NewPublicGetUserRewardsParamsWithTimeout creates a new PublicGetUserRewardsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserRewardsParams) SetAuthInfoWriter ¶
func (o *PublicGetUserRewardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user rewards params
func (*PublicGetUserRewardsParams) SetChallengeCode ¶ added in v0.76.0
func (o *PublicGetUserRewardsParams) SetChallengeCode(challengeCode *string)
SetChallengeCode adds the challengeCode to the public get user rewards params
func (*PublicGetUserRewardsParams) SetContext ¶
func (o *PublicGetUserRewardsParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user rewards params
func (*PublicGetUserRewardsParams) SetFlightId ¶
func (o *PublicGetUserRewardsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetUserRewardsParams) SetGoalProgressionID ¶ added in v0.76.0
func (o *PublicGetUserRewardsParams) SetGoalProgressionID(goalProgressionID *string)
SetGoalProgressionID adds the goalProgressionId to the public get user rewards params
func (*PublicGetUserRewardsParams) SetHTTPClient ¶
func (o *PublicGetUserRewardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user rewards params
func (*PublicGetUserRewardsParams) SetHTTPClientTransport ¶
func (o *PublicGetUserRewardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user rewards params
func (*PublicGetUserRewardsParams) SetLimit ¶
func (o *PublicGetUserRewardsParams) SetLimit(limit *int64)
SetLimit adds the limit to the public get user rewards params
func (*PublicGetUserRewardsParams) SetNamespace ¶
func (o *PublicGetUserRewardsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user rewards params
func (*PublicGetUserRewardsParams) SetOffset ¶
func (o *PublicGetUserRewardsParams) SetOffset(offset *int64)
SetOffset adds the offset to the public get user rewards params
func (*PublicGetUserRewardsParams) SetSortBy ¶
func (o *PublicGetUserRewardsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the public get user rewards params
func (*PublicGetUserRewardsParams) SetStatus ¶
func (o *PublicGetUserRewardsParams) SetStatus(status *string)
SetStatus adds the status to the public get user rewards params
func (*PublicGetUserRewardsParams) SetTimeout ¶
func (o *PublicGetUserRewardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user rewards params
func (*PublicGetUserRewardsParams) WithChallengeCode ¶ added in v0.76.0
func (o *PublicGetUserRewardsParams) WithChallengeCode(challengeCode *string) *PublicGetUserRewardsParams
WithChallengeCode adds the challengeCode to the public get user rewards params
func (*PublicGetUserRewardsParams) WithContext ¶
func (o *PublicGetUserRewardsParams) WithContext(ctx context.Context) *PublicGetUserRewardsParams
WithContext adds the context to the public get user rewards params
func (*PublicGetUserRewardsParams) WithGoalProgressionID ¶ added in v0.76.0
func (o *PublicGetUserRewardsParams) WithGoalProgressionID(goalProgressionID *string) *PublicGetUserRewardsParams
WithGoalProgressionID adds the goalProgressionID to the public get user rewards params
func (*PublicGetUserRewardsParams) WithHTTPClient ¶
func (o *PublicGetUserRewardsParams) WithHTTPClient(client *http.Client) *PublicGetUserRewardsParams
WithHTTPClient adds the HTTPClient to the public get user rewards params
func (*PublicGetUserRewardsParams) WithLimit ¶
func (o *PublicGetUserRewardsParams) WithLimit(limit *int64) *PublicGetUserRewardsParams
WithLimit adds the limit to the public get user rewards params
func (*PublicGetUserRewardsParams) WithNamespace ¶
func (o *PublicGetUserRewardsParams) WithNamespace(namespace string) *PublicGetUserRewardsParams
WithNamespace adds the namespace to the public get user rewards params
func (*PublicGetUserRewardsParams) WithOffset ¶
func (o *PublicGetUserRewardsParams) WithOffset(offset *int64) *PublicGetUserRewardsParams
WithOffset adds the offset to the public get user rewards params
func (*PublicGetUserRewardsParams) WithSortBy ¶
func (o *PublicGetUserRewardsParams) WithSortBy(sortBy *string) *PublicGetUserRewardsParams
WithSortBy adds the sortBy to the public get user rewards params
func (*PublicGetUserRewardsParams) WithStatus ¶
func (o *PublicGetUserRewardsParams) WithStatus(status *string) *PublicGetUserRewardsParams
WithStatus adds the status to the public get user rewards params
func (*PublicGetUserRewardsParams) WithTimeout ¶
func (o *PublicGetUserRewardsParams) WithTimeout(timeout time.Duration) *PublicGetUserRewardsParams
WithTimeout adds the timeout to the public get user rewards params
func (*PublicGetUserRewardsParams) WriteToRequest ¶
func (o *PublicGetUserRewardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserRewardsReader ¶
type PublicGetUserRewardsReader struct {
// contains filtered or unexported fields
}
PublicGetUserRewardsReader is a Reader for the PublicGetUserRewards structure.
func (*PublicGetUserRewardsReader) ReadResponse ¶
func (o *PublicGetUserRewardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserRewardsUnauthorized ¶
type PublicGetUserRewardsUnauthorized struct {
}PublicGetUserRewardsUnauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicGetUserRewardsUnauthorized ¶
func NewPublicGetUserRewardsUnauthorized() *PublicGetUserRewardsUnauthorized
NewPublicGetUserRewardsUnauthorized creates a PublicGetUserRewardsUnauthorized with default headers values
func (*PublicGetUserRewardsUnauthorized) Error ¶
func (o *PublicGetUserRewardsUnauthorized) Error() string
func (*PublicGetUserRewardsUnauthorized) GetPayload ¶
func (o *PublicGetUserRewardsUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicGetUserRewardsUnauthorized) ToJSONString ¶
func (o *PublicGetUserRewardsUnauthorized) ToJSONString() string
Source Files
¶
- admin_claim_user_rewards_by_goal_code_parameters.go
- admin_claim_user_rewards_by_goal_code_responses.go
- admin_claim_user_rewards_parameters.go
- admin_claim_user_rewards_responses.go
- admin_claim_users_rewards_parameters.go
- admin_claim_users_rewards_responses.go
- admin_get_user_rewards_parameters.go
- admin_get_user_rewards_responses.go
- player_reward_client.go
- public_claim_user_rewards_by_goal_code_parameters.go
- public_claim_user_rewards_by_goal_code_responses.go
- public_claim_user_rewards_parameters.go
- public_claim_user_rewards_responses.go
- public_get_user_rewards_parameters.go
- public_get_user_rewards_responses.go