Documentation ¶
Index ¶
- 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 Client
- func (a *Client) AdminEvaluateProgress(params *AdminEvaluateProgressParams, authInfo runtime.ClientAuthInfoWriter) (*AdminEvaluateProgressNoContent, *AdminEvaluateProgressUnauthorized, ...)deprecated
- func (a *Client) AdminEvaluateProgressShort(params *AdminEvaluateProgressParams, authInfo runtime.ClientAuthInfoWriter) (*AdminEvaluateProgressNoContent, 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) PublicGetUserProgression(params *PublicGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProgressionOK, *PublicGetUserProgressionUnauthorized, ...)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 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) 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) SetNamespace(namespace 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) WithGoalCode(goalCode *string) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) WithHTTPClient(client *http.Client) *PublicGetUserProgressionParams
- func (o *PublicGetUserProgressionParams) WithNamespace(namespace 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 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, *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]
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]
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) PublicGetUserProgression
deprecated
func (a *Client) PublicGetUserProgression(params *PublicGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProgressionOK, *PublicGetUserProgressionUnauthorized, *PublicGetUserProgressionForbidden, *PublicGetUserProgressionNotFound, *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, *AdminEvaluateProgressUnauthorized, *AdminEvaluateProgressForbidden, *AdminEvaluateProgressNotFound, *AdminEvaluateProgressInternalServerError, error) AdminEvaluateProgressShort(params *AdminEvaluateProgressParams, authInfo runtime.ClientAuthInfoWriter) (*AdminEvaluateProgressNoContent, 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, *PublicGetUserProgressionUnauthorized, *PublicGetUserProgressionForbidden, *PublicGetUserProgressionNotFound, *PublicGetUserProgressionInternalServerError, error) PublicGetUserProgressionShort(params *PublicGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProgressionOK, 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 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 /*GoalCode goal code */ GoalCode *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) 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) SetNamespace ¶
func (o *PublicGetUserProgressionParams) SetNamespace(namespace string)
SetNamespace adds the namespace 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) 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) WithNamespace ¶
func (o *PublicGetUserProgressionParams) WithNamespace(namespace string) *PublicGetUserProgressionParams
WithNamespace adds the namespace 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