challenge_configuration

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: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminGetChallengesINITConstant    = "INIT"
	AdminGetChallengesRETIREDConstant = "RETIRED"
	AdminGetChallengesTIEDConstant    = "TIED"
)

Get the enum in AdminGetChallengesParams

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminCreateChallengeConflict

type AdminCreateChallengeConflict struct {
	Payload *challengeclientmodels.ResponseError
}

AdminCreateChallengeConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>99002</td><td>duplicate key error: {{message}}</td></tr></table>

func NewAdminCreateChallengeConflict

func NewAdminCreateChallengeConflict() *AdminCreateChallengeConflict

NewAdminCreateChallengeConflict creates a AdminCreateChallengeConflict with default headers values

func (*AdminCreateChallengeConflict) Error

func (*AdminCreateChallengeConflict) GetPayload

func (*AdminCreateChallengeConflict) ToJSONString

func (o *AdminCreateChallengeConflict) ToJSONString() string

type AdminCreateChallengeCreated

type AdminCreateChallengeCreated struct {
	Payload *challengeclientmodels.ModelChallengeResponse
}

AdminCreateChallengeCreated handles this case with default header values.

Created

func NewAdminCreateChallengeCreated

func NewAdminCreateChallengeCreated() *AdminCreateChallengeCreated

NewAdminCreateChallengeCreated creates a AdminCreateChallengeCreated with default headers values

func (*AdminCreateChallengeCreated) Error

func (*AdminCreateChallengeCreated) GetPayload

func (*AdminCreateChallengeCreated) ToJSONString

func (o *AdminCreateChallengeCreated) ToJSONString() string

type AdminCreateChallengeForbidden

type AdminCreateChallengeForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminCreateChallengeForbidden 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 NewAdminCreateChallengeForbidden

func NewAdminCreateChallengeForbidden() *AdminCreateChallengeForbidden

NewAdminCreateChallengeForbidden creates a AdminCreateChallengeForbidden with default headers values

func (*AdminCreateChallengeForbidden) Error

func (*AdminCreateChallengeForbidden) GetPayload

func (*AdminCreateChallengeForbidden) ToJSONString

func (o *AdminCreateChallengeForbidden) ToJSONString() string

type AdminCreateChallengeInternalServerError

type AdminCreateChallengeInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminCreateChallengeInternalServerError 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 NewAdminCreateChallengeInternalServerError

func NewAdminCreateChallengeInternalServerError() *AdminCreateChallengeInternalServerError

NewAdminCreateChallengeInternalServerError creates a AdminCreateChallengeInternalServerError with default headers values

func (*AdminCreateChallengeInternalServerError) Error

func (*AdminCreateChallengeInternalServerError) GetPayload

func (*AdminCreateChallengeInternalServerError) ToJSONString

type AdminCreateChallengeParams

type AdminCreateChallengeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *challengeclientmodels.ModelCreateChallengeRequest
	/*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
}

AdminCreateChallengeParams contains all the parameters to send to the API endpoint for the admin create challenge operation typically these are written to a http.Request

func NewAdminCreateChallengeParams

func NewAdminCreateChallengeParams() *AdminCreateChallengeParams

NewAdminCreateChallengeParams creates a new AdminCreateChallengeParams object with the default values initialized.

func NewAdminCreateChallengeParamsWithContext

func NewAdminCreateChallengeParamsWithContext(ctx context.Context) *AdminCreateChallengeParams

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

func NewAdminCreateChallengeParamsWithHTTPClient

func NewAdminCreateChallengeParamsWithHTTPClient(client *http.Client) *AdminCreateChallengeParams

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

func NewAdminCreateChallengeParamsWithTimeout

func NewAdminCreateChallengeParamsWithTimeout(timeout time.Duration) *AdminCreateChallengeParams

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

func (*AdminCreateChallengeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin create challenge params

func (*AdminCreateChallengeParams) SetBody

SetBody adds the body to the admin create challenge params

func (*AdminCreateChallengeParams) SetContext

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

SetContext adds the context to the admin create challenge params

func (*AdminCreateChallengeParams) SetFlightId

func (o *AdminCreateChallengeParams) SetFlightId(flightId string)

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

func (*AdminCreateChallengeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create challenge params

func (*AdminCreateChallengeParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin create challenge params

func (*AdminCreateChallengeParams) SetNamespace

func (o *AdminCreateChallengeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin create challenge params

func (*AdminCreateChallengeParams) SetTimeout

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

SetTimeout adds the timeout to the admin create challenge params

func (*AdminCreateChallengeParams) WithBody

WithBody adds the body to the admin create challenge params

func (*AdminCreateChallengeParams) WithContext

WithContext adds the context to the admin create challenge params

func (*AdminCreateChallengeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin create challenge params

func (*AdminCreateChallengeParams) WithNamespace

func (o *AdminCreateChallengeParams) WithNamespace(namespace string) *AdminCreateChallengeParams

WithNamespace adds the namespace to the admin create challenge params

func (*AdminCreateChallengeParams) WithTimeout

WithTimeout adds the timeout to the admin create challenge params

func (*AdminCreateChallengeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreateChallengeReader

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

AdminCreateChallengeReader is a Reader for the AdminCreateChallenge structure.

func (*AdminCreateChallengeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateChallengeUnauthorized

type AdminCreateChallengeUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminCreateChallengeUnauthorized 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 NewAdminCreateChallengeUnauthorized

func NewAdminCreateChallengeUnauthorized() *AdminCreateChallengeUnauthorized

NewAdminCreateChallengeUnauthorized creates a AdminCreateChallengeUnauthorized with default headers values

func (*AdminCreateChallengeUnauthorized) Error

func (*AdminCreateChallengeUnauthorized) GetPayload

func (*AdminCreateChallengeUnauthorized) ToJSONString

func (o *AdminCreateChallengeUnauthorized) ToJSONString() string

type AdminCreateChallengeUnprocessableEntity

type AdminCreateChallengeUnprocessableEntity struct {
	Payload *challengeclientmodels.ResponseError
}

AdminCreateChallengeUnprocessableEntity handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>99003</td><td>challenge validation error: {{message}}</td></tr></table>

func NewAdminCreateChallengeUnprocessableEntity

func NewAdminCreateChallengeUnprocessableEntity() *AdminCreateChallengeUnprocessableEntity

NewAdminCreateChallengeUnprocessableEntity creates a AdminCreateChallengeUnprocessableEntity with default headers values

func (*AdminCreateChallengeUnprocessableEntity) Error

func (*AdminCreateChallengeUnprocessableEntity) GetPayload

func (*AdminCreateChallengeUnprocessableEntity) ToJSONString

type AdminDeleteChallengeBadRequest

type AdminDeleteChallengeBadRequest struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteChallengeBadRequest 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 NewAdminDeleteChallengeBadRequest

func NewAdminDeleteChallengeBadRequest() *AdminDeleteChallengeBadRequest

NewAdminDeleteChallengeBadRequest creates a AdminDeleteChallengeBadRequest with default headers values

func (*AdminDeleteChallengeBadRequest) Error

func (*AdminDeleteChallengeBadRequest) GetPayload

func (*AdminDeleteChallengeBadRequest) ToJSONString

func (o *AdminDeleteChallengeBadRequest) ToJSONString() string

type AdminDeleteChallengeForbidden

type AdminDeleteChallengeForbidden struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteChallengeForbidden 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 NewAdminDeleteChallengeForbidden

func NewAdminDeleteChallengeForbidden() *AdminDeleteChallengeForbidden

NewAdminDeleteChallengeForbidden creates a AdminDeleteChallengeForbidden with default headers values

func (*AdminDeleteChallengeForbidden) Error

func (*AdminDeleteChallengeForbidden) GetPayload

func (*AdminDeleteChallengeForbidden) ToJSONString

func (o *AdminDeleteChallengeForbidden) ToJSONString() string

type AdminDeleteChallengeInternalServerError

type AdminDeleteChallengeInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteChallengeInternalServerError 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 NewAdminDeleteChallengeInternalServerError

func NewAdminDeleteChallengeInternalServerError() *AdminDeleteChallengeInternalServerError

NewAdminDeleteChallengeInternalServerError creates a AdminDeleteChallengeInternalServerError with default headers values

func (*AdminDeleteChallengeInternalServerError) Error

func (*AdminDeleteChallengeInternalServerError) GetPayload

func (*AdminDeleteChallengeInternalServerError) ToJSONString

type AdminDeleteChallengeNoContent

type AdminDeleteChallengeNoContent struct {
}

AdminDeleteChallengeNoContent handles this case with default header values.

No Content

func NewAdminDeleteChallengeNoContent

func NewAdminDeleteChallengeNoContent() *AdminDeleteChallengeNoContent

NewAdminDeleteChallengeNoContent creates a AdminDeleteChallengeNoContent with default headers values

func (*AdminDeleteChallengeNoContent) Error

type AdminDeleteChallengeNotFound

type AdminDeleteChallengeNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteChallengeNotFound 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 NewAdminDeleteChallengeNotFound

func NewAdminDeleteChallengeNotFound() *AdminDeleteChallengeNotFound

NewAdminDeleteChallengeNotFound creates a AdminDeleteChallengeNotFound with default headers values

func (*AdminDeleteChallengeNotFound) Error

func (*AdminDeleteChallengeNotFound) GetPayload

func (*AdminDeleteChallengeNotFound) ToJSONString

func (o *AdminDeleteChallengeNotFound) ToJSONString() string

type AdminDeleteChallengeParams

type AdminDeleteChallengeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChallengeCode
	  the code of the challenge data to be deleted

	*/
	ChallengeCode string
	/*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
}

AdminDeleteChallengeParams contains all the parameters to send to the API endpoint for the admin delete challenge operation typically these are written to a http.Request

func NewAdminDeleteChallengeParams

func NewAdminDeleteChallengeParams() *AdminDeleteChallengeParams

NewAdminDeleteChallengeParams creates a new AdminDeleteChallengeParams object with the default values initialized.

func NewAdminDeleteChallengeParamsWithContext

func NewAdminDeleteChallengeParamsWithContext(ctx context.Context) *AdminDeleteChallengeParams

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

func NewAdminDeleteChallengeParamsWithHTTPClient

func NewAdminDeleteChallengeParamsWithHTTPClient(client *http.Client) *AdminDeleteChallengeParams

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

func NewAdminDeleteChallengeParamsWithTimeout

func NewAdminDeleteChallengeParamsWithTimeout(timeout time.Duration) *AdminDeleteChallengeParams

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

func (*AdminDeleteChallengeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete challenge params

func (*AdminDeleteChallengeParams) SetChallengeCode

func (o *AdminDeleteChallengeParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin delete challenge params

func (*AdminDeleteChallengeParams) SetContext

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

SetContext adds the context to the admin delete challenge params

func (*AdminDeleteChallengeParams) SetFlightId

func (o *AdminDeleteChallengeParams) SetFlightId(flightId string)

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

func (*AdminDeleteChallengeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete challenge params

func (*AdminDeleteChallengeParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin delete challenge params

func (*AdminDeleteChallengeParams) SetNamespace

func (o *AdminDeleteChallengeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete challenge params

func (*AdminDeleteChallengeParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete challenge params

func (*AdminDeleteChallengeParams) WithChallengeCode

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

WithChallengeCode adds the challengeCode to the admin delete challenge params

func (*AdminDeleteChallengeParams) WithContext

WithContext adds the context to the admin delete challenge params

func (*AdminDeleteChallengeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete challenge params

func (*AdminDeleteChallengeParams) WithNamespace

func (o *AdminDeleteChallengeParams) WithNamespace(namespace string) *AdminDeleteChallengeParams

WithNamespace adds the namespace to the admin delete challenge params

func (*AdminDeleteChallengeParams) WithTimeout

WithTimeout adds the timeout to the admin delete challenge params

func (*AdminDeleteChallengeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteChallengeReader

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

AdminDeleteChallengeReader is a Reader for the AdminDeleteChallenge structure.

func (*AdminDeleteChallengeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteChallengeUnauthorized

type AdminDeleteChallengeUnauthorized struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteChallengeUnauthorized 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 NewAdminDeleteChallengeUnauthorized

func NewAdminDeleteChallengeUnauthorized() *AdminDeleteChallengeUnauthorized

NewAdminDeleteChallengeUnauthorized creates a AdminDeleteChallengeUnauthorized with default headers values

func (*AdminDeleteChallengeUnauthorized) Error

func (*AdminDeleteChallengeUnauthorized) GetPayload

func (*AdminDeleteChallengeUnauthorized) ToJSONString

func (o *AdminDeleteChallengeUnauthorized) ToJSONString() string

type AdminDeleteTiedChallengeBadRequest

type AdminDeleteTiedChallengeBadRequest struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteTiedChallengeBadRequest 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 NewAdminDeleteTiedChallengeBadRequest

func NewAdminDeleteTiedChallengeBadRequest() *AdminDeleteTiedChallengeBadRequest

NewAdminDeleteTiedChallengeBadRequest creates a AdminDeleteTiedChallengeBadRequest with default headers values

func (*AdminDeleteTiedChallengeBadRequest) Error

func (*AdminDeleteTiedChallengeBadRequest) GetPayload

func (*AdminDeleteTiedChallengeBadRequest) ToJSONString

func (o *AdminDeleteTiedChallengeBadRequest) ToJSONString() string

type AdminDeleteTiedChallengeForbidden

type AdminDeleteTiedChallengeForbidden struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteTiedChallengeForbidden 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 NewAdminDeleteTiedChallengeForbidden

func NewAdminDeleteTiedChallengeForbidden() *AdminDeleteTiedChallengeForbidden

NewAdminDeleteTiedChallengeForbidden creates a AdminDeleteTiedChallengeForbidden with default headers values

func (*AdminDeleteTiedChallengeForbidden) Error

func (*AdminDeleteTiedChallengeForbidden) GetPayload

func (*AdminDeleteTiedChallengeForbidden) ToJSONString

func (o *AdminDeleteTiedChallengeForbidden) ToJSONString() string

type AdminDeleteTiedChallengeInternalServerError

type AdminDeleteTiedChallengeInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteTiedChallengeInternalServerError 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 NewAdminDeleteTiedChallengeInternalServerError

func NewAdminDeleteTiedChallengeInternalServerError() *AdminDeleteTiedChallengeInternalServerError

NewAdminDeleteTiedChallengeInternalServerError creates a AdminDeleteTiedChallengeInternalServerError with default headers values

func (*AdminDeleteTiedChallengeInternalServerError) Error

func (*AdminDeleteTiedChallengeInternalServerError) GetPayload

func (*AdminDeleteTiedChallengeInternalServerError) ToJSONString

type AdminDeleteTiedChallengeNoContent

type AdminDeleteTiedChallengeNoContent struct {
}

AdminDeleteTiedChallengeNoContent handles this case with default header values.

No Content

func NewAdminDeleteTiedChallengeNoContent

func NewAdminDeleteTiedChallengeNoContent() *AdminDeleteTiedChallengeNoContent

NewAdminDeleteTiedChallengeNoContent creates a AdminDeleteTiedChallengeNoContent with default headers values

func (*AdminDeleteTiedChallengeNoContent) Error

type AdminDeleteTiedChallengeNotFound

type AdminDeleteTiedChallengeNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteTiedChallengeNotFound 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 NewAdminDeleteTiedChallengeNotFound

func NewAdminDeleteTiedChallengeNotFound() *AdminDeleteTiedChallengeNotFound

NewAdminDeleteTiedChallengeNotFound creates a AdminDeleteTiedChallengeNotFound with default headers values

func (*AdminDeleteTiedChallengeNotFound) Error

func (*AdminDeleteTiedChallengeNotFound) GetPayload

func (*AdminDeleteTiedChallengeNotFound) ToJSONString

func (o *AdminDeleteTiedChallengeNotFound) ToJSONString() string

type AdminDeleteTiedChallengeParams

type AdminDeleteTiedChallengeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChallengeCode
	  the code of the challenge data to be deleted

	*/
	ChallengeCode string
	/*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
}

AdminDeleteTiedChallengeParams contains all the parameters to send to the API endpoint for the admin delete tied challenge operation typically these are written to a http.Request

func NewAdminDeleteTiedChallengeParams

func NewAdminDeleteTiedChallengeParams() *AdminDeleteTiedChallengeParams

NewAdminDeleteTiedChallengeParams creates a new AdminDeleteTiedChallengeParams object with the default values initialized.

func NewAdminDeleteTiedChallengeParamsWithContext

func NewAdminDeleteTiedChallengeParamsWithContext(ctx context.Context) *AdminDeleteTiedChallengeParams

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

func NewAdminDeleteTiedChallengeParamsWithHTTPClient

func NewAdminDeleteTiedChallengeParamsWithHTTPClient(client *http.Client) *AdminDeleteTiedChallengeParams

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

func NewAdminDeleteTiedChallengeParamsWithTimeout

func NewAdminDeleteTiedChallengeParamsWithTimeout(timeout time.Duration) *AdminDeleteTiedChallengeParams

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

func (*AdminDeleteTiedChallengeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete tied challenge params

func (*AdminDeleteTiedChallengeParams) SetChallengeCode

func (o *AdminDeleteTiedChallengeParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin delete tied challenge params

func (*AdminDeleteTiedChallengeParams) SetContext

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

SetContext adds the context to the admin delete tied challenge params

func (*AdminDeleteTiedChallengeParams) SetFlightId

func (o *AdminDeleteTiedChallengeParams) SetFlightId(flightId string)

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

func (*AdminDeleteTiedChallengeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete tied challenge params

func (*AdminDeleteTiedChallengeParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin delete tied challenge params

func (*AdminDeleteTiedChallengeParams) SetNamespace

func (o *AdminDeleteTiedChallengeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete tied challenge params

func (*AdminDeleteTiedChallengeParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete tied challenge params

func (*AdminDeleteTiedChallengeParams) WithChallengeCode

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

WithChallengeCode adds the challengeCode to the admin delete tied challenge params

func (*AdminDeleteTiedChallengeParams) WithContext

WithContext adds the context to the admin delete tied challenge params

func (*AdminDeleteTiedChallengeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete tied challenge params

func (*AdminDeleteTiedChallengeParams) WithNamespace

WithNamespace adds the namespace to the admin delete tied challenge params

func (*AdminDeleteTiedChallengeParams) WithTimeout

WithTimeout adds the timeout to the admin delete tied challenge params

func (*AdminDeleteTiedChallengeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteTiedChallengeReader

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

AdminDeleteTiedChallengeReader is a Reader for the AdminDeleteTiedChallenge structure.

func (*AdminDeleteTiedChallengeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteTiedChallengeUnauthorized

type AdminDeleteTiedChallengeUnauthorized struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteTiedChallengeUnauthorized 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 NewAdminDeleteTiedChallengeUnauthorized

func NewAdminDeleteTiedChallengeUnauthorized() *AdminDeleteTiedChallengeUnauthorized

NewAdminDeleteTiedChallengeUnauthorized creates a AdminDeleteTiedChallengeUnauthorized with default headers values

func (*AdminDeleteTiedChallengeUnauthorized) Error

func (*AdminDeleteTiedChallengeUnauthorized) GetPayload

func (*AdminDeleteTiedChallengeUnauthorized) ToJSONString

func (o *AdminDeleteTiedChallengeUnauthorized) ToJSONString() string

type AdminGetChallengeForbidden

type AdminGetChallengeForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminGetChallengeForbidden 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 NewAdminGetChallengeForbidden

func NewAdminGetChallengeForbidden() *AdminGetChallengeForbidden

NewAdminGetChallengeForbidden creates a AdminGetChallengeForbidden with default headers values

func (*AdminGetChallengeForbidden) Error

func (*AdminGetChallengeForbidden) GetPayload

func (*AdminGetChallengeForbidden) ToJSONString

func (o *AdminGetChallengeForbidden) ToJSONString() string

type AdminGetChallengeInternalServerError

type AdminGetChallengeInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminGetChallengeInternalServerError 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 NewAdminGetChallengeInternalServerError

func NewAdminGetChallengeInternalServerError() *AdminGetChallengeInternalServerError

NewAdminGetChallengeInternalServerError creates a AdminGetChallengeInternalServerError with default headers values

func (*AdminGetChallengeInternalServerError) Error

func (*AdminGetChallengeInternalServerError) GetPayload

func (*AdminGetChallengeInternalServerError) ToJSONString

func (o *AdminGetChallengeInternalServerError) ToJSONString() string

type AdminGetChallengeNotFound

type AdminGetChallengeNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminGetChallengeNotFound 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 NewAdminGetChallengeNotFound

func NewAdminGetChallengeNotFound() *AdminGetChallengeNotFound

NewAdminGetChallengeNotFound creates a AdminGetChallengeNotFound with default headers values

func (*AdminGetChallengeNotFound) Error

func (o *AdminGetChallengeNotFound) Error() string

func (*AdminGetChallengeNotFound) GetPayload

func (*AdminGetChallengeNotFound) ToJSONString

func (o *AdminGetChallengeNotFound) ToJSONString() string

type AdminGetChallengeOK

type AdminGetChallengeOK struct {
	Payload *challengeclientmodels.ModelChallengeResponse
}

AdminGetChallengeOK handles this case with default header values.

OK

func NewAdminGetChallengeOK

func NewAdminGetChallengeOK() *AdminGetChallengeOK

NewAdminGetChallengeOK creates a AdminGetChallengeOK with default headers values

func (*AdminGetChallengeOK) Error

func (o *AdminGetChallengeOK) Error() string

func (*AdminGetChallengeOK) GetPayload

func (*AdminGetChallengeOK) ToJSONString

func (o *AdminGetChallengeOK) ToJSONString() string

type AdminGetChallengeParams

type AdminGetChallengeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChallengeCode
	  the code of the challenge data to get

	*/
	ChallengeCode string
	/*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
}

AdminGetChallengeParams contains all the parameters to send to the API endpoint for the admin get challenge operation typically these are written to a http.Request

func NewAdminGetChallengeParams

func NewAdminGetChallengeParams() *AdminGetChallengeParams

NewAdminGetChallengeParams creates a new AdminGetChallengeParams object with the default values initialized.

func NewAdminGetChallengeParamsWithContext

func NewAdminGetChallengeParamsWithContext(ctx context.Context) *AdminGetChallengeParams

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

func NewAdminGetChallengeParamsWithHTTPClient

func NewAdminGetChallengeParamsWithHTTPClient(client *http.Client) *AdminGetChallengeParams

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

func NewAdminGetChallengeParamsWithTimeout

func NewAdminGetChallengeParamsWithTimeout(timeout time.Duration) *AdminGetChallengeParams

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

func (*AdminGetChallengeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get challenge params

func (*AdminGetChallengeParams) SetChallengeCode

func (o *AdminGetChallengeParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin get challenge params

func (*AdminGetChallengeParams) SetContext

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

SetContext adds the context to the admin get challenge params

func (*AdminGetChallengeParams) SetFlightId

func (o *AdminGetChallengeParams) SetFlightId(flightId string)

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

func (*AdminGetChallengeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get challenge params

func (*AdminGetChallengeParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get challenge params

func (*AdminGetChallengeParams) SetNamespace

func (o *AdminGetChallengeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get challenge params

func (*AdminGetChallengeParams) SetTimeout

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

SetTimeout adds the timeout to the admin get challenge params

func (*AdminGetChallengeParams) WithChallengeCode

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

WithChallengeCode adds the challengeCode to the admin get challenge params

func (*AdminGetChallengeParams) WithContext

WithContext adds the context to the admin get challenge params

func (*AdminGetChallengeParams) WithHTTPClient

func (o *AdminGetChallengeParams) WithHTTPClient(client *http.Client) *AdminGetChallengeParams

WithHTTPClient adds the HTTPClient to the admin get challenge params

func (*AdminGetChallengeParams) WithNamespace

func (o *AdminGetChallengeParams) WithNamespace(namespace string) *AdminGetChallengeParams

WithNamespace adds the namespace to the admin get challenge params

func (*AdminGetChallengeParams) WithTimeout

WithTimeout adds the timeout to the admin get challenge params

func (*AdminGetChallengeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetChallengeReader

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

AdminGetChallengeReader is a Reader for the AdminGetChallenge structure.

func (*AdminGetChallengeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetChallengeUnauthorized

type AdminGetChallengeUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminGetChallengeUnauthorized 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 NewAdminGetChallengeUnauthorized

func NewAdminGetChallengeUnauthorized() *AdminGetChallengeUnauthorized

NewAdminGetChallengeUnauthorized creates a AdminGetChallengeUnauthorized with default headers values

func (*AdminGetChallengeUnauthorized) Error

func (*AdminGetChallengeUnauthorized) GetPayload

func (*AdminGetChallengeUnauthorized) ToJSONString

func (o *AdminGetChallengeUnauthorized) ToJSONString() string

type AdminGetChallengesForbidden

type AdminGetChallengesForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminGetChallengesForbidden 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 NewAdminGetChallengesForbidden

func NewAdminGetChallengesForbidden() *AdminGetChallengesForbidden

NewAdminGetChallengesForbidden creates a AdminGetChallengesForbidden with default headers values

func (*AdminGetChallengesForbidden) Error

func (*AdminGetChallengesForbidden) GetPayload

func (*AdminGetChallengesForbidden) ToJSONString

func (o *AdminGetChallengesForbidden) ToJSONString() string

type AdminGetChallengesInternalServerError

type AdminGetChallengesInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminGetChallengesInternalServerError 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 NewAdminGetChallengesInternalServerError

func NewAdminGetChallengesInternalServerError() *AdminGetChallengesInternalServerError

NewAdminGetChallengesInternalServerError creates a AdminGetChallengesInternalServerError with default headers values

func (*AdminGetChallengesInternalServerError) Error

func (*AdminGetChallengesInternalServerError) GetPayload

func (*AdminGetChallengesInternalServerError) ToJSONString

type AdminGetChallengesOK

type AdminGetChallengesOK struct {
	Payload *challengeclientmodels.ModelListChallengeResponse
}

AdminGetChallengesOK handles this case with default header values.

OK

func NewAdminGetChallengesOK

func NewAdminGetChallengesOK() *AdminGetChallengesOK

NewAdminGetChallengesOK creates a AdminGetChallengesOK with default headers values

func (*AdminGetChallengesOK) Error

func (o *AdminGetChallengesOK) Error() string

func (*AdminGetChallengesOK) GetPayload

func (*AdminGetChallengesOK) ToJSONString

func (o *AdminGetChallengesOK) ToJSONString() string

type AdminGetChallengesParams

type AdminGetChallengesParams struct {

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

	*/
	Namespace string
	/*Limit
	  limit the amount of data retrieved

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64
	/*SortBy
	    sort list by attributes.
				default value: updatedAt:desc.
				available value:
					<li>createdAt, createdAt:desc, createdAt:asc</li>
					<li>updatedAt, updatedAt:desc, updatedAt:asc</li>


	*/
	SortBy *string
	/*Status
	  challenge status

	*/
	Status *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
}

AdminGetChallengesParams contains all the parameters to send to the API endpoint for the admin get challenges operation typically these are written to a http.Request

func NewAdminGetChallengesParams

func NewAdminGetChallengesParams() *AdminGetChallengesParams

NewAdminGetChallengesParams creates a new AdminGetChallengesParams object with the default values initialized.

func NewAdminGetChallengesParamsWithContext

func NewAdminGetChallengesParamsWithContext(ctx context.Context) *AdminGetChallengesParams

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

func NewAdminGetChallengesParamsWithHTTPClient

func NewAdminGetChallengesParamsWithHTTPClient(client *http.Client) *AdminGetChallengesParams

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

func NewAdminGetChallengesParamsWithTimeout

func NewAdminGetChallengesParamsWithTimeout(timeout time.Duration) *AdminGetChallengesParams

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

func (*AdminGetChallengesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get challenges params

func (*AdminGetChallengesParams) SetContext

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

SetContext adds the context to the admin get challenges params

func (*AdminGetChallengesParams) SetFlightId

func (o *AdminGetChallengesParams) SetFlightId(flightId string)

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

func (*AdminGetChallengesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get challenges params

func (*AdminGetChallengesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get challenges params

func (*AdminGetChallengesParams) SetLimit

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

SetLimit adds the limit to the admin get challenges params

func (*AdminGetChallengesParams) SetNamespace

func (o *AdminGetChallengesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get challenges params

func (*AdminGetChallengesParams) SetOffset

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

SetOffset adds the offset to the admin get challenges params

func (*AdminGetChallengesParams) SetSortBy

func (o *AdminGetChallengesParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the admin get challenges params

func (*AdminGetChallengesParams) SetStatus

func (o *AdminGetChallengesParams) SetStatus(status *string)

SetStatus adds the status to the admin get challenges params

func (*AdminGetChallengesParams) SetTimeout

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

SetTimeout adds the timeout to the admin get challenges params

func (*AdminGetChallengesParams) WithContext

WithContext adds the context to the admin get challenges params

func (*AdminGetChallengesParams) WithHTTPClient

func (o *AdminGetChallengesParams) WithHTTPClient(client *http.Client) *AdminGetChallengesParams

WithHTTPClient adds the HTTPClient to the admin get challenges params

func (*AdminGetChallengesParams) WithLimit

WithLimit adds the limit to the admin get challenges params

func (*AdminGetChallengesParams) WithNamespace

func (o *AdminGetChallengesParams) WithNamespace(namespace string) *AdminGetChallengesParams

WithNamespace adds the namespace to the admin get challenges params

func (*AdminGetChallengesParams) WithOffset

WithOffset adds the offset to the admin get challenges params

func (*AdminGetChallengesParams) WithSortBy

WithSortBy adds the sortBy to the admin get challenges params

func (*AdminGetChallengesParams) WithStatus

WithStatus adds the status to the admin get challenges params

func (*AdminGetChallengesParams) WithTimeout

WithTimeout adds the timeout to the admin get challenges params

func (*AdminGetChallengesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetChallengesReader

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

AdminGetChallengesReader is a Reader for the AdminGetChallenges structure.

func (*AdminGetChallengesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetChallengesUnauthorized

type AdminGetChallengesUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminGetChallengesUnauthorized 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 NewAdminGetChallengesUnauthorized

func NewAdminGetChallengesUnauthorized() *AdminGetChallengesUnauthorized

NewAdminGetChallengesUnauthorized creates a AdminGetChallengesUnauthorized with default headers values

func (*AdminGetChallengesUnauthorized) Error

func (*AdminGetChallengesUnauthorized) GetPayload

func (*AdminGetChallengesUnauthorized) ToJSONString

func (o *AdminGetChallengesUnauthorized) ToJSONString() string

type AdminGetPeriodsForbidden

type AdminGetPeriodsForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminGetPeriodsForbidden 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 NewAdminGetPeriodsForbidden

func NewAdminGetPeriodsForbidden() *AdminGetPeriodsForbidden

NewAdminGetPeriodsForbidden creates a AdminGetPeriodsForbidden with default headers values

func (*AdminGetPeriodsForbidden) Error

func (o *AdminGetPeriodsForbidden) Error() string

func (*AdminGetPeriodsForbidden) GetPayload

func (*AdminGetPeriodsForbidden) ToJSONString

func (o *AdminGetPeriodsForbidden) ToJSONString() string

type AdminGetPeriodsInternalServerError

type AdminGetPeriodsInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminGetPeriodsInternalServerError 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 NewAdminGetPeriodsInternalServerError

func NewAdminGetPeriodsInternalServerError() *AdminGetPeriodsInternalServerError

NewAdminGetPeriodsInternalServerError creates a AdminGetPeriodsInternalServerError with default headers values

func (*AdminGetPeriodsInternalServerError) Error

func (*AdminGetPeriodsInternalServerError) GetPayload

func (*AdminGetPeriodsInternalServerError) ToJSONString

func (o *AdminGetPeriodsInternalServerError) ToJSONString() string

type AdminGetPeriodsNotFound

type AdminGetPeriodsNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminGetPeriodsNotFound 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 NewAdminGetPeriodsNotFound

func NewAdminGetPeriodsNotFound() *AdminGetPeriodsNotFound

NewAdminGetPeriodsNotFound creates a AdminGetPeriodsNotFound with default headers values

func (*AdminGetPeriodsNotFound) Error

func (o *AdminGetPeriodsNotFound) Error() string

func (*AdminGetPeriodsNotFound) GetPayload

func (*AdminGetPeriodsNotFound) ToJSONString

func (o *AdminGetPeriodsNotFound) ToJSONString() string

type AdminGetPeriodsOK

type AdminGetPeriodsOK struct {
	Payload *challengeclientmodels.ModelListPeriodsResponse
}

AdminGetPeriodsOK handles this case with default header values.

OK

func NewAdminGetPeriodsOK

func NewAdminGetPeriodsOK() *AdminGetPeriodsOK

NewAdminGetPeriodsOK creates a AdminGetPeriodsOK with default headers values

func (*AdminGetPeriodsOK) Error

func (o *AdminGetPeriodsOK) Error() string

func (*AdminGetPeriodsOK) GetPayload

func (*AdminGetPeriodsOK) ToJSONString

func (o *AdminGetPeriodsOK) ToJSONString() string

type AdminGetPeriodsParams

type AdminGetPeriodsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChallengeCode
	  challenge code

	*/
	ChallengeCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Limit
	  limit the amount of data retrieved

	*/
	Limit *int64
	/*Offset
	  offset

	*/
	Offset *int64

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

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

AdminGetPeriodsParams contains all the parameters to send to the API endpoint for the admin get periods operation typically these are written to a http.Request

func NewAdminGetPeriodsParams

func NewAdminGetPeriodsParams() *AdminGetPeriodsParams

NewAdminGetPeriodsParams creates a new AdminGetPeriodsParams object with the default values initialized.

func NewAdminGetPeriodsParamsWithContext

func NewAdminGetPeriodsParamsWithContext(ctx context.Context) *AdminGetPeriodsParams

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

func NewAdminGetPeriodsParamsWithHTTPClient

func NewAdminGetPeriodsParamsWithHTTPClient(client *http.Client) *AdminGetPeriodsParams

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

func NewAdminGetPeriodsParamsWithTimeout

func NewAdminGetPeriodsParamsWithTimeout(timeout time.Duration) *AdminGetPeriodsParams

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

func (*AdminGetPeriodsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get periods params

func (*AdminGetPeriodsParams) SetChallengeCode

func (o *AdminGetPeriodsParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin get periods params

func (*AdminGetPeriodsParams) SetContext

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

SetContext adds the context to the admin get periods params

func (*AdminGetPeriodsParams) SetFlightId

func (o *AdminGetPeriodsParams) SetFlightId(flightId string)

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

func (*AdminGetPeriodsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get periods params

func (*AdminGetPeriodsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get periods params

func (*AdminGetPeriodsParams) SetLimit

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

SetLimit adds the limit to the admin get periods params

func (*AdminGetPeriodsParams) SetNamespace

func (o *AdminGetPeriodsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get periods params

func (*AdminGetPeriodsParams) SetOffset

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

SetOffset adds the offset to the admin get periods params

func (*AdminGetPeriodsParams) SetTimeout

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

SetTimeout adds the timeout to the admin get periods params

func (*AdminGetPeriodsParams) WithChallengeCode

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

WithChallengeCode adds the challengeCode to the admin get periods params

func (*AdminGetPeriodsParams) WithContext

WithContext adds the context to the admin get periods params

func (*AdminGetPeriodsParams) WithHTTPClient

func (o *AdminGetPeriodsParams) WithHTTPClient(client *http.Client) *AdminGetPeriodsParams

WithHTTPClient adds the HTTPClient to the admin get periods params

func (*AdminGetPeriodsParams) WithLimit

func (o *AdminGetPeriodsParams) WithLimit(limit *int64) *AdminGetPeriodsParams

WithLimit adds the limit to the admin get periods params

func (*AdminGetPeriodsParams) WithNamespace

func (o *AdminGetPeriodsParams) WithNamespace(namespace string) *AdminGetPeriodsParams

WithNamespace adds the namespace to the admin get periods params

func (*AdminGetPeriodsParams) WithOffset

func (o *AdminGetPeriodsParams) WithOffset(offset *int64) *AdminGetPeriodsParams

WithOffset adds the offset to the admin get periods params

func (*AdminGetPeriodsParams) WithTimeout

func (o *AdminGetPeriodsParams) WithTimeout(timeout time.Duration) *AdminGetPeriodsParams

WithTimeout adds the timeout to the admin get periods params

func (*AdminGetPeriodsParams) WriteToRequest

func (o *AdminGetPeriodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AdminGetPeriodsReader

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

AdminGetPeriodsReader is a Reader for the AdminGetPeriods structure.

func (*AdminGetPeriodsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetPeriodsUnauthorized

type AdminGetPeriodsUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminGetPeriodsUnauthorized 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 NewAdminGetPeriodsUnauthorized

func NewAdminGetPeriodsUnauthorized() *AdminGetPeriodsUnauthorized

NewAdminGetPeriodsUnauthorized creates a AdminGetPeriodsUnauthorized with default headers values

func (*AdminGetPeriodsUnauthorized) Error

func (*AdminGetPeriodsUnauthorized) GetPayload

func (*AdminGetPeriodsUnauthorized) ToJSONString

func (o *AdminGetPeriodsUnauthorized) ToJSONString() string

type AdminRandomizeChallengeForbidden

type AdminRandomizeChallengeForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminRandomizeChallengeForbidden 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 NewAdminRandomizeChallengeForbidden

func NewAdminRandomizeChallengeForbidden() *AdminRandomizeChallengeForbidden

NewAdminRandomizeChallengeForbidden creates a AdminRandomizeChallengeForbidden with default headers values

func (*AdminRandomizeChallengeForbidden) Error

func (*AdminRandomizeChallengeForbidden) GetPayload

func (*AdminRandomizeChallengeForbidden) ToJSONString

func (o *AdminRandomizeChallengeForbidden) ToJSONString() string

type AdminRandomizeChallengeInternalServerError

type AdminRandomizeChallengeInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminRandomizeChallengeInternalServerError 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 NewAdminRandomizeChallengeInternalServerError

func NewAdminRandomizeChallengeInternalServerError() *AdminRandomizeChallengeInternalServerError

NewAdminRandomizeChallengeInternalServerError creates a AdminRandomizeChallengeInternalServerError with default headers values

func (*AdminRandomizeChallengeInternalServerError) Error

func (*AdminRandomizeChallengeInternalServerError) GetPayload

func (*AdminRandomizeChallengeInternalServerError) ToJSONString

type AdminRandomizeChallengeNotFound

type AdminRandomizeChallengeNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminRandomizeChallengeNotFound 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 NewAdminRandomizeChallengeNotFound

func NewAdminRandomizeChallengeNotFound() *AdminRandomizeChallengeNotFound

NewAdminRandomizeChallengeNotFound creates a AdminRandomizeChallengeNotFound with default headers values

func (*AdminRandomizeChallengeNotFound) Error

func (*AdminRandomizeChallengeNotFound) GetPayload

func (*AdminRandomizeChallengeNotFound) ToJSONString

func (o *AdminRandomizeChallengeNotFound) ToJSONString() string

type AdminRandomizeChallengeOK

type AdminRandomizeChallengeOK struct {
	Payload []*challengeclientmodels.ModelSchedule
}

AdminRandomizeChallengeOK handles this case with default header values.

OK

func NewAdminRandomizeChallengeOK

func NewAdminRandomizeChallengeOK() *AdminRandomizeChallengeOK

NewAdminRandomizeChallengeOK creates a AdminRandomizeChallengeOK with default headers values

func (*AdminRandomizeChallengeOK) Error

func (o *AdminRandomizeChallengeOK) Error() string

func (*AdminRandomizeChallengeOK) GetPayload

func (*AdminRandomizeChallengeOK) ToJSONString

func (o *AdminRandomizeChallengeOK) ToJSONString() string

type AdminRandomizeChallengeParams

type AdminRandomizeChallengeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ChallengeCode
	  challenge code

	*/
	ChallengeCode string
	/*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
}

AdminRandomizeChallengeParams contains all the parameters to send to the API endpoint for the admin randomize challenge operation typically these are written to a http.Request

func NewAdminRandomizeChallengeParams

func NewAdminRandomizeChallengeParams() *AdminRandomizeChallengeParams

NewAdminRandomizeChallengeParams creates a new AdminRandomizeChallengeParams object with the default values initialized.

func NewAdminRandomizeChallengeParamsWithContext

func NewAdminRandomizeChallengeParamsWithContext(ctx context.Context) *AdminRandomizeChallengeParams

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

func NewAdminRandomizeChallengeParamsWithHTTPClient

func NewAdminRandomizeChallengeParamsWithHTTPClient(client *http.Client) *AdminRandomizeChallengeParams

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

func NewAdminRandomizeChallengeParamsWithTimeout

func NewAdminRandomizeChallengeParamsWithTimeout(timeout time.Duration) *AdminRandomizeChallengeParams

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

func (*AdminRandomizeChallengeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin randomize challenge params

func (*AdminRandomizeChallengeParams) SetChallengeCode

func (o *AdminRandomizeChallengeParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin randomize challenge params

func (*AdminRandomizeChallengeParams) SetContext

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

SetContext adds the context to the admin randomize challenge params

func (*AdminRandomizeChallengeParams) SetFlightId

func (o *AdminRandomizeChallengeParams) SetFlightId(flightId string)

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

func (*AdminRandomizeChallengeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin randomize challenge params

func (*AdminRandomizeChallengeParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin randomize challenge params

func (*AdminRandomizeChallengeParams) SetNamespace

func (o *AdminRandomizeChallengeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin randomize challenge params

func (*AdminRandomizeChallengeParams) SetTimeout

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

SetTimeout adds the timeout to the admin randomize challenge params

func (*AdminRandomizeChallengeParams) WithChallengeCode

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

WithChallengeCode adds the challengeCode to the admin randomize challenge params

func (*AdminRandomizeChallengeParams) WithContext

WithContext adds the context to the admin randomize challenge params

func (*AdminRandomizeChallengeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin randomize challenge params

func (*AdminRandomizeChallengeParams) WithNamespace

WithNamespace adds the namespace to the admin randomize challenge params

func (*AdminRandomizeChallengeParams) WithTimeout

WithTimeout adds the timeout to the admin randomize challenge params

func (*AdminRandomizeChallengeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminRandomizeChallengeReader

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

AdminRandomizeChallengeReader is a Reader for the AdminRandomizeChallenge structure.

func (*AdminRandomizeChallengeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminRandomizeChallengeUnauthorized

type AdminRandomizeChallengeUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminRandomizeChallengeUnauthorized 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 NewAdminRandomizeChallengeUnauthorized

func NewAdminRandomizeChallengeUnauthorized() *AdminRandomizeChallengeUnauthorized

NewAdminRandomizeChallengeUnauthorized creates a AdminRandomizeChallengeUnauthorized with default headers values

func (*AdminRandomizeChallengeUnauthorized) Error

func (*AdminRandomizeChallengeUnauthorized) GetPayload

func (*AdminRandomizeChallengeUnauthorized) ToJSONString

func (o *AdminRandomizeChallengeUnauthorized) ToJSONString() string

type AdminUpdateChallengeForbidden

type AdminUpdateChallengeForbidden struct {
	Payload *challengeclientmodels.ResponseError
}

AdminUpdateChallengeForbidden handles this case with default header values.

Forbidden

func NewAdminUpdateChallengeForbidden

func NewAdminUpdateChallengeForbidden() *AdminUpdateChallengeForbidden

NewAdminUpdateChallengeForbidden creates a AdminUpdateChallengeForbidden with default headers values

func (*AdminUpdateChallengeForbidden) Error

func (*AdminUpdateChallengeForbidden) GetPayload

func (*AdminUpdateChallengeForbidden) ToJSONString

func (o *AdminUpdateChallengeForbidden) ToJSONString() string

type AdminUpdateChallengeInternalServerError

type AdminUpdateChallengeInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminUpdateChallengeInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUpdateChallengeInternalServerError

func NewAdminUpdateChallengeInternalServerError() *AdminUpdateChallengeInternalServerError

NewAdminUpdateChallengeInternalServerError creates a AdminUpdateChallengeInternalServerError with default headers values

func (*AdminUpdateChallengeInternalServerError) Error

func (*AdminUpdateChallengeInternalServerError) GetPayload

func (*AdminUpdateChallengeInternalServerError) ToJSONString

type AdminUpdateChallengeNotFound

type AdminUpdateChallengeNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminUpdateChallengeNotFound handles this case with default header values.

Not Found

func NewAdminUpdateChallengeNotFound

func NewAdminUpdateChallengeNotFound() *AdminUpdateChallengeNotFound

NewAdminUpdateChallengeNotFound creates a AdminUpdateChallengeNotFound with default headers values

func (*AdminUpdateChallengeNotFound) Error

func (*AdminUpdateChallengeNotFound) GetPayload

func (*AdminUpdateChallengeNotFound) ToJSONString

func (o *AdminUpdateChallengeNotFound) ToJSONString() string

type AdminUpdateChallengeOK

type AdminUpdateChallengeOK struct {
	Payload *challengeclientmodels.ModelChallengeResponse
}

AdminUpdateChallengeOK handles this case with default header values.

OK

func NewAdminUpdateChallengeOK

func NewAdminUpdateChallengeOK() *AdminUpdateChallengeOK

NewAdminUpdateChallengeOK creates a AdminUpdateChallengeOK with default headers values

func (*AdminUpdateChallengeOK) Error

func (o *AdminUpdateChallengeOK) Error() string

func (*AdminUpdateChallengeOK) GetPayload

func (*AdminUpdateChallengeOK) ToJSONString

func (o *AdminUpdateChallengeOK) ToJSONString() string

type AdminUpdateChallengeParams

type AdminUpdateChallengeParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *challengeclientmodels.ModelsUpdateChallengeRequest
	/*ChallengeCode
	  the code of the challenge data to update

	*/
	ChallengeCode string
	/*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
}

AdminUpdateChallengeParams contains all the parameters to send to the API endpoint for the admin update challenge operation typically these are written to a http.Request

func NewAdminUpdateChallengeParams

func NewAdminUpdateChallengeParams() *AdminUpdateChallengeParams

NewAdminUpdateChallengeParams creates a new AdminUpdateChallengeParams object with the default values initialized.

func NewAdminUpdateChallengeParamsWithContext

func NewAdminUpdateChallengeParamsWithContext(ctx context.Context) *AdminUpdateChallengeParams

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

func NewAdminUpdateChallengeParamsWithHTTPClient

func NewAdminUpdateChallengeParamsWithHTTPClient(client *http.Client) *AdminUpdateChallengeParams

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

func NewAdminUpdateChallengeParamsWithTimeout

func NewAdminUpdateChallengeParamsWithTimeout(timeout time.Duration) *AdminUpdateChallengeParams

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

func (*AdminUpdateChallengeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update challenge params

func (*AdminUpdateChallengeParams) SetBody

SetBody adds the body to the admin update challenge params

func (*AdminUpdateChallengeParams) SetChallengeCode

func (o *AdminUpdateChallengeParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin update challenge params

func (*AdminUpdateChallengeParams) SetContext

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

SetContext adds the context to the admin update challenge params

func (*AdminUpdateChallengeParams) SetFlightId

func (o *AdminUpdateChallengeParams) SetFlightId(flightId string)

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

func (*AdminUpdateChallengeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update challenge params

func (*AdminUpdateChallengeParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update challenge params

func (*AdminUpdateChallengeParams) SetNamespace

func (o *AdminUpdateChallengeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update challenge params

func (*AdminUpdateChallengeParams) SetTimeout

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

SetTimeout adds the timeout to the admin update challenge params

func (*AdminUpdateChallengeParams) WithBody

WithBody adds the body to the admin update challenge params

func (*AdminUpdateChallengeParams) WithChallengeCode

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

WithChallengeCode adds the challengeCode to the admin update challenge params

func (*AdminUpdateChallengeParams) WithContext

WithContext adds the context to the admin update challenge params

func (*AdminUpdateChallengeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update challenge params

func (*AdminUpdateChallengeParams) WithNamespace

func (o *AdminUpdateChallengeParams) WithNamespace(namespace string) *AdminUpdateChallengeParams

WithNamespace adds the namespace to the admin update challenge params

func (*AdminUpdateChallengeParams) WithTimeout

WithTimeout adds the timeout to the admin update challenge params

func (*AdminUpdateChallengeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateChallengeReader

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

AdminUpdateChallengeReader is a Reader for the AdminUpdateChallenge structure.

func (*AdminUpdateChallengeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateChallengeUnauthorized

type AdminUpdateChallengeUnauthorized struct {
	Payload *challengeclientmodels.ResponseError
}

AdminUpdateChallengeUnauthorized handles this case with default header values.

Unauthorized

func NewAdminUpdateChallengeUnauthorized

func NewAdminUpdateChallengeUnauthorized() *AdminUpdateChallengeUnauthorized

NewAdminUpdateChallengeUnauthorized creates a AdminUpdateChallengeUnauthorized with default headers values

func (*AdminUpdateChallengeUnauthorized) Error

func (*AdminUpdateChallengeUnauthorized) GetPayload

func (*AdminUpdateChallengeUnauthorized) ToJSONString

func (o *AdminUpdateChallengeUnauthorized) ToJSONString() string

type AdminUpdateChallengeUnprocessableEntity

type AdminUpdateChallengeUnprocessableEntity struct {
	Payload *challengeclientmodels.ResponseError
}

AdminUpdateChallengeUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewAdminUpdateChallengeUnprocessableEntity

func NewAdminUpdateChallengeUnprocessableEntity() *AdminUpdateChallengeUnprocessableEntity

NewAdminUpdateChallengeUnprocessableEntity creates a AdminUpdateChallengeUnprocessableEntity with default headers values

func (*AdminUpdateChallengeUnprocessableEntity) Error

func (*AdminUpdateChallengeUnprocessableEntity) GetPayload

func (*AdminUpdateChallengeUnprocessableEntity) ToJSONString

type Client

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

Client for challenge configuration API

func (*Client) AdminCreateChallenge deprecated

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

AdminCreateChallenge create new challenge

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

Challenge is a collection of goals that can be completed by players. Challenge can have rules that specify what and when goals will be available for players to be taken.

Request body:

  • code: only lowercase letters, numbers, and the separator - are allowed; must start and end with letter
  • name: name of the challenge
  • description: text describing about the challenge (optional)
  • startDate: timestamp of when the challenge is started
  • endDate: timestamp of when the challenge is ended (optional)
  • endAfter: describe number of period challenge will be retired after (optional)

To configure challenge that never end, leave the endDate and endAfter field null/empty.

  • rotation: describe how long goals in a challenge will be available for players to progress before rotated with another goals. (DAILY|WEEKLY|MONTHLY|NONE)
  • activeGoalsPerRotation: number of goals per rotation (currently only applicable for RANDOMIZE assignment)
  • assignmentRule: describe how the goals will be assigned and scheduled to users. (FIXED|RANDOMIZED|UNSCHEDULED)
  • goalsVisibility: describe whether users can see all goals under challenge, or only active goal in one rotation period only. (SHOWALL|PERIODONLY)

func (*Client) AdminCreateChallengeShort

func (a *Client) AdminCreateChallengeShort(params *AdminCreateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChallengeCreated, error)

AdminCreateChallengeShort create new challenge

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

Challenge is a collection of goals that can be completed by players. Challenge can have rules that specify what and when goals will be available for players to be taken.

Request body:

  • code: only lowercase letters, numbers, and the separator - are allowed; must start and end with letter
  • name: name of the challenge
  • description: text describing about the challenge (optional)
  • startDate: timestamp of when the challenge is started
  • endDate: timestamp of when the challenge is ended (optional)
  • endAfter: describe number of period challenge will be retired after (optional)

To configure challenge that never end, leave the endDate and endAfter field null/empty.

  • rotation: describe how long goals in a challenge will be available for players to progress before rotated with another goals. (DAILY|WEEKLY|MONTHLY|NONE)
  • activeGoalsPerRotation: number of goals per rotation (currently only applicable for RANDOMIZE assignment)
  • assignmentRule: describe how the goals will be assigned and scheduled to users. (FIXED|RANDOMIZED|UNSCHEDULED)
  • goalsVisibility: describe whether users can see all goals under challenge, or only active goal in one rotation period only. (SHOWALL|PERIODONLY)

func (*Client) AdminDeleteChallenge deprecated

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

AdminDeleteChallenge delete a challenge

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

func (*Client) AdminDeleteChallengeShort

func (a *Client) AdminDeleteChallengeShort(params *AdminDeleteChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChallengeNoContent, error)

AdminDeleteChallengeShort delete a challenge

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

func (*Client) AdminDeleteTiedChallenge deprecated

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

AdminDeleteTiedChallenge delete tied challenge

  • Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [DELETE]
  • This endpoint will delete the combination of related data: CHALLENGES, GOALS, SCHEDULES, PLAYER PROGRESSIONS

func (*Client) AdminDeleteTiedChallengeShort

func (a *Client) AdminDeleteTiedChallengeShort(params *AdminDeleteTiedChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTiedChallengeNoContent, error)

AdminDeleteTiedChallengeShort delete tied challenge

  • Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [DELETE]
  • This endpoint will delete the combination of related data: CHALLENGES, GOALS, SCHEDULES, PLAYER PROGRESSIONS

func (*Client) AdminGetChallenge deprecated

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

AdminGetChallenge get a challenge

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

func (*Client) AdminGetChallengeShort

func (a *Client) AdminGetChallengeShort(params *AdminGetChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengeOK, error)

AdminGetChallengeShort get a challenge

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

func (*Client) AdminGetChallenges deprecated

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

AdminGetChallenges list challenges

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

func (*Client) AdminGetChallengesShort

func (a *Client) AdminGetChallengesShort(params *AdminGetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengesOK, error)

AdminGetChallengesShort list challenges

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

func (*Client) AdminGetPeriods deprecated

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

AdminGetPeriods get challenge's periods

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

func (*Client) AdminGetPeriodsShort

func (a *Client) AdminGetPeriodsShort(params *AdminGetPeriodsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPeriodsOK, error)

AdminGetPeriodsShort get challenge's periods

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

func (*Client) AdminRandomizeChallenge deprecated

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

AdminRandomizeChallenge randomize goals of a challenge

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

This is a utility endpoint to execute randomize goals schedule on challenge that the assignmentRule is RANDOMIZED.

func (*Client) AdminRandomizeChallengeShort

func (a *Client) AdminRandomizeChallengeShort(params *AdminRandomizeChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRandomizeChallengeOK, error)

AdminRandomizeChallengeShort randomize goals of a challenge

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

This is a utility endpoint to execute randomize goals schedule on challenge that the assignmentRule is RANDOMIZED.

func (*Client) AdminUpdateChallenge deprecated

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

AdminUpdateChallenge update a challenge

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

Request body:

  • name: name of the challenge
  • description: text describing about the challenge (optional)
  • startDate: timestamp of when the challenge is started
  • endDate: timestamp of when the challenge is ended (optional)
  • endAfter: describe number of period challenge will be retired after (optional)

To configure challenge that never end, leave the endDate and endAfter field null/empty.

func (*Client) AdminUpdateChallengeShort

func (a *Client) AdminUpdateChallengeShort(params *AdminUpdateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChallengeOK, error)

AdminUpdateChallengeShort update a challenge

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

Request body:

  • name: name of the challenge
  • description: text describing about the challenge (optional)
  • startDate: timestamp of when the challenge is started
  • endDate: timestamp of when the challenge is ended (optional)
  • endAfter: describe number of period challenge will be retired after (optional)

To configure challenge that never end, leave the endDate and endAfter field null/empty.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminGetChallenges(params *AdminGetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengesOK, *AdminGetChallengesUnauthorized, *AdminGetChallengesForbidden, *AdminGetChallengesInternalServerError, error)
	AdminGetChallengesShort(params *AdminGetChallengesParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengesOK, error)
	AdminCreateChallenge(params *AdminCreateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChallengeCreated, *AdminCreateChallengeUnauthorized, *AdminCreateChallengeForbidden, *AdminCreateChallengeConflict, *AdminCreateChallengeUnprocessableEntity, *AdminCreateChallengeInternalServerError, error)
	AdminCreateChallengeShort(params *AdminCreateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChallengeCreated, error)
	AdminGetChallenge(params *AdminGetChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengeOK, *AdminGetChallengeUnauthorized, *AdminGetChallengeForbidden, *AdminGetChallengeNotFound, *AdminGetChallengeInternalServerError, error)
	AdminGetChallengeShort(params *AdminGetChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengeOK, error)
	AdminUpdateChallenge(params *AdminUpdateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChallengeOK, *AdminUpdateChallengeUnauthorized, *AdminUpdateChallengeForbidden, *AdminUpdateChallengeNotFound, *AdminUpdateChallengeUnprocessableEntity, *AdminUpdateChallengeInternalServerError, error)
	AdminUpdateChallengeShort(params *AdminUpdateChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateChallengeOK, error)
	AdminDeleteChallenge(params *AdminDeleteChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChallengeNoContent, *AdminDeleteChallengeBadRequest, *AdminDeleteChallengeUnauthorized, *AdminDeleteChallengeForbidden, *AdminDeleteChallengeNotFound, *AdminDeleteChallengeInternalServerError, error)
	AdminDeleteChallengeShort(params *AdminDeleteChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteChallengeNoContent, error)
	AdminGetPeriods(params *AdminGetPeriodsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPeriodsOK, *AdminGetPeriodsUnauthorized, *AdminGetPeriodsForbidden, *AdminGetPeriodsNotFound, *AdminGetPeriodsInternalServerError, error)
	AdminGetPeriodsShort(params *AdminGetPeriodsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetPeriodsOK, error)
	AdminRandomizeChallenge(params *AdminRandomizeChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRandomizeChallengeOK, *AdminRandomizeChallengeUnauthorized, *AdminRandomizeChallengeForbidden, *AdminRandomizeChallengeNotFound, *AdminRandomizeChallengeInternalServerError, error)
	AdminRandomizeChallengeShort(params *AdminRandomizeChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminRandomizeChallengeOK, error)
	AdminDeleteTiedChallenge(params *AdminDeleteTiedChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTiedChallengeNoContent, *AdminDeleteTiedChallengeBadRequest, *AdminDeleteTiedChallengeUnauthorized, *AdminDeleteTiedChallengeForbidden, *AdminDeleteTiedChallengeNotFound, *AdminDeleteTiedChallengeInternalServerError, error)
	AdminDeleteTiedChallengeShort(params *AdminDeleteTiedChallengeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTiedChallengeNoContent, 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 configuration API client.

Jump to

Keyboard shortcuts

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