challenge_progression

package
v0.87.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 (*AdminEvaluateProgressBadRequest) GetPayload added in v0.73.0

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 (*AdminEvaluateProgressForbidden) GetPayload

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 (*AdminEvaluateProgressInternalServerError) GetPayload

func (*AdminEvaluateProgressInternalServerError) ToJSONString

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

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 (*AdminEvaluateProgressNotFound) GetPayload

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
	/*ChallengeCode
	  challenge code to be evaluated, comma separated value

	*/
	ChallengeCode []string
	/*IncludeOneTimeEvent
	  Include one-time events (e.g. user achievement unlocks, platform linking). Normally this flag should be disabled and is only used to recover from failed one-time event processing.

	*/
	IncludeOneTimeEvent *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

SetBody adds the body to the admin evaluate progress params

func (*AdminEvaluateProgressParams) SetChallengeCode added in v0.83.0

func (o *AdminEvaluateProgressParams) SetChallengeCode(challengeCode []string)

SetChallengeCode adds the challengeCode 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) SetIncludeOneTimeEvent added in v0.87.0

func (o *AdminEvaluateProgressParams) SetIncludeOneTimeEvent(includeOneTimeEvent *string)

SetIncludeOneTimeEvent adds the includeOneTimeEvent 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

WithBody adds the body to the admin evaluate progress params

func (*AdminEvaluateProgressParams) WithChallengeCode added in v0.83.0

func (o *AdminEvaluateProgressParams) WithChallengeCode(challengeCode []string) *AdminEvaluateProgressParams

WithChallengeCode adds the challengeCode to the admin evaluate progress params

func (*AdminEvaluateProgressParams) WithContext

WithContext adds the context to the admin evaluate progress params

func (*AdminEvaluateProgressParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin evaluate progress params

func (*AdminEvaluateProgressParams) WithIncludeOneTimeEvent added in v0.87.0

func (o *AdminEvaluateProgressParams) WithIncludeOneTimeEvent(includeOneTimeEvent *string) *AdminEvaluateProgressParams

WithIncludeOneTimeEvent adds the includeOneTimeEvent 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

WithTimeout adds the timeout to the admin evaluate progress params

func (*AdminEvaluateProgressParams) WriteToRequest

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 {
	Payload *challengeclientmodels.IamErrorResponse
}

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 (*AdminEvaluateProgressUnauthorized) GetPayload

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 (*AdminGetUserProgressionBadRequest) GetPayload added in v0.74.0

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 (*AdminGetUserProgressionForbidden) GetPayload added in v0.74.0

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 (*AdminGetUserProgressionInternalServerError) GetPayload added in v0.74.0

func (*AdminGetUserProgressionInternalServerError) ToJSONString added in v0.74.0

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 (*AdminGetUserProgressionNotFound) GetPayload added in v0.74.0

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 (*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

WithContext adds the context to the admin get user progression params

func (*AdminGetUserProgressionParams) WithDateTime added in v0.74.0

WithDateTime adds the dateTime to the admin get user progression params

func (*AdminGetUserProgressionParams) WithGoalCode added in v0.74.0

WithGoalCode adds the goalCode to the admin get user progression params

func (*AdminGetUserProgressionParams) WithHTTPClient added in v0.74.0

WithHTTPClient adds the HTTPClient to the admin get user progression params

func (*AdminGetUserProgressionParams) WithLimit added in v0.74.0

WithLimit adds the limit to the admin get user progression params

func (*AdminGetUserProgressionParams) WithNamespace added in v0.74.0

WithNamespace adds the namespace to the admin get user progression params

func (*AdminGetUserProgressionParams) WithOffset added in v0.74.0

WithOffset adds the offset to the admin get user progression params

func (*AdminGetUserProgressionParams) WithTags added in v0.74.0

WithTags adds the tags to the admin get user progression params

func (*AdminGetUserProgressionParams) WithTimeout added in v0.74.0

WithTimeout adds the timeout to the admin get user progression params

func (*AdminGetUserProgressionParams) WithUserID added in v0.74.0

WithUserID adds the userID to the admin get user progression params

func (*AdminGetUserProgressionParams) WriteToRequest added in v0.74.0

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 {
	Payload *challengeclientmodels.IamErrorResponse
}

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 (*AdminGetUserProgressionUnauthorized) GetPayload added in v0.74.0

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 (*AdminGetUserProgressionUnprocessableEntity) GetPayload added in v0.74.0

func (*AdminGetUserProgressionUnprocessableEntity) ToJSONString added in v0.74.0

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for challenge progression API

func (*Client) AdminEvaluateProgress deprecated

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

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

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

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

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 (*EvaluateMyProgressForbidden) GetPayload

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 (*EvaluateMyProgressInternalServerError) GetPayload

func (*EvaluateMyProgressInternalServerError) ToJSONString

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

type EvaluateMyProgressParams

type EvaluateMyProgressParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*ChallengeCode
	  challenge code to be evaluated, comma separated value

	*/
	ChallengeCode []string
	/*IncludeOneTimeEvent
	  Include one-time events (e.g. user achievement unlocks, platform linking). Normally this flag should be disabled and is only used to recover from failed one-time event processing.

	*/
	IncludeOneTimeEvent *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) SetChallengeCode added in v0.83.0

func (o *EvaluateMyProgressParams) SetChallengeCode(challengeCode []string)

SetChallengeCode adds the challengeCode 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) SetIncludeOneTimeEvent added in v0.87.0

func (o *EvaluateMyProgressParams) SetIncludeOneTimeEvent(includeOneTimeEvent *string)

SetIncludeOneTimeEvent adds the includeOneTimeEvent 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) WithChallengeCode added in v0.83.0

func (o *EvaluateMyProgressParams) WithChallengeCode(challengeCode []string) *EvaluateMyProgressParams

WithChallengeCode adds the challengeCode to the evaluate my progress params

func (*EvaluateMyProgressParams) WithContext

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) WithIncludeOneTimeEvent added in v0.87.0

func (o *EvaluateMyProgressParams) WithIncludeOneTimeEvent(includeOneTimeEvent *string) *EvaluateMyProgressParams

WithIncludeOneTimeEvent adds the includeOneTimeEvent 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

WithTimeout adds the timeout to the evaluate my progress params

func (*EvaluateMyProgressParams) WriteToRequest

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 {
	Payload *challengeclientmodels.IamErrorResponse
}

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 (*EvaluateMyProgressUnauthorized) GetPayload

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 (*PublicGetPastUserProgressionBadRequest) GetPayload added in v0.72.0

func (*PublicGetPastUserProgressionBadRequest) ToJSONString added in v0.72.0

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 (*PublicGetPastUserProgressionForbidden) GetPayload added in v0.72.0

func (*PublicGetPastUserProgressionForbidden) ToJSONString added in v0.72.0

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 (*PublicGetPastUserProgressionInternalServerError) GetPayload added in v0.72.0

func (*PublicGetPastUserProgressionInternalServerError) ToJSONString added in v0.72.0

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 (*PublicGetPastUserProgressionNotFound) GetPayload added in v0.72.0

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 (*PublicGetPastUserProgressionOK) GetPayload added in v0.72.0

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

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

WithChallengeCode adds the challengeCode to the public get past user progression params

func (*PublicGetPastUserProgressionParams) WithContext added in v0.72.0

WithContext adds the context to the public get past user progression params

func (*PublicGetPastUserProgressionParams) WithGoalCode added in v0.72.0

WithGoalCode adds the goalCode to the public get past user progression params

func (*PublicGetPastUserProgressionParams) WithHTTPClient added in v0.72.0

WithHTTPClient adds the HTTPClient to the public get past user progression params

func (*PublicGetPastUserProgressionParams) WithIndex added in v0.72.0

WithIndex adds the index to the public get past user progression params

func (*PublicGetPastUserProgressionParams) WithLimit added in v0.72.0

WithLimit adds the limit to the public get past user progression params

func (*PublicGetPastUserProgressionParams) WithNamespace added in v0.72.0

WithNamespace adds the namespace to the public get past user progression params

func (*PublicGetPastUserProgressionParams) WithOffset added in v0.72.0

WithOffset adds the offset to the public get past user progression params

func (*PublicGetPastUserProgressionParams) WithTags added in v0.72.0

WithTags adds the tags to the public get past user progression params

func (*PublicGetPastUserProgressionParams) WithTimeout added in v0.72.0

WithTimeout adds the timeout to the public get past user progression params

func (*PublicGetPastUserProgressionParams) WriteToRequest added in v0.72.0

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 {
	Payload *challengeclientmodels.IamErrorResponse
}

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 (*PublicGetPastUserProgressionUnauthorized) GetPayload added in v0.72.0

func (*PublicGetPastUserProgressionUnauthorized) ToJSONString added in v0.72.0

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 (*PublicGetUserProgressionBadRequest) GetPayload added in v0.72.0

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 (*PublicGetUserProgressionForbidden) GetPayload

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 (*PublicGetUserProgressionInternalServerError) GetPayload

func (*PublicGetUserProgressionInternalServerError) ToJSONString

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 (*PublicGetUserProgressionNotFound) GetPayload

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 (*PublicGetUserProgressionOK) GetPayload

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

WithContext adds the context to the public get user progression params

func (*PublicGetUserProgressionParams) WithDateTime added in v0.72.0

WithDateTime adds the dateTime to the public get user progression params

func (*PublicGetUserProgressionParams) WithGoalCode

WithGoalCode adds the goalCode to the public get user progression params

func (*PublicGetUserProgressionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user progression params

func (*PublicGetUserProgressionParams) WithLimit added in v0.69.0

WithLimit adds the limit to the public get user progression params

func (*PublicGetUserProgressionParams) WithNamespace

WithNamespace adds the namespace to the public get user progression params

func (*PublicGetUserProgressionParams) WithOffset added in v0.69.0

WithOffset adds the offset to the public get user progression params

func (*PublicGetUserProgressionParams) WithTags added in v0.69.0

WithTags adds the tags to the public get user progression params

func (*PublicGetUserProgressionParams) WithTimeout

WithTimeout adds the timeout to the public get user progression params

func (*PublicGetUserProgressionParams) WriteToRequest

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 {
	Payload *challengeclientmodels.IamErrorResponse
}

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 (*PublicGetUserProgressionUnauthorized) GetPayload

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 (*PublicGetUserProgressionUnprocessableEntity) GetPayload added in v0.74.0

func (*PublicGetUserProgressionUnprocessableEntity) ToJSONString added in v0.74.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL