challenge_progression

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminEvaluateProgressBadRequest

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

func NewAdminEvaluateProgressBadRequest() *AdminEvaluateProgressBadRequest

NewAdminEvaluateProgressBadRequest creates a AdminEvaluateProgressBadRequest with default headers values

func (*AdminEvaluateProgressBadRequest) Error

func (*AdminEvaluateProgressBadRequest) GetPayload

func (*AdminEvaluateProgressBadRequest) ToJSONString

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

	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.4.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) 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.4.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) 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

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

func NewAdminGetUserProgressionBadRequest() *AdminGetUserProgressionBadRequest

NewAdminGetUserProgressionBadRequest creates a AdminGetUserProgressionBadRequest with default headers values

func (*AdminGetUserProgressionBadRequest) Error

func (*AdminGetUserProgressionBadRequest) GetPayload

func (*AdminGetUserProgressionBadRequest) ToJSONString

func (o *AdminGetUserProgressionBadRequest) ToJSONString() string

type AdminGetUserProgressionForbidden

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

func NewAdminGetUserProgressionForbidden() *AdminGetUserProgressionForbidden

NewAdminGetUserProgressionForbidden creates a AdminGetUserProgressionForbidden with default headers values

func (*AdminGetUserProgressionForbidden) Error

func (*AdminGetUserProgressionForbidden) GetPayload

func (*AdminGetUserProgressionForbidden) ToJSONString

func (o *AdminGetUserProgressionForbidden) ToJSONString() string

type AdminGetUserProgressionInternalServerError

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

func NewAdminGetUserProgressionInternalServerError() *AdminGetUserProgressionInternalServerError

NewAdminGetUserProgressionInternalServerError creates a AdminGetUserProgressionInternalServerError with default headers values

func (*AdminGetUserProgressionInternalServerError) Error

func (*AdminGetUserProgressionInternalServerError) GetPayload

func (*AdminGetUserProgressionInternalServerError) ToJSONString

type AdminGetUserProgressionNotFound

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

func NewAdminGetUserProgressionNotFound() *AdminGetUserProgressionNotFound

NewAdminGetUserProgressionNotFound creates a AdminGetUserProgressionNotFound with default headers values

func (*AdminGetUserProgressionNotFound) Error

func (*AdminGetUserProgressionNotFound) GetPayload

func (*AdminGetUserProgressionNotFound) ToJSONString

func (o *AdminGetUserProgressionNotFound) ToJSONString() string

type AdminGetUserProgressionOK

type AdminGetUserProgressionOK struct {
	Payload *challengeclientmodels.ModelUserProgressionResponse
}

AdminGetUserProgressionOK handles this case with default header values.

OK

func NewAdminGetUserProgressionOK

func NewAdminGetUserProgressionOK() *AdminGetUserProgressionOK

NewAdminGetUserProgressionOK creates a AdminGetUserProgressionOK with default headers values

func (*AdminGetUserProgressionOK) Error

func (o *AdminGetUserProgressionOK) Error() string

func (*AdminGetUserProgressionOK) GetPayload

func (*AdminGetUserProgressionOK) ToJSONString

func (o *AdminGetUserProgressionOK) ToJSONString() string

type AdminGetUserProgressionParams

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

func NewAdminGetUserProgressionParams() *AdminGetUserProgressionParams

NewAdminGetUserProgressionParams creates a new AdminGetUserProgressionParams object with the default values initialized.

func NewAdminGetUserProgressionParamsWithContext

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

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

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

func (o *AdminGetUserProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin get user progression params

func (*AdminGetUserProgressionParams) SetChallengeCode

func (o *AdminGetUserProgressionParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin get user progression params

func (*AdminGetUserProgressionParams) SetContext

func (o *AdminGetUserProgressionParams) SetContext(ctx context.Context)

SetContext adds the context to the admin get user progression params

func (*AdminGetUserProgressionParams) SetDateTime

func (o *AdminGetUserProgressionParams) SetDateTime(dateTime *string)

SetDateTime adds the dateTime to the admin get user progression params

func (*AdminGetUserProgressionParams) SetFlightId

func (o *AdminGetUserProgressionParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminGetUserProgressionParams) SetGoalCode

func (o *AdminGetUserProgressionParams) SetGoalCode(goalCode *string)

SetGoalCode adds the goalCode to the admin get user progression params

func (*AdminGetUserProgressionParams) SetHTTPClient

func (o *AdminGetUserProgressionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the admin get user progression params

func (*AdminGetUserProgressionParams) SetHTTPClientTransport

func (o *AdminGetUserProgressionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin get user progression params

func (*AdminGetUserProgressionParams) SetLimit

func (o *AdminGetUserProgressionParams) SetLimit(limit *int64)

SetLimit adds the limit to the admin get user progression params

func (*AdminGetUserProgressionParams) SetNamespace

func (o *AdminGetUserProgressionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get user progression params

func (*AdminGetUserProgressionParams) SetOffset

func (o *AdminGetUserProgressionParams) SetOffset(offset *int64)

SetOffset adds the offset to the admin get user progression params

func (*AdminGetUserProgressionParams) SetTags

func (o *AdminGetUserProgressionParams) SetTags(tags []string)

SetTags adds the tags to the admin get user progression params

func (*AdminGetUserProgressionParams) SetTimeout

func (o *AdminGetUserProgressionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the admin get user progression params

func (*AdminGetUserProgressionParams) SetUserID

func (o *AdminGetUserProgressionParams) SetUserID(userID string)

SetUserID adds the userId to the admin get user progression params

func (*AdminGetUserProgressionParams) WithChallengeCode

func (o *AdminGetUserProgressionParams) WithChallengeCode(challengeCode string) *AdminGetUserProgressionParams

WithChallengeCode adds the challengeCode to the admin get user progression params

func (*AdminGetUserProgressionParams) WithContext

WithContext adds the context to the admin get user progression params

func (*AdminGetUserProgressionParams) WithDateTime

WithDateTime adds the dateTime to the admin get user progression params

func (*AdminGetUserProgressionParams) WithGoalCode

WithGoalCode adds the goalCode to the admin get user progression params

func (*AdminGetUserProgressionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin get user progression params

func (*AdminGetUserProgressionParams) WithLimit

WithLimit adds the limit to the admin get user progression params

func (*AdminGetUserProgressionParams) WithNamespace

WithNamespace adds the namespace to the admin get user progression params

func (*AdminGetUserProgressionParams) WithOffset

WithOffset adds the offset to the admin get user progression params

func (*AdminGetUserProgressionParams) WithTags

WithTags adds the tags to the admin get user progression params

func (*AdminGetUserProgressionParams) WithTimeout

WithTimeout adds the timeout to the admin get user progression params

func (*AdminGetUserProgressionParams) WithUserID

WithUserID adds the userID to the admin get user progression params

func (*AdminGetUserProgressionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetUserProgressionReader

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

AdminGetUserProgressionReader is a Reader for the AdminGetUserProgression structure.

func (*AdminGetUserProgressionReader) ReadResponse

func (o *AdminGetUserProgressionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AdminGetUserProgressionUnauthorized

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

func NewAdminGetUserProgressionUnauthorized() *AdminGetUserProgressionUnauthorized

NewAdminGetUserProgressionUnauthorized creates a AdminGetUserProgressionUnauthorized with default headers values

func (*AdminGetUserProgressionUnauthorized) Error

func (*AdminGetUserProgressionUnauthorized) GetPayload

func (*AdminGetUserProgressionUnauthorized) ToJSONString

func (o *AdminGetUserProgressionUnauthorized) ToJSONString() string

type AdminGetUserProgressionUnprocessableEntity

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

func NewAdminGetUserProgressionUnprocessableEntity() *AdminGetUserProgressionUnprocessableEntity

NewAdminGetUserProgressionUnprocessableEntity creates a AdminGetUserProgressionUnprocessableEntity with default headers values

func (*AdminGetUserProgressionUnprocessableEntity) Error

func (*AdminGetUserProgressionUnprocessableEntity) GetPayload

func (*AdminGetUserProgressionUnprocessableEntity) ToJSONString

type Client

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

Client for challenge progression API

func (*Client) AdminEvaluateProgressShort

func (a *Client) AdminEvaluateProgressShort(params *AdminEvaluateProgressParams, authInfo runtime.ClientAuthInfoWriter) (*AdminEvaluateProgressResponse, error)

AdminEvaluateProgressShort evaluate user's progressions - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [UPDATE] - Limited up to 10 users per request

func (*Client) AdminGetUserProgressionShort

func (a *Client) AdminGetUserProgressionShort(params *AdminGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserProgressionResponse, error)

AdminGetUserProgressionShort list user's progressions - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [READ]

func (*Client) EvaluateMyProgressShort

func (a *Client) EvaluateMyProgressShort(params *EvaluateMyProgressParams, authInfo runtime.ClientAuthInfoWriter) (*EvaluateMyProgressResponse, error)

EvaluateMyProgressShort evaluate user's challenge progressions - Required permission: NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [UPDATE]

func (*Client) PublicGetPastUserProgressionShort

func (a *Client) PublicGetPastUserProgressionShort(params *PublicGetPastUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetPastUserProgressionResponse, error)

PublicGetPastUserProgressionShort list user's progressions in the previous rotation. - Required permission: NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [READ]

func (*Client) PublicGetUserProgressionShort

func (a *Client) PublicGetUserProgressionShort(params *PublicGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProgressionResponse, 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 {
	AdminEvaluateProgressShort(params *AdminEvaluateProgressParams, authInfo runtime.ClientAuthInfoWriter) (*AdminEvaluateProgressResponse, error)
	AdminGetUserProgressionShort(params *AdminGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetUserProgressionResponse, error)
	EvaluateMyProgressShort(params *EvaluateMyProgressParams, authInfo runtime.ClientAuthInfoWriter) (*EvaluateMyProgressResponse, error)
	PublicGetUserProgressionShort(params *PublicGetUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserProgressionResponse, error)
	PublicGetPastUserProgressionShort(params *PublicGetPastUserProgressionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetPastUserProgressionResponse, 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

	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.4.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) 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.4.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) 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

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

func NewPublicGetPastUserProgressionBadRequest() *PublicGetPastUserProgressionBadRequest

NewPublicGetPastUserProgressionBadRequest creates a PublicGetPastUserProgressionBadRequest with default headers values

func (*PublicGetPastUserProgressionBadRequest) Error

func (*PublicGetPastUserProgressionBadRequest) GetPayload

func (*PublicGetPastUserProgressionBadRequest) ToJSONString

type PublicGetPastUserProgressionForbidden

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

func NewPublicGetPastUserProgressionForbidden() *PublicGetPastUserProgressionForbidden

NewPublicGetPastUserProgressionForbidden creates a PublicGetPastUserProgressionForbidden with default headers values

func (*PublicGetPastUserProgressionForbidden) Error

func (*PublicGetPastUserProgressionForbidden) GetPayload

func (*PublicGetPastUserProgressionForbidden) ToJSONString

type PublicGetPastUserProgressionInternalServerError

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

func NewPublicGetPastUserProgressionInternalServerError() *PublicGetPastUserProgressionInternalServerError

NewPublicGetPastUserProgressionInternalServerError creates a PublicGetPastUserProgressionInternalServerError with default headers values

func (*PublicGetPastUserProgressionInternalServerError) Error

func (*PublicGetPastUserProgressionInternalServerError) GetPayload

func (*PublicGetPastUserProgressionInternalServerError) ToJSONString

type PublicGetPastUserProgressionNotFound

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

func NewPublicGetPastUserProgressionNotFound() *PublicGetPastUserProgressionNotFound

NewPublicGetPastUserProgressionNotFound creates a PublicGetPastUserProgressionNotFound with default headers values

func (*PublicGetPastUserProgressionNotFound) Error

func (*PublicGetPastUserProgressionNotFound) GetPayload

func (*PublicGetPastUserProgressionNotFound) ToJSONString

func (o *PublicGetPastUserProgressionNotFound) ToJSONString() string

type PublicGetPastUserProgressionOK

type PublicGetPastUserProgressionOK struct {
	Payload *challengeclientmodels.ModelUserProgressionResponse
}

PublicGetPastUserProgressionOK handles this case with default header values.

OK

func NewPublicGetPastUserProgressionOK

func NewPublicGetPastUserProgressionOK() *PublicGetPastUserProgressionOK

NewPublicGetPastUserProgressionOK creates a PublicGetPastUserProgressionOK with default headers values

func (*PublicGetPastUserProgressionOK) Error

func (*PublicGetPastUserProgressionOK) GetPayload

func (*PublicGetPastUserProgressionOK) ToJSONString

func (o *PublicGetPastUserProgressionOK) ToJSONString() string

type PublicGetPastUserProgressionParams

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

func NewPublicGetPastUserProgressionParams() *PublicGetPastUserProgressionParams

NewPublicGetPastUserProgressionParams creates a new PublicGetPastUserProgressionParams object with the default values initialized.

func NewPublicGetPastUserProgressionParamsWithContext

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

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

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

func (o *PublicGetPastUserProgressionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get past user progression params

func (*PublicGetPastUserProgressionParams) SetChallengeCode

func (o *PublicGetPastUserProgressionParams) SetChallengeCode(challengeCode string)

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

func (*PublicGetPastUserProgressionParams) SetContext

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

func (*PublicGetPastUserProgressionParams) SetFlightId

func (o *PublicGetPastUserProgressionParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetPastUserProgressionParams) SetGoalCode

func (o *PublicGetPastUserProgressionParams) SetGoalCode(goalCode *string)

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

func (*PublicGetPastUserProgressionParams) SetHTTPClient

func (o *PublicGetPastUserProgressionParams) SetHTTPClient(client *http.Client)

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

func (*PublicGetPastUserProgressionParams) SetHTTPClientTransport

func (o *PublicGetPastUserProgressionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get past user progression params

func (*PublicGetPastUserProgressionParams) SetIndex

func (o *PublicGetPastUserProgressionParams) SetIndex(index int64)

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

func (*PublicGetPastUserProgressionParams) SetLimit

func (o *PublicGetPastUserProgressionParams) SetLimit(limit *int64)

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

func (*PublicGetPastUserProgressionParams) SetNamespace

func (o *PublicGetPastUserProgressionParams) SetNamespace(namespace string)

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

func (*PublicGetPastUserProgressionParams) SetOffset

func (o *PublicGetPastUserProgressionParams) SetOffset(offset *int64)

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

func (*PublicGetPastUserProgressionParams) SetTags

func (o *PublicGetPastUserProgressionParams) SetTags(tags []string)

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

func (*PublicGetPastUserProgressionParams) SetTimeout

func (o *PublicGetPastUserProgressionParams) SetTimeout(timeout time.Duration)

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

func (*PublicGetPastUserProgressionParams) WithChallengeCode

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

func (*PublicGetPastUserProgressionParams) WithContext

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

func (*PublicGetPastUserProgressionParams) WithGoalCode

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

func (*PublicGetPastUserProgressionParams) WithHTTPClient

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

func (*PublicGetPastUserProgressionParams) WithIndex

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

func (*PublicGetPastUserProgressionParams) WithLimit

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

func (*PublicGetPastUserProgressionParams) WithNamespace

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

func (*PublicGetPastUserProgressionParams) WithOffset

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

func (*PublicGetPastUserProgressionParams) WithTags

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

func (*PublicGetPastUserProgressionParams) WithTimeout

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

func (*PublicGetPastUserProgressionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetPastUserProgressionReader

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

PublicGetPastUserProgressionReader is a Reader for the PublicGetPastUserProgression structure.

func (*PublicGetPastUserProgressionReader) ReadResponse

func (o *PublicGetPastUserProgressionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicGetPastUserProgressionUnauthorized

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

func NewPublicGetPastUserProgressionUnauthorized() *PublicGetPastUserProgressionUnauthorized

NewPublicGetPastUserProgressionUnauthorized creates a PublicGetPastUserProgressionUnauthorized with default headers values

func (*PublicGetPastUserProgressionUnauthorized) Error

func (*PublicGetPastUserProgressionUnauthorized) GetPayload

func (*PublicGetPastUserProgressionUnauthorized) ToJSONString

type PublicGetUserProgressionBadRequest

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

func NewPublicGetUserProgressionBadRequest() *PublicGetUserProgressionBadRequest

NewPublicGetUserProgressionBadRequest creates a PublicGetUserProgressionBadRequest with default headers values

func (*PublicGetUserProgressionBadRequest) Error

func (*PublicGetUserProgressionBadRequest) GetPayload

func (*PublicGetUserProgressionBadRequest) ToJSONString

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

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

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

func (o *PublicGetUserProgressionParams) SetOffset(offset *int64)

SetOffset adds the offset to the public get user progression params

func (*PublicGetUserProgressionParams) SetTags

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

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

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

WithOffset adds the offset to the public get user progression params

func (*PublicGetUserProgressionParams) WithTags

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

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

func NewPublicGetUserProgressionUnprocessableEntity() *PublicGetUserProgressionUnprocessableEntity

NewPublicGetUserProgressionUnprocessableEntity creates a PublicGetUserProgressionUnprocessableEntity with default headers values

func (*PublicGetUserProgressionUnprocessableEntity) Error

func (*PublicGetUserProgressionUnprocessableEntity) GetPayload

func (*PublicGetUserProgressionUnprocessableEntity) ToJSONString

Jump to

Keyboard shortcuts

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