goal_configuration

package
v0.89.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminGetGoalsCreatedAtConstant     = "createdAt"
	AdminGetGoalsCreatedAtAscConstant  = "createdAt:asc"
	AdminGetGoalsCreatedAtDescConstant = "createdAt:desc"
	AdminGetGoalsUpdatedAtConstant     = "updatedAt"
	AdminGetGoalsUpdatedAtAscConstant  = "updatedAt:asc"
	AdminGetGoalsUpdatedAtDescConstant = "updatedAt:desc"
)

Deprecated: 2025-07-16 - Use AdminGetGoalsSortBy<EnumValue>Constant instead. Get the enum in AdminGetGoalsParams

View Source
const (
	AdminGetGoalsSortByCreatedAtConstant     = "createdAt"
	AdminGetGoalsSortByCreatedAtAscConstant  = "createdAt:asc"
	AdminGetGoalsSortByCreatedAtDescConstant = "createdAt:desc"
	AdminGetGoalsSortByUpdatedAtConstant     = "updatedAt"
	AdminGetGoalsSortByUpdatedAtAscConstant  = "updatedAt:asc"
	AdminGetGoalsSortByUpdatedAtDescConstant = "updatedAt:desc"
)

Get the enum in AdminGetGoalsParams

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminCreateGoalBadRequest added in v0.68.0

type AdminCreateGoalBadRequest struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminCreateGoalBadRequest 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 NewAdminCreateGoalBadRequest added in v0.68.0

func NewAdminCreateGoalBadRequest() *AdminCreateGoalBadRequest

NewAdminCreateGoalBadRequest creates a AdminCreateGoalBadRequest with default headers values

func (*AdminCreateGoalBadRequest) Error added in v0.68.0

func (o *AdminCreateGoalBadRequest) Error() string

func (*AdminCreateGoalBadRequest) GetPayload added in v0.68.0

func (*AdminCreateGoalBadRequest) ToJSONString added in v0.68.0

func (o *AdminCreateGoalBadRequest) ToJSONString() string

type AdminCreateGoalConflict

type AdminCreateGoalConflict struct {
	Payload *challengeclientmodels.ResponseError
}

AdminCreateGoalConflict 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 NewAdminCreateGoalConflict

func NewAdminCreateGoalConflict() *AdminCreateGoalConflict

NewAdminCreateGoalConflict creates a AdminCreateGoalConflict with default headers values

func (*AdminCreateGoalConflict) Error

func (o *AdminCreateGoalConflict) Error() string

func (*AdminCreateGoalConflict) GetPayload

func (*AdminCreateGoalConflict) ToJSONString

func (o *AdminCreateGoalConflict) ToJSONString() string

type AdminCreateGoalCreated

type AdminCreateGoalCreated struct {
	Payload *challengeclientmodels.ModelGoalResponse
}

AdminCreateGoalCreated handles this case with default header values.

Created

func NewAdminCreateGoalCreated

func NewAdminCreateGoalCreated() *AdminCreateGoalCreated

NewAdminCreateGoalCreated creates a AdminCreateGoalCreated with default headers values

func (*AdminCreateGoalCreated) Error

func (o *AdminCreateGoalCreated) Error() string

func (*AdminCreateGoalCreated) GetPayload

func (*AdminCreateGoalCreated) ToJSONString

func (o *AdminCreateGoalCreated) ToJSONString() string

type AdminCreateGoalForbidden

type AdminCreateGoalForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminCreateGoalForbidden 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 NewAdminCreateGoalForbidden

func NewAdminCreateGoalForbidden() *AdminCreateGoalForbidden

NewAdminCreateGoalForbidden creates a AdminCreateGoalForbidden with default headers values

func (*AdminCreateGoalForbidden) Error

func (o *AdminCreateGoalForbidden) Error() string

func (*AdminCreateGoalForbidden) GetPayload

func (*AdminCreateGoalForbidden) ToJSONString

func (o *AdminCreateGoalForbidden) ToJSONString() string

type AdminCreateGoalInternalServerError

type AdminCreateGoalInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminCreateGoalInternalServerError 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 NewAdminCreateGoalInternalServerError

func NewAdminCreateGoalInternalServerError() *AdminCreateGoalInternalServerError

NewAdminCreateGoalInternalServerError creates a AdminCreateGoalInternalServerError with default headers values

func (*AdminCreateGoalInternalServerError) Error

func (*AdminCreateGoalInternalServerError) GetPayload

func (*AdminCreateGoalInternalServerError) ToJSONString

func (o *AdminCreateGoalInternalServerError) ToJSONString() string

type AdminCreateGoalNotFound

type AdminCreateGoalNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminCreateGoalNotFound 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 NewAdminCreateGoalNotFound

func NewAdminCreateGoalNotFound() *AdminCreateGoalNotFound

NewAdminCreateGoalNotFound creates a AdminCreateGoalNotFound with default headers values

func (*AdminCreateGoalNotFound) Error

func (o *AdminCreateGoalNotFound) Error() string

func (*AdminCreateGoalNotFound) GetPayload

func (*AdminCreateGoalNotFound) ToJSONString

func (o *AdminCreateGoalNotFound) ToJSONString() string

type AdminCreateGoalParams

type AdminCreateGoalParams struct {

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

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

func NewAdminCreateGoalParams

func NewAdminCreateGoalParams() *AdminCreateGoalParams

NewAdminCreateGoalParams creates a new AdminCreateGoalParams object with the default values initialized.

func NewAdminCreateGoalParamsWithContext

func NewAdminCreateGoalParamsWithContext(ctx context.Context) *AdminCreateGoalParams

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

func NewAdminCreateGoalParamsWithHTTPClient

func NewAdminCreateGoalParamsWithHTTPClient(client *http.Client) *AdminCreateGoalParams

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

func NewAdminCreateGoalParamsWithTimeout

func NewAdminCreateGoalParamsWithTimeout(timeout time.Duration) *AdminCreateGoalParams

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

func (*AdminCreateGoalParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin create goal params

func (*AdminCreateGoalParams) SetBody

SetBody adds the body to the admin create goal params

func (*AdminCreateGoalParams) SetChallengeCode

func (o *AdminCreateGoalParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin create goal params

func (*AdminCreateGoalParams) SetContext

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

SetContext adds the context to the admin create goal params

func (*AdminCreateGoalParams) SetFlightId

func (o *AdminCreateGoalParams) SetFlightId(flightId string)

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

func (*AdminCreateGoalParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create goal params

func (*AdminCreateGoalParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin create goal params

func (*AdminCreateGoalParams) SetNamespace

func (o *AdminCreateGoalParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin create goal params

func (*AdminCreateGoalParams) SetTimeout

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

SetTimeout adds the timeout to the admin create goal params

func (*AdminCreateGoalParams) WithBody

WithBody adds the body to the admin create goal params

func (*AdminCreateGoalParams) WithChallengeCode

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

WithChallengeCode adds the challengeCode to the admin create goal params

func (*AdminCreateGoalParams) WithContext

WithContext adds the context to the admin create goal params

func (*AdminCreateGoalParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin create goal params

func (*AdminCreateGoalParams) WithNamespace

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

WithNamespace adds the namespace to the admin create goal params

func (*AdminCreateGoalParams) WithTimeout

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

WithTimeout adds the timeout to the admin create goal params

func (*AdminCreateGoalParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminCreateGoalReader

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

AdminCreateGoalReader is a Reader for the AdminCreateGoal structure.

func (*AdminCreateGoalReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateGoalUnauthorized

type AdminCreateGoalUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminCreateGoalUnauthorized 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 NewAdminCreateGoalUnauthorized

func NewAdminCreateGoalUnauthorized() *AdminCreateGoalUnauthorized

NewAdminCreateGoalUnauthorized creates a AdminCreateGoalUnauthorized with default headers values

func (*AdminCreateGoalUnauthorized) Error

func (*AdminCreateGoalUnauthorized) GetPayload

func (*AdminCreateGoalUnauthorized) ToJSONString

func (o *AdminCreateGoalUnauthorized) ToJSONString() string

type AdminCreateGoalUnprocessableEntity added in v0.72.0

type AdminCreateGoalUnprocessableEntity struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminCreateGoalUnprocessableEntity handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>99004</td><td>unprocessable entity: {{message}}</td></tr></table>

func NewAdminCreateGoalUnprocessableEntity added in v0.72.0

func NewAdminCreateGoalUnprocessableEntity() *AdminCreateGoalUnprocessableEntity

NewAdminCreateGoalUnprocessableEntity creates a AdminCreateGoalUnprocessableEntity with default headers values

func (*AdminCreateGoalUnprocessableEntity) Error added in v0.72.0

func (*AdminCreateGoalUnprocessableEntity) GetPayload added in v0.72.0

func (*AdminCreateGoalUnprocessableEntity) ToJSONString added in v0.72.0

func (o *AdminCreateGoalUnprocessableEntity) ToJSONString() string

type AdminDeleteGoalBadRequest

type AdminDeleteGoalBadRequest struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteGoalBadRequest 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 NewAdminDeleteGoalBadRequest

func NewAdminDeleteGoalBadRequest() *AdminDeleteGoalBadRequest

NewAdminDeleteGoalBadRequest creates a AdminDeleteGoalBadRequest with default headers values

func (*AdminDeleteGoalBadRequest) Error

func (o *AdminDeleteGoalBadRequest) Error() string

func (*AdminDeleteGoalBadRequest) GetPayload

func (*AdminDeleteGoalBadRequest) ToJSONString

func (o *AdminDeleteGoalBadRequest) ToJSONString() string

type AdminDeleteGoalInternalServerError

type AdminDeleteGoalInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteGoalInternalServerError 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 NewAdminDeleteGoalInternalServerError

func NewAdminDeleteGoalInternalServerError() *AdminDeleteGoalInternalServerError

NewAdminDeleteGoalInternalServerError creates a AdminDeleteGoalInternalServerError with default headers values

func (*AdminDeleteGoalInternalServerError) Error

func (*AdminDeleteGoalInternalServerError) GetPayload

func (*AdminDeleteGoalInternalServerError) ToJSONString

func (o *AdminDeleteGoalInternalServerError) ToJSONString() string

type AdminDeleteGoalNoContent

type AdminDeleteGoalNoContent struct {
}

AdminDeleteGoalNoContent handles this case with default header values.

No Content

func NewAdminDeleteGoalNoContent

func NewAdminDeleteGoalNoContent() *AdminDeleteGoalNoContent

NewAdminDeleteGoalNoContent creates a AdminDeleteGoalNoContent with default headers values

func (*AdminDeleteGoalNoContent) Error

func (o *AdminDeleteGoalNoContent) Error() string

type AdminDeleteGoalNotFound

type AdminDeleteGoalNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminDeleteGoalNotFound 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 NewAdminDeleteGoalNotFound

func NewAdminDeleteGoalNotFound() *AdminDeleteGoalNotFound

NewAdminDeleteGoalNotFound creates a AdminDeleteGoalNotFound with default headers values

func (*AdminDeleteGoalNotFound) Error

func (o *AdminDeleteGoalNotFound) Error() string

func (*AdminDeleteGoalNotFound) GetPayload

func (*AdminDeleteGoalNotFound) ToJSONString

func (o *AdminDeleteGoalNotFound) ToJSONString() string

type AdminDeleteGoalParams

type AdminDeleteGoalParams struct {

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

	*/
	ChallengeCode string
	/*Code
	  goal code

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

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

func NewAdminDeleteGoalParams

func NewAdminDeleteGoalParams() *AdminDeleteGoalParams

NewAdminDeleteGoalParams creates a new AdminDeleteGoalParams object with the default values initialized.

func NewAdminDeleteGoalParamsWithContext

func NewAdminDeleteGoalParamsWithContext(ctx context.Context) *AdminDeleteGoalParams

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

func NewAdminDeleteGoalParamsWithHTTPClient

func NewAdminDeleteGoalParamsWithHTTPClient(client *http.Client) *AdminDeleteGoalParams

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

func NewAdminDeleteGoalParamsWithTimeout

func NewAdminDeleteGoalParamsWithTimeout(timeout time.Duration) *AdminDeleteGoalParams

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

func (*AdminDeleteGoalParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete goal params

func (*AdminDeleteGoalParams) SetChallengeCode

func (o *AdminDeleteGoalParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin delete goal params

func (*AdminDeleteGoalParams) SetCode

func (o *AdminDeleteGoalParams) SetCode(code string)

SetCode adds the code to the admin delete goal params

func (*AdminDeleteGoalParams) SetContext

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

SetContext adds the context to the admin delete goal params

func (*AdminDeleteGoalParams) SetFlightId

func (o *AdminDeleteGoalParams) SetFlightId(flightId string)

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

func (*AdminDeleteGoalParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete goal params

func (*AdminDeleteGoalParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin delete goal params

func (*AdminDeleteGoalParams) SetNamespace

func (o *AdminDeleteGoalParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete goal params

func (*AdminDeleteGoalParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete goal params

func (*AdminDeleteGoalParams) WithChallengeCode

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

WithChallengeCode adds the challengeCode to the admin delete goal params

func (*AdminDeleteGoalParams) WithCode

WithCode adds the code to the admin delete goal params

func (*AdminDeleteGoalParams) WithContext

WithContext adds the context to the admin delete goal params

func (*AdminDeleteGoalParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin delete goal params

func (*AdminDeleteGoalParams) WithNamespace

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

WithNamespace adds the namespace to the admin delete goal params

func (*AdminDeleteGoalParams) WithTimeout

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

WithTimeout adds the timeout to the admin delete goal params

func (*AdminDeleteGoalParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminDeleteGoalReader

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

AdminDeleteGoalReader is a Reader for the AdminDeleteGoal structure.

func (*AdminDeleteGoalReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetChallengeSlotsForbidden added in v0.89.0

type AdminGetChallengeSlotsForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminGetChallengeSlotsForbidden 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 NewAdminGetChallengeSlotsForbidden added in v0.89.0

func NewAdminGetChallengeSlotsForbidden() *AdminGetChallengeSlotsForbidden

NewAdminGetChallengeSlotsForbidden creates a AdminGetChallengeSlotsForbidden with default headers values

func (*AdminGetChallengeSlotsForbidden) Error added in v0.89.0

func (*AdminGetChallengeSlotsForbidden) GetPayload added in v0.89.0

func (*AdminGetChallengeSlotsForbidden) ToJSONString added in v0.89.0

func (o *AdminGetChallengeSlotsForbidden) ToJSONString() string

type AdminGetChallengeSlotsInternalServerError added in v0.89.0

type AdminGetChallengeSlotsInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminGetChallengeSlotsInternalServerError 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 NewAdminGetChallengeSlotsInternalServerError added in v0.89.0

func NewAdminGetChallengeSlotsInternalServerError() *AdminGetChallengeSlotsInternalServerError

NewAdminGetChallengeSlotsInternalServerError creates a AdminGetChallengeSlotsInternalServerError with default headers values

func (*AdminGetChallengeSlotsInternalServerError) Error added in v0.89.0

func (*AdminGetChallengeSlotsInternalServerError) GetPayload added in v0.89.0

func (*AdminGetChallengeSlotsInternalServerError) ToJSONString added in v0.89.0

type AdminGetChallengeSlotsNotFound added in v0.89.0

type AdminGetChallengeSlotsNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminGetChallengeSlotsNotFound 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 NewAdminGetChallengeSlotsNotFound added in v0.89.0

func NewAdminGetChallengeSlotsNotFound() *AdminGetChallengeSlotsNotFound

NewAdminGetChallengeSlotsNotFound creates a AdminGetChallengeSlotsNotFound with default headers values

func (*AdminGetChallengeSlotsNotFound) Error added in v0.89.0

func (*AdminGetChallengeSlotsNotFound) GetPayload added in v0.89.0

func (*AdminGetChallengeSlotsNotFound) ToJSONString added in v0.89.0

func (o *AdminGetChallengeSlotsNotFound) ToJSONString() string

type AdminGetChallengeSlotsOK added in v0.89.0

type AdminGetChallengeSlotsOK struct {
	Payload *challengeclientmodels.ModelGetSlotsResponse
}

AdminGetChallengeSlotsOK handles this case with default header values.

OK

func NewAdminGetChallengeSlotsOK added in v0.89.0

func NewAdminGetChallengeSlotsOK() *AdminGetChallengeSlotsOK

NewAdminGetChallengeSlotsOK creates a AdminGetChallengeSlotsOK with default headers values

func (*AdminGetChallengeSlotsOK) Error added in v0.89.0

func (o *AdminGetChallengeSlotsOK) Error() string

func (*AdminGetChallengeSlotsOK) GetPayload added in v0.89.0

func (*AdminGetChallengeSlotsOK) ToJSONString added in v0.89.0

func (o *AdminGetChallengeSlotsOK) ToJSONString() string

type AdminGetChallengeSlotsParams added in v0.89.0

type AdminGetChallengeSlotsParams 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
}

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

func NewAdminGetChallengeSlotsParams added in v0.89.0

func NewAdminGetChallengeSlotsParams() *AdminGetChallengeSlotsParams

NewAdminGetChallengeSlotsParams creates a new AdminGetChallengeSlotsParams object with the default values initialized.

func NewAdminGetChallengeSlotsParamsWithContext added in v0.89.0

func NewAdminGetChallengeSlotsParamsWithContext(ctx context.Context) *AdminGetChallengeSlotsParams

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

func NewAdminGetChallengeSlotsParamsWithHTTPClient added in v0.89.0

func NewAdminGetChallengeSlotsParamsWithHTTPClient(client *http.Client) *AdminGetChallengeSlotsParams

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

func NewAdminGetChallengeSlotsParamsWithTimeout added in v0.89.0

func NewAdminGetChallengeSlotsParamsWithTimeout(timeout time.Duration) *AdminGetChallengeSlotsParams

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

func (*AdminGetChallengeSlotsParams) SetAuthInfoWriter added in v0.89.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get challenge slots params

func (*AdminGetChallengeSlotsParams) SetChallengeCode added in v0.89.0

func (o *AdminGetChallengeSlotsParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin get challenge slots params

func (*AdminGetChallengeSlotsParams) SetContext added in v0.89.0

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

SetContext adds the context to the admin get challenge slots params

func (*AdminGetChallengeSlotsParams) SetFlightId added in v0.89.0

func (o *AdminGetChallengeSlotsParams) SetFlightId(flightId string)

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

func (*AdminGetChallengeSlotsParams) SetHTTPClient added in v0.89.0

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

SetHTTPClient adds the HTTPClient to the admin get challenge slots params

func (*AdminGetChallengeSlotsParams) SetHTTPClientTransport added in v0.89.0

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

SetHTTPClient adds the HTTPClient Transport to the admin get challenge slots params

func (*AdminGetChallengeSlotsParams) SetNamespace added in v0.89.0

func (o *AdminGetChallengeSlotsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get challenge slots params

func (*AdminGetChallengeSlotsParams) SetTimeout added in v0.89.0

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

SetTimeout adds the timeout to the admin get challenge slots params

func (*AdminGetChallengeSlotsParams) WithChallengeCode added in v0.89.0

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

WithChallengeCode adds the challengeCode to the admin get challenge slots params

func (*AdminGetChallengeSlotsParams) WithContext added in v0.89.0

WithContext adds the context to the admin get challenge slots params

func (*AdminGetChallengeSlotsParams) WithHTTPClient added in v0.89.0

WithHTTPClient adds the HTTPClient to the admin get challenge slots params

func (*AdminGetChallengeSlotsParams) WithNamespace added in v0.89.0

WithNamespace adds the namespace to the admin get challenge slots params

func (*AdminGetChallengeSlotsParams) WithTimeout added in v0.89.0

WithTimeout adds the timeout to the admin get challenge slots params

func (*AdminGetChallengeSlotsParams) WriteToRequest added in v0.89.0

WriteToRequest writes these params to a swagger request

type AdminGetChallengeSlotsReader added in v0.89.0

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

AdminGetChallengeSlotsReader is a Reader for the AdminGetChallengeSlots structure.

func (*AdminGetChallengeSlotsReader) ReadResponse added in v0.89.0

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

ReadResponse reads a server response into the received o.

type AdminGetChallengeSlotsUnauthorized added in v0.89.0

type AdminGetChallengeSlotsUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminGetChallengeSlotsUnauthorized 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 NewAdminGetChallengeSlotsUnauthorized added in v0.89.0

func NewAdminGetChallengeSlotsUnauthorized() *AdminGetChallengeSlotsUnauthorized

NewAdminGetChallengeSlotsUnauthorized creates a AdminGetChallengeSlotsUnauthorized with default headers values

func (*AdminGetChallengeSlotsUnauthorized) Error added in v0.89.0

func (*AdminGetChallengeSlotsUnauthorized) GetPayload added in v0.89.0

func (*AdminGetChallengeSlotsUnauthorized) ToJSONString added in v0.89.0

func (o *AdminGetChallengeSlotsUnauthorized) ToJSONString() string

type AdminGetChallengeSlotsUnprocessableEntity added in v0.89.0

type AdminGetChallengeSlotsUnprocessableEntity struct {
	Payload *challengeclientmodels.ResponseError
}

AdminGetChallengeSlotsUnprocessableEntity handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>99004</td><td>unprocessable entity: {{message}}</td></tr></table>

func NewAdminGetChallengeSlotsUnprocessableEntity added in v0.89.0

func NewAdminGetChallengeSlotsUnprocessableEntity() *AdminGetChallengeSlotsUnprocessableEntity

NewAdminGetChallengeSlotsUnprocessableEntity creates a AdminGetChallengeSlotsUnprocessableEntity with default headers values

func (*AdminGetChallengeSlotsUnprocessableEntity) Error added in v0.89.0

func (*AdminGetChallengeSlotsUnprocessableEntity) GetPayload added in v0.89.0

func (*AdminGetChallengeSlotsUnprocessableEntity) ToJSONString added in v0.89.0

type AdminGetGoalForbidden

type AdminGetGoalForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminGetGoalForbidden 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 NewAdminGetGoalForbidden

func NewAdminGetGoalForbidden() *AdminGetGoalForbidden

NewAdminGetGoalForbidden creates a AdminGetGoalForbidden with default headers values

func (*AdminGetGoalForbidden) Error

func (o *AdminGetGoalForbidden) Error() string

func (*AdminGetGoalForbidden) GetPayload

func (*AdminGetGoalForbidden) ToJSONString

func (o *AdminGetGoalForbidden) ToJSONString() string

type AdminGetGoalInternalServerError

type AdminGetGoalInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminGetGoalInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetGoalInternalServerError

func NewAdminGetGoalInternalServerError() *AdminGetGoalInternalServerError

NewAdminGetGoalInternalServerError creates a AdminGetGoalInternalServerError with default headers values

func (*AdminGetGoalInternalServerError) Error

func (*AdminGetGoalInternalServerError) GetPayload

func (*AdminGetGoalInternalServerError) ToJSONString

func (o *AdminGetGoalInternalServerError) ToJSONString() string

type AdminGetGoalNotFound

type AdminGetGoalNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminGetGoalNotFound handles this case with default header values.

Not Found

func NewAdminGetGoalNotFound

func NewAdminGetGoalNotFound() *AdminGetGoalNotFound

NewAdminGetGoalNotFound creates a AdminGetGoalNotFound with default headers values

func (*AdminGetGoalNotFound) Error

func (o *AdminGetGoalNotFound) Error() string

func (*AdminGetGoalNotFound) GetPayload

func (*AdminGetGoalNotFound) ToJSONString

func (o *AdminGetGoalNotFound) ToJSONString() string

type AdminGetGoalOK

type AdminGetGoalOK struct {
	Payload *challengeclientmodels.ModelGoalResponse
}

AdminGetGoalOK handles this case with default header values.

OK

func NewAdminGetGoalOK

func NewAdminGetGoalOK() *AdminGetGoalOK

NewAdminGetGoalOK creates a AdminGetGoalOK with default headers values

func (*AdminGetGoalOK) Error

func (o *AdminGetGoalOK) Error() string

func (*AdminGetGoalOK) GetPayload

func (*AdminGetGoalOK) ToJSONString

func (o *AdminGetGoalOK) ToJSONString() string

type AdminGetGoalParams

type AdminGetGoalParams struct {

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

	*/
	ChallengeCode string
	/*Code
	  goal code

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

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

func NewAdminGetGoalParams

func NewAdminGetGoalParams() *AdminGetGoalParams

NewAdminGetGoalParams creates a new AdminGetGoalParams object with the default values initialized.

func NewAdminGetGoalParamsWithContext

func NewAdminGetGoalParamsWithContext(ctx context.Context) *AdminGetGoalParams

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

func NewAdminGetGoalParamsWithHTTPClient

func NewAdminGetGoalParamsWithHTTPClient(client *http.Client) *AdminGetGoalParams

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

func NewAdminGetGoalParamsWithTimeout

func NewAdminGetGoalParamsWithTimeout(timeout time.Duration) *AdminGetGoalParams

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

func (*AdminGetGoalParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get goal params

func (*AdminGetGoalParams) SetChallengeCode

func (o *AdminGetGoalParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin get goal params

func (*AdminGetGoalParams) SetCode

func (o *AdminGetGoalParams) SetCode(code string)

SetCode adds the code to the admin get goal params

func (*AdminGetGoalParams) SetContext

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

SetContext adds the context to the admin get goal params

func (*AdminGetGoalParams) SetFlightId

func (o *AdminGetGoalParams) SetFlightId(flightId string)

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

func (*AdminGetGoalParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get goal params

func (*AdminGetGoalParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get goal params

func (*AdminGetGoalParams) SetNamespace

func (o *AdminGetGoalParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get goal params

func (*AdminGetGoalParams) SetTimeout

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

SetTimeout adds the timeout to the admin get goal params

func (*AdminGetGoalParams) WithChallengeCode

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

WithChallengeCode adds the challengeCode to the admin get goal params

func (*AdminGetGoalParams) WithCode

func (o *AdminGetGoalParams) WithCode(code string) *AdminGetGoalParams

WithCode adds the code to the admin get goal params

func (*AdminGetGoalParams) WithContext

WithContext adds the context to the admin get goal params

func (*AdminGetGoalParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get goal params

func (*AdminGetGoalParams) WithNamespace

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

WithNamespace adds the namespace to the admin get goal params

func (*AdminGetGoalParams) WithTimeout

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

WithTimeout adds the timeout to the admin get goal params

func (*AdminGetGoalParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminGetGoalReader

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

AdminGetGoalReader is a Reader for the AdminGetGoal structure.

func (*AdminGetGoalReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetGoalUnauthorized

type AdminGetGoalUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminGetGoalUnauthorized 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 NewAdminGetGoalUnauthorized

func NewAdminGetGoalUnauthorized() *AdminGetGoalUnauthorized

NewAdminGetGoalUnauthorized creates a AdminGetGoalUnauthorized with default headers values

func (*AdminGetGoalUnauthorized) Error

func (o *AdminGetGoalUnauthorized) Error() string

func (*AdminGetGoalUnauthorized) GetPayload

func (*AdminGetGoalUnauthorized) ToJSONString

func (o *AdminGetGoalUnauthorized) ToJSONString() string

type AdminGetGoalsForbidden

type AdminGetGoalsForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminGetGoalsForbidden 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 NewAdminGetGoalsForbidden

func NewAdminGetGoalsForbidden() *AdminGetGoalsForbidden

NewAdminGetGoalsForbidden creates a AdminGetGoalsForbidden with default headers values

func (*AdminGetGoalsForbidden) Error

func (o *AdminGetGoalsForbidden) Error() string

func (*AdminGetGoalsForbidden) GetPayload

func (*AdminGetGoalsForbidden) ToJSONString

func (o *AdminGetGoalsForbidden) ToJSONString() string

type AdminGetGoalsInternalServerError

type AdminGetGoalsInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminGetGoalsInternalServerError 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 NewAdminGetGoalsInternalServerError

func NewAdminGetGoalsInternalServerError() *AdminGetGoalsInternalServerError

NewAdminGetGoalsInternalServerError creates a AdminGetGoalsInternalServerError with default headers values

func (*AdminGetGoalsInternalServerError) Error

func (*AdminGetGoalsInternalServerError) GetPayload

func (*AdminGetGoalsInternalServerError) ToJSONString

func (o *AdminGetGoalsInternalServerError) ToJSONString() string

type AdminGetGoalsNotFound

type AdminGetGoalsNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminGetGoalsNotFound 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 NewAdminGetGoalsNotFound

func NewAdminGetGoalsNotFound() *AdminGetGoalsNotFound

NewAdminGetGoalsNotFound creates a AdminGetGoalsNotFound with default headers values

func (*AdminGetGoalsNotFound) Error

func (o *AdminGetGoalsNotFound) Error() string

func (*AdminGetGoalsNotFound) GetPayload

func (*AdminGetGoalsNotFound) ToJSONString

func (o *AdminGetGoalsNotFound) ToJSONString() string

type AdminGetGoalsOK

type AdminGetGoalsOK struct {
	Payload *challengeclientmodels.ModelGetGoalsResponse
}

AdminGetGoalsOK handles this case with default header values.

OK

func NewAdminGetGoalsOK

func NewAdminGetGoalsOK() *AdminGetGoalsOK

NewAdminGetGoalsOK creates a AdminGetGoalsOK with default headers values

func (*AdminGetGoalsOK) Error

func (o *AdminGetGoalsOK) Error() string

func (*AdminGetGoalsOK) GetPayload

func (*AdminGetGoalsOK) ToJSONString

func (o *AdminGetGoalsOK) ToJSONString() string

type AdminGetGoalsParams

type AdminGetGoalsParams 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
	/*SortBy
	    sort list by attributes.
				default value: updatedAt:desc.

	*/
	SortBy *string
	/*Tags
	  filter list by tags

	*/
	Tags []string

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

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

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

func NewAdminGetGoalsParams

func NewAdminGetGoalsParams() *AdminGetGoalsParams

NewAdminGetGoalsParams creates a new AdminGetGoalsParams object with the default values initialized.

func NewAdminGetGoalsParamsWithContext

func NewAdminGetGoalsParamsWithContext(ctx context.Context) *AdminGetGoalsParams

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

func NewAdminGetGoalsParamsWithHTTPClient

func NewAdminGetGoalsParamsWithHTTPClient(client *http.Client) *AdminGetGoalsParams

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

func NewAdminGetGoalsParamsWithTimeout

func NewAdminGetGoalsParamsWithTimeout(timeout time.Duration) *AdminGetGoalsParams

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

func (*AdminGetGoalsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get goals params

func (*AdminGetGoalsParams) SetChallengeCode

func (o *AdminGetGoalsParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin get goals params

func (*AdminGetGoalsParams) SetContext

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

SetContext adds the context to the admin get goals params

func (*AdminGetGoalsParams) SetFlightId

func (o *AdminGetGoalsParams) SetFlightId(flightId string)

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

func (*AdminGetGoalsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get goals params

func (*AdminGetGoalsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get goals params

func (*AdminGetGoalsParams) SetLimit

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

SetLimit adds the limit to the admin get goals params

func (*AdminGetGoalsParams) SetNamespace

func (o *AdminGetGoalsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get goals params

func (*AdminGetGoalsParams) SetOffset

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

SetOffset adds the offset to the admin get goals params

func (*AdminGetGoalsParams) SetSortBy

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

SetSortBy adds the sortBy to the admin get goals params

func (*AdminGetGoalsParams) SetTags added in v0.78.0

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

SetTags adds the tags to the admin get goals params

func (*AdminGetGoalsParams) SetTimeout

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

SetTimeout adds the timeout to the admin get goals params

func (*AdminGetGoalsParams) WithChallengeCode

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

WithChallengeCode adds the challengeCode to the admin get goals params

func (*AdminGetGoalsParams) WithContext

WithContext adds the context to the admin get goals params

func (*AdminGetGoalsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get goals params

func (*AdminGetGoalsParams) WithLimit

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

WithLimit adds the limit to the admin get goals params

func (*AdminGetGoalsParams) WithNamespace

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

WithNamespace adds the namespace to the admin get goals params

func (*AdminGetGoalsParams) WithOffset

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

WithOffset adds the offset to the admin get goals params

func (*AdminGetGoalsParams) WithSortBy

func (o *AdminGetGoalsParams) WithSortBy(sortBy *string) *AdminGetGoalsParams

WithSortBy adds the sortBy to the admin get goals params

func (*AdminGetGoalsParams) WithTags added in v0.78.0

func (o *AdminGetGoalsParams) WithTags(tags []string) *AdminGetGoalsParams

WithTags adds the tags to the admin get goals params

func (*AdminGetGoalsParams) WithTimeout

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

WithTimeout adds the timeout to the admin get goals params

func (*AdminGetGoalsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminGetGoalsReader

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

AdminGetGoalsReader is a Reader for the AdminGetGoals structure.

func (*AdminGetGoalsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetGoalsUnauthorized

type AdminGetGoalsUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminGetGoalsUnauthorized 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 NewAdminGetGoalsUnauthorized

func NewAdminGetGoalsUnauthorized() *AdminGetGoalsUnauthorized

NewAdminGetGoalsUnauthorized creates a AdminGetGoalsUnauthorized with default headers values

func (*AdminGetGoalsUnauthorized) Error

func (o *AdminGetGoalsUnauthorized) Error() string

func (*AdminGetGoalsUnauthorized) GetPayload

func (*AdminGetGoalsUnauthorized) ToJSONString

func (o *AdminGetGoalsUnauthorized) ToJSONString() string

type AdminMoveGoalToSlotBadRequest added in v0.89.0

type AdminMoveGoalToSlotBadRequest struct {
	Payload *challengeclientmodels.ResponseError
}

AdminMoveGoalToSlotBadRequest 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 NewAdminMoveGoalToSlotBadRequest added in v0.89.0

func NewAdminMoveGoalToSlotBadRequest() *AdminMoveGoalToSlotBadRequest

NewAdminMoveGoalToSlotBadRequest creates a AdminMoveGoalToSlotBadRequest with default headers values

func (*AdminMoveGoalToSlotBadRequest) Error added in v0.89.0

func (*AdminMoveGoalToSlotBadRequest) GetPayload added in v0.89.0

func (*AdminMoveGoalToSlotBadRequest) ToJSONString added in v0.89.0

func (o *AdminMoveGoalToSlotBadRequest) ToJSONString() string

type AdminMoveGoalToSlotForbidden added in v0.89.0

type AdminMoveGoalToSlotForbidden struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminMoveGoalToSlotForbidden 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 NewAdminMoveGoalToSlotForbidden added in v0.89.0

func NewAdminMoveGoalToSlotForbidden() *AdminMoveGoalToSlotForbidden

NewAdminMoveGoalToSlotForbidden creates a AdminMoveGoalToSlotForbidden with default headers values

func (*AdminMoveGoalToSlotForbidden) Error added in v0.89.0

func (*AdminMoveGoalToSlotForbidden) GetPayload added in v0.89.0

func (*AdminMoveGoalToSlotForbidden) ToJSONString added in v0.89.0

func (o *AdminMoveGoalToSlotForbidden) ToJSONString() string

type AdminMoveGoalToSlotInternalServerError added in v0.89.0

type AdminMoveGoalToSlotInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminMoveGoalToSlotInternalServerError 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 NewAdminMoveGoalToSlotInternalServerError added in v0.89.0

func NewAdminMoveGoalToSlotInternalServerError() *AdminMoveGoalToSlotInternalServerError

NewAdminMoveGoalToSlotInternalServerError creates a AdminMoveGoalToSlotInternalServerError with default headers values

func (*AdminMoveGoalToSlotInternalServerError) Error added in v0.89.0

func (*AdminMoveGoalToSlotInternalServerError) GetPayload added in v0.89.0

func (*AdminMoveGoalToSlotInternalServerError) ToJSONString added in v0.89.0

type AdminMoveGoalToSlotNoContent added in v0.89.0

type AdminMoveGoalToSlotNoContent struct {
}

AdminMoveGoalToSlotNoContent handles this case with default header values.

goal moved successfully

func NewAdminMoveGoalToSlotNoContent added in v0.89.0

func NewAdminMoveGoalToSlotNoContent() *AdminMoveGoalToSlotNoContent

NewAdminMoveGoalToSlotNoContent creates a AdminMoveGoalToSlotNoContent with default headers values

func (*AdminMoveGoalToSlotNoContent) Error added in v0.89.0

type AdminMoveGoalToSlotNotFound added in v0.89.0

type AdminMoveGoalToSlotNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminMoveGoalToSlotNotFound 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 NewAdminMoveGoalToSlotNotFound added in v0.89.0

func NewAdminMoveGoalToSlotNotFound() *AdminMoveGoalToSlotNotFound

NewAdminMoveGoalToSlotNotFound creates a AdminMoveGoalToSlotNotFound with default headers values

func (*AdminMoveGoalToSlotNotFound) Error added in v0.89.0

func (*AdminMoveGoalToSlotNotFound) GetPayload added in v0.89.0

func (*AdminMoveGoalToSlotNotFound) ToJSONString added in v0.89.0

func (o *AdminMoveGoalToSlotNotFound) ToJSONString() string

type AdminMoveGoalToSlotParams added in v0.89.0

type AdminMoveGoalToSlotParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *challengeclientmodels.ModelMoveGoalToSlotRequest
	/*ChallengeCode
	  challenge code

	*/
	ChallengeCode string
	/*Code
	  goal code

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

AdminMoveGoalToSlotParams contains all the parameters to send to the API endpoint for the admin move goal to slot operation typically these are written to a http.Request

func NewAdminMoveGoalToSlotParams added in v0.89.0

func NewAdminMoveGoalToSlotParams() *AdminMoveGoalToSlotParams

NewAdminMoveGoalToSlotParams creates a new AdminMoveGoalToSlotParams object with the default values initialized.

func NewAdminMoveGoalToSlotParamsWithContext added in v0.89.0

func NewAdminMoveGoalToSlotParamsWithContext(ctx context.Context) *AdminMoveGoalToSlotParams

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

func NewAdminMoveGoalToSlotParamsWithHTTPClient added in v0.89.0

func NewAdminMoveGoalToSlotParamsWithHTTPClient(client *http.Client) *AdminMoveGoalToSlotParams

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

func NewAdminMoveGoalToSlotParamsWithTimeout added in v0.89.0

func NewAdminMoveGoalToSlotParamsWithTimeout(timeout time.Duration) *AdminMoveGoalToSlotParams

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

func (*AdminMoveGoalToSlotParams) SetAuthInfoWriter added in v0.89.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) SetBody added in v0.89.0

SetBody adds the body to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) SetChallengeCode added in v0.89.0

func (o *AdminMoveGoalToSlotParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) SetCode added in v0.89.0

func (o *AdminMoveGoalToSlotParams) SetCode(code string)

SetCode adds the code to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) SetContext added in v0.89.0

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

SetContext adds the context to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) SetFlightId added in v0.89.0

func (o *AdminMoveGoalToSlotParams) SetFlightId(flightId string)

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

func (*AdminMoveGoalToSlotParams) SetHTTPClient added in v0.89.0

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

SetHTTPClient adds the HTTPClient to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) SetHTTPClientTransport added in v0.89.0

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

SetHTTPClient adds the HTTPClient Transport to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) SetNamespace added in v0.89.0

func (o *AdminMoveGoalToSlotParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) SetTimeout added in v0.89.0

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

SetTimeout adds the timeout to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) WithBody added in v0.89.0

WithBody adds the body to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) WithChallengeCode added in v0.89.0

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

WithChallengeCode adds the challengeCode to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) WithCode added in v0.89.0

WithCode adds the code to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) WithContext added in v0.89.0

WithContext adds the context to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) WithHTTPClient added in v0.89.0

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

WithHTTPClient adds the HTTPClient to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) WithNamespace added in v0.89.0

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

WithNamespace adds the namespace to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) WithTimeout added in v0.89.0

WithTimeout adds the timeout to the admin move goal to slot params

func (*AdminMoveGoalToSlotParams) WriteToRequest added in v0.89.0

WriteToRequest writes these params to a swagger request

type AdminMoveGoalToSlotReader added in v0.89.0

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

AdminMoveGoalToSlotReader is a Reader for the AdminMoveGoalToSlot structure.

func (*AdminMoveGoalToSlotReader) ReadResponse added in v0.89.0

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

ReadResponse reads a server response into the received o.

type AdminMoveGoalToSlotUnauthorized added in v0.89.0

type AdminMoveGoalToSlotUnauthorized struct {
	Payload *challengeclientmodels.IamErrorResponse
}

AdminMoveGoalToSlotUnauthorized 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 NewAdminMoveGoalToSlotUnauthorized added in v0.89.0

func NewAdminMoveGoalToSlotUnauthorized() *AdminMoveGoalToSlotUnauthorized

NewAdminMoveGoalToSlotUnauthorized creates a AdminMoveGoalToSlotUnauthorized with default headers values

func (*AdminMoveGoalToSlotUnauthorized) Error added in v0.89.0

func (*AdminMoveGoalToSlotUnauthorized) GetPayload added in v0.89.0

func (*AdminMoveGoalToSlotUnauthorized) ToJSONString added in v0.89.0

func (o *AdminMoveGoalToSlotUnauthorized) ToJSONString() string

type AdminMoveGoalToSlotUnprocessableEntity added in v0.89.0

type AdminMoveGoalToSlotUnprocessableEntity struct {
	Payload *challengeclientmodels.ResponseError
}

AdminMoveGoalToSlotUnprocessableEntity handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>99004</td><td>unprocessable entity: {{message}}</td></tr></table>

func NewAdminMoveGoalToSlotUnprocessableEntity added in v0.89.0

func NewAdminMoveGoalToSlotUnprocessableEntity() *AdminMoveGoalToSlotUnprocessableEntity

NewAdminMoveGoalToSlotUnprocessableEntity creates a AdminMoveGoalToSlotUnprocessableEntity with default headers values

func (*AdminMoveGoalToSlotUnprocessableEntity) Error added in v0.89.0

func (*AdminMoveGoalToSlotUnprocessableEntity) GetPayload added in v0.89.0

func (*AdminMoveGoalToSlotUnprocessableEntity) ToJSONString added in v0.89.0

type AdminUpdateGoalsBadRequest added in v0.70.0

type AdminUpdateGoalsBadRequest struct {
	Payload *challengeclientmodels.ResponseError
}

AdminUpdateGoalsBadRequest 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 NewAdminUpdateGoalsBadRequest added in v0.70.0

func NewAdminUpdateGoalsBadRequest() *AdminUpdateGoalsBadRequest

NewAdminUpdateGoalsBadRequest creates a AdminUpdateGoalsBadRequest with default headers values

func (*AdminUpdateGoalsBadRequest) Error added in v0.70.0

func (*AdminUpdateGoalsBadRequest) GetPayload added in v0.70.0

func (*AdminUpdateGoalsBadRequest) ToJSONString added in v0.70.0

func (o *AdminUpdateGoalsBadRequest) ToJSONString() string

type AdminUpdateGoalsInternalServerError

type AdminUpdateGoalsInternalServerError struct {
	Payload *challengeclientmodels.ResponseError
}

AdminUpdateGoalsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUpdateGoalsInternalServerError

func NewAdminUpdateGoalsInternalServerError() *AdminUpdateGoalsInternalServerError

NewAdminUpdateGoalsInternalServerError creates a AdminUpdateGoalsInternalServerError with default headers values

func (*AdminUpdateGoalsInternalServerError) Error

func (*AdminUpdateGoalsInternalServerError) GetPayload

func (*AdminUpdateGoalsInternalServerError) ToJSONString

func (o *AdminUpdateGoalsInternalServerError) ToJSONString() string

type AdminUpdateGoalsNotFound

type AdminUpdateGoalsNotFound struct {
	Payload *challengeclientmodels.ResponseError
}

AdminUpdateGoalsNotFound handles this case with default header values.

Not Found

func NewAdminUpdateGoalsNotFound

func NewAdminUpdateGoalsNotFound() *AdminUpdateGoalsNotFound

NewAdminUpdateGoalsNotFound creates a AdminUpdateGoalsNotFound with default headers values

func (*AdminUpdateGoalsNotFound) Error

func (o *AdminUpdateGoalsNotFound) Error() string

func (*AdminUpdateGoalsNotFound) GetPayload

func (*AdminUpdateGoalsNotFound) ToJSONString

func (o *AdminUpdateGoalsNotFound) ToJSONString() string

type AdminUpdateGoalsOK

type AdminUpdateGoalsOK struct {
	Payload *challengeclientmodels.ModelGoalResponse
}

AdminUpdateGoalsOK handles this case with default header values.

OK

func NewAdminUpdateGoalsOK

func NewAdminUpdateGoalsOK() *AdminUpdateGoalsOK

NewAdminUpdateGoalsOK creates a AdminUpdateGoalsOK with default headers values

func (*AdminUpdateGoalsOK) Error

func (o *AdminUpdateGoalsOK) Error() string

func (*AdminUpdateGoalsOK) GetPayload

func (*AdminUpdateGoalsOK) ToJSONString

func (o *AdminUpdateGoalsOK) ToJSONString() string

type AdminUpdateGoalsParams

type AdminUpdateGoalsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *challengeclientmodels.ModelUpdateGoalRequest
	/*ChallengeCode
	  challenge code

	*/
	ChallengeCode string
	/*Code
	  goal code

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

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

func NewAdminUpdateGoalsParams

func NewAdminUpdateGoalsParams() *AdminUpdateGoalsParams

NewAdminUpdateGoalsParams creates a new AdminUpdateGoalsParams object with the default values initialized.

func NewAdminUpdateGoalsParamsWithContext

func NewAdminUpdateGoalsParamsWithContext(ctx context.Context) *AdminUpdateGoalsParams

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

func NewAdminUpdateGoalsParamsWithHTTPClient

func NewAdminUpdateGoalsParamsWithHTTPClient(client *http.Client) *AdminUpdateGoalsParams

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

func NewAdminUpdateGoalsParamsWithTimeout

func NewAdminUpdateGoalsParamsWithTimeout(timeout time.Duration) *AdminUpdateGoalsParams

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

func (*AdminUpdateGoalsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin update goals params

func (*AdminUpdateGoalsParams) SetBody

SetBody adds the body to the admin update goals params

func (*AdminUpdateGoalsParams) SetChallengeCode

func (o *AdminUpdateGoalsParams) SetChallengeCode(challengeCode string)

SetChallengeCode adds the challengeCode to the admin update goals params

func (*AdminUpdateGoalsParams) SetCode

func (o *AdminUpdateGoalsParams) SetCode(code string)

SetCode adds the code to the admin update goals params

func (*AdminUpdateGoalsParams) SetContext

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

SetContext adds the context to the admin update goals params

func (*AdminUpdateGoalsParams) SetFlightId

func (o *AdminUpdateGoalsParams) SetFlightId(flightId string)

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

func (*AdminUpdateGoalsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update goals params

func (*AdminUpdateGoalsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin update goals params

func (*AdminUpdateGoalsParams) SetNamespace

func (o *AdminUpdateGoalsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update goals params

func (*AdminUpdateGoalsParams) SetTimeout

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

SetTimeout adds the timeout to the admin update goals params

func (*AdminUpdateGoalsParams) WithBody

WithBody adds the body to the admin update goals params

func (*AdminUpdateGoalsParams) WithChallengeCode

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

WithChallengeCode adds the challengeCode to the admin update goals params

func (*AdminUpdateGoalsParams) WithCode

WithCode adds the code to the admin update goals params

func (*AdminUpdateGoalsParams) WithContext

WithContext adds the context to the admin update goals params

func (*AdminUpdateGoalsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin update goals params

func (*AdminUpdateGoalsParams) WithNamespace

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

WithNamespace adds the namespace to the admin update goals params

func (*AdminUpdateGoalsParams) WithTimeout

WithTimeout adds the timeout to the admin update goals params

func (*AdminUpdateGoalsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateGoalsReader

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

AdminUpdateGoalsReader is a Reader for the AdminUpdateGoals structure.

func (*AdminUpdateGoalsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateGoalsUnprocessableEntity added in v0.74.0

type AdminUpdateGoalsUnprocessableEntity struct {
	Payload *challengeclientmodels.ResponseError
}

AdminUpdateGoalsUnprocessableEntity handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>99004</td><td>unprocessable entity: {{message}}</td></tr></table>

func NewAdminUpdateGoalsUnprocessableEntity added in v0.74.0

func NewAdminUpdateGoalsUnprocessableEntity() *AdminUpdateGoalsUnprocessableEntity

NewAdminUpdateGoalsUnprocessableEntity creates a AdminUpdateGoalsUnprocessableEntity with default headers values

func (*AdminUpdateGoalsUnprocessableEntity) Error added in v0.74.0

func (*AdminUpdateGoalsUnprocessableEntity) GetPayload added in v0.74.0

func (*AdminUpdateGoalsUnprocessableEntity) ToJSONString added in v0.74.0

func (o *AdminUpdateGoalsUnprocessableEntity) ToJSONString() string

type Client

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

Client for goal configuration API

func (*Client) AdminCreateGoal deprecated

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

AdminCreateGoal create new goal - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [CREATE] Request body: - code: unique within a challenge. - name: name of the goal. - description: text describing the goal (optional). - schedule: a time range that indicated the availability of a goal within a timeframe. Used in FIXED assignment rule, this will be required in that case. - requirementGroups: contains array of objects consisting of operator and predicates attribute. When requirements evaluation happened, each item's predicates will be evaluated first, by operating the predicates with given operator. After all items evaluated, the results of the evaluation on each item then will be logically evaluated using OR operator. - operator: logical operator used to validate the completion of a goal. a goal is considered complete once complete predicates operated with operator result in true. - predicates: list of progression parameters to be tracked. - parameterType: the type of parameter for challenge to be progressed with. the available options are: - STATISTIC: progress by user statistic item value. - STATISTIC_CYCLE: progress user statistic cycle item value. statCycleId must be included. - ACHIEVEMENT: progress by user achievement. - USERACCOUNT: progress by user account event. - ENTITLEMENT: progress by user's item entitlement ownership. Supported item types are APP, CODE, INGAMEITEM, LOOTBOX, MEDIA, and OPTIONBOX. - parameterName: the name of the parameter for challenge to be progressed with. - STATISTIC: refers to stat code. - STATISTIC_CYCLE: refers to stat code with statCycleId must be included. - ACHIEVEMENT: refers to achievement code. - USERACCOUNT: refers to a specific event related to user accounts. The current possible events include: userAccountCreated, gameUserAccountCreated, userAccountVerified, userAccountLinked, userAccountUpgraded, thirdPartyAccountCreated, userLoggedIn, userThirdPartyLoggedIn and fullAccount. - For the **userAccountLinked** event, **parameterName** will utilize **platformId** rather than the event name. This will be validated against the list of active third-party accounts configuration within the namespace, such as *psn*, *steam*, or *device*. - ENTITLEMENT: ecommerce store's item SKU. - matcher: the comparison operator used to compare the current value of a parameter and targetValue to validate the completion of a predicate. Possible values are EQUAL, LESS_THAN, GREATER_THAN, LESS_THAN_EQUAL, and GREATER_THAN_EQUAL. - targetValue: the target number to be reached by the parameter. - statCycleId: specify the statCycleId used to track statistic value in a cycle with STATISTIC_CYCLE parameterType (optional). - rewards: list of rewards that will be claimable once a goal is complete. - tags: goal's labels. - isActive: when goal is in a schedule, isActive determine whether goal is active to progress or not. Goal describe set of requirements that need to be fulfilled by players in order to complete it and describe what is the rewards given to player when they complete the goal. The requirement will have target value and a operator that will evaluate that against an observable player�s attribute (e.g. statistic, entitlement). Goal belongs to a challenge. Supported item type for ENTITLEMENT reward type: APP, BUNDLE, CODE, COINS, EXTENSION, INGAMEITEM, LOOTBOX, MEDIA, OPTIONBOX. Number of goals per challenge is **limited to 100 goals**.

**Important** Add a new goal in a TIED challenge may affect users' data, please do not do this unless it's necessary. Then new goal will take effect in the next evaluation

func (*Client) AdminCreateGoalShort

func (a *Client) AdminCreateGoalShort(params *AdminCreateGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateGoalCreated, error)

AdminCreateGoalShort create new goal - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [CREATE] Request body: - code: unique within a challenge. - name: name of the goal. - description: text describing the goal (optional). - schedule: a time range that indicated the availability of a goal within a timeframe. Used in FIXED assignment rule, this will be required in that case. - requirementGroups: contains array of objects consisting of operator and predicates attribute. When requirements evaluation happened, each item's predicates will be evaluated first, by operating the predicates with given operator. After all items evaluated, the results of the evaluation on each item then will be logically evaluated using OR operator. - operator: logical operator used to validate the completion of a goal. a goal is considered complete once complete predicates operated with operator result in true. - predicates: list of progression parameters to be tracked. - parameterType: the type of parameter for challenge to be progressed with. the available options are: - STATISTIC: progress by user statistic item value. - STATISTIC_CYCLE: progress user statistic cycle item value. statCycleId must be included. - ACHIEVEMENT: progress by user achievement. - USERACCOUNT: progress by user account event. - ENTITLEMENT: progress by user's item entitlement ownership. Supported item types are APP, CODE, INGAMEITEM, LOOTBOX, MEDIA, and OPTIONBOX. - parameterName: the name of the parameter for challenge to be progressed with. - STATISTIC: refers to stat code. - STATISTIC_CYCLE: refers to stat code with statCycleId must be included. - ACHIEVEMENT: refers to achievement code. - USERACCOUNT: refers to a specific event related to user accounts. The current possible events include: userAccountCreated, gameUserAccountCreated, userAccountVerified, userAccountLinked, userAccountUpgraded, thirdPartyAccountCreated, userLoggedIn, userThirdPartyLoggedIn and fullAccount. - For the **userAccountLinked** event, **parameterName** will utilize **platformId** rather than the event name. This will be validated against the list of active third-party accounts configuration within the namespace, such as *psn*, *steam*, or *device*. - ENTITLEMENT: ecommerce store's item SKU. - matcher: the comparison operator used to compare the current value of a parameter and targetValue to validate the completion of a predicate. Possible values are EQUAL, LESS_THAN, GREATER_THAN, LESS_THAN_EQUAL, and GREATER_THAN_EQUAL. - targetValue: the target number to be reached by the parameter. - statCycleId: specify the statCycleId used to track statistic value in a cycle with STATISTIC_CYCLE parameterType (optional). - rewards: list of rewards that will be claimable once a goal is complete. - tags: goal's labels. - isActive: when goal is in a schedule, isActive determine whether goal is active to progress or not. Goal describe set of requirements that need to be fulfilled by players in order to complete it and describe what is the rewards given to player when they complete the goal. The requirement will have target value and a operator that will evaluate that against an observable player�s attribute (e.g. statistic, entitlement). Goal belongs to a challenge. Supported item type for ENTITLEMENT reward type: APP, BUNDLE, CODE, COINS, EXTENSION, INGAMEITEM, LOOTBOX, MEDIA, OPTIONBOX. Number of goals per challenge is **limited to 100 goals**.

**Important** Add a new goal in a TIED challenge may affect users' data, please do not do this unless it's necessary. Then new goal will take effect in the next evaluation

func (*Client) AdminDeleteGoal deprecated

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

AdminDeleteGoal delete goal - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [DELETE]

**Important** Delete a goal in a TIED challenge may affect/delete users' data, please do not delete a TIED goal unless it's necessary. User data will be deleted in the next evaluation

func (*Client) AdminDeleteGoalShort

func (a *Client) AdminDeleteGoalShort(params *AdminDeleteGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGoalNoContent, error)

AdminDeleteGoalShort delete goal - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [DELETE]

**Important** Delete a goal in a TIED challenge may affect/delete users' data, please do not delete a TIED goal unless it's necessary. User data will be deleted in the next evaluation

func (*Client) AdminGetChallengeSlots deprecated added in v0.89.0

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

AdminGetChallengeSlots get challenge slots - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ] Returns the slot configuration for a FIXED or RANDOMIZED (non-per-rotation) assignment challenge. For repeating challenges (repeatAfter set), the response contains two separate fields: - templateSlots: the authoritative future configuration from TemplateSlots (goals only, no timing). - currentRound: the actual running state of the current (or nearest) round (goals + startTime/endTime from schedule documents). These two may differ when a slot move was deferred because the target slot was active. For non-repeating challenges, only currentRound is returned (templateSlots is absent).

func (*Client) AdminGetChallengeSlotsShort added in v0.89.0

func (a *Client) AdminGetChallengeSlotsShort(params *AdminGetChallengeSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengeSlotsOK, error)

AdminGetChallengeSlotsShort get challenge slots - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ] Returns the slot configuration for a FIXED or RANDOMIZED (non-per-rotation) assignment challenge. For repeating challenges (repeatAfter set), the response contains two separate fields: - templateSlots: the authoritative future configuration from TemplateSlots (goals only, no timing). - currentRound: the actual running state of the current (or nearest) round (goals + startTime/endTime from schedule documents). These two may differ when a slot move was deferred because the target slot was active. For non-repeating challenges, only currentRound is returned (templateSlots is absent).

func (*Client) AdminGetGoal deprecated

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

AdminGetGoal get goal - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]

func (*Client) AdminGetGoalShort

func (a *Client) AdminGetGoalShort(params *AdminGetGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGoalOK, error)

AdminGetGoalShort get goal - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]

func (*Client) AdminGetGoals deprecated

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

AdminGetGoals list goals of a challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]

func (*Client) AdminGetGoalsShort

func (a *Client) AdminGetGoalsShort(params *AdminGetGoalsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGoalsOK, error)

AdminGetGoalsShort list goals of a challenge - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [READ]

func (*Client) AdminMoveGoalToSlot deprecated added in v0.89.0

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

AdminMoveGoalToSlot move goal to another slot - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [UPDATE] Moves a goal to a target slot in a FIXED or non-per-rotation RANDOMIZED challenge with repeatAfter set. slotIndex is 0-based and must be in [0, repeatAfter-1]. Pass slotIndex = -1 to remove the goal from all slots; it will no longer appear in future rounds. TemplateSlots and all non-finished schedule documents are updated immediately. The currently active schedule document for the affected slot is skipped to avoid disrupting in-progress user progressions; the change takes effect from the next round. Finished (past) schedule documents are never modified.

func (*Client) AdminMoveGoalToSlotShort added in v0.89.0

func (a *Client) AdminMoveGoalToSlotShort(params *AdminMoveGoalToSlotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminMoveGoalToSlotNoContent, error)

AdminMoveGoalToSlotShort move goal to another slot - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [UPDATE] Moves a goal to a target slot in a FIXED or non-per-rotation RANDOMIZED challenge with repeatAfter set. slotIndex is 0-based and must be in [0, repeatAfter-1]. Pass slotIndex = -1 to remove the goal from all slots; it will no longer appear in future rounds. TemplateSlots and all non-finished schedule documents are updated immediately. The currently active schedule document for the affected slot is skipped to avoid disrupting in-progress user progressions; the change takes effect from the next round. Finished (past) schedule documents are never modified.

func (*Client) AdminUpdateGoals deprecated

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

AdminUpdateGoals update goal - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [UPDATE] ### Request body: - name: name of the goal. - description: text describing the goal (optional). - schedule: a time range that indicated the availability of a goal within a timeframe. Used in FIXED assignment rule, this will be required in that case. - requirementGroups: contains array of objects consisting of operator and predicates attribute. When requirements evaluation happened, each item's predicates will be evaluated first, by operating the predicates with given operator. After all items evaluated, the results of the evaluation on each item then will be logically evaluated using OR operator. - operator: logical operator used to validate the completion of a goal. a goal is considered complete once complete predicates operated with operator result in true. - predicates: list of progression parameters to be tracked. - parameterType: the type of parameter for challenge to be progressed with. the available options are: - STATISTIC: progress by user statistic item value. - STATISTIC_CYCLE: progress user statistic cycle item value. statCycleId must be included. - ACHIEVEMENT: progress by user achievement. - USERACCOUNT: progress by user account event. - ENTITLEMENT: progress by user's item entitlement ownership. Supported item types are APP, CODE, INGAMEITEM, LOOTBOX, MEDIA, and OPTIONBOX. - parameterName: the name of the parameter for challenge to be progressed with. - STATISTIC: refers to stat code. - STATISTIC_CYCLE: refers to stat code with statCycleId must be included. - ACHIEVEMENT: refers to achievement code. - USERACCOUNT: one of the user account event. Current possible values are (userAccountCreated, gameUserAccountCreated, userAccountVerified, userAccountLinked, userAccountUpgraded,thirdPartyAccountCreated). - ENTITLEMENT: ecommerce store's item SKU. - matcher: the comparison operator used to compare the current value of a parameter and targetValue to validate the completion of a predicate. Possible values are EQUAL, LESS_THAN, GREATER_THAN, LESS_THAN_EQUAL, and GREATER_THAN_EQUAL. - targetValue: the target number to be reached by the parameter. - statCycleId: specify the statCycleId used to track statistic value in a cycle with STATISTIC_CYCLE parameterType (optional). - rewards: list of rewards that will be claimable once a goal is complete. - tags: goal's labels. - isActive: when goal is in a schedule, isActive determine whether goal is active to progress or not (optional). Goal describe set of requirements that need to be fulfilled by players in order to complete it and describe what is the rewards given to player when they complete the goal. The requirement will have target value and a operator that will evaluate that against an observable player�s attribute (e.g. statistic, entitlement). Goal belongs to a challenge. Supported item type for ENTITLEMENT reward type: APP, BUNDLE, CODE, COINS, EXTENSION, INGAMEITEM, LOOTBOX, MEDIA, OPTIONBOX

**Important** - Update a goal in a TIED challenge may affect users' data, please do not update a TIED goal unless it's necessary. The updated goal will take effect in the next evaluation. - When updating an existing predicate, ensure to put the predicate id in the request, otherwise a new predicate will be created with a new id

func (*Client) AdminUpdateGoalsShort

func (a *Client) AdminUpdateGoalsShort(params *AdminUpdateGoalsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGoalsOK, error)

AdminUpdateGoalsShort update goal - Required permission: ADMIN:NAMESPACE:{namespace}:CHALLENGE [UPDATE] ### Request body: - name: name of the goal. - description: text describing the goal (optional). - schedule: a time range that indicated the availability of a goal within a timeframe. Used in FIXED assignment rule, this will be required in that case. - requirementGroups: contains array of objects consisting of operator and predicates attribute. When requirements evaluation happened, each item's predicates will be evaluated first, by operating the predicates with given operator. After all items evaluated, the results of the evaluation on each item then will be logically evaluated using OR operator. - operator: logical operator used to validate the completion of a goal. a goal is considered complete once complete predicates operated with operator result in true. - predicates: list of progression parameters to be tracked. - parameterType: the type of parameter for challenge to be progressed with. the available options are: - STATISTIC: progress by user statistic item value. - STATISTIC_CYCLE: progress user statistic cycle item value. statCycleId must be included. - ACHIEVEMENT: progress by user achievement. - USERACCOUNT: progress by user account event. - ENTITLEMENT: progress by user's item entitlement ownership. Supported item types are APP, CODE, INGAMEITEM, LOOTBOX, MEDIA, and OPTIONBOX. - parameterName: the name of the parameter for challenge to be progressed with. - STATISTIC: refers to stat code. - STATISTIC_CYCLE: refers to stat code with statCycleId must be included. - ACHIEVEMENT: refers to achievement code. - USERACCOUNT: one of the user account event. Current possible values are (userAccountCreated, gameUserAccountCreated, userAccountVerified, userAccountLinked, userAccountUpgraded,thirdPartyAccountCreated). - ENTITLEMENT: ecommerce store's item SKU. - matcher: the comparison operator used to compare the current value of a parameter and targetValue to validate the completion of a predicate. Possible values are EQUAL, LESS_THAN, GREATER_THAN, LESS_THAN_EQUAL, and GREATER_THAN_EQUAL. - targetValue: the target number to be reached by the parameter. - statCycleId: specify the statCycleId used to track statistic value in a cycle with STATISTIC_CYCLE parameterType (optional). - rewards: list of rewards that will be claimable once a goal is complete. - tags: goal's labels. - isActive: when goal is in a schedule, isActive determine whether goal is active to progress or not (optional). Goal describe set of requirements that need to be fulfilled by players in order to complete it and describe what is the rewards given to player when they complete the goal. The requirement will have target value and a operator that will evaluate that against an observable player�s attribute (e.g. statistic, entitlement). Goal belongs to a challenge. Supported item type for ENTITLEMENT reward type: APP, BUNDLE, CODE, COINS, EXTENSION, INGAMEITEM, LOOTBOX, MEDIA, OPTIONBOX

**Important** - Update a goal in a TIED challenge may affect users' data, please do not update a TIED goal unless it's necessary. The updated goal will take effect in the next evaluation. - When updating an existing predicate, ensure to put the predicate id in the request, otherwise a new predicate will be created with a new id

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminGetGoals(params *AdminGetGoalsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGoalsOK, *AdminGetGoalsUnauthorized, *AdminGetGoalsForbidden, *AdminGetGoalsNotFound, *AdminGetGoalsInternalServerError, error)
	AdminGetGoalsShort(params *AdminGetGoalsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGoalsOK, error)
	AdminCreateGoal(params *AdminCreateGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateGoalCreated, *AdminCreateGoalBadRequest, *AdminCreateGoalUnauthorized, *AdminCreateGoalForbidden, *AdminCreateGoalNotFound, *AdminCreateGoalConflict, *AdminCreateGoalUnprocessableEntity, *AdminCreateGoalInternalServerError, error)
	AdminCreateGoalShort(params *AdminCreateGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateGoalCreated, error)
	AdminGetGoal(params *AdminGetGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGoalOK, *AdminGetGoalUnauthorized, *AdminGetGoalForbidden, *AdminGetGoalNotFound, *AdminGetGoalInternalServerError, error)
	AdminGetGoalShort(params *AdminGetGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetGoalOK, error)
	AdminUpdateGoals(params *AdminUpdateGoalsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGoalsOK, *AdminUpdateGoalsBadRequest, *AdminUpdateGoalsNotFound, *AdminUpdateGoalsUnprocessableEntity, *AdminUpdateGoalsInternalServerError, error)
	AdminUpdateGoalsShort(params *AdminUpdateGoalsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateGoalsOK, error)
	AdminDeleteGoal(params *AdminDeleteGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGoalNoContent, *AdminDeleteGoalBadRequest, *AdminDeleteGoalNotFound, *AdminDeleteGoalInternalServerError, error)
	AdminDeleteGoalShort(params *AdminDeleteGoalParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteGoalNoContent, error)
	AdminMoveGoalToSlot(params *AdminMoveGoalToSlotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminMoveGoalToSlotNoContent, *AdminMoveGoalToSlotBadRequest, *AdminMoveGoalToSlotUnauthorized, *AdminMoveGoalToSlotForbidden, *AdminMoveGoalToSlotNotFound, *AdminMoveGoalToSlotUnprocessableEntity, *AdminMoveGoalToSlotInternalServerError, error)
	AdminMoveGoalToSlotShort(params *AdminMoveGoalToSlotParams, authInfo runtime.ClientAuthInfoWriter) (*AdminMoveGoalToSlotNoContent, error)
	AdminGetChallengeSlots(params *AdminGetChallengeSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengeSlotsOK, *AdminGetChallengeSlotsUnauthorized, *AdminGetChallengeSlotsForbidden, *AdminGetChallengeSlotsNotFound, *AdminGetChallengeSlotsUnprocessableEntity, *AdminGetChallengeSlotsInternalServerError, error)
	AdminGetChallengeSlotsShort(params *AdminGetChallengeSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetChallengeSlotsOK, 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 goal configuration API client.

Jump to

Keyboard shortcuts

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