challenge_progression

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminEvaluateProgressForbidden

type AdminEvaluateProgressForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminEvaluateProgressForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewAdminEvaluateProgressForbidden

func NewAdminEvaluateProgressForbidden() *AdminEvaluateProgressForbidden

NewAdminEvaluateProgressForbidden creates a AdminEvaluateProgressForbidden with default headers values

func (*AdminEvaluateProgressForbidden) Error

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

	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) 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) 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 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]

func (*Client) AdminEvaluateProgressShort

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

AdminEvaluateProgressShort evaluate user's progressions

  • Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [UPDATE]

func (*Client) EvaluateMyProgress deprecated

Deprecated: 2022-08-10 - Use EvaluateMyProgressShort instead.

EvaluateMyProgress evaluate user's challenge progressions

  • Required permission: NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [UPDATE]

func (*Client) EvaluateMyProgressShort

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

EvaluateMyProgressShort evaluate user's challenge progressions

  • Required permission: NAMESPACE:{namespace}:CHALLENGE:PROGRESSION [UPDATE]

func (*Client) PublicGetUserProgression deprecated

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

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

EvaluateMyProgressParams contains all the parameters to send to the API endpoint for the evaluate my progress operation typically these are written to a http.Request

func NewEvaluateMyProgressParams

func NewEvaluateMyProgressParams() *EvaluateMyProgressParams

NewEvaluateMyProgressParams creates a new EvaluateMyProgressParams object with the default values initialized.

func NewEvaluateMyProgressParamsWithContext

func NewEvaluateMyProgressParamsWithContext(ctx context.Context) *EvaluateMyProgressParams

NewEvaluateMyProgressParamsWithContext creates a new EvaluateMyProgressParams object with the default values initialized, and the ability to set a context for a request

func NewEvaluateMyProgressParamsWithHTTPClient

func NewEvaluateMyProgressParamsWithHTTPClient(client *http.Client) *EvaluateMyProgressParams

NewEvaluateMyProgressParamsWithHTTPClient creates a new EvaluateMyProgressParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewEvaluateMyProgressParamsWithTimeout

func NewEvaluateMyProgressParamsWithTimeout(timeout time.Duration) *EvaluateMyProgressParams

NewEvaluateMyProgressParamsWithTimeout creates a new EvaluateMyProgressParams object with the default values initialized, and the ability to set a timeout on a request

func (*EvaluateMyProgressParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the evaluate my progress params

func (*EvaluateMyProgressParams) SetContext

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

SetContext adds the context to the evaluate my progress params

func (*EvaluateMyProgressParams) SetFlightId

func (o *EvaluateMyProgressParams) SetFlightId(flightId string)

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

func (*EvaluateMyProgressParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the evaluate my progress params

func (*EvaluateMyProgressParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the evaluate my progress params

func (*EvaluateMyProgressParams) SetNamespace

func (o *EvaluateMyProgressParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the evaluate my progress params

func (*EvaluateMyProgressParams) SetTimeout

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

SetTimeout adds the timeout to the evaluate my progress params

func (*EvaluateMyProgressParams) WithContext

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 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
	/*GoalCode
	  goal code

	*/
	GoalCode *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

PublicGetUserProgressionParams contains all the parameters to send to the API endpoint for the public get user progression operation typically these are written to a http.Request

func NewPublicGetUserProgressionParams

func NewPublicGetUserProgressionParams() *PublicGetUserProgressionParams

NewPublicGetUserProgressionParams creates a new PublicGetUserProgressionParams object with the default values initialized.

func NewPublicGetUserProgressionParamsWithContext

func NewPublicGetUserProgressionParamsWithContext(ctx context.Context) *PublicGetUserProgressionParams

NewPublicGetUserProgressionParamsWithContext creates a new PublicGetUserProgressionParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetUserProgressionParamsWithHTTPClient

func NewPublicGetUserProgressionParamsWithHTTPClient(client *http.Client) *PublicGetUserProgressionParams

NewPublicGetUserProgressionParamsWithHTTPClient creates a new PublicGetUserProgressionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetUserProgressionParamsWithTimeout

func NewPublicGetUserProgressionParamsWithTimeout(timeout time.Duration) *PublicGetUserProgressionParams

NewPublicGetUserProgressionParamsWithTimeout creates a new PublicGetUserProgressionParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetUserProgressionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get user progression params

func (*PublicGetUserProgressionParams) SetChallengeCode

func (o *PublicGetUserProgressionParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the public get user progression params

func (*PublicGetUserProgressionParams) SetContext

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

SetContext adds the context to the public get user progression params

func (*PublicGetUserProgressionParams) SetFlightId

func (o *PublicGetUserProgressionParams) SetFlightId(flightId string)

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

func (*PublicGetUserProgressionParams) SetGoalCode

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

SetGoalCode adds the goalCode to the public get user progression params

func (*PublicGetUserProgressionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get user progression params

func (*PublicGetUserProgressionParams) SetHTTPClientTransport

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

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

func (*PublicGetUserProgressionParams) SetNamespace

func (o *PublicGetUserProgressionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user progression params

func (*PublicGetUserProgressionParams) SetTimeout

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

SetTimeout adds the timeout to the public get user progression params

func (*PublicGetUserProgressionParams) WithChallengeCode

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

WithChallengeCode adds the challengeCode to the public get user progression params

func (*PublicGetUserProgressionParams) WithContext

WithContext adds the context 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) WithNamespace

WithNamespace adds the namespace 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

Jump to

Keyboard shortcuts

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