Documentation
¶
Index ¶
- type AdminEvaluateProgressBadRequest
- type AdminEvaluateProgressForbidden
- type AdminEvaluateProgressInternalServerError
- type AdminEvaluateProgressNoContent
- type AdminEvaluateProgressNotFound
- type AdminEvaluateProgressParams
- func NewAdminEvaluateProgressParams() *AdminEvaluateProgressParams
- func NewAdminEvaluateProgressParamsWithContext(ctx context.Context) *AdminEvaluateProgressParams
- func NewAdminEvaluateProgressParamsWithHTTPClient(client *http.Client) *AdminEvaluateProgressParams
- func NewAdminEvaluateProgressParamsWithTimeout(timeout time.Duration) *AdminEvaluateProgressParams
- func (o *AdminEvaluateProgressParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminEvaluateProgressParams) SetBody(body *challengeclientmodels.ModelEvaluatePlayerProgressionRequest)
- func (o *AdminEvaluateProgressParams) SetContext(ctx context.Context)
- func (o *AdminEvaluateProgressParams) SetFlightId(flightId string)
- func (o *AdminEvaluateProgressParams) SetHTTPClient(client *http.Client)
- func (o *AdminEvaluateProgressParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminEvaluateProgressParams) SetNamespace(namespace string)
- func (o *AdminEvaluateProgressParams) SetTimeout(timeout time.Duration)
- func (o *AdminEvaluateProgressParams) WithBody(body *challengeclientmodels.ModelEvaluatePlayerProgressionRequest) *AdminEvaluateProgressParams
- func (o *AdminEvaluateProgressParams) WithContext(ctx context.Context) *AdminEvaluateProgressParams
- func (o *AdminEvaluateProgressParams) WithHTTPClient(client *http.Client) *AdminEvaluateProgressParams
- func (o *AdminEvaluateProgressParams) WithNamespace(namespace string) *AdminEvaluateProgressParams
- func (o *AdminEvaluateProgressParams) WithTimeout(timeout time.Duration) *AdminEvaluateProgressParams
- func (o *AdminEvaluateProgressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminEvaluateProgressReader
- type AdminEvaluateProgressUnauthorized
- type AdminGetUserProgressionBadRequest
- type AdminGetUserProgressionForbidden
- type AdminGetUserProgressionInternalServerError
- type AdminGetUserProgressionNotFound
- type AdminGetUserProgressionOK
- type AdminGetUserProgressionParams
- func NewAdminGetUserProgressionParams() *AdminGetUserProgressionParams
- func NewAdminGetUserProgressionParamsWithContext(ctx context.Context) *AdminGetUserProgressionParams
- func NewAdminGetUserProgressionParamsWithHTTPClient(client *http.Client) *AdminGetUserProgressionParams
- func NewAdminGetUserProgressionParamsWithTimeout(timeout time.Duration) *AdminGetUserProgressionParams
- func (o *AdminGetUserProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetUserProgressionParams) SetChallengeCode(challengeCode string)
- func (o *AdminGetUserProgressionParams) SetContext(ctx context.Context)
- func (o *AdminGetUserProgressionParams) SetDateTime(dateTime *string)
- func (o *AdminGetUserProgressionParams) SetFlightId(flightId string)
- func (o *AdminGetUserProgressionParams) SetGoalCode(goalCode *string)
- func (o *AdminGetUserProgressionParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetUserProgressionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetUserProgressionParams) SetLimit(limit *int64)
- func (o *AdminGetUserProgressionParams) SetNamespace(namespace string)
- func (o *AdminGetUserProgressionParams) SetOffset(offset *int64)
- func (o *AdminGetUserProgressionParams) SetTags(tags []string)
- func (o *AdminGetUserProgressionParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetUserProgressionParams) SetUserID(userID string)
- func (o *AdminGetUserProgressionParams) WithChallengeCode(challengeCode string) *AdminGetUserProgressionParams
- func (o *AdminGetUserProgressionParams) WithContext(ctx context.Context) *AdminGetUserProgressionParams
- func (o *AdminGetUserProgressionParams) WithDateTime(dateTime *string) *AdminGetUserProgressionParams
- func (o *AdminGetUserProgressionParams) WithGoalCode(goalCode *string) *AdminGetUserProgressionParams
- func (o *AdminGetUserProgressionParams) WithHTTPClient(client *http.Client) *AdminGetUserProgressionParams
- func (o *AdminGetUserProgressionParams) WithLimit(limit *int64) *AdminGetUserProgressionParams
- func (o *AdminGetUserProgressionParams) WithNamespace(namespace string) *AdminGetUserProgressionParams
- func (o *AdminGetUserProgressionParams) WithOffset(offset *int64) *AdminGetUserProgressionParams
- func (o *AdminGetUserProgressionParams) WithTags(tags []string) *AdminGetUserProgressionParams
- func (o *AdminGetUserProgressionParams) WithTimeout(timeout time.Duration) *AdminGetUserProgressionParams
- func (o *AdminGetUserProgressionParams) WithUserID(userID string) *AdminGetUserProgressionParams
- func (o *AdminGetUserProgressionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetUserProgressionReader
- type AdminGetUserProgressionUnauthorized
- type AdminGetUserProgressionUnprocessableEntity
- type Client
- func (a *Client) AdminEvaluateProgress(params *AdminEvaluateProgressParams, authInfo runtime.ClientAuthInfoWriter) (*AdminEvaluateProgressNoContent, *AdminEvaluateProgressBadRequest, ...)deprecated
- func (a *Client) AdminEvaluateProgressShort(params *AdminEvaluateProgressParams, authInfo runtime.ClientAuthInfoWriter) (*AdminEvaluateProgressNoContent, error)
- func (a *Client) AdminGetUserProgression(params *AdminGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserProgressionOK, *AdminGetUserProgressionBadRequest, ...)deprecated
- func (a *Client) AdminGetUserProgressionShort(params *AdminGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserProgressionOK, error)
- func (a *Client) EvaluateMyProgress(params *EvaluateMyProgressParams, authInfo runtime.ClientAuthInfoWriter) (*EvaluateMyProgressNoContent, *EvaluateMyProgressUnauthorized, ...)deprecated
- func (a *Client) EvaluateMyProgressShort(params *EvaluateMyProgressParams, authInfo runtime.ClientAuthInfoWriter) (*EvaluateMyProgressNoContent, error)
- func (a *Client) PublicGetPastUserProgression(params *PublicGetPastUserProgressionParams, ...) (*PublicGetPastUserProgressionOK, *PublicGetPastUserProgressionBadRequest, ...)deprecated
- func (a *Client) PublicGetPastUserProgressionShort(params *PublicGetPastUserProgressionParams, ...) (*PublicGetPastUserProgressionOK, error)
- func (a *Client) PublicGetUserProgression(params *PublicGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProgressionOK, *PublicGetUserProgressionBadRequest, ...)deprecated
- func (a *Client) PublicGetUserProgressionShort(params *PublicGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProgressionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type EvaluateMyProgressForbidden
- type EvaluateMyProgressInternalServerError
- type EvaluateMyProgressNoContent
- type EvaluateMyProgressParams
- func NewEvaluateMyProgressParams() *EvaluateMyProgressParams
- func NewEvaluateMyProgressParamsWithContext(ctx context.Context) *EvaluateMyProgressParams
- func NewEvaluateMyProgressParamsWithHTTPClient(client *http.Client) *EvaluateMyProgressParams
- func NewEvaluateMyProgressParamsWithTimeout(timeout time.Duration) *EvaluateMyProgressParams
- func (o *EvaluateMyProgressParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *EvaluateMyProgressParams) SetContext(ctx context.Context)
- func (o *EvaluateMyProgressParams) SetFlightId(flightId string)
- func (o *EvaluateMyProgressParams) SetHTTPClient(client *http.Client)
- func (o *EvaluateMyProgressParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *EvaluateMyProgressParams) SetNamespace(namespace string)
- func (o *EvaluateMyProgressParams) SetTimeout(timeout time.Duration)
- func (o *EvaluateMyProgressParams) WithContext(ctx context.Context) *EvaluateMyProgressParams
- func (o *EvaluateMyProgressParams) WithHTTPClient(client *http.Client) *EvaluateMyProgressParams
- func (o *EvaluateMyProgressParams) WithNamespace(namespace string) *EvaluateMyProgressParams
- func (o *EvaluateMyProgressParams) WithTimeout(timeout time.Duration) *EvaluateMyProgressParams
- func (o *EvaluateMyProgressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EvaluateMyProgressReader
- type EvaluateMyProgressUnauthorized
- type PublicGetPastUserProgressionBadRequest
- type PublicGetPastUserProgressionForbidden
- type PublicGetPastUserProgressionInternalServerError
- type PublicGetPastUserProgressionNotFound
- type PublicGetPastUserProgressionOK
- type PublicGetPastUserProgressionParams
- func NewPublicGetPastUserProgressionParams() *PublicGetPastUserProgressionParams
- func NewPublicGetPastUserProgressionParamsWithContext(ctx context.Context) *PublicGetPastUserProgressionParams
- func NewPublicGetPastUserProgressionParamsWithHTTPClient(client *http.Client) *PublicGetPastUserProgressionParams
- func NewPublicGetPastUserProgressionParamsWithTimeout(timeout time.Duration) *PublicGetPastUserProgressionParams
- func (o *PublicGetPastUserProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetPastUserProgressionParams) SetChallengeCode(challengeCode string)
- func (o *PublicGetPastUserProgressionParams) SetContext(ctx context.Context)
- func (o *PublicGetPastUserProgressionParams) SetFlightId(flightId string)
- func (o *PublicGetPastUserProgressionParams) SetGoalCode(goalCode *string)
- func (o *PublicGetPastUserProgressionParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetPastUserProgressionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetPastUserProgressionParams) SetIndex(index int64)
- func (o *PublicGetPastUserProgressionParams) SetLimit(limit *int64)
- func (o *PublicGetPastUserProgressionParams) SetNamespace(namespace string)
- func (o *PublicGetPastUserProgressionParams) SetOffset(offset *int64)
- func (o *PublicGetPastUserProgressionParams) SetTags(tags []string)
- func (o *PublicGetPastUserProgressionParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetPastUserProgressionParams) WithChallengeCode(challengeCode string) *PublicGetPastUserProgressionParams
- func (o *PublicGetPastUserProgressionParams) WithContext(ctx context.Context) *PublicGetPastUserProgressionParams
- func (o *PublicGetPastUserProgressionParams) WithGoalCode(goalCode *string) *PublicGetPastUserProgressionParams
- func (o *PublicGetPastUserProgressionParams) WithHTTPClient(client *http.Client) *PublicGetPastUserProgressionParams
- func (o *PublicGetPastUserProgressionParams) WithIndex(index int64) *PublicGetPastUserProgressionParams
- func (o *PublicGetPastUserProgressionParams) WithLimit(limit *int64) *PublicGetPastUserProgressionParams
- func (o *PublicGetPastUserProgressionParams) WithNamespace(namespace string) *PublicGetPastUserProgressionParams
- func (o *PublicGetPastUserProgressionParams) WithOffset(offset *int64) *PublicGetPastUserProgressionParams
- func (o *PublicGetPastUserProgressionParams) WithTags(tags []string) *PublicGetPastUserProgressionParams
- func (o *PublicGetPastUserProgressionParams) WithTimeout(timeout time.Duration) *PublicGetPastUserProgressionParams
- func (o *PublicGetPastUserProgressionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetPastUserProgressionReader
- type PublicGetPastUserProgressionUnauthorized
- type PublicGetUserProgressionBadRequest
- type PublicGetUserProgressionForbidden
- type PublicGetUserProgressionInternalServerError
- type PublicGetUserProgressionNotFound
- type PublicGetUserProgressionOK
- type PublicGetUserProgressionParams
- func NewPublicGetUserProgressionParams() *PublicGetUserProgressionParams
- func NewPublicGetUserProgressionParamsWithContext(ctx context.Context) *PublicGetUserProgressionParams
- func NewPublicGetUserProgressionParamsWithHTTPClient(client *http.Client) *PublicGetUserProgressionParams
- func NewPublicGetUserProgressionParamsWithTimeout(timeout time.Duration) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetUserProgressionParams) SetChallengeCode(challengeCode string)
- func (o *PublicGetUserProgressionParams) SetContext(ctx context.Context)
- func (o *PublicGetUserProgressionParams) SetDateTime(dateTime *string)
- func (o *PublicGetUserProgressionParams) SetFlightId(flightId string)
- func (o *PublicGetUserProgressionParams) SetGoalCode(goalCode *string)
- func (o *PublicGetUserProgressionParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserProgressionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetUserProgressionParams) SetLimit(limit *int64)
- func (o *PublicGetUserProgressionParams) SetNamespace(namespace string)
- func (o *PublicGetUserProgressionParams) SetOffset(offset *int64)
- func (o *PublicGetUserProgressionParams) SetTags(tags []string)
- func (o *PublicGetUserProgressionParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserProgressionParams) WithChallengeCode(challengeCode string) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) WithContext(ctx context.Context) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) WithDateTime(dateTime *string) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) WithGoalCode(goalCode *string) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) WithHTTPClient(client *http.Client) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) WithLimit(limit *int64) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) WithNamespace(namespace string) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) WithOffset(offset *int64) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) WithTags(tags []string) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) WithTimeout(timeout time.Duration) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserProgressionReader
- type PublicGetUserProgressionUnauthorized
- type PublicGetUserProgressionUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminEvaluateProgressBadRequest ¶ added in v0.73.0
type AdminEvaluateProgressBadRequest struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminEvaluateProgressBadRequest 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 NewAdminEvaluateProgressBadRequest ¶ added in v0.73.0
func NewAdminEvaluateProgressBadRequest() *AdminEvaluateProgressBadRequest
NewAdminEvaluateProgressBadRequest creates a AdminEvaluateProgressBadRequest with default headers values
func (*AdminEvaluateProgressBadRequest) Error ¶ added in v0.73.0
func (o *AdminEvaluateProgressBadRequest) Error() string
func (*AdminEvaluateProgressBadRequest) GetPayload ¶ added in v0.73.0
func (o *AdminEvaluateProgressBadRequest) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminEvaluateProgressBadRequest) ToJSONString ¶ added in v0.73.0
func (o *AdminEvaluateProgressBadRequest) ToJSONString() string
type AdminEvaluateProgressForbidden ¶
type AdminEvaluateProgressForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminEvaluateProgressForbidden 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 NewAdminEvaluateProgressForbidden ¶
func NewAdminEvaluateProgressForbidden() *AdminEvaluateProgressForbidden
NewAdminEvaluateProgressForbidden creates a AdminEvaluateProgressForbidden with default headers values
func (*AdminEvaluateProgressForbidden) Error ¶
func (o *AdminEvaluateProgressForbidden) Error() string
func (*AdminEvaluateProgressForbidden) GetPayload ¶
func (o *AdminEvaluateProgressForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminEvaluateProgressForbidden) ToJSONString ¶
func (o *AdminEvaluateProgressForbidden) ToJSONString() string
type AdminEvaluateProgressInternalServerError ¶
type AdminEvaluateProgressInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminEvaluateProgressInternalServerError 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 NewAdminEvaluateProgressInternalServerError ¶
func NewAdminEvaluateProgressInternalServerError() *AdminEvaluateProgressInternalServerError
NewAdminEvaluateProgressInternalServerError creates a AdminEvaluateProgressInternalServerError with default headers values
func (*AdminEvaluateProgressInternalServerError) Error ¶
func (o *AdminEvaluateProgressInternalServerError) Error() string
func (*AdminEvaluateProgressInternalServerError) GetPayload ¶
func (o *AdminEvaluateProgressInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminEvaluateProgressInternalServerError) ToJSONString ¶
func (o *AdminEvaluateProgressInternalServerError) ToJSONString() string
type AdminEvaluateProgressNoContent ¶
type AdminEvaluateProgressNoContent struct { }
AdminEvaluateProgressNoContent handles this case with default header values.
No Content
func NewAdminEvaluateProgressNoContent ¶
func NewAdminEvaluateProgressNoContent() *AdminEvaluateProgressNoContent
NewAdminEvaluateProgressNoContent creates a AdminEvaluateProgressNoContent with default headers values
func (*AdminEvaluateProgressNoContent) Error ¶
func (o *AdminEvaluateProgressNoContent) Error() string
type AdminEvaluateProgressNotFound ¶
type AdminEvaluateProgressNotFound struct {
Payload *challengeclientmodels.ResponseError
}
AdminEvaluateProgressNotFound 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 NewAdminEvaluateProgressNotFound ¶
func NewAdminEvaluateProgressNotFound() *AdminEvaluateProgressNotFound
NewAdminEvaluateProgressNotFound creates a AdminEvaluateProgressNotFound with default headers values
func (*AdminEvaluateProgressNotFound) Error ¶
func (o *AdminEvaluateProgressNotFound) Error() string
func (*AdminEvaluateProgressNotFound) GetPayload ¶
func (o *AdminEvaluateProgressNotFound) GetPayload() *challengeclientmodels.ResponseError
func (*AdminEvaluateProgressNotFound) ToJSONString ¶
func (o *AdminEvaluateProgressNotFound) ToJSONString() string
type AdminEvaluateProgressParams ¶
type AdminEvaluateProgressParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *challengeclientmodels.ModelEvaluatePlayerProgressionRequest /*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 }
AdminEvaluateProgressParams contains all the parameters to send to the API endpoint for the admin evaluate progress operation typically these are written to a http.Request
func NewAdminEvaluateProgressParams ¶
func NewAdminEvaluateProgressParams() *AdminEvaluateProgressParams
NewAdminEvaluateProgressParams creates a new AdminEvaluateProgressParams object with the default values initialized.
func NewAdminEvaluateProgressParamsWithContext ¶
func NewAdminEvaluateProgressParamsWithContext(ctx context.Context) *AdminEvaluateProgressParams
NewAdminEvaluateProgressParamsWithContext creates a new AdminEvaluateProgressParams object with the default values initialized, and the ability to set a context for a request
func NewAdminEvaluateProgressParamsWithHTTPClient ¶
func NewAdminEvaluateProgressParamsWithHTTPClient(client *http.Client) *AdminEvaluateProgressParams
NewAdminEvaluateProgressParamsWithHTTPClient creates a new AdminEvaluateProgressParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminEvaluateProgressParamsWithTimeout ¶
func NewAdminEvaluateProgressParamsWithTimeout(timeout time.Duration) *AdminEvaluateProgressParams
NewAdminEvaluateProgressParamsWithTimeout creates a new AdminEvaluateProgressParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminEvaluateProgressParams) SetAuthInfoWriter ¶
func (o *AdminEvaluateProgressParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin evaluate progress params
func (*AdminEvaluateProgressParams) SetBody ¶
func (o *AdminEvaluateProgressParams) SetBody(body *challengeclientmodels.ModelEvaluatePlayerProgressionRequest)
SetBody adds the body to the admin evaluate progress params
func (*AdminEvaluateProgressParams) SetContext ¶
func (o *AdminEvaluateProgressParams) SetContext(ctx context.Context)
SetContext adds the context to the admin evaluate progress params
func (*AdminEvaluateProgressParams) SetFlightId ¶
func (o *AdminEvaluateProgressParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminEvaluateProgressParams) SetHTTPClient ¶
func (o *AdminEvaluateProgressParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin evaluate progress params
func (*AdminEvaluateProgressParams) SetHTTPClientTransport ¶
func (o *AdminEvaluateProgressParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin evaluate progress params
func (*AdminEvaluateProgressParams) SetNamespace ¶
func (o *AdminEvaluateProgressParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin evaluate progress params
func (*AdminEvaluateProgressParams) SetTimeout ¶
func (o *AdminEvaluateProgressParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin evaluate progress params
func (*AdminEvaluateProgressParams) WithBody ¶
func (o *AdminEvaluateProgressParams) WithBody(body *challengeclientmodels.ModelEvaluatePlayerProgressionRequest) *AdminEvaluateProgressParams
WithBody adds the body to the admin evaluate progress params
func (*AdminEvaluateProgressParams) WithContext ¶
func (o *AdminEvaluateProgressParams) WithContext(ctx context.Context) *AdminEvaluateProgressParams
WithContext adds the context to the admin evaluate progress params
func (*AdminEvaluateProgressParams) WithHTTPClient ¶
func (o *AdminEvaluateProgressParams) WithHTTPClient(client *http.Client) *AdminEvaluateProgressParams
WithHTTPClient adds the HTTPClient to the admin evaluate progress params
func (*AdminEvaluateProgressParams) WithNamespace ¶
func (o *AdminEvaluateProgressParams) WithNamespace(namespace string) *AdminEvaluateProgressParams
WithNamespace adds the namespace to the admin evaluate progress params
func (*AdminEvaluateProgressParams) WithTimeout ¶
func (o *AdminEvaluateProgressParams) WithTimeout(timeout time.Duration) *AdminEvaluateProgressParams
WithTimeout adds the timeout to the admin evaluate progress params
func (*AdminEvaluateProgressParams) WriteToRequest ¶
func (o *AdminEvaluateProgressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminEvaluateProgressReader ¶
type AdminEvaluateProgressReader struct {
// contains filtered or unexported fields
}
AdminEvaluateProgressReader is a Reader for the AdminEvaluateProgress structure.
func (*AdminEvaluateProgressReader) ReadResponse ¶
func (o *AdminEvaluateProgressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminEvaluateProgressUnauthorized ¶
type AdminEvaluateProgressUnauthorized struct {
}AdminEvaluateProgressUnauthorized 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 NewAdminEvaluateProgressUnauthorized ¶
func NewAdminEvaluateProgressUnauthorized() *AdminEvaluateProgressUnauthorized
NewAdminEvaluateProgressUnauthorized creates a AdminEvaluateProgressUnauthorized with default headers values
func (*AdminEvaluateProgressUnauthorized) Error ¶
func (o *AdminEvaluateProgressUnauthorized) Error() string
func (*AdminEvaluateProgressUnauthorized) GetPayload ¶
func (o *AdminEvaluateProgressUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminEvaluateProgressUnauthorized) ToJSONString ¶
func (o *AdminEvaluateProgressUnauthorized) ToJSONString() string
type AdminGetUserProgressionBadRequest ¶ added in v0.74.0
type AdminGetUserProgressionBadRequest struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminGetUserProgressionBadRequest 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 NewAdminGetUserProgressionBadRequest ¶ added in v0.74.0
func NewAdminGetUserProgressionBadRequest() *AdminGetUserProgressionBadRequest
NewAdminGetUserProgressionBadRequest creates a AdminGetUserProgressionBadRequest with default headers values
func (*AdminGetUserProgressionBadRequest) Error ¶ added in v0.74.0
func (o *AdminGetUserProgressionBadRequest) Error() string
func (*AdminGetUserProgressionBadRequest) GetPayload ¶ added in v0.74.0
func (o *AdminGetUserProgressionBadRequest) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetUserProgressionBadRequest) ToJSONString ¶ added in v0.74.0
func (o *AdminGetUserProgressionBadRequest) ToJSONString() string
type AdminGetUserProgressionForbidden ¶ added in v0.74.0
type AdminGetUserProgressionForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminGetUserProgressionForbidden 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 NewAdminGetUserProgressionForbidden ¶ added in v0.74.0
func NewAdminGetUserProgressionForbidden() *AdminGetUserProgressionForbidden
NewAdminGetUserProgressionForbidden creates a AdminGetUserProgressionForbidden with default headers values
func (*AdminGetUserProgressionForbidden) Error ¶ added in v0.74.0
func (o *AdminGetUserProgressionForbidden) Error() string
func (*AdminGetUserProgressionForbidden) GetPayload ¶ added in v0.74.0
func (o *AdminGetUserProgressionForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetUserProgressionForbidden) ToJSONString ¶ added in v0.74.0
func (o *AdminGetUserProgressionForbidden) ToJSONString() string
type AdminGetUserProgressionInternalServerError ¶ added in v0.74.0
type AdminGetUserProgressionInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
AdminGetUserProgressionInternalServerError 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 NewAdminGetUserProgressionInternalServerError ¶ added in v0.74.0
func NewAdminGetUserProgressionInternalServerError() *AdminGetUserProgressionInternalServerError
NewAdminGetUserProgressionInternalServerError creates a AdminGetUserProgressionInternalServerError with default headers values
func (*AdminGetUserProgressionInternalServerError) Error ¶ added in v0.74.0
func (o *AdminGetUserProgressionInternalServerError) Error() string
func (*AdminGetUserProgressionInternalServerError) GetPayload ¶ added in v0.74.0
func (o *AdminGetUserProgressionInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*AdminGetUserProgressionInternalServerError) ToJSONString ¶ added in v0.74.0
func (o *AdminGetUserProgressionInternalServerError) ToJSONString() string
type AdminGetUserProgressionNotFound ¶ added in v0.74.0
type AdminGetUserProgressionNotFound struct {
Payload *challengeclientmodels.IamErrorResponse
}
AdminGetUserProgressionNotFound 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 NewAdminGetUserProgressionNotFound ¶ added in v0.74.0
func NewAdminGetUserProgressionNotFound() *AdminGetUserProgressionNotFound
NewAdminGetUserProgressionNotFound creates a AdminGetUserProgressionNotFound with default headers values
func (*AdminGetUserProgressionNotFound) Error ¶ added in v0.74.0
func (o *AdminGetUserProgressionNotFound) Error() string
func (*AdminGetUserProgressionNotFound) GetPayload ¶ added in v0.74.0
func (o *AdminGetUserProgressionNotFound) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetUserProgressionNotFound) ToJSONString ¶ added in v0.74.0
func (o *AdminGetUserProgressionNotFound) ToJSONString() string
type AdminGetUserProgressionOK ¶ added in v0.74.0
type AdminGetUserProgressionOK struct {
Payload *challengeclientmodels.ModelUserProgressionResponse
}
AdminGetUserProgressionOK handles this case with default header values.
OK
func NewAdminGetUserProgressionOK ¶ added in v0.74.0
func NewAdminGetUserProgressionOK() *AdminGetUserProgressionOK
NewAdminGetUserProgressionOK creates a AdminGetUserProgressionOK with default headers values
func (*AdminGetUserProgressionOK) Error ¶ added in v0.74.0
func (o *AdminGetUserProgressionOK) Error() string
func (*AdminGetUserProgressionOK) GetPayload ¶ added in v0.74.0
func (o *AdminGetUserProgressionOK) GetPayload() *challengeclientmodels.ModelUserProgressionResponse
func (*AdminGetUserProgressionOK) ToJSONString ¶ added in v0.74.0
func (o *AdminGetUserProgressionOK) ToJSONString() string
type AdminGetUserProgressionParams ¶ added in v0.74.0
type AdminGetUserProgressionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChallengeCode challenge code */ ChallengeCode string /*Namespace namespace of the game */ Namespace string /*UserID user id */ UserID string /*DateTime specific schedule date time. use RFC3339 format(2006-01-02T15:04:05Z). */ DateTime *string /*GoalCode goal code */ GoalCode *string /*Limit limit the amount of data retrieved */ Limit *int64 /*Offset offset */ Offset *int64 /*Tags filter goals by tags, comma separated value */ Tags []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
AdminGetUserProgressionParams contains all the parameters to send to the API endpoint for the admin get user progression operation typically these are written to a http.Request
func NewAdminGetUserProgressionParams ¶ added in v0.74.0
func NewAdminGetUserProgressionParams() *AdminGetUserProgressionParams
NewAdminGetUserProgressionParams creates a new AdminGetUserProgressionParams object with the default values initialized.
func NewAdminGetUserProgressionParamsWithContext ¶ added in v0.74.0
func NewAdminGetUserProgressionParamsWithContext(ctx context.Context) *AdminGetUserProgressionParams
NewAdminGetUserProgressionParamsWithContext creates a new AdminGetUserProgressionParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetUserProgressionParamsWithHTTPClient ¶ added in v0.74.0
func NewAdminGetUserProgressionParamsWithHTTPClient(client *http.Client) *AdminGetUserProgressionParams
NewAdminGetUserProgressionParamsWithHTTPClient creates a new AdminGetUserProgressionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetUserProgressionParamsWithTimeout ¶ added in v0.74.0
func NewAdminGetUserProgressionParamsWithTimeout(timeout time.Duration) *AdminGetUserProgressionParams
NewAdminGetUserProgressionParamsWithTimeout creates a new AdminGetUserProgressionParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetUserProgressionParams) SetAuthInfoWriter ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get user progression params
func (*AdminGetUserProgressionParams) SetChallengeCode ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the admin get user progression params
func (*AdminGetUserProgressionParams) SetContext ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get user progression params
func (*AdminGetUserProgressionParams) SetDateTime ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetDateTime(dateTime *string)
SetDateTime adds the dateTime to the admin get user progression params
func (*AdminGetUserProgressionParams) SetFlightId ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminGetUserProgressionParams) SetGoalCode ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetGoalCode(goalCode *string)
SetGoalCode adds the goalCode to the admin get user progression params
func (*AdminGetUserProgressionParams) SetHTTPClient ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get user progression params
func (*AdminGetUserProgressionParams) SetHTTPClientTransport ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get user progression params
func (*AdminGetUserProgressionParams) SetLimit ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin get user progression params
func (*AdminGetUserProgressionParams) SetNamespace ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get user progression params
func (*AdminGetUserProgressionParams) SetOffset ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin get user progression params
func (*AdminGetUserProgressionParams) SetTags ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetTags(tags []string)
SetTags adds the tags to the admin get user progression params
func (*AdminGetUserProgressionParams) SetTimeout ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get user progression params
func (*AdminGetUserProgressionParams) SetUserID ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) SetUserID(userID string)
SetUserID adds the userId to the admin get user progression params
func (*AdminGetUserProgressionParams) WithChallengeCode ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) WithChallengeCode(challengeCode string) *AdminGetUserProgressionParams
WithChallengeCode adds the challengeCode to the admin get user progression params
func (*AdminGetUserProgressionParams) WithContext ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) WithContext(ctx context.Context) *AdminGetUserProgressionParams
WithContext adds the context to the admin get user progression params
func (*AdminGetUserProgressionParams) WithDateTime ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) WithDateTime(dateTime *string) *AdminGetUserProgressionParams
WithDateTime adds the dateTime to the admin get user progression params
func (*AdminGetUserProgressionParams) WithGoalCode ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) WithGoalCode(goalCode *string) *AdminGetUserProgressionParams
WithGoalCode adds the goalCode to the admin get user progression params
func (*AdminGetUserProgressionParams) WithHTTPClient ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) WithHTTPClient(client *http.Client) *AdminGetUserProgressionParams
WithHTTPClient adds the HTTPClient to the admin get user progression params
func (*AdminGetUserProgressionParams) WithLimit ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) WithLimit(limit *int64) *AdminGetUserProgressionParams
WithLimit adds the limit to the admin get user progression params
func (*AdminGetUserProgressionParams) WithNamespace ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) WithNamespace(namespace string) *AdminGetUserProgressionParams
WithNamespace adds the namespace to the admin get user progression params
func (*AdminGetUserProgressionParams) WithOffset ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) WithOffset(offset *int64) *AdminGetUserProgressionParams
WithOffset adds the offset to the admin get user progression params
func (*AdminGetUserProgressionParams) WithTags ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) WithTags(tags []string) *AdminGetUserProgressionParams
WithTags adds the tags to the admin get user progression params
func (*AdminGetUserProgressionParams) WithTimeout ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) WithTimeout(timeout time.Duration) *AdminGetUserProgressionParams
WithTimeout adds the timeout to the admin get user progression params
func (*AdminGetUserProgressionParams) WithUserID ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) WithUserID(userID string) *AdminGetUserProgressionParams
WithUserID adds the userID to the admin get user progression params
func (*AdminGetUserProgressionParams) WriteToRequest ¶ added in v0.74.0
func (o *AdminGetUserProgressionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetUserProgressionReader ¶ added in v0.74.0
type AdminGetUserProgressionReader struct {
// contains filtered or unexported fields
}
AdminGetUserProgressionReader is a Reader for the AdminGetUserProgression structure.
func (*AdminGetUserProgressionReader) ReadResponse ¶ added in v0.74.0
func (o *AdminGetUserProgressionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetUserProgressionUnauthorized ¶ added in v0.74.0
type AdminGetUserProgressionUnauthorized struct {
}AdminGetUserProgressionUnauthorized 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 NewAdminGetUserProgressionUnauthorized ¶ added in v0.74.0
func NewAdminGetUserProgressionUnauthorized() *AdminGetUserProgressionUnauthorized
NewAdminGetUserProgressionUnauthorized creates a AdminGetUserProgressionUnauthorized with default headers values
func (*AdminGetUserProgressionUnauthorized) Error ¶ added in v0.74.0
func (o *AdminGetUserProgressionUnauthorized) Error() string
func (*AdminGetUserProgressionUnauthorized) GetPayload ¶ added in v0.74.0
func (o *AdminGetUserProgressionUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*AdminGetUserProgressionUnauthorized) ToJSONString ¶ added in v0.74.0
func (o *AdminGetUserProgressionUnauthorized) ToJSONString() string
type AdminGetUserProgressionUnprocessableEntity ¶ added in v0.74.0
type AdminGetUserProgressionUnprocessableEntity struct {
Payload *challengeclientmodels.ResponseError
}
AdminGetUserProgressionUnprocessableEntity 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 NewAdminGetUserProgressionUnprocessableEntity ¶ added in v0.74.0
func NewAdminGetUserProgressionUnprocessableEntity() *AdminGetUserProgressionUnprocessableEntity
NewAdminGetUserProgressionUnprocessableEntity creates a AdminGetUserProgressionUnprocessableEntity with default headers values
func (*AdminGetUserProgressionUnprocessableEntity) Error ¶ added in v0.74.0
func (o *AdminGetUserProgressionUnprocessableEntity) Error() string
func (*AdminGetUserProgressionUnprocessableEntity) GetPayload ¶ added in v0.74.0
func (o *AdminGetUserProgressionUnprocessableEntity) GetPayload() *challengeclientmodels.ResponseError
func (*AdminGetUserProgressionUnprocessableEntity) ToJSONString ¶ added in v0.74.0
func (o *AdminGetUserProgressionUnprocessableEntity) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for challenge progression API
func (*Client) AdminEvaluateProgress
deprecated
func (a *Client) AdminEvaluateProgress(params *AdminEvaluateProgressParams, authInfo runtime.ClientAuthInfoWriter) (*AdminEvaluateProgressNoContent, *AdminEvaluateProgressBadRequest, *AdminEvaluateProgressUnauthorized, *AdminEvaluateProgressForbidden, *AdminEvaluateProgressNotFound, *AdminEvaluateProgressInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminEvaluateProgressShort instead.
AdminEvaluateProgress evaluate user's progressions - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [UPDATE] - Limited up to 10 users per request
func (*Client) AdminEvaluateProgressShort ¶
func (a *Client) AdminEvaluateProgressShort(params *AdminEvaluateProgressParams, authInfo runtime.ClientAuthInfoWriter) (*AdminEvaluateProgressNoContent, error)
AdminEvaluateProgressShort evaluate user's progressions - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [UPDATE] - Limited up to 10 users per request
func (*Client) AdminGetUserProgression
deprecated
added in
v0.74.0
func (a *Client) AdminGetUserProgression(params *AdminGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserProgressionOK, *AdminGetUserProgressionBadRequest, *AdminGetUserProgressionUnauthorized, *AdminGetUserProgressionForbidden, *AdminGetUserProgressionNotFound, *AdminGetUserProgressionUnprocessableEntity, *AdminGetUserProgressionInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetUserProgressionShort instead.
AdminGetUserProgression list user's progressions - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [READ]
func (*Client) AdminGetUserProgressionShort ¶ added in v0.74.0
func (a *Client) AdminGetUserProgressionShort(params *AdminGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserProgressionOK, error)
AdminGetUserProgressionShort list user's progressions - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [READ]
func (*Client) EvaluateMyProgress
deprecated
func (a *Client) EvaluateMyProgress(params *EvaluateMyProgressParams, authInfo runtime.ClientAuthInfoWriter) (*EvaluateMyProgressNoContent, *EvaluateMyProgressUnauthorized, *EvaluateMyProgressForbidden, *EvaluateMyProgressInternalServerError, error)
Deprecated: 2022-08-10 - Use EvaluateMyProgressShort instead.
EvaluateMyProgress evaluate user's challenge progressions - Required permission: NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [UPDATE]
func (*Client) EvaluateMyProgressShort ¶
func (a *Client) EvaluateMyProgressShort(params *EvaluateMyProgressParams, authInfo runtime.ClientAuthInfoWriter) (*EvaluateMyProgressNoContent, error)
EvaluateMyProgressShort evaluate user's challenge progressions - Required permission: NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [UPDATE]
func (*Client) PublicGetPastUserProgression
deprecated
added in
v0.72.0
func (a *Client) PublicGetPastUserProgression(params *PublicGetPastUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetPastUserProgressionOK, *PublicGetPastUserProgressionBadRequest, *PublicGetPastUserProgressionUnauthorized, *PublicGetPastUserProgressionForbidden, *PublicGetPastUserProgressionNotFound, *PublicGetPastUserProgressionInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetPastUserProgressionShort instead.
PublicGetPastUserProgression list user's progressions in the previous rotation. - Required permission: NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [READ]
func (*Client) PublicGetPastUserProgressionShort ¶ added in v0.72.0
func (a *Client) PublicGetPastUserProgressionShort(params *PublicGetPastUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetPastUserProgressionOK, error)
PublicGetPastUserProgressionShort list user's progressions in the previous rotation. - Required permission: NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [READ]
func (*Client) PublicGetUserProgression
deprecated
func (a *Client) PublicGetUserProgression(params *PublicGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProgressionOK, *PublicGetUserProgressionBadRequest, *PublicGetUserProgressionUnauthorized, *PublicGetUserProgressionForbidden, *PublicGetUserProgressionNotFound, *PublicGetUserProgressionUnprocessableEntity, *PublicGetUserProgressionInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicGetUserProgressionShort instead.
PublicGetUserProgression list user's progressions - Required permission: NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [READ]
func (*Client) PublicGetUserProgressionShort ¶
func (a *Client) PublicGetUserProgressionShort(params *PublicGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProgressionOK, error)
PublicGetUserProgressionShort list user's progressions - Required permission: NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [READ]
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminEvaluateProgress(params *AdminEvaluateProgressParams, authInfo runtime.ClientAuthInfoWriter) (*AdminEvaluateProgressNoContent, *AdminEvaluateProgressBadRequest, *AdminEvaluateProgressUnauthorized, *AdminEvaluateProgressForbidden, *AdminEvaluateProgressNotFound, *AdminEvaluateProgressInternalServerError, error) AdminEvaluateProgressShort(params *AdminEvaluateProgressParams, authInfo runtime.ClientAuthInfoWriter) (*AdminEvaluateProgressNoContent, error) AdminGetUserProgression(params *AdminGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserProgressionOK, *AdminGetUserProgressionBadRequest, *AdminGetUserProgressionUnauthorized, *AdminGetUserProgressionForbidden, *AdminGetUserProgressionNotFound, *AdminGetUserProgressionUnprocessableEntity, *AdminGetUserProgressionInternalServerError, error) AdminGetUserProgressionShort(params *AdminGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserProgressionOK, error) EvaluateMyProgress(params *EvaluateMyProgressParams, authInfo runtime.ClientAuthInfoWriter) (*EvaluateMyProgressNoContent, *EvaluateMyProgressUnauthorized, *EvaluateMyProgressForbidden, *EvaluateMyProgressInternalServerError, error) EvaluateMyProgressShort(params *EvaluateMyProgressParams, authInfo runtime.ClientAuthInfoWriter) (*EvaluateMyProgressNoContent, error) PublicGetUserProgression(params *PublicGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProgressionOK, *PublicGetUserProgressionBadRequest, *PublicGetUserProgressionUnauthorized, *PublicGetUserProgressionForbidden, *PublicGetUserProgressionNotFound, *PublicGetUserProgressionUnprocessableEntity, *PublicGetUserProgressionInternalServerError, error) PublicGetUserProgressionShort(params *PublicGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProgressionOK, error) PublicGetPastUserProgression(params *PublicGetPastUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetPastUserProgressionOK, *PublicGetPastUserProgressionBadRequest, *PublicGetPastUserProgressionUnauthorized, *PublicGetPastUserProgressionForbidden, *PublicGetPastUserProgressionNotFound, *PublicGetPastUserProgressionInternalServerError, error) PublicGetPastUserProgressionShort(params *PublicGetPastUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetPastUserProgressionOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new challenge progression API client.
type EvaluateMyProgressForbidden ¶
type EvaluateMyProgressForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
EvaluateMyProgressForbidden 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 NewEvaluateMyProgressForbidden ¶
func NewEvaluateMyProgressForbidden() *EvaluateMyProgressForbidden
NewEvaluateMyProgressForbidden creates a EvaluateMyProgressForbidden with default headers values
func (*EvaluateMyProgressForbidden) Error ¶
func (o *EvaluateMyProgressForbidden) Error() string
func (*EvaluateMyProgressForbidden) GetPayload ¶
func (o *EvaluateMyProgressForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*EvaluateMyProgressForbidden) ToJSONString ¶
func (o *EvaluateMyProgressForbidden) ToJSONString() string
type EvaluateMyProgressInternalServerError ¶
type EvaluateMyProgressInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
EvaluateMyProgressInternalServerError 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 NewEvaluateMyProgressInternalServerError ¶
func NewEvaluateMyProgressInternalServerError() *EvaluateMyProgressInternalServerError
NewEvaluateMyProgressInternalServerError creates a EvaluateMyProgressInternalServerError with default headers values
func (*EvaluateMyProgressInternalServerError) Error ¶
func (o *EvaluateMyProgressInternalServerError) Error() string
func (*EvaluateMyProgressInternalServerError) GetPayload ¶
func (o *EvaluateMyProgressInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*EvaluateMyProgressInternalServerError) ToJSONString ¶
func (o *EvaluateMyProgressInternalServerError) ToJSONString() string
type EvaluateMyProgressNoContent ¶
type EvaluateMyProgressNoContent struct { }
EvaluateMyProgressNoContent handles this case with default header values.
No Content
func NewEvaluateMyProgressNoContent ¶
func NewEvaluateMyProgressNoContent() *EvaluateMyProgressNoContent
NewEvaluateMyProgressNoContent creates a EvaluateMyProgressNoContent with default headers values
func (*EvaluateMyProgressNoContent) Error ¶
func (o *EvaluateMyProgressNoContent) Error() string
type EvaluateMyProgressParams ¶
type EvaluateMyProgressParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*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 }
EvaluateMyProgressParams contains all the parameters to send to the API endpoint for the evaluate my progress operation typically these are written to a http.Request
func NewEvaluateMyProgressParams ¶
func NewEvaluateMyProgressParams() *EvaluateMyProgressParams
NewEvaluateMyProgressParams creates a new EvaluateMyProgressParams object with the default values initialized.
func NewEvaluateMyProgressParamsWithContext ¶
func NewEvaluateMyProgressParamsWithContext(ctx context.Context) *EvaluateMyProgressParams
NewEvaluateMyProgressParamsWithContext creates a new EvaluateMyProgressParams object with the default values initialized, and the ability to set a context for a request
func NewEvaluateMyProgressParamsWithHTTPClient ¶
func NewEvaluateMyProgressParamsWithHTTPClient(client *http.Client) *EvaluateMyProgressParams
NewEvaluateMyProgressParamsWithHTTPClient creates a new EvaluateMyProgressParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEvaluateMyProgressParamsWithTimeout ¶
func NewEvaluateMyProgressParamsWithTimeout(timeout time.Duration) *EvaluateMyProgressParams
NewEvaluateMyProgressParamsWithTimeout creates a new EvaluateMyProgressParams object with the default values initialized, and the ability to set a timeout on a request
func (*EvaluateMyProgressParams) SetAuthInfoWriter ¶
func (o *EvaluateMyProgressParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the evaluate my progress params
func (*EvaluateMyProgressParams) SetContext ¶
func (o *EvaluateMyProgressParams) SetContext(ctx context.Context)
SetContext adds the context to the evaluate my progress params
func (*EvaluateMyProgressParams) SetFlightId ¶
func (o *EvaluateMyProgressParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*EvaluateMyProgressParams) SetHTTPClient ¶
func (o *EvaluateMyProgressParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the evaluate my progress params
func (*EvaluateMyProgressParams) SetHTTPClientTransport ¶
func (o *EvaluateMyProgressParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the evaluate my progress params
func (*EvaluateMyProgressParams) SetNamespace ¶
func (o *EvaluateMyProgressParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the evaluate my progress params
func (*EvaluateMyProgressParams) SetTimeout ¶
func (o *EvaluateMyProgressParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the evaluate my progress params
func (*EvaluateMyProgressParams) WithContext ¶
func (o *EvaluateMyProgressParams) WithContext(ctx context.Context) *EvaluateMyProgressParams
WithContext adds the context to the evaluate my progress params
func (*EvaluateMyProgressParams) WithHTTPClient ¶
func (o *EvaluateMyProgressParams) WithHTTPClient(client *http.Client) *EvaluateMyProgressParams
WithHTTPClient adds the HTTPClient to the evaluate my progress params
func (*EvaluateMyProgressParams) WithNamespace ¶
func (o *EvaluateMyProgressParams) WithNamespace(namespace string) *EvaluateMyProgressParams
WithNamespace adds the namespace to the evaluate my progress params
func (*EvaluateMyProgressParams) WithTimeout ¶
func (o *EvaluateMyProgressParams) WithTimeout(timeout time.Duration) *EvaluateMyProgressParams
WithTimeout adds the timeout to the evaluate my progress params
func (*EvaluateMyProgressParams) WriteToRequest ¶
func (o *EvaluateMyProgressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EvaluateMyProgressReader ¶
type EvaluateMyProgressReader struct {
// contains filtered or unexported fields
}
EvaluateMyProgressReader is a Reader for the EvaluateMyProgress structure.
func (*EvaluateMyProgressReader) ReadResponse ¶
func (o *EvaluateMyProgressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EvaluateMyProgressUnauthorized ¶
type EvaluateMyProgressUnauthorized struct {
}EvaluateMyProgressUnauthorized 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 NewEvaluateMyProgressUnauthorized ¶
func NewEvaluateMyProgressUnauthorized() *EvaluateMyProgressUnauthorized
NewEvaluateMyProgressUnauthorized creates a EvaluateMyProgressUnauthorized with default headers values
func (*EvaluateMyProgressUnauthorized) Error ¶
func (o *EvaluateMyProgressUnauthorized) Error() string
func (*EvaluateMyProgressUnauthorized) GetPayload ¶
func (o *EvaluateMyProgressUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*EvaluateMyProgressUnauthorized) ToJSONString ¶
func (o *EvaluateMyProgressUnauthorized) ToJSONString() string
type PublicGetPastUserProgressionBadRequest ¶ added in v0.72.0
type PublicGetPastUserProgressionBadRequest struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicGetPastUserProgressionBadRequest 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 NewPublicGetPastUserProgressionBadRequest ¶ added in v0.72.0
func NewPublicGetPastUserProgressionBadRequest() *PublicGetPastUserProgressionBadRequest
NewPublicGetPastUserProgressionBadRequest creates a PublicGetPastUserProgressionBadRequest with default headers values
func (*PublicGetPastUserProgressionBadRequest) Error ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionBadRequest) Error() string
func (*PublicGetPastUserProgressionBadRequest) GetPayload ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionBadRequest) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicGetPastUserProgressionBadRequest) ToJSONString ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionBadRequest) ToJSONString() string
type PublicGetPastUserProgressionForbidden ¶ added in v0.72.0
type PublicGetPastUserProgressionForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicGetPastUserProgressionForbidden 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 NewPublicGetPastUserProgressionForbidden ¶ added in v0.72.0
func NewPublicGetPastUserProgressionForbidden() *PublicGetPastUserProgressionForbidden
NewPublicGetPastUserProgressionForbidden creates a PublicGetPastUserProgressionForbidden with default headers values
func (*PublicGetPastUserProgressionForbidden) Error ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionForbidden) Error() string
func (*PublicGetPastUserProgressionForbidden) GetPayload ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicGetPastUserProgressionForbidden) ToJSONString ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionForbidden) ToJSONString() string
type PublicGetPastUserProgressionInternalServerError ¶ added in v0.72.0
type PublicGetPastUserProgressionInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
PublicGetPastUserProgressionInternalServerError 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 NewPublicGetPastUserProgressionInternalServerError ¶ added in v0.72.0
func NewPublicGetPastUserProgressionInternalServerError() *PublicGetPastUserProgressionInternalServerError
NewPublicGetPastUserProgressionInternalServerError creates a PublicGetPastUserProgressionInternalServerError with default headers values
func (*PublicGetPastUserProgressionInternalServerError) Error ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionInternalServerError) Error() string
func (*PublicGetPastUserProgressionInternalServerError) GetPayload ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*PublicGetPastUserProgressionInternalServerError) ToJSONString ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionInternalServerError) ToJSONString() string
type PublicGetPastUserProgressionNotFound ¶ added in v0.72.0
type PublicGetPastUserProgressionNotFound struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicGetPastUserProgressionNotFound 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 NewPublicGetPastUserProgressionNotFound ¶ added in v0.72.0
func NewPublicGetPastUserProgressionNotFound() *PublicGetPastUserProgressionNotFound
NewPublicGetPastUserProgressionNotFound creates a PublicGetPastUserProgressionNotFound with default headers values
func (*PublicGetPastUserProgressionNotFound) Error ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionNotFound) Error() string
func (*PublicGetPastUserProgressionNotFound) GetPayload ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionNotFound) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicGetPastUserProgressionNotFound) ToJSONString ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionNotFound) ToJSONString() string
type PublicGetPastUserProgressionOK ¶ added in v0.72.0
type PublicGetPastUserProgressionOK struct {
Payload *challengeclientmodels.ModelUserProgressionResponse
}
PublicGetPastUserProgressionOK handles this case with default header values.
OK
func NewPublicGetPastUserProgressionOK ¶ added in v0.72.0
func NewPublicGetPastUserProgressionOK() *PublicGetPastUserProgressionOK
NewPublicGetPastUserProgressionOK creates a PublicGetPastUserProgressionOK with default headers values
func (*PublicGetPastUserProgressionOK) Error ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionOK) Error() string
func (*PublicGetPastUserProgressionOK) GetPayload ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionOK) GetPayload() *challengeclientmodels.ModelUserProgressionResponse
func (*PublicGetPastUserProgressionOK) ToJSONString ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionOK) ToJSONString() string
type PublicGetPastUserProgressionParams ¶ added in v0.72.0
type PublicGetPastUserProgressionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChallengeCode challenge code */ ChallengeCode string /*Index rotation index. Treat rotation as an array sorted by the start time of a rotation in descending manner. positive integer. 0 indicates current or latest active rotation. increment the value to refer to specific past rotation. */ Index int64 /*Namespace namespace of the game */ Namespace string /*GoalCode goal code */ GoalCode *string /*Limit limit the amount of data retrieved */ Limit *int64 /*Offset offset */ Offset *int64 /*Tags filter goals by tags, comma separated value */ Tags []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetPastUserProgressionParams contains all the parameters to send to the API endpoint for the public get past user progression operation typically these are written to a http.Request
func NewPublicGetPastUserProgressionParams ¶ added in v0.72.0
func NewPublicGetPastUserProgressionParams() *PublicGetPastUserProgressionParams
NewPublicGetPastUserProgressionParams creates a new PublicGetPastUserProgressionParams object with the default values initialized.
func NewPublicGetPastUserProgressionParamsWithContext ¶ added in v0.72.0
func NewPublicGetPastUserProgressionParamsWithContext(ctx context.Context) *PublicGetPastUserProgressionParams
NewPublicGetPastUserProgressionParamsWithContext creates a new PublicGetPastUserProgressionParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetPastUserProgressionParamsWithHTTPClient ¶ added in v0.72.0
func NewPublicGetPastUserProgressionParamsWithHTTPClient(client *http.Client) *PublicGetPastUserProgressionParams
NewPublicGetPastUserProgressionParamsWithHTTPClient creates a new PublicGetPastUserProgressionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetPastUserProgressionParamsWithTimeout ¶ added in v0.72.0
func NewPublicGetPastUserProgressionParamsWithTimeout(timeout time.Duration) *PublicGetPastUserProgressionParams
NewPublicGetPastUserProgressionParamsWithTimeout creates a new PublicGetPastUserProgressionParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetPastUserProgressionParams) SetAuthInfoWriter ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get past user progression params
func (*PublicGetPastUserProgressionParams) SetChallengeCode ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the public get past user progression params
func (*PublicGetPastUserProgressionParams) SetContext ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetContext(ctx context.Context)
SetContext adds the context to the public get past user progression params
func (*PublicGetPastUserProgressionParams) SetFlightId ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetPastUserProgressionParams) SetGoalCode ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetGoalCode(goalCode *string)
SetGoalCode adds the goalCode to the public get past user progression params
func (*PublicGetPastUserProgressionParams) SetHTTPClient ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get past user progression params
func (*PublicGetPastUserProgressionParams) SetHTTPClientTransport ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get past user progression params
func (*PublicGetPastUserProgressionParams) SetIndex ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetIndex(index int64)
SetIndex adds the index to the public get past user progression params
func (*PublicGetPastUserProgressionParams) SetLimit ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetLimit(limit *int64)
SetLimit adds the limit to the public get past user progression params
func (*PublicGetPastUserProgressionParams) SetNamespace ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get past user progression params
func (*PublicGetPastUserProgressionParams) SetOffset ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetOffset(offset *int64)
SetOffset adds the offset to the public get past user progression params
func (*PublicGetPastUserProgressionParams) SetTags ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetTags(tags []string)
SetTags adds the tags to the public get past user progression params
func (*PublicGetPastUserProgressionParams) SetTimeout ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get past user progression params
func (*PublicGetPastUserProgressionParams) WithChallengeCode ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) WithChallengeCode(challengeCode string) *PublicGetPastUserProgressionParams
WithChallengeCode adds the challengeCode to the public get past user progression params
func (*PublicGetPastUserProgressionParams) WithContext ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) WithContext(ctx context.Context) *PublicGetPastUserProgressionParams
WithContext adds the context to the public get past user progression params
func (*PublicGetPastUserProgressionParams) WithGoalCode ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) WithGoalCode(goalCode *string) *PublicGetPastUserProgressionParams
WithGoalCode adds the goalCode to the public get past user progression params
func (*PublicGetPastUserProgressionParams) WithHTTPClient ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) WithHTTPClient(client *http.Client) *PublicGetPastUserProgressionParams
WithHTTPClient adds the HTTPClient to the public get past user progression params
func (*PublicGetPastUserProgressionParams) WithIndex ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) WithIndex(index int64) *PublicGetPastUserProgressionParams
WithIndex adds the index to the public get past user progression params
func (*PublicGetPastUserProgressionParams) WithLimit ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) WithLimit(limit *int64) *PublicGetPastUserProgressionParams
WithLimit adds the limit to the public get past user progression params
func (*PublicGetPastUserProgressionParams) WithNamespace ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) WithNamespace(namespace string) *PublicGetPastUserProgressionParams
WithNamespace adds the namespace to the public get past user progression params
func (*PublicGetPastUserProgressionParams) WithOffset ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) WithOffset(offset *int64) *PublicGetPastUserProgressionParams
WithOffset adds the offset to the public get past user progression params
func (*PublicGetPastUserProgressionParams) WithTags ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) WithTags(tags []string) *PublicGetPastUserProgressionParams
WithTags adds the tags to the public get past user progression params
func (*PublicGetPastUserProgressionParams) WithTimeout ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) WithTimeout(timeout time.Duration) *PublicGetPastUserProgressionParams
WithTimeout adds the timeout to the public get past user progression params
func (*PublicGetPastUserProgressionParams) WriteToRequest ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetPastUserProgressionReader ¶ added in v0.72.0
type PublicGetPastUserProgressionReader struct {
// contains filtered or unexported fields
}
PublicGetPastUserProgressionReader is a Reader for the PublicGetPastUserProgression structure.
func (*PublicGetPastUserProgressionReader) ReadResponse ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetPastUserProgressionUnauthorized ¶ added in v0.72.0
type PublicGetPastUserProgressionUnauthorized struct {
}PublicGetPastUserProgressionUnauthorized 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 NewPublicGetPastUserProgressionUnauthorized ¶ added in v0.72.0
func NewPublicGetPastUserProgressionUnauthorized() *PublicGetPastUserProgressionUnauthorized
NewPublicGetPastUserProgressionUnauthorized creates a PublicGetPastUserProgressionUnauthorized with default headers values
func (*PublicGetPastUserProgressionUnauthorized) Error ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionUnauthorized) Error() string
func (*PublicGetPastUserProgressionUnauthorized) GetPayload ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicGetPastUserProgressionUnauthorized) ToJSONString ¶ added in v0.72.0
func (o *PublicGetPastUserProgressionUnauthorized) ToJSONString() string
type PublicGetUserProgressionBadRequest ¶ added in v0.72.0
type PublicGetUserProgressionBadRequest struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicGetUserProgressionBadRequest 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 NewPublicGetUserProgressionBadRequest ¶ added in v0.72.0
func NewPublicGetUserProgressionBadRequest() *PublicGetUserProgressionBadRequest
NewPublicGetUserProgressionBadRequest creates a PublicGetUserProgressionBadRequest with default headers values
func (*PublicGetUserProgressionBadRequest) Error ¶ added in v0.72.0
func (o *PublicGetUserProgressionBadRequest) Error() string
func (*PublicGetUserProgressionBadRequest) GetPayload ¶ added in v0.72.0
func (o *PublicGetUserProgressionBadRequest) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicGetUserProgressionBadRequest) ToJSONString ¶ added in v0.72.0
func (o *PublicGetUserProgressionBadRequest) ToJSONString() string
type PublicGetUserProgressionForbidden ¶
type PublicGetUserProgressionForbidden struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicGetUserProgressionForbidden 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 NewPublicGetUserProgressionForbidden ¶
func NewPublicGetUserProgressionForbidden() *PublicGetUserProgressionForbidden
NewPublicGetUserProgressionForbidden creates a PublicGetUserProgressionForbidden with default headers values
func (*PublicGetUserProgressionForbidden) Error ¶
func (o *PublicGetUserProgressionForbidden) Error() string
func (*PublicGetUserProgressionForbidden) GetPayload ¶
func (o *PublicGetUserProgressionForbidden) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicGetUserProgressionForbidden) ToJSONString ¶
func (o *PublicGetUserProgressionForbidden) ToJSONString() string
type PublicGetUserProgressionInternalServerError ¶
type PublicGetUserProgressionInternalServerError struct {
Payload *challengeclientmodels.ResponseError
}
PublicGetUserProgressionInternalServerError 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 NewPublicGetUserProgressionInternalServerError ¶
func NewPublicGetUserProgressionInternalServerError() *PublicGetUserProgressionInternalServerError
NewPublicGetUserProgressionInternalServerError creates a PublicGetUserProgressionInternalServerError with default headers values
func (*PublicGetUserProgressionInternalServerError) Error ¶
func (o *PublicGetUserProgressionInternalServerError) Error() string
func (*PublicGetUserProgressionInternalServerError) GetPayload ¶
func (o *PublicGetUserProgressionInternalServerError) GetPayload() *challengeclientmodels.ResponseError
func (*PublicGetUserProgressionInternalServerError) ToJSONString ¶
func (o *PublicGetUserProgressionInternalServerError) ToJSONString() string
type PublicGetUserProgressionNotFound ¶
type PublicGetUserProgressionNotFound struct {
Payload *challengeclientmodels.IamErrorResponse
}
PublicGetUserProgressionNotFound 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 NewPublicGetUserProgressionNotFound ¶
func NewPublicGetUserProgressionNotFound() *PublicGetUserProgressionNotFound
NewPublicGetUserProgressionNotFound creates a PublicGetUserProgressionNotFound with default headers values
func (*PublicGetUserProgressionNotFound) Error ¶
func (o *PublicGetUserProgressionNotFound) Error() string
func (*PublicGetUserProgressionNotFound) GetPayload ¶
func (o *PublicGetUserProgressionNotFound) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicGetUserProgressionNotFound) ToJSONString ¶
func (o *PublicGetUserProgressionNotFound) ToJSONString() string
type PublicGetUserProgressionOK ¶
type PublicGetUserProgressionOK struct {
Payload *challengeclientmodels.ModelUserProgressionResponse
}
PublicGetUserProgressionOK handles this case with default header values.
OK
func NewPublicGetUserProgressionOK ¶
func NewPublicGetUserProgressionOK() *PublicGetUserProgressionOK
NewPublicGetUserProgressionOK creates a PublicGetUserProgressionOK with default headers values
func (*PublicGetUserProgressionOK) Error ¶
func (o *PublicGetUserProgressionOK) Error() string
func (*PublicGetUserProgressionOK) GetPayload ¶
func (o *PublicGetUserProgressionOK) GetPayload() *challengeclientmodels.ModelUserProgressionResponse
func (*PublicGetUserProgressionOK) ToJSONString ¶
func (o *PublicGetUserProgressionOK) ToJSONString() string
type PublicGetUserProgressionParams ¶
type PublicGetUserProgressionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChallengeCode challenge code */ ChallengeCode string /*Namespace namespace of the game */ Namespace string /*DateTime specific schedule date time. use RFC3339 format(2006-01-02T15:04:05Z). */ DateTime *string /*GoalCode goal code */ GoalCode *string /*Limit limit the amount of data retrieved */ Limit *int64 /*Offset offset */ Offset *int64 /*Tags filter goals by tags, comma separated value */ Tags []string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicGetUserProgressionParams contains all the parameters to send to the API endpoint for the public get user progression operation typically these are written to a http.Request
func NewPublicGetUserProgressionParams ¶
func NewPublicGetUserProgressionParams() *PublicGetUserProgressionParams
NewPublicGetUserProgressionParams creates a new PublicGetUserProgressionParams object with the default values initialized.
func NewPublicGetUserProgressionParamsWithContext ¶
func NewPublicGetUserProgressionParamsWithContext(ctx context.Context) *PublicGetUserProgressionParams
NewPublicGetUserProgressionParamsWithContext creates a new PublicGetUserProgressionParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetUserProgressionParamsWithHTTPClient ¶
func NewPublicGetUserProgressionParamsWithHTTPClient(client *http.Client) *PublicGetUserProgressionParams
NewPublicGetUserProgressionParamsWithHTTPClient creates a new PublicGetUserProgressionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetUserProgressionParamsWithTimeout ¶
func NewPublicGetUserProgressionParamsWithTimeout(timeout time.Duration) *PublicGetUserProgressionParams
NewPublicGetUserProgressionParamsWithTimeout creates a new PublicGetUserProgressionParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetUserProgressionParams) SetAuthInfoWriter ¶
func (o *PublicGetUserProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get user progression params
func (*PublicGetUserProgressionParams) SetChallengeCode ¶
func (o *PublicGetUserProgressionParams) SetChallengeCode(challengeCode string)
SetChallengeCode adds the challengeCode to the public get user progression params
func (*PublicGetUserProgressionParams) SetContext ¶
func (o *PublicGetUserProgressionParams) SetContext(ctx context.Context)
SetContext adds the context to the public get user progression params
func (*PublicGetUserProgressionParams) SetDateTime ¶ added in v0.72.0
func (o *PublicGetUserProgressionParams) SetDateTime(dateTime *string)
SetDateTime adds the dateTime to the public get user progression params
func (*PublicGetUserProgressionParams) SetFlightId ¶
func (o *PublicGetUserProgressionParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicGetUserProgressionParams) SetGoalCode ¶
func (o *PublicGetUserProgressionParams) SetGoalCode(goalCode *string)
SetGoalCode adds the goalCode to the public get user progression params
func (*PublicGetUserProgressionParams) SetHTTPClient ¶
func (o *PublicGetUserProgressionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get user progression params
func (*PublicGetUserProgressionParams) SetHTTPClientTransport ¶
func (o *PublicGetUserProgressionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get user progression params
func (*PublicGetUserProgressionParams) SetLimit ¶ added in v0.69.0
func (o *PublicGetUserProgressionParams) SetLimit(limit *int64)
SetLimit adds the limit to the public get user progression params
func (*PublicGetUserProgressionParams) SetNamespace ¶
func (o *PublicGetUserProgressionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get user progression params
func (*PublicGetUserProgressionParams) SetOffset ¶ added in v0.69.0
func (o *PublicGetUserProgressionParams) SetOffset(offset *int64)
SetOffset adds the offset to the public get user progression params
func (*PublicGetUserProgressionParams) SetTags ¶ added in v0.69.0
func (o *PublicGetUserProgressionParams) SetTags(tags []string)
SetTags adds the tags to the public get user progression params
func (*PublicGetUserProgressionParams) SetTimeout ¶
func (o *PublicGetUserProgressionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get user progression params
func (*PublicGetUserProgressionParams) WithChallengeCode ¶
func (o *PublicGetUserProgressionParams) WithChallengeCode(challengeCode string) *PublicGetUserProgressionParams
WithChallengeCode adds the challengeCode to the public get user progression params
func (*PublicGetUserProgressionParams) WithContext ¶
func (o *PublicGetUserProgressionParams) WithContext(ctx context.Context) *PublicGetUserProgressionParams
WithContext adds the context to the public get user progression params
func (*PublicGetUserProgressionParams) WithDateTime ¶ added in v0.72.0
func (o *PublicGetUserProgressionParams) WithDateTime(dateTime *string) *PublicGetUserProgressionParams
WithDateTime adds the dateTime to the public get user progression params
func (*PublicGetUserProgressionParams) WithGoalCode ¶
func (o *PublicGetUserProgressionParams) WithGoalCode(goalCode *string) *PublicGetUserProgressionParams
WithGoalCode adds the goalCode to the public get user progression params
func (*PublicGetUserProgressionParams) WithHTTPClient ¶
func (o *PublicGetUserProgressionParams) WithHTTPClient(client *http.Client) *PublicGetUserProgressionParams
WithHTTPClient adds the HTTPClient to the public get user progression params
func (*PublicGetUserProgressionParams) WithLimit ¶ added in v0.69.0
func (o *PublicGetUserProgressionParams) WithLimit(limit *int64) *PublicGetUserProgressionParams
WithLimit adds the limit to the public get user progression params
func (*PublicGetUserProgressionParams) WithNamespace ¶
func (o *PublicGetUserProgressionParams) WithNamespace(namespace string) *PublicGetUserProgressionParams
WithNamespace adds the namespace to the public get user progression params
func (*PublicGetUserProgressionParams) WithOffset ¶ added in v0.69.0
func (o *PublicGetUserProgressionParams) WithOffset(offset *int64) *PublicGetUserProgressionParams
WithOffset adds the offset to the public get user progression params
func (*PublicGetUserProgressionParams) WithTags ¶ added in v0.69.0
func (o *PublicGetUserProgressionParams) WithTags(tags []string) *PublicGetUserProgressionParams
WithTags adds the tags to the public get user progression params
func (*PublicGetUserProgressionParams) WithTimeout ¶
func (o *PublicGetUserProgressionParams) WithTimeout(timeout time.Duration) *PublicGetUserProgressionParams
WithTimeout adds the timeout to the public get user progression params
func (*PublicGetUserProgressionParams) WriteToRequest ¶
func (o *PublicGetUserProgressionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicGetUserProgressionReader ¶
type PublicGetUserProgressionReader struct {
// contains filtered or unexported fields
}
PublicGetUserProgressionReader is a Reader for the PublicGetUserProgression structure.
func (*PublicGetUserProgressionReader) ReadResponse ¶
func (o *PublicGetUserProgressionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicGetUserProgressionUnauthorized ¶
type PublicGetUserProgressionUnauthorized struct {
}PublicGetUserProgressionUnauthorized 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 NewPublicGetUserProgressionUnauthorized ¶
func NewPublicGetUserProgressionUnauthorized() *PublicGetUserProgressionUnauthorized
NewPublicGetUserProgressionUnauthorized creates a PublicGetUserProgressionUnauthorized with default headers values
func (*PublicGetUserProgressionUnauthorized) Error ¶
func (o *PublicGetUserProgressionUnauthorized) Error() string
func (*PublicGetUserProgressionUnauthorized) GetPayload ¶
func (o *PublicGetUserProgressionUnauthorized) GetPayload() *challengeclientmodels.IamErrorResponse
func (*PublicGetUserProgressionUnauthorized) ToJSONString ¶
func (o *PublicGetUserProgressionUnauthorized) ToJSONString() string
type PublicGetUserProgressionUnprocessableEntity ¶ added in v0.74.0
type PublicGetUserProgressionUnprocessableEntity struct {
Payload *challengeclientmodels.ResponseError
}
PublicGetUserProgressionUnprocessableEntity 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 NewPublicGetUserProgressionUnprocessableEntity ¶ added in v0.74.0
func NewPublicGetUserProgressionUnprocessableEntity() *PublicGetUserProgressionUnprocessableEntity
NewPublicGetUserProgressionUnprocessableEntity creates a PublicGetUserProgressionUnprocessableEntity with default headers values
func (*PublicGetUserProgressionUnprocessableEntity) Error ¶ added in v0.74.0
func (o *PublicGetUserProgressionUnprocessableEntity) Error() string
func (*PublicGetUserProgressionUnprocessableEntity) GetPayload ¶ added in v0.74.0
func (o *PublicGetUserProgressionUnprocessableEntity) GetPayload() *challengeclientmodels.ResponseError
func (*PublicGetUserProgressionUnprocessableEntity) ToJSONString ¶ added in v0.74.0
func (o *PublicGetUserProgressionUnprocessableEntity) ToJSONString() string
Source Files
¶
- admin_evaluate_progress_parameters.go
- admin_evaluate_progress_responses.go
- admin_get_user_progression_parameters.go
- admin_get_user_progression_responses.go
- challenge_progression_client.go
- evaluate_my_progress_parameters.go
- evaluate_my_progress_responses.go
- public_get_past_user_progression_parameters.go
- public_get_past_user_progression_responses.go
- public_get_user_progression_parameters.go
- public_get_user_progression_responses.go