achievements

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminListAchievementsListOrderConstant     = "listOrder"
	AdminListAchievementsListOrderAscConstant  = "listOrder:asc"
	AdminListAchievementsListOrderDescConstant = "listOrder:desc"
	AdminListAchievementsCreatedAtConstant     = "createdAt"
	AdminListAchievementsCreatedAtAscConstant  = "createdAt:asc"
	AdminListAchievementsCreatedAtDescConstant = "createdAt:desc"
	AdminListAchievementsUpdatedAtConstant     = "updatedAt"
	AdminListAchievementsUpdatedAtAscConstant  = "updatedAt:asc"
	AdminListAchievementsUpdatedAtDescConstant = "updatedAt:desc"
)

Get the enum in AdminListAchievementsParams

View Source
const (
	PublicListAchievementsListOrderConstant     = "listOrder"
	PublicListAchievementsListOrderAscConstant  = "listOrder:asc"
	PublicListAchievementsListOrderDescConstant = "listOrder:desc"
	PublicListAchievementsCreatedAtConstant     = "createdAt"
	PublicListAchievementsCreatedAtAscConstant  = "createdAt:asc"
	PublicListAchievementsCreatedAtDescConstant = "createdAt:desc"
	PublicListAchievementsUpdatedAtConstant     = "updatedAt"
	PublicListAchievementsUpdatedAtAscConstant  = "updatedAt:asc"
	PublicListAchievementsUpdatedAtDescConstant = "updatedAt:desc"
)

Get the enum in PublicListAchievementsParams

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminCreateNewAchievementBadRequest

type AdminCreateNewAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminCreateNewAchievementBadRequest handles this case with default header values.

Bad Request

func NewAdminCreateNewAchievementBadRequest

func NewAdminCreateNewAchievementBadRequest() *AdminCreateNewAchievementBadRequest

NewAdminCreateNewAchievementBadRequest creates a AdminCreateNewAchievementBadRequest with default headers values

func (*AdminCreateNewAchievementBadRequest) Error

func (*AdminCreateNewAchievementBadRequest) GetPayload

func (*AdminCreateNewAchievementBadRequest) ToJSONString added in v0.25.0

func (o *AdminCreateNewAchievementBadRequest) ToJSONString() string

type AdminCreateNewAchievementCreated

type AdminCreateNewAchievementCreated struct {
	Payload *achievementclientmodels.ModelsAchievementResponse
}

AdminCreateNewAchievementCreated handles this case with default header values.

Created

func NewAdminCreateNewAchievementCreated

func NewAdminCreateNewAchievementCreated() *AdminCreateNewAchievementCreated

NewAdminCreateNewAchievementCreated creates a AdminCreateNewAchievementCreated with default headers values

func (*AdminCreateNewAchievementCreated) Error

func (*AdminCreateNewAchievementCreated) GetPayload

func (*AdminCreateNewAchievementCreated) ToJSONString added in v0.25.0

func (o *AdminCreateNewAchievementCreated) ToJSONString() string

type AdminCreateNewAchievementInternalServerError

type AdminCreateNewAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminCreateNewAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminCreateNewAchievementInternalServerError

func NewAdminCreateNewAchievementInternalServerError() *AdminCreateNewAchievementInternalServerError

NewAdminCreateNewAchievementInternalServerError creates a AdminCreateNewAchievementInternalServerError with default headers values

func (*AdminCreateNewAchievementInternalServerError) Error

func (*AdminCreateNewAchievementInternalServerError) GetPayload

func (*AdminCreateNewAchievementInternalServerError) ToJSONString added in v0.25.0

type AdminCreateNewAchievementParams

type AdminCreateNewAchievementParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *achievementclientmodels.ModelsAchievementRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewAdminCreateNewAchievementParams

func NewAdminCreateNewAchievementParams() *AdminCreateNewAchievementParams

NewAdminCreateNewAchievementParams creates a new AdminCreateNewAchievementParams object with the default values initialized.

func NewAdminCreateNewAchievementParamsWithContext

func NewAdminCreateNewAchievementParamsWithContext(ctx context.Context) *AdminCreateNewAchievementParams

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

func NewAdminCreateNewAchievementParamsWithHTTPClient

func NewAdminCreateNewAchievementParamsWithHTTPClient(client *http.Client) *AdminCreateNewAchievementParams

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

func NewAdminCreateNewAchievementParamsWithTimeout

func NewAdminCreateNewAchievementParamsWithTimeout(timeout time.Duration) *AdminCreateNewAchievementParams

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

func (*AdminCreateNewAchievementParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin create new achievement params

func (*AdminCreateNewAchievementParams) SetBody

SetBody adds the body to the admin create new achievement params

func (*AdminCreateNewAchievementParams) SetContext

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

SetContext adds the context to the admin create new achievement params

func (*AdminCreateNewAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create new achievement params

func (*AdminCreateNewAchievementParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin create new achievement params

func (*AdminCreateNewAchievementParams) SetNamespace

func (o *AdminCreateNewAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin create new achievement params

func (*AdminCreateNewAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the admin create new achievement params

func (*AdminCreateNewAchievementParams) WithBody

WithBody adds the body to the admin create new achievement params

func (*AdminCreateNewAchievementParams) WithContext

WithContext adds the context to the admin create new achievement params

func (*AdminCreateNewAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin create new achievement params

func (*AdminCreateNewAchievementParams) WithNamespace

WithNamespace adds the namespace to the admin create new achievement params

func (*AdminCreateNewAchievementParams) WithTimeout

WithTimeout adds the timeout to the admin create new achievement params

func (*AdminCreateNewAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreateNewAchievementReader

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

AdminCreateNewAchievementReader is a Reader for the AdminCreateNewAchievement structure.

func (*AdminCreateNewAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateNewAchievementUnauthorized

type AdminCreateNewAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminCreateNewAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewAdminCreateNewAchievementUnauthorized

func NewAdminCreateNewAchievementUnauthorized() *AdminCreateNewAchievementUnauthorized

NewAdminCreateNewAchievementUnauthorized creates a AdminCreateNewAchievementUnauthorized with default headers values

func (*AdminCreateNewAchievementUnauthorized) Error

func (*AdminCreateNewAchievementUnauthorized) GetPayload

func (*AdminCreateNewAchievementUnauthorized) ToJSONString added in v0.25.0

type AdminDeleteAchievementBadRequest

type AdminDeleteAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminDeleteAchievementBadRequest handles this case with default header values.

Bad Request

func NewAdminDeleteAchievementBadRequest

func NewAdminDeleteAchievementBadRequest() *AdminDeleteAchievementBadRequest

NewAdminDeleteAchievementBadRequest creates a AdminDeleteAchievementBadRequest with default headers values

func (*AdminDeleteAchievementBadRequest) Error

func (*AdminDeleteAchievementBadRequest) GetPayload

func (*AdminDeleteAchievementBadRequest) ToJSONString added in v0.25.0

func (o *AdminDeleteAchievementBadRequest) ToJSONString() string

type AdminDeleteAchievementInternalServerError

type AdminDeleteAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminDeleteAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminDeleteAchievementInternalServerError

func NewAdminDeleteAchievementInternalServerError() *AdminDeleteAchievementInternalServerError

NewAdminDeleteAchievementInternalServerError creates a AdminDeleteAchievementInternalServerError with default headers values

func (*AdminDeleteAchievementInternalServerError) Error

func (*AdminDeleteAchievementInternalServerError) GetPayload

func (*AdminDeleteAchievementInternalServerError) ToJSONString added in v0.25.0

type AdminDeleteAchievementNoContent

type AdminDeleteAchievementNoContent struct {
}

AdminDeleteAchievementNoContent handles this case with default header values.

No Content

func NewAdminDeleteAchievementNoContent

func NewAdminDeleteAchievementNoContent() *AdminDeleteAchievementNoContent

NewAdminDeleteAchievementNoContent creates a AdminDeleteAchievementNoContent with default headers values

func (*AdminDeleteAchievementNoContent) Error

type AdminDeleteAchievementNotFound

type AdminDeleteAchievementNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

AdminDeleteAchievementNotFound handles this case with default header values.

Not Found

func NewAdminDeleteAchievementNotFound

func NewAdminDeleteAchievementNotFound() *AdminDeleteAchievementNotFound

NewAdminDeleteAchievementNotFound creates a AdminDeleteAchievementNotFound with default headers values

func (*AdminDeleteAchievementNotFound) Error

func (*AdminDeleteAchievementNotFound) GetPayload

func (*AdminDeleteAchievementNotFound) ToJSONString added in v0.25.0

func (o *AdminDeleteAchievementNotFound) ToJSONString() string

type AdminDeleteAchievementParams

type AdminDeleteAchievementParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewAdminDeleteAchievementParams

func NewAdminDeleteAchievementParams() *AdminDeleteAchievementParams

NewAdminDeleteAchievementParams creates a new AdminDeleteAchievementParams object with the default values initialized.

func NewAdminDeleteAchievementParamsWithContext

func NewAdminDeleteAchievementParamsWithContext(ctx context.Context) *AdminDeleteAchievementParams

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

func NewAdminDeleteAchievementParamsWithHTTPClient

func NewAdminDeleteAchievementParamsWithHTTPClient(client *http.Client) *AdminDeleteAchievementParams

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

func NewAdminDeleteAchievementParamsWithTimeout

func NewAdminDeleteAchievementParamsWithTimeout(timeout time.Duration) *AdminDeleteAchievementParams

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

func (*AdminDeleteAchievementParams) SetAchievementCode

func (o *AdminDeleteAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin delete achievement params

func (*AdminDeleteAchievementParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin delete achievement params

func (*AdminDeleteAchievementParams) SetContext

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

SetContext adds the context to the admin delete achievement params

func (*AdminDeleteAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete achievement params

func (*AdminDeleteAchievementParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin delete achievement params

func (*AdminDeleteAchievementParams) SetNamespace

func (o *AdminDeleteAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin delete achievement params

func (*AdminDeleteAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the admin delete achievement params

func (*AdminDeleteAchievementParams) WithAchievementCode

func (o *AdminDeleteAchievementParams) WithAchievementCode(achievementCode string) *AdminDeleteAchievementParams

WithAchievementCode adds the achievementCode to the admin delete achievement params

func (*AdminDeleteAchievementParams) WithContext

WithContext adds the context to the admin delete achievement params

func (*AdminDeleteAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin delete achievement params

func (*AdminDeleteAchievementParams) WithNamespace

WithNamespace adds the namespace to the admin delete achievement params

func (*AdminDeleteAchievementParams) WithTimeout

WithTimeout adds the timeout to the admin delete achievement params

func (*AdminDeleteAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminDeleteAchievementReader

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

AdminDeleteAchievementReader is a Reader for the AdminDeleteAchievement structure.

func (*AdminDeleteAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminDeleteAchievementUnauthorized

type AdminDeleteAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminDeleteAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewAdminDeleteAchievementUnauthorized

func NewAdminDeleteAchievementUnauthorized() *AdminDeleteAchievementUnauthorized

NewAdminDeleteAchievementUnauthorized creates a AdminDeleteAchievementUnauthorized with default headers values

func (*AdminDeleteAchievementUnauthorized) Error

func (*AdminDeleteAchievementUnauthorized) GetPayload

func (*AdminDeleteAchievementUnauthorized) ToJSONString added in v0.25.0

func (o *AdminDeleteAchievementUnauthorized) ToJSONString() string

type AdminGetAchievementBadRequest

type AdminGetAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminGetAchievementBadRequest handles this case with default header values.

Bad Request

func NewAdminGetAchievementBadRequest

func NewAdminGetAchievementBadRequest() *AdminGetAchievementBadRequest

NewAdminGetAchievementBadRequest creates a AdminGetAchievementBadRequest with default headers values

func (*AdminGetAchievementBadRequest) Error

func (*AdminGetAchievementBadRequest) GetPayload

func (*AdminGetAchievementBadRequest) ToJSONString added in v0.25.0

func (o *AdminGetAchievementBadRequest) ToJSONString() string

type AdminGetAchievementInternalServerError

type AdminGetAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminGetAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetAchievementInternalServerError

func NewAdminGetAchievementInternalServerError() *AdminGetAchievementInternalServerError

NewAdminGetAchievementInternalServerError creates a AdminGetAchievementInternalServerError with default headers values

func (*AdminGetAchievementInternalServerError) Error

func (*AdminGetAchievementInternalServerError) GetPayload

func (*AdminGetAchievementInternalServerError) ToJSONString added in v0.25.0

type AdminGetAchievementNotFound

type AdminGetAchievementNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

AdminGetAchievementNotFound handles this case with default header values.

Not Found

func NewAdminGetAchievementNotFound

func NewAdminGetAchievementNotFound() *AdminGetAchievementNotFound

NewAdminGetAchievementNotFound creates a AdminGetAchievementNotFound with default headers values

func (*AdminGetAchievementNotFound) Error

func (*AdminGetAchievementNotFound) GetPayload

func (*AdminGetAchievementNotFound) ToJSONString added in v0.25.0

func (o *AdminGetAchievementNotFound) ToJSONString() string

type AdminGetAchievementOK

type AdminGetAchievementOK struct {
	Payload *achievementclientmodels.ModelsAchievementResponse
}

AdminGetAchievementOK handles this case with default header values.

OK

func NewAdminGetAchievementOK

func NewAdminGetAchievementOK() *AdminGetAchievementOK

NewAdminGetAchievementOK creates a AdminGetAchievementOK with default headers values

func (*AdminGetAchievementOK) Error

func (o *AdminGetAchievementOK) Error() string

func (*AdminGetAchievementOK) GetPayload

func (*AdminGetAchievementOK) ToJSONString added in v0.25.0

func (o *AdminGetAchievementOK) ToJSONString() string

type AdminGetAchievementParams

type AdminGetAchievementParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewAdminGetAchievementParams

func NewAdminGetAchievementParams() *AdminGetAchievementParams

NewAdminGetAchievementParams creates a new AdminGetAchievementParams object with the default values initialized.

func NewAdminGetAchievementParamsWithContext

func NewAdminGetAchievementParamsWithContext(ctx context.Context) *AdminGetAchievementParams

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

func NewAdminGetAchievementParamsWithHTTPClient

func NewAdminGetAchievementParamsWithHTTPClient(client *http.Client) *AdminGetAchievementParams

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

func NewAdminGetAchievementParamsWithTimeout

func NewAdminGetAchievementParamsWithTimeout(timeout time.Duration) *AdminGetAchievementParams

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

func (*AdminGetAchievementParams) SetAchievementCode

func (o *AdminGetAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin get achievement params

func (*AdminGetAchievementParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin get achievement params

func (*AdminGetAchievementParams) SetContext

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

SetContext adds the context to the admin get achievement params

func (*AdminGetAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get achievement params

func (*AdminGetAchievementParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin get achievement params

func (*AdminGetAchievementParams) SetNamespace

func (o *AdminGetAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get achievement params

func (*AdminGetAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the admin get achievement params

func (*AdminGetAchievementParams) WithAchievementCode

func (o *AdminGetAchievementParams) WithAchievementCode(achievementCode string) *AdminGetAchievementParams

WithAchievementCode adds the achievementCode to the admin get achievement params

func (*AdminGetAchievementParams) WithContext

WithContext adds the context to the admin get achievement params

func (*AdminGetAchievementParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get achievement params

func (*AdminGetAchievementParams) WithNamespace

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

WithNamespace adds the namespace to the admin get achievement params

func (*AdminGetAchievementParams) WithTimeout

WithTimeout adds the timeout to the admin get achievement params

func (*AdminGetAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetAchievementReader

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

AdminGetAchievementReader is a Reader for the AdminGetAchievement structure.

func (*AdminGetAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetAchievementUnauthorized

type AdminGetAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminGetAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewAdminGetAchievementUnauthorized

func NewAdminGetAchievementUnauthorized() *AdminGetAchievementUnauthorized

NewAdminGetAchievementUnauthorized creates a AdminGetAchievementUnauthorized with default headers values

func (*AdminGetAchievementUnauthorized) Error

func (*AdminGetAchievementUnauthorized) GetPayload

func (*AdminGetAchievementUnauthorized) ToJSONString added in v0.25.0

func (o *AdminGetAchievementUnauthorized) ToJSONString() string

type AdminListAchievementsBadRequest

type AdminListAchievementsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListAchievementsBadRequest handles this case with default header values.

Bad Request

func NewAdminListAchievementsBadRequest

func NewAdminListAchievementsBadRequest() *AdminListAchievementsBadRequest

NewAdminListAchievementsBadRequest creates a AdminListAchievementsBadRequest with default headers values

func (*AdminListAchievementsBadRequest) Error

func (*AdminListAchievementsBadRequest) GetPayload

func (*AdminListAchievementsBadRequest) ToJSONString added in v0.25.0

func (o *AdminListAchievementsBadRequest) ToJSONString() string

type AdminListAchievementsInternalServerError

type AdminListAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListAchievementsInternalServerError

func NewAdminListAchievementsInternalServerError() *AdminListAchievementsInternalServerError

NewAdminListAchievementsInternalServerError creates a AdminListAchievementsInternalServerError with default headers values

func (*AdminListAchievementsInternalServerError) Error

func (*AdminListAchievementsInternalServerError) GetPayload

func (*AdminListAchievementsInternalServerError) ToJSONString added in v0.25.0

type AdminListAchievementsNotFound

type AdminListAchievementsNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListAchievementsNotFound handles this case with default header values.

Not Found

func NewAdminListAchievementsNotFound

func NewAdminListAchievementsNotFound() *AdminListAchievementsNotFound

NewAdminListAchievementsNotFound creates a AdminListAchievementsNotFound with default headers values

func (*AdminListAchievementsNotFound) Error

func (*AdminListAchievementsNotFound) GetPayload

func (*AdminListAchievementsNotFound) ToJSONString added in v0.25.0

func (o *AdminListAchievementsNotFound) ToJSONString() string

type AdminListAchievementsOK

type AdminListAchievementsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedAchievementResponse
}

AdminListAchievementsOK handles this case with default header values.

OK

func NewAdminListAchievementsOK

func NewAdminListAchievementsOK() *AdminListAchievementsOK

NewAdminListAchievementsOK creates a AdminListAchievementsOK with default headers values

func (*AdminListAchievementsOK) Error

func (o *AdminListAchievementsOK) Error() string

func (*AdminListAchievementsOK) GetPayload

func (*AdminListAchievementsOK) ToJSONString added in v0.25.0

func (o *AdminListAchievementsOK) ToJSONString() string

type AdminListAchievementsParams

type AdminListAchievementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  offset

	*/
	Offset *int64
	/*SortBy
	  sort by, default is 'listOrder:asc', allow values: [listOrder, listOrder:asc, listOrder:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc]

	*/
	SortBy *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AdminListAchievementsParams contains all the parameters to send to the API endpoint for the admin list achievements operation typically these are written to a http.Request

func NewAdminListAchievementsParams

func NewAdminListAchievementsParams() *AdminListAchievementsParams

NewAdminListAchievementsParams creates a new AdminListAchievementsParams object with the default values initialized.

func NewAdminListAchievementsParamsWithContext

func NewAdminListAchievementsParamsWithContext(ctx context.Context) *AdminListAchievementsParams

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

func NewAdminListAchievementsParamsWithHTTPClient

func NewAdminListAchievementsParamsWithHTTPClient(client *http.Client) *AdminListAchievementsParams

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

func NewAdminListAchievementsParamsWithTimeout

func NewAdminListAchievementsParamsWithTimeout(timeout time.Duration) *AdminListAchievementsParams

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

func (*AdminListAchievementsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin list achievements params

func (*AdminListAchievementsParams) SetContext

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

SetContext adds the context to the admin list achievements params

func (*AdminListAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list achievements params

func (*AdminListAchievementsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin list achievements params

func (*AdminListAchievementsParams) SetLimit

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

SetLimit adds the limit to the admin list achievements params

func (*AdminListAchievementsParams) SetNamespace

func (o *AdminListAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list achievements params

func (*AdminListAchievementsParams) SetOffset

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

SetOffset adds the offset to the admin list achievements params

func (*AdminListAchievementsParams) SetSortBy

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

SetSortBy adds the sortBy to the admin list achievements params

func (*AdminListAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the admin list achievements params

func (*AdminListAchievementsParams) WithContext

WithContext adds the context to the admin list achievements params

func (*AdminListAchievementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin list achievements params

func (*AdminListAchievementsParams) WithLimit

WithLimit adds the limit to the admin list achievements params

func (*AdminListAchievementsParams) WithNamespace

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

WithNamespace adds the namespace to the admin list achievements params

func (*AdminListAchievementsParams) WithOffset

WithOffset adds the offset to the admin list achievements params

func (*AdminListAchievementsParams) WithSortBy

WithSortBy adds the sortBy to the admin list achievements params

func (*AdminListAchievementsParams) WithTimeout

WithTimeout adds the timeout to the admin list achievements params

func (*AdminListAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListAchievementsReader

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

AdminListAchievementsReader is a Reader for the AdminListAchievements structure.

func (*AdminListAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListAchievementsUnauthorized

type AdminListAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminListAchievementsUnauthorized

func NewAdminListAchievementsUnauthorized() *AdminListAchievementsUnauthorized

NewAdminListAchievementsUnauthorized creates a AdminListAchievementsUnauthorized with default headers values

func (*AdminListAchievementsUnauthorized) Error

func (*AdminListAchievementsUnauthorized) GetPayload

func (*AdminListAchievementsUnauthorized) ToJSONString added in v0.25.0

func (o *AdminListAchievementsUnauthorized) ToJSONString() string

type AdminListUserAchievementsBadRequest

type AdminListUserAchievementsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserAchievementsBadRequest handles this case with default header values.

Bad Request

func NewAdminListUserAchievementsBadRequest

func NewAdminListUserAchievementsBadRequest() *AdminListUserAchievementsBadRequest

NewAdminListUserAchievementsBadRequest creates a AdminListUserAchievementsBadRequest with default headers values

func (*AdminListUserAchievementsBadRequest) Error

func (*AdminListUserAchievementsBadRequest) GetPayload

func (*AdminListUserAchievementsBadRequest) ToJSONString added in v0.25.0

func (o *AdminListUserAchievementsBadRequest) ToJSONString() string

type AdminListUserAchievementsInternalServerError

type AdminListUserAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListUserAchievementsInternalServerError

func NewAdminListUserAchievementsInternalServerError() *AdminListUserAchievementsInternalServerError

NewAdminListUserAchievementsInternalServerError creates a AdminListUserAchievementsInternalServerError with default headers values

func (*AdminListUserAchievementsInternalServerError) Error

func (*AdminListUserAchievementsInternalServerError) GetPayload

func (*AdminListUserAchievementsInternalServerError) ToJSONString added in v0.25.0

type AdminListUserAchievementsNotFound

type AdminListUserAchievementsNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserAchievementsNotFound handles this case with default header values.

Not Found

func NewAdminListUserAchievementsNotFound

func NewAdminListUserAchievementsNotFound() *AdminListUserAchievementsNotFound

NewAdminListUserAchievementsNotFound creates a AdminListUserAchievementsNotFound with default headers values

func (*AdminListUserAchievementsNotFound) Error

func (*AdminListUserAchievementsNotFound) GetPayload

func (*AdminListUserAchievementsNotFound) ToJSONString added in v0.25.0

func (o *AdminListUserAchievementsNotFound) ToJSONString() string

type AdminListUserAchievementsOK

type AdminListUserAchievementsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedUserAchievementResponse
}

AdminListUserAchievementsOK handles this case with default header values.

OK

func NewAdminListUserAchievementsOK

func NewAdminListUserAchievementsOK() *AdminListUserAchievementsOK

NewAdminListUserAchievementsOK creates a AdminListUserAchievementsOK with default headers values

func (*AdminListUserAchievementsOK) Error

func (*AdminListUserAchievementsOK) ToJSONString added in v0.25.0

func (o *AdminListUserAchievementsOK) ToJSONString() string

type AdminListUserAchievementsParams

type AdminListUserAchievementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  offset

	*/
	Offset *int64
	/*PreferUnlocked
	  prefer to query achieved

	*/
	PreferUnlocked *bool
	/*UserID
	  user id

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AdminListUserAchievementsParams contains all the parameters to send to the API endpoint for the admin list user achievements operation typically these are written to a http.Request

func NewAdminListUserAchievementsParams

func NewAdminListUserAchievementsParams() *AdminListUserAchievementsParams

NewAdminListUserAchievementsParams creates a new AdminListUserAchievementsParams object with the default values initialized.

func NewAdminListUserAchievementsParamsWithContext

func NewAdminListUserAchievementsParamsWithContext(ctx context.Context) *AdminListUserAchievementsParams

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

func NewAdminListUserAchievementsParamsWithHTTPClient

func NewAdminListUserAchievementsParamsWithHTTPClient(client *http.Client) *AdminListUserAchievementsParams

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

func NewAdminListUserAchievementsParamsWithTimeout

func NewAdminListUserAchievementsParamsWithTimeout(timeout time.Duration) *AdminListUserAchievementsParams

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

func (*AdminListUserAchievementsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetContext

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

SetContext adds the context to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetLimit

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

SetLimit adds the limit to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetNamespace

func (o *AdminListUserAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetOffset

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

SetOffset adds the offset to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetPreferUnlocked

func (o *AdminListUserAchievementsParams) SetPreferUnlocked(preferUnlocked *bool)

SetPreferUnlocked adds the preferUnlocked to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetUserID

func (o *AdminListUserAchievementsParams) SetUserID(userID string)

SetUserID adds the userId to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithContext

WithContext adds the context to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithLimit

WithLimit adds the limit to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithNamespace

WithNamespace adds the namespace to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithOffset

WithOffset adds the offset to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithPreferUnlocked

func (o *AdminListUserAchievementsParams) WithPreferUnlocked(preferUnlocked *bool) *AdminListUserAchievementsParams

WithPreferUnlocked adds the preferUnlocked to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithTimeout

WithTimeout adds the timeout to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithUserID

WithUserID adds the userID to the admin list user achievements params

func (*AdminListUserAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListUserAchievementsReader

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

AdminListUserAchievementsReader is a Reader for the AdminListUserAchievements structure.

func (*AdminListUserAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListUserAchievementsUnauthorized

type AdminListUserAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminListUserAchievementsUnauthorized

func NewAdminListUserAchievementsUnauthorized() *AdminListUserAchievementsUnauthorized

NewAdminListUserAchievementsUnauthorized creates a AdminListUserAchievementsUnauthorized with default headers values

func (*AdminListUserAchievementsUnauthorized) Error

func (*AdminListUserAchievementsUnauthorized) GetPayload

func (*AdminListUserAchievementsUnauthorized) ToJSONString added in v0.25.0

type AdminResetAchievementBadRequest added in v0.26.0

type AdminResetAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminResetAchievementBadRequest handles this case with default header values.

Bad Request

func NewAdminResetAchievementBadRequest added in v0.26.0

func NewAdminResetAchievementBadRequest() *AdminResetAchievementBadRequest

NewAdminResetAchievementBadRequest creates a AdminResetAchievementBadRequest with default headers values

func (*AdminResetAchievementBadRequest) Error added in v0.26.0

func (*AdminResetAchievementBadRequest) GetPayload added in v0.26.0

func (*AdminResetAchievementBadRequest) ToJSONString added in v0.26.0

func (o *AdminResetAchievementBadRequest) ToJSONString() string

type AdminResetAchievementInternalServerError added in v0.26.0

type AdminResetAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminResetAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminResetAchievementInternalServerError added in v0.26.0

func NewAdminResetAchievementInternalServerError() *AdminResetAchievementInternalServerError

NewAdminResetAchievementInternalServerError creates a AdminResetAchievementInternalServerError with default headers values

func (*AdminResetAchievementInternalServerError) Error added in v0.26.0

func (*AdminResetAchievementInternalServerError) GetPayload added in v0.26.0

func (*AdminResetAchievementInternalServerError) ToJSONString added in v0.26.0

type AdminResetAchievementNoContent added in v0.26.0

type AdminResetAchievementNoContent struct {
}

AdminResetAchievementNoContent handles this case with default header values.

No Content

func NewAdminResetAchievementNoContent added in v0.26.0

func NewAdminResetAchievementNoContent() *AdminResetAchievementNoContent

NewAdminResetAchievementNoContent creates a AdminResetAchievementNoContent with default headers values

func (*AdminResetAchievementNoContent) Error added in v0.26.0

type AdminResetAchievementNotFound added in v0.26.0

type AdminResetAchievementNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

AdminResetAchievementNotFound handles this case with default header values.

Not Found

func NewAdminResetAchievementNotFound added in v0.26.0

func NewAdminResetAchievementNotFound() *AdminResetAchievementNotFound

NewAdminResetAchievementNotFound creates a AdminResetAchievementNotFound with default headers values

func (*AdminResetAchievementNotFound) Error added in v0.26.0

func (*AdminResetAchievementNotFound) GetPayload added in v0.26.0

func (*AdminResetAchievementNotFound) ToJSONString added in v0.26.0

func (o *AdminResetAchievementNotFound) ToJSONString() string

type AdminResetAchievementParams added in v0.26.0

type AdminResetAchievementParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user id

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AdminResetAchievementParams contains all the parameters to send to the API endpoint for the admin reset achievement operation typically these are written to a http.Request

func NewAdminResetAchievementParams added in v0.26.0

func NewAdminResetAchievementParams() *AdminResetAchievementParams

NewAdminResetAchievementParams creates a new AdminResetAchievementParams object with the default values initialized.

func NewAdminResetAchievementParamsWithContext added in v0.26.0

func NewAdminResetAchievementParamsWithContext(ctx context.Context) *AdminResetAchievementParams

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

func NewAdminResetAchievementParamsWithHTTPClient added in v0.26.0

func NewAdminResetAchievementParamsWithHTTPClient(client *http.Client) *AdminResetAchievementParams

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

func NewAdminResetAchievementParamsWithTimeout added in v0.26.0

func NewAdminResetAchievementParamsWithTimeout(timeout time.Duration) *AdminResetAchievementParams

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

func (*AdminResetAchievementParams) SetAchievementCode added in v0.26.0

func (o *AdminResetAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin reset achievement params

func (*AdminResetAchievementParams) SetAuthInfoWriter added in v0.26.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin reset achievement params

func (*AdminResetAchievementParams) SetContext added in v0.26.0

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

SetContext adds the context to the admin reset achievement params

func (*AdminResetAchievementParams) SetHTTPClient added in v0.26.0

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

SetHTTPClient adds the HTTPClient to the admin reset achievement params

func (*AdminResetAchievementParams) SetHTTPClientTransport added in v0.26.0

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

SetHTTPClient adds the HTTPClient Transport to the admin reset achievement params

func (*AdminResetAchievementParams) SetNamespace added in v0.26.0

func (o *AdminResetAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin reset achievement params

func (*AdminResetAchievementParams) SetTimeout added in v0.26.0

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

SetTimeout adds the timeout to the admin reset achievement params

func (*AdminResetAchievementParams) SetUserID added in v0.26.0

func (o *AdminResetAchievementParams) SetUserID(userID string)

SetUserID adds the userId to the admin reset achievement params

func (*AdminResetAchievementParams) WithAchievementCode added in v0.26.0

func (o *AdminResetAchievementParams) WithAchievementCode(achievementCode string) *AdminResetAchievementParams

WithAchievementCode adds the achievementCode to the admin reset achievement params

func (*AdminResetAchievementParams) WithContext added in v0.26.0

WithContext adds the context to the admin reset achievement params

func (*AdminResetAchievementParams) WithHTTPClient added in v0.26.0

WithHTTPClient adds the HTTPClient to the admin reset achievement params

func (*AdminResetAchievementParams) WithNamespace added in v0.26.0

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

WithNamespace adds the namespace to the admin reset achievement params

func (*AdminResetAchievementParams) WithTimeout added in v0.26.0

WithTimeout adds the timeout to the admin reset achievement params

func (*AdminResetAchievementParams) WithUserID added in v0.26.0

WithUserID adds the userID to the admin reset achievement params

func (*AdminResetAchievementParams) WriteToRequest added in v0.26.0

WriteToRequest writes these params to a swagger request

type AdminResetAchievementReader added in v0.26.0

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

AdminResetAchievementReader is a Reader for the AdminResetAchievement structure.

func (*AdminResetAchievementReader) ReadResponse added in v0.26.0

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

ReadResponse reads a server response into the received o.

type AdminResetAchievementUnauthorized added in v0.26.0

type AdminResetAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminResetAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewAdminResetAchievementUnauthorized added in v0.26.0

func NewAdminResetAchievementUnauthorized() *AdminResetAchievementUnauthorized

NewAdminResetAchievementUnauthorized creates a AdminResetAchievementUnauthorized with default headers values

func (*AdminResetAchievementUnauthorized) Error added in v0.26.0

func (*AdminResetAchievementUnauthorized) GetPayload added in v0.26.0

func (*AdminResetAchievementUnauthorized) ToJSONString added in v0.26.0

func (o *AdminResetAchievementUnauthorized) ToJSONString() string

type AdminUnlockAchievementBadRequest

type AdminUnlockAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUnlockAchievementBadRequest handles this case with default header values.

Bad Request

func NewAdminUnlockAchievementBadRequest

func NewAdminUnlockAchievementBadRequest() *AdminUnlockAchievementBadRequest

NewAdminUnlockAchievementBadRequest creates a AdminUnlockAchievementBadRequest with default headers values

func (*AdminUnlockAchievementBadRequest) Error

func (*AdminUnlockAchievementBadRequest) GetPayload

func (*AdminUnlockAchievementBadRequest) ToJSONString added in v0.25.0

func (o *AdminUnlockAchievementBadRequest) ToJSONString() string

type AdminUnlockAchievementInternalServerError

type AdminUnlockAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUnlockAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUnlockAchievementInternalServerError

func NewAdminUnlockAchievementInternalServerError() *AdminUnlockAchievementInternalServerError

NewAdminUnlockAchievementInternalServerError creates a AdminUnlockAchievementInternalServerError with default headers values

func (*AdminUnlockAchievementInternalServerError) Error

func (*AdminUnlockAchievementInternalServerError) GetPayload

func (*AdminUnlockAchievementInternalServerError) ToJSONString added in v0.25.0

type AdminUnlockAchievementNoContent

type AdminUnlockAchievementNoContent struct {
}

AdminUnlockAchievementNoContent handles this case with default header values.

No Content

func NewAdminUnlockAchievementNoContent

func NewAdminUnlockAchievementNoContent() *AdminUnlockAchievementNoContent

NewAdminUnlockAchievementNoContent creates a AdminUnlockAchievementNoContent with default headers values

func (*AdminUnlockAchievementNoContent) Error

type AdminUnlockAchievementParams

type AdminUnlockAchievementParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user id

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AdminUnlockAchievementParams contains all the parameters to send to the API endpoint for the admin unlock achievement operation typically these are written to a http.Request

func NewAdminUnlockAchievementParams

func NewAdminUnlockAchievementParams() *AdminUnlockAchievementParams

NewAdminUnlockAchievementParams creates a new AdminUnlockAchievementParams object with the default values initialized.

func NewAdminUnlockAchievementParamsWithContext

func NewAdminUnlockAchievementParamsWithContext(ctx context.Context) *AdminUnlockAchievementParams

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

func NewAdminUnlockAchievementParamsWithHTTPClient

func NewAdminUnlockAchievementParamsWithHTTPClient(client *http.Client) *AdminUnlockAchievementParams

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

func NewAdminUnlockAchievementParamsWithTimeout

func NewAdminUnlockAchievementParamsWithTimeout(timeout time.Duration) *AdminUnlockAchievementParams

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

func (*AdminUnlockAchievementParams) SetAchievementCode

func (o *AdminUnlockAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetContext

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

SetContext adds the context to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetNamespace

func (o *AdminUnlockAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetUserID

func (o *AdminUnlockAchievementParams) SetUserID(userID string)

SetUserID adds the userId to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithAchievementCode

func (o *AdminUnlockAchievementParams) WithAchievementCode(achievementCode string) *AdminUnlockAchievementParams

WithAchievementCode adds the achievementCode to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithContext

WithContext adds the context to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithNamespace

WithNamespace adds the namespace to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithTimeout

WithTimeout adds the timeout to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithUserID

WithUserID adds the userID to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUnlockAchievementReader

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

AdminUnlockAchievementReader is a Reader for the AdminUnlockAchievement structure.

func (*AdminUnlockAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUnlockAchievementUnauthorized

type AdminUnlockAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUnlockAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewAdminUnlockAchievementUnauthorized

func NewAdminUnlockAchievementUnauthorized() *AdminUnlockAchievementUnauthorized

NewAdminUnlockAchievementUnauthorized creates a AdminUnlockAchievementUnauthorized with default headers values

func (*AdminUnlockAchievementUnauthorized) Error

func (*AdminUnlockAchievementUnauthorized) GetPayload

func (*AdminUnlockAchievementUnauthorized) ToJSONString added in v0.25.0

func (o *AdminUnlockAchievementUnauthorized) ToJSONString() string

type AdminUpdateAchievementBadRequest

type AdminUpdateAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUpdateAchievementBadRequest handles this case with default header values.

Bad Request

func NewAdminUpdateAchievementBadRequest

func NewAdminUpdateAchievementBadRequest() *AdminUpdateAchievementBadRequest

NewAdminUpdateAchievementBadRequest creates a AdminUpdateAchievementBadRequest with default headers values

func (*AdminUpdateAchievementBadRequest) Error

func (*AdminUpdateAchievementBadRequest) GetPayload

func (*AdminUpdateAchievementBadRequest) ToJSONString added in v0.25.0

func (o *AdminUpdateAchievementBadRequest) ToJSONString() string

type AdminUpdateAchievementInternalServerError

type AdminUpdateAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUpdateAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUpdateAchievementInternalServerError

func NewAdminUpdateAchievementInternalServerError() *AdminUpdateAchievementInternalServerError

NewAdminUpdateAchievementInternalServerError creates a AdminUpdateAchievementInternalServerError with default headers values

func (*AdminUpdateAchievementInternalServerError) Error

func (*AdminUpdateAchievementInternalServerError) GetPayload

func (*AdminUpdateAchievementInternalServerError) ToJSONString added in v0.25.0

type AdminUpdateAchievementListOrderBadRequest

type AdminUpdateAchievementListOrderBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUpdateAchievementListOrderBadRequest handles this case with default header values.

Bad Request

func NewAdminUpdateAchievementListOrderBadRequest

func NewAdminUpdateAchievementListOrderBadRequest() *AdminUpdateAchievementListOrderBadRequest

NewAdminUpdateAchievementListOrderBadRequest creates a AdminUpdateAchievementListOrderBadRequest with default headers values

func (*AdminUpdateAchievementListOrderBadRequest) Error

func (*AdminUpdateAchievementListOrderBadRequest) GetPayload

func (*AdminUpdateAchievementListOrderBadRequest) ToJSONString added in v0.25.0

type AdminUpdateAchievementListOrderInternalServerError

type AdminUpdateAchievementListOrderInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUpdateAchievementListOrderInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUpdateAchievementListOrderInternalServerError

func NewAdminUpdateAchievementListOrderInternalServerError() *AdminUpdateAchievementListOrderInternalServerError

NewAdminUpdateAchievementListOrderInternalServerError creates a AdminUpdateAchievementListOrderInternalServerError with default headers values

func (*AdminUpdateAchievementListOrderInternalServerError) Error

func (*AdminUpdateAchievementListOrderInternalServerError) GetPayload

func (*AdminUpdateAchievementListOrderInternalServerError) ToJSONString added in v0.25.0

type AdminUpdateAchievementListOrderNoContent

type AdminUpdateAchievementListOrderNoContent struct {
}

AdminUpdateAchievementListOrderNoContent handles this case with default header values.

No Content

func NewAdminUpdateAchievementListOrderNoContent

func NewAdminUpdateAchievementListOrderNoContent() *AdminUpdateAchievementListOrderNoContent

NewAdminUpdateAchievementListOrderNoContent creates a AdminUpdateAchievementListOrderNoContent with default headers values

func (*AdminUpdateAchievementListOrderNoContent) Error

type AdminUpdateAchievementListOrderNotFound

type AdminUpdateAchievementListOrderNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUpdateAchievementListOrderNotFound handles this case with default header values.

Not Found

func NewAdminUpdateAchievementListOrderNotFound

func NewAdminUpdateAchievementListOrderNotFound() *AdminUpdateAchievementListOrderNotFound

NewAdminUpdateAchievementListOrderNotFound creates a AdminUpdateAchievementListOrderNotFound with default headers values

func (*AdminUpdateAchievementListOrderNotFound) Error

func (*AdminUpdateAchievementListOrderNotFound) GetPayload

func (*AdminUpdateAchievementListOrderNotFound) ToJSONString added in v0.25.0

type AdminUpdateAchievementListOrderParams

type AdminUpdateAchievementListOrderParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Body*/
	Body *achievementclientmodels.ModelsAchievementOrderUpdateRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AdminUpdateAchievementListOrderParams contains all the parameters to send to the API endpoint for the admin update achievement list order operation typically these are written to a http.Request

func NewAdminUpdateAchievementListOrderParams

func NewAdminUpdateAchievementListOrderParams() *AdminUpdateAchievementListOrderParams

NewAdminUpdateAchievementListOrderParams creates a new AdminUpdateAchievementListOrderParams object with the default values initialized.

func NewAdminUpdateAchievementListOrderParamsWithContext

func NewAdminUpdateAchievementListOrderParamsWithContext(ctx context.Context) *AdminUpdateAchievementListOrderParams

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

func NewAdminUpdateAchievementListOrderParamsWithHTTPClient

func NewAdminUpdateAchievementListOrderParamsWithHTTPClient(client *http.Client) *AdminUpdateAchievementListOrderParams

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

func NewAdminUpdateAchievementListOrderParamsWithTimeout

func NewAdminUpdateAchievementListOrderParamsWithTimeout(timeout time.Duration) *AdminUpdateAchievementListOrderParams

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

func (*AdminUpdateAchievementListOrderParams) SetAchievementCode

func (o *AdminUpdateAchievementListOrderParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) SetBody

SetBody adds the body to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) SetContext

SetContext adds the context to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) SetNamespace

func (o *AdminUpdateAchievementListOrderParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) SetTimeout

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

SetTimeout adds the timeout to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) WithAchievementCode

WithAchievementCode adds the achievementCode to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) WithBody

WithBody adds the body to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) WithContext

WithContext adds the context to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) WithNamespace

WithNamespace adds the namespace to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) WithTimeout

WithTimeout adds the timeout to the admin update achievement list order params

func (*AdminUpdateAchievementListOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateAchievementListOrderReader

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

AdminUpdateAchievementListOrderReader is a Reader for the AdminUpdateAchievementListOrder structure.

func (*AdminUpdateAchievementListOrderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateAchievementListOrderUnauthorized

type AdminUpdateAchievementListOrderUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUpdateAchievementListOrderUnauthorized handles this case with default header values.

Unauthorized

func NewAdminUpdateAchievementListOrderUnauthorized

func NewAdminUpdateAchievementListOrderUnauthorized() *AdminUpdateAchievementListOrderUnauthorized

NewAdminUpdateAchievementListOrderUnauthorized creates a AdminUpdateAchievementListOrderUnauthorized with default headers values

func (*AdminUpdateAchievementListOrderUnauthorized) Error

func (*AdminUpdateAchievementListOrderUnauthorized) GetPayload

func (*AdminUpdateAchievementListOrderUnauthorized) ToJSONString added in v0.25.0

type AdminUpdateAchievementNotFound

type AdminUpdateAchievementNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUpdateAchievementNotFound handles this case with default header values.

Not Found

func NewAdminUpdateAchievementNotFound

func NewAdminUpdateAchievementNotFound() *AdminUpdateAchievementNotFound

NewAdminUpdateAchievementNotFound creates a AdminUpdateAchievementNotFound with default headers values

func (*AdminUpdateAchievementNotFound) Error

func (*AdminUpdateAchievementNotFound) GetPayload

func (*AdminUpdateAchievementNotFound) ToJSONString added in v0.25.0

func (o *AdminUpdateAchievementNotFound) ToJSONString() string

type AdminUpdateAchievementOK

type AdminUpdateAchievementOK struct {
	Payload *achievementclientmodels.ModelsAchievementResponse
}

AdminUpdateAchievementOK handles this case with default header values.

OK

func NewAdminUpdateAchievementOK

func NewAdminUpdateAchievementOK() *AdminUpdateAchievementOK

NewAdminUpdateAchievementOK creates a AdminUpdateAchievementOK with default headers values

func (*AdminUpdateAchievementOK) Error

func (o *AdminUpdateAchievementOK) Error() string

func (*AdminUpdateAchievementOK) GetPayload

func (*AdminUpdateAchievementOK) ToJSONString added in v0.25.0

func (o *AdminUpdateAchievementOK) ToJSONString() string

type AdminUpdateAchievementParams

type AdminUpdateAchievementParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Body*/
	Body *achievementclientmodels.ModelsAchievementUpdateRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewAdminUpdateAchievementParams

func NewAdminUpdateAchievementParams() *AdminUpdateAchievementParams

NewAdminUpdateAchievementParams creates a new AdminUpdateAchievementParams object with the default values initialized.

func NewAdminUpdateAchievementParamsWithContext

func NewAdminUpdateAchievementParamsWithContext(ctx context.Context) *AdminUpdateAchievementParams

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

func NewAdminUpdateAchievementParamsWithHTTPClient

func NewAdminUpdateAchievementParamsWithHTTPClient(client *http.Client) *AdminUpdateAchievementParams

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

func NewAdminUpdateAchievementParamsWithTimeout

func NewAdminUpdateAchievementParamsWithTimeout(timeout time.Duration) *AdminUpdateAchievementParams

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

func (*AdminUpdateAchievementParams) SetAchievementCode

func (o *AdminUpdateAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin update achievement params

func (*AdminUpdateAchievementParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin update achievement params

func (*AdminUpdateAchievementParams) SetBody

SetBody adds the body to the admin update achievement params

func (*AdminUpdateAchievementParams) SetContext

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

SetContext adds the context to the admin update achievement params

func (*AdminUpdateAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update achievement params

func (*AdminUpdateAchievementParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the admin update achievement params

func (*AdminUpdateAchievementParams) SetNamespace

func (o *AdminUpdateAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin update achievement params

func (*AdminUpdateAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the admin update achievement params

func (*AdminUpdateAchievementParams) WithAchievementCode

func (o *AdminUpdateAchievementParams) WithAchievementCode(achievementCode string) *AdminUpdateAchievementParams

WithAchievementCode adds the achievementCode to the admin update achievement params

func (*AdminUpdateAchievementParams) WithBody

WithBody adds the body to the admin update achievement params

func (*AdminUpdateAchievementParams) WithContext

WithContext adds the context to the admin update achievement params

func (*AdminUpdateAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin update achievement params

func (*AdminUpdateAchievementParams) WithNamespace

WithNamespace adds the namespace to the admin update achievement params

func (*AdminUpdateAchievementParams) WithTimeout

WithTimeout adds the timeout to the admin update achievement params

func (*AdminUpdateAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUpdateAchievementReader

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

AdminUpdateAchievementReader is a Reader for the AdminUpdateAchievement structure.

func (*AdminUpdateAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUpdateAchievementUnauthorized

type AdminUpdateAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUpdateAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewAdminUpdateAchievementUnauthorized

func NewAdminUpdateAchievementUnauthorized() *AdminUpdateAchievementUnauthorized

NewAdminUpdateAchievementUnauthorized creates a AdminUpdateAchievementUnauthorized with default headers values

func (*AdminUpdateAchievementUnauthorized) Error

func (*AdminUpdateAchievementUnauthorized) GetPayload

func (*AdminUpdateAchievementUnauthorized) ToJSONString added in v0.25.0

func (o *AdminUpdateAchievementUnauthorized) ToJSONString() string

type Client

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

Client for achievements API

func (*Client) AdminCreateNewAchievement deprecated

Deprecated: Use AdminCreateNewAchievementShort instead.

  AdminCreateNewAchievement creates new achievement

  <p>Required permission
			<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [CREATE]</code> and scope <code>social</code></p>
        	Other detail info:
          - achievementCode: Human readable unique code to indentify the achievement. Must be lowercase
			and maximum length is 32
          - incremental:  If the achievement is not incremental, it does not need to store a goal value
							of a stat to be unlocked.
                          If the achievement is incremental, it needs to set statCode and goalValue
          - statCode: Selected statistic code, from the published statistic code event.Human readable unique
			code to indentify the achievement. Must be lowercase and maximum length is 32
          - goalValue: Statistics value required to unlock the achievement.
          - defaultLanguage: localozation for achievement name and achievement description. Allowed format : en, en-US
          - slug: specify the image they want to use, it can be file image name or something
			to define the achievement icon.

func (*Client) AdminCreateNewAchievementShort added in v0.8.0

func (a *Client) AdminCreateNewAchievementShort(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, error)
  AdminCreateNewAchievementShort creates new achievement

  <p>Required permission
			<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [CREATE]</code> and scope <code>social</code></p>
        	Other detail info:
          - achievementCode: Human readable unique code to indentify the achievement. Must be lowercase
			and maximum length is 32
          - incremental:  If the achievement is not incremental, it does not need to store a goal value
							of a stat to be unlocked.
                          If the achievement is incremental, it needs to set statCode and goalValue
          - statCode: Selected statistic code, from the published statistic code event.Human readable unique
			code to indentify the achievement. Must be lowercase and maximum length is 32
          - goalValue: Statistics value required to unlock the achievement.
          - defaultLanguage: localozation for achievement name and achievement description. Allowed format : en, en-US
          - slug: specify the image they want to use, it can be file image name or something
			to define the achievement icon.

func (*Client) AdminDeleteAchievement deprecated

Deprecated: Use AdminDeleteAchievementShort instead.

AdminDeleteAchievement deletes an achievement

<p>Required permission

<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [DELETE]</code> and scope <code>social</code></p>

func (*Client) AdminDeleteAchievementShort added in v0.8.0

func (a *Client) AdminDeleteAchievementShort(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, error)
AdminDeleteAchievementShort deletes an achievement

<p>Required permission

<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [DELETE]</code> and scope <code>social</code></p>

func (*Client) AdminGetAchievement deprecated

Deprecated: Use AdminGetAchievementShort instead.

AdminGetAchievement gets an achievement

<p>Required permission

<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>

func (*Client) AdminGetAchievementShort added in v0.8.0

func (a *Client) AdminGetAchievementShort(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, error)
AdminGetAchievementShort gets an achievement

<p>Required permission

<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>

func (*Client) AdminListAchievements deprecated

Deprecated: Use AdminListAchievementsShort instead.

AdminListAchievements queries achievements

<p>Required permission

<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>

func (*Client) AdminListAchievementsShort added in v0.8.0

func (a *Client) AdminListAchievementsShort(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, error)
AdminListAchievementsShort queries achievements

<p>Required permission

<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>

func (*Client) AdminListUserAchievements deprecated

Deprecated: Use AdminListUserAchievementsShort instead.

  AdminListUserAchievements queries user achievements include achieved and in progress

  <p>Required permission
			<code>ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
			<p>Note: user achievement status value mean: <code>status = 1 (in progress)</code> and <code>status = 2 (unlocked)</p></code>

func (*Client) AdminListUserAchievementsShort added in v0.8.0

func (a *Client) AdminListUserAchievementsShort(params *AdminListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserAchievementsOK, error)
  AdminListUserAchievementsShort queries user achievements include achieved and in progress

  <p>Required permission
			<code>ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
			<p>Note: user achievement status value mean: <code>status = 1 (in progress)</code> and <code>status = 2 (unlocked)</p></code>

func (*Client) AdminResetAchievement deprecated added in v0.26.0

Deprecated: Use AdminResetAchievementShort instead.

AdminResetAchievement resets an achievement

<p>[TEST FACILITY ONLY]</p>
                       <p>Required permission
                       <code>ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [DELETE]</code> and scope <code>social</code>
                </p>

func (*Client) AdminResetAchievementShort added in v0.26.0

func (a *Client) AdminResetAchievementShort(params *AdminResetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminResetAchievementNoContent, error)

AdminResetAchievementShort resets an achievement

<p>[TEST FACILITY ONLY]</p>

       <p>Required permission
       <code>ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [DELETE]</code> and scope <code>social</code>
</p>

func (*Client) AdminUnlockAchievement deprecated

Deprecated: Use AdminUnlockAchievementShort instead.

AdminUnlockAchievement unlocks an achievement

<p>Required permission

<code>ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>

func (*Client) AdminUnlockAchievementShort added in v0.8.0

func (a *Client) AdminUnlockAchievementShort(params *AdminUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnlockAchievementNoContent, error)
AdminUnlockAchievementShort unlocks an achievement

<p>Required permission

<code>ADMIN:NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>

func (*Client) AdminUpdateAchievement deprecated

Deprecated: Use AdminUpdateAchievementShort instead.

AdminUpdateAchievement updates an achievement

<p>Required permission

<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>

func (*Client) AdminUpdateAchievementListOrder deprecated

Deprecated: Use AdminUpdateAchievementListOrderShort instead.

AdminUpdateAchievementListOrder updates achievements list order

<p>Required permission

<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>

func (*Client) AdminUpdateAchievementListOrderShort added in v0.8.0

func (a *Client) AdminUpdateAchievementListOrderShort(params *AdminUpdateAchievementListOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementListOrderNoContent, error)
AdminUpdateAchievementListOrderShort updates achievements list order

<p>Required permission

<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>

func (*Client) AdminUpdateAchievementShort added in v0.8.0

func (a *Client) AdminUpdateAchievementShort(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, error)
AdminUpdateAchievementShort updates an achievement

<p>Required permission

<code>ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>

func (*Client) ExportAchievements deprecated

Deprecated: Use ExportAchievementsShort instead.

  ExportAchievements exports achievements configuration into a json file

				Required permission ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]

				Required Scope: social

func (*Client) ExportAchievementsShort added in v0.8.0

func (a *Client) ExportAchievementsShort(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ExportAchievementsOK, error)
  ExportAchievementsShort exports achievements configuration into a json file

				Required permission ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]

				Required Scope: social

func (*Client) ImportAchievements deprecated

Deprecated: Use ImportAchievementsShort instead.

  ImportAchievements imports achievements from file

				Required permission ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]

				Required Scope: social

				Import channels configuration from file. It will merge with existing channels.
				Available import strategy:
				- leaveOut: if channel with same key exist, the existing will be used and imported one will be ignored (default)
				- replace: if channel with same key exist, the imported channel will be used and existing one will be removed

func (*Client) ImportAchievementsShort added in v0.8.0

func (a *Client) ImportAchievementsShort(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, error)
  ImportAchievementsShort imports achievements from file

				Required permission ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]

				Required Scope: social

				Import channels configuration from file. It will merge with existing channels.
				Available import strategy:
				- leaveOut: if channel with same key exist, the existing will be used and imported one will be ignored (default)
				- replace: if channel with same key exist, the imported channel will be used and existing one will be removed

func (*Client) PublicGetAchievement deprecated

Deprecated: Use PublicGetAchievementShort instead.

PublicGetAchievement gets an achievement

<p>Required permission

<code>NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>

func (*Client) PublicGetAchievementShort added in v0.8.0

func (a *Client) PublicGetAchievementShort(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, error)
PublicGetAchievementShort gets an achievement

<p>Required permission

<code>NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>

func (*Client) PublicListAchievements deprecated

Deprecated: Use PublicListAchievementsShort instead.

PublicListAchievements queries achievements

<p>Required permission

<code>NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>

func (*Client) PublicListAchievementsShort added in v0.8.0

func (a *Client) PublicListAchievementsShort(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, error)
PublicListAchievementsShort queries achievements

<p>Required permission

<code>NAMESPACE:{namespace}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>

func (*Client) PublicListUserAchievements deprecated

Deprecated: Use PublicListUserAchievementsShort instead.

  PublicListUserAchievements queries user achievements include achieved and in progress

  <p>Required permission
			<code>NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
			<p>Note: user achievement status value mean: <code>status = 1 (in progress)</code> and <code>status = 2 (unlocked)</p></code>

func (*Client) PublicListUserAchievementsShort added in v0.8.0

func (a *Client) PublicListUserAchievementsShort(params *PublicListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserAchievementsOK, error)
  PublicListUserAchievementsShort queries user achievements include achieved and in progress

  <p>Required permission
			<code>NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
			<p>Note: user achievement status value mean: <code>status = 1 (in progress)</code> and <code>status = 2 (unlocked)</p></code>

func (*Client) PublicUnlockAchievement deprecated

Deprecated: Use PublicUnlockAchievementShort instead.

PublicUnlockAchievement unlocks an achievement

<p>Required permission

<code>NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>

func (*Client) PublicUnlockAchievementShort added in v0.8.0

func (a *Client) PublicUnlockAchievementShort(params *PublicUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnlockAchievementNoContent, error)
PublicUnlockAchievementShort unlocks an achievement

<p>Required permission

<code>NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [UPDATE]</code> and scope <code>social</code></p>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminCreateNewAchievement(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, *AdminCreateNewAchievementBadRequest, *AdminCreateNewAchievementUnauthorized, *AdminCreateNewAchievementInternalServerError, error)
	AdminCreateNewAchievementShort(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, error)
	AdminDeleteAchievement(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, *AdminDeleteAchievementBadRequest, *AdminDeleteAchievementUnauthorized, *AdminDeleteAchievementNotFound, *AdminDeleteAchievementInternalServerError, error)
	AdminDeleteAchievementShort(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, error)
	AdminGetAchievement(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, *AdminGetAchievementBadRequest, *AdminGetAchievementUnauthorized, *AdminGetAchievementNotFound, *AdminGetAchievementInternalServerError, error)
	AdminGetAchievementShort(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, error)
	AdminListAchievements(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, *AdminListAchievementsBadRequest, *AdminListAchievementsUnauthorized, *AdminListAchievementsNotFound, *AdminListAchievementsInternalServerError, error)
	AdminListAchievementsShort(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, error)
	AdminListUserAchievements(params *AdminListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserAchievementsOK, *AdminListUserAchievementsBadRequest, *AdminListUserAchievementsUnauthorized, *AdminListUserAchievementsNotFound, *AdminListUserAchievementsInternalServerError, error)
	AdminListUserAchievementsShort(params *AdminListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserAchievementsOK, error)
	AdminResetAchievement(params *AdminResetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminResetAchievementNoContent, *AdminResetAchievementBadRequest, *AdminResetAchievementUnauthorized, *AdminResetAchievementNotFound, *AdminResetAchievementInternalServerError, error)
	AdminResetAchievementShort(params *AdminResetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminResetAchievementNoContent, error)
	AdminUnlockAchievement(params *AdminUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnlockAchievementNoContent, *AdminUnlockAchievementBadRequest, *AdminUnlockAchievementUnauthorized, *AdminUnlockAchievementInternalServerError, error)
	AdminUnlockAchievementShort(params *AdminUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnlockAchievementNoContent, error)
	AdminUpdateAchievement(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, *AdminUpdateAchievementBadRequest, *AdminUpdateAchievementUnauthorized, *AdminUpdateAchievementNotFound, *AdminUpdateAchievementInternalServerError, error)
	AdminUpdateAchievementShort(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, error)
	AdminUpdateAchievementListOrder(params *AdminUpdateAchievementListOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementListOrderNoContent, *AdminUpdateAchievementListOrderBadRequest, *AdminUpdateAchievementListOrderUnauthorized, *AdminUpdateAchievementListOrderNotFound, *AdminUpdateAchievementListOrderInternalServerError, error)
	AdminUpdateAchievementListOrderShort(params *AdminUpdateAchievementListOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementListOrderNoContent, error)
	ExportAchievements(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ExportAchievementsOK, *ExportAchievementsUnauthorized, *ExportAchievementsForbidden, *ExportAchievementsInternalServerError, error)
	ExportAchievementsShort(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ExportAchievementsOK, error)
	ImportAchievements(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, *ImportAchievementsUnauthorized, *ImportAchievementsForbidden, *ImportAchievementsInternalServerError, error)
	ImportAchievementsShort(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, error)
	PublicGetAchievement(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, *PublicGetAchievementBadRequest, *PublicGetAchievementUnauthorized, *PublicGetAchievementNotFound, *PublicGetAchievementInternalServerError, error)
	PublicGetAchievementShort(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, error)
	PublicListAchievements(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, *PublicListAchievementsBadRequest, *PublicListAchievementsUnauthorized, *PublicListAchievementsNotFound, *PublicListAchievementsInternalServerError, error)
	PublicListAchievementsShort(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, error)
	PublicListUserAchievements(params *PublicListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserAchievementsOK, *PublicListUserAchievementsBadRequest, *PublicListUserAchievementsUnauthorized, *PublicListUserAchievementsNotFound, *PublicListUserAchievementsInternalServerError, error)
	PublicListUserAchievementsShort(params *PublicListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserAchievementsOK, error)
	PublicUnlockAchievement(params *PublicUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnlockAchievementNoContent, *PublicUnlockAchievementBadRequest, *PublicUnlockAchievementUnauthorized, *PublicUnlockAchievementInternalServerError, error)
	PublicUnlockAchievementShort(params *PublicUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnlockAchievementNoContent, 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 achievements API client.

type ExportAchievementsForbidden

type ExportAchievementsForbidden struct {
	Payload *achievementclientmodels.ResponseError
}

ExportAchievementsForbidden handles this case with default header values.

Forbidden

func NewExportAchievementsForbidden

func NewExportAchievementsForbidden() *ExportAchievementsForbidden

NewExportAchievementsForbidden creates a ExportAchievementsForbidden with default headers values

func (*ExportAchievementsForbidden) Error

func (*ExportAchievementsForbidden) GetPayload

func (*ExportAchievementsForbidden) ToJSONString added in v0.25.0

func (o *ExportAchievementsForbidden) ToJSONString() string

type ExportAchievementsInternalServerError

type ExportAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

ExportAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewExportAchievementsInternalServerError

func NewExportAchievementsInternalServerError() *ExportAchievementsInternalServerError

NewExportAchievementsInternalServerError creates a ExportAchievementsInternalServerError with default headers values

func (*ExportAchievementsInternalServerError) Error

func (*ExportAchievementsInternalServerError) GetPayload

func (*ExportAchievementsInternalServerError) ToJSONString added in v0.25.0

type ExportAchievementsOK

type ExportAchievementsOK struct {
	Payload []*achievementclientmodels.ModelsAchievement
}

ExportAchievementsOK handles this case with default header values.

OK

func NewExportAchievementsOK

func NewExportAchievementsOK() *ExportAchievementsOK

NewExportAchievementsOK creates a ExportAchievementsOK with default headers values

func (*ExportAchievementsOK) Error

func (o *ExportAchievementsOK) Error() string

func (*ExportAchievementsOK) GetPayload

func (*ExportAchievementsOK) ToJSONString added in v0.25.0

func (o *ExportAchievementsOK) ToJSONString() string

type ExportAchievementsParams

type ExportAchievementsParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

ExportAchievementsParams contains all the parameters to send to the API endpoint for the export achievements operation typically these are written to a http.Request

func NewExportAchievementsParams

func NewExportAchievementsParams() *ExportAchievementsParams

NewExportAchievementsParams creates a new ExportAchievementsParams object with the default values initialized.

func NewExportAchievementsParamsWithContext

func NewExportAchievementsParamsWithContext(ctx context.Context) *ExportAchievementsParams

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

func NewExportAchievementsParamsWithHTTPClient

func NewExportAchievementsParamsWithHTTPClient(client *http.Client) *ExportAchievementsParams

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

func NewExportAchievementsParamsWithTimeout

func NewExportAchievementsParamsWithTimeout(timeout time.Duration) *ExportAchievementsParams

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

func (*ExportAchievementsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the export achievements params

func (*ExportAchievementsParams) SetContext

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

SetContext adds the context to the export achievements params

func (*ExportAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export achievements params

func (*ExportAchievementsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the export achievements params

func (*ExportAchievementsParams) SetNamespace

func (o *ExportAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the export achievements params

func (*ExportAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the export achievements params

func (*ExportAchievementsParams) WithContext

WithContext adds the context to the export achievements params

func (*ExportAchievementsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export achievements params

func (*ExportAchievementsParams) WithNamespace

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

WithNamespace adds the namespace to the export achievements params

func (*ExportAchievementsParams) WithTimeout

WithTimeout adds the timeout to the export achievements params

func (*ExportAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExportAchievementsReader

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

ExportAchievementsReader is a Reader for the ExportAchievements structure.

func (*ExportAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportAchievementsUnauthorized

type ExportAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

ExportAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewExportAchievementsUnauthorized

func NewExportAchievementsUnauthorized() *ExportAchievementsUnauthorized

NewExportAchievementsUnauthorized creates a ExportAchievementsUnauthorized with default headers values

func (*ExportAchievementsUnauthorized) Error

func (*ExportAchievementsUnauthorized) GetPayload

func (*ExportAchievementsUnauthorized) ToJSONString added in v0.25.0

func (o *ExportAchievementsUnauthorized) ToJSONString() string

type ImportAchievementsForbidden

type ImportAchievementsForbidden struct {
	Payload *achievementclientmodels.ResponseError
}

ImportAchievementsForbidden handles this case with default header values.

Forbidden

func NewImportAchievementsForbidden

func NewImportAchievementsForbidden() *ImportAchievementsForbidden

NewImportAchievementsForbidden creates a ImportAchievementsForbidden with default headers values

func (*ImportAchievementsForbidden) Error

func (*ImportAchievementsForbidden) GetPayload

func (*ImportAchievementsForbidden) ToJSONString added in v0.25.0

func (o *ImportAchievementsForbidden) ToJSONString() string

type ImportAchievementsInternalServerError

type ImportAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

ImportAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewImportAchievementsInternalServerError

func NewImportAchievementsInternalServerError() *ImportAchievementsInternalServerError

NewImportAchievementsInternalServerError creates a ImportAchievementsInternalServerError with default headers values

func (*ImportAchievementsInternalServerError) Error

func (*ImportAchievementsInternalServerError) GetPayload

func (*ImportAchievementsInternalServerError) ToJSONString added in v0.25.0

type ImportAchievementsOK

type ImportAchievementsOK struct {
	Payload *achievementclientmodels.ServiceImportConfigResponse
}

ImportAchievementsOK handles this case with default header values.

OK

func NewImportAchievementsOK

func NewImportAchievementsOK() *ImportAchievementsOK

NewImportAchievementsOK creates a ImportAchievementsOK with default headers values

func (*ImportAchievementsOK) Error

func (o *ImportAchievementsOK) Error() string

func (*ImportAchievementsOK) GetPayload

func (*ImportAchievementsOK) ToJSONString added in v0.25.0

func (o *ImportAchievementsOK) ToJSONString() string

type ImportAchievementsParams

type ImportAchievementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*File
	  file to be imported

	*/
	File runtime.NamedReadCloser
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Strategy
	  strategy for import

	*/
	Strategy *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

ImportAchievementsParams contains all the parameters to send to the API endpoint for the import achievements operation typically these are written to a http.Request

func NewImportAchievementsParams

func NewImportAchievementsParams() *ImportAchievementsParams

NewImportAchievementsParams creates a new ImportAchievementsParams object with the default values initialized.

func NewImportAchievementsParamsWithContext

func NewImportAchievementsParamsWithContext(ctx context.Context) *ImportAchievementsParams

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

func NewImportAchievementsParamsWithHTTPClient

func NewImportAchievementsParamsWithHTTPClient(client *http.Client) *ImportAchievementsParams

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

func NewImportAchievementsParamsWithTimeout

func NewImportAchievementsParamsWithTimeout(timeout time.Duration) *ImportAchievementsParams

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

func (*ImportAchievementsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the import achievements params

func (*ImportAchievementsParams) SetContext

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

SetContext adds the context to the import achievements params

func (*ImportAchievementsParams) SetFile

SetFile adds the file to the import achievements params

func (*ImportAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import achievements params

func (*ImportAchievementsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the import achievements params

func (*ImportAchievementsParams) SetNamespace

func (o *ImportAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the import achievements params

func (*ImportAchievementsParams) SetStrategy

func (o *ImportAchievementsParams) SetStrategy(strategy *string)

SetStrategy adds the strategy to the import achievements params

func (*ImportAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the import achievements params

func (*ImportAchievementsParams) WithContext

WithContext adds the context to the import achievements params

func (*ImportAchievementsParams) WithFile

WithFile adds the file to the import achievements params

func (*ImportAchievementsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import achievements params

func (*ImportAchievementsParams) WithNamespace

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

WithNamespace adds the namespace to the import achievements params

func (*ImportAchievementsParams) WithStrategy

func (o *ImportAchievementsParams) WithStrategy(strategy *string) *ImportAchievementsParams

WithStrategy adds the strategy to the import achievements params

func (*ImportAchievementsParams) WithTimeout

WithTimeout adds the timeout to the import achievements params

func (*ImportAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportAchievementsReader

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

ImportAchievementsReader is a Reader for the ImportAchievements structure.

func (*ImportAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportAchievementsUnauthorized

type ImportAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

ImportAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewImportAchievementsUnauthorized

func NewImportAchievementsUnauthorized() *ImportAchievementsUnauthorized

NewImportAchievementsUnauthorized creates a ImportAchievementsUnauthorized with default headers values

func (*ImportAchievementsUnauthorized) Error

func (*ImportAchievementsUnauthorized) GetPayload

func (*ImportAchievementsUnauthorized) ToJSONString added in v0.25.0

func (o *ImportAchievementsUnauthorized) ToJSONString() string

type PublicGetAchievementBadRequest

type PublicGetAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

PublicGetAchievementBadRequest handles this case with default header values.

Bad Request

func NewPublicGetAchievementBadRequest

func NewPublicGetAchievementBadRequest() *PublicGetAchievementBadRequest

NewPublicGetAchievementBadRequest creates a PublicGetAchievementBadRequest with default headers values

func (*PublicGetAchievementBadRequest) Error

func (*PublicGetAchievementBadRequest) GetPayload

func (*PublicGetAchievementBadRequest) ToJSONString added in v0.25.0

func (o *PublicGetAchievementBadRequest) ToJSONString() string

type PublicGetAchievementInternalServerError

type PublicGetAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

PublicGetAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicGetAchievementInternalServerError

func NewPublicGetAchievementInternalServerError() *PublicGetAchievementInternalServerError

NewPublicGetAchievementInternalServerError creates a PublicGetAchievementInternalServerError with default headers values

func (*PublicGetAchievementInternalServerError) Error

func (*PublicGetAchievementInternalServerError) GetPayload

func (*PublicGetAchievementInternalServerError) ToJSONString added in v0.25.0

type PublicGetAchievementNotFound

type PublicGetAchievementNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

PublicGetAchievementNotFound handles this case with default header values.

Not Found

func NewPublicGetAchievementNotFound

func NewPublicGetAchievementNotFound() *PublicGetAchievementNotFound

NewPublicGetAchievementNotFound creates a PublicGetAchievementNotFound with default headers values

func (*PublicGetAchievementNotFound) Error

func (*PublicGetAchievementNotFound) GetPayload

func (*PublicGetAchievementNotFound) ToJSONString added in v0.25.0

func (o *PublicGetAchievementNotFound) ToJSONString() string

type PublicGetAchievementOK

type PublicGetAchievementOK struct {
	Payload *achievementclientmodels.ModelsPublicAchievementResponse
}

PublicGetAchievementOK handles this case with default header values.

OK

func NewPublicGetAchievementOK

func NewPublicGetAchievementOK() *PublicGetAchievementOK

NewPublicGetAchievementOK creates a PublicGetAchievementOK with default headers values

func (*PublicGetAchievementOK) Error

func (o *PublicGetAchievementOK) Error() string

func (*PublicGetAchievementOK) GetPayload

func (*PublicGetAchievementOK) ToJSONString added in v0.25.0

func (o *PublicGetAchievementOK) ToJSONString() string

type PublicGetAchievementParams

type PublicGetAchievementParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Language
	  language, if the selected language not exist in achievement,it use default language

	*/
	Language string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

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

func NewPublicGetAchievementParams

func NewPublicGetAchievementParams() *PublicGetAchievementParams

NewPublicGetAchievementParams creates a new PublicGetAchievementParams object with the default values initialized.

func NewPublicGetAchievementParamsWithContext

func NewPublicGetAchievementParamsWithContext(ctx context.Context) *PublicGetAchievementParams

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

func NewPublicGetAchievementParamsWithHTTPClient

func NewPublicGetAchievementParamsWithHTTPClient(client *http.Client) *PublicGetAchievementParams

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

func NewPublicGetAchievementParamsWithTimeout

func NewPublicGetAchievementParamsWithTimeout(timeout time.Duration) *PublicGetAchievementParams

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

func (*PublicGetAchievementParams) SetAchievementCode

func (o *PublicGetAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the public get achievement params

func (*PublicGetAchievementParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the public get achievement params

func (*PublicGetAchievementParams) SetContext

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

SetContext adds the context to the public get achievement params

func (*PublicGetAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get achievement params

func (*PublicGetAchievementParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the public get achievement params

func (*PublicGetAchievementParams) SetLanguage

func (o *PublicGetAchievementParams) SetLanguage(language string)

SetLanguage adds the language to the public get achievement params

func (*PublicGetAchievementParams) SetNamespace

func (o *PublicGetAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get achievement params

func (*PublicGetAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the public get achievement params

func (*PublicGetAchievementParams) WithAchievementCode

func (o *PublicGetAchievementParams) WithAchievementCode(achievementCode string) *PublicGetAchievementParams

WithAchievementCode adds the achievementCode to the public get achievement params

func (*PublicGetAchievementParams) WithContext

WithContext adds the context to the public get achievement params

func (*PublicGetAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get achievement params

func (*PublicGetAchievementParams) WithLanguage

WithLanguage adds the language to the public get achievement params

func (*PublicGetAchievementParams) WithNamespace

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

WithNamespace adds the namespace to the public get achievement params

func (*PublicGetAchievementParams) WithTimeout

WithTimeout adds the timeout to the public get achievement params

func (*PublicGetAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetAchievementReader

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

PublicGetAchievementReader is a Reader for the PublicGetAchievement structure.

func (*PublicGetAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetAchievementUnauthorized

type PublicGetAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

PublicGetAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewPublicGetAchievementUnauthorized

func NewPublicGetAchievementUnauthorized() *PublicGetAchievementUnauthorized

NewPublicGetAchievementUnauthorized creates a PublicGetAchievementUnauthorized with default headers values

func (*PublicGetAchievementUnauthorized) Error

func (*PublicGetAchievementUnauthorized) GetPayload

func (*PublicGetAchievementUnauthorized) ToJSONString added in v0.25.0

func (o *PublicGetAchievementUnauthorized) ToJSONString() string

type PublicListAchievementsBadRequest

type PublicListAchievementsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListAchievementsBadRequest handles this case with default header values.

Bad Request

func NewPublicListAchievementsBadRequest

func NewPublicListAchievementsBadRequest() *PublicListAchievementsBadRequest

NewPublicListAchievementsBadRequest creates a PublicListAchievementsBadRequest with default headers values

func (*PublicListAchievementsBadRequest) Error

func (*PublicListAchievementsBadRequest) GetPayload

func (*PublicListAchievementsBadRequest) ToJSONString added in v0.25.0

func (o *PublicListAchievementsBadRequest) ToJSONString() string

type PublicListAchievementsInternalServerError

type PublicListAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicListAchievementsInternalServerError

func NewPublicListAchievementsInternalServerError() *PublicListAchievementsInternalServerError

NewPublicListAchievementsInternalServerError creates a PublicListAchievementsInternalServerError with default headers values

func (*PublicListAchievementsInternalServerError) Error

func (*PublicListAchievementsInternalServerError) GetPayload

func (*PublicListAchievementsInternalServerError) ToJSONString added in v0.25.0

type PublicListAchievementsNotFound

type PublicListAchievementsNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListAchievementsNotFound handles this case with default header values.

Not Found

func NewPublicListAchievementsNotFound

func NewPublicListAchievementsNotFound() *PublicListAchievementsNotFound

NewPublicListAchievementsNotFound creates a PublicListAchievementsNotFound with default headers values

func (*PublicListAchievementsNotFound) Error

func (*PublicListAchievementsNotFound) GetPayload

func (*PublicListAchievementsNotFound) ToJSONString added in v0.25.0

func (o *PublicListAchievementsNotFound) ToJSONString() string

type PublicListAchievementsOK

type PublicListAchievementsOK struct {
	Payload *achievementclientmodels.ModelsPublicAchievementsResponse
}

PublicListAchievementsOK handles this case with default header values.

OK

func NewPublicListAchievementsOK

func NewPublicListAchievementsOK() *PublicListAchievementsOK

NewPublicListAchievementsOK creates a PublicListAchievementsOK with default headers values

func (*PublicListAchievementsOK) Error

func (o *PublicListAchievementsOK) Error() string

func (*PublicListAchievementsOK) GetPayload

func (*PublicListAchievementsOK) ToJSONString added in v0.25.0

func (o *PublicListAchievementsOK) ToJSONString() string

type PublicListAchievementsParams

type PublicListAchievementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Language
	  language, if the selected language not exist in achievement,it use default language

	*/
	Language string
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  offset

	*/
	Offset *int64
	/*SortBy
	  sort by, default is 'listOrder:asc', allow values: [listOrder, listOrder:asc, listOrder:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc]

	*/
	SortBy *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

PublicListAchievementsParams contains all the parameters to send to the API endpoint for the public list achievements operation typically these are written to a http.Request

func NewPublicListAchievementsParams

func NewPublicListAchievementsParams() *PublicListAchievementsParams

NewPublicListAchievementsParams creates a new PublicListAchievementsParams object with the default values initialized.

func NewPublicListAchievementsParamsWithContext

func NewPublicListAchievementsParamsWithContext(ctx context.Context) *PublicListAchievementsParams

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

func NewPublicListAchievementsParamsWithHTTPClient

func NewPublicListAchievementsParamsWithHTTPClient(client *http.Client) *PublicListAchievementsParams

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

func NewPublicListAchievementsParamsWithTimeout

func NewPublicListAchievementsParamsWithTimeout(timeout time.Duration) *PublicListAchievementsParams

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

func (*PublicListAchievementsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the public list achievements params

func (*PublicListAchievementsParams) SetContext

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

SetContext adds the context to the public list achievements params

func (*PublicListAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list achievements params

func (*PublicListAchievementsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the public list achievements params

func (*PublicListAchievementsParams) SetLanguage

func (o *PublicListAchievementsParams) SetLanguage(language string)

SetLanguage adds the language to the public list achievements params

func (*PublicListAchievementsParams) SetLimit

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

SetLimit adds the limit to the public list achievements params

func (*PublicListAchievementsParams) SetNamespace

func (o *PublicListAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list achievements params

func (*PublicListAchievementsParams) SetOffset

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

SetOffset adds the offset to the public list achievements params

func (*PublicListAchievementsParams) SetSortBy

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

SetSortBy adds the sortBy to the public list achievements params

func (*PublicListAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the public list achievements params

func (*PublicListAchievementsParams) WithContext

WithContext adds the context to the public list achievements params

func (*PublicListAchievementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public list achievements params

func (*PublicListAchievementsParams) WithLanguage

WithLanguage adds the language to the public list achievements params

func (*PublicListAchievementsParams) WithLimit

WithLimit adds the limit to the public list achievements params

func (*PublicListAchievementsParams) WithNamespace

WithNamespace adds the namespace to the public list achievements params

func (*PublicListAchievementsParams) WithOffset

WithOffset adds the offset to the public list achievements params

func (*PublicListAchievementsParams) WithSortBy

WithSortBy adds the sortBy to the public list achievements params

func (*PublicListAchievementsParams) WithTimeout

WithTimeout adds the timeout to the public list achievements params

func (*PublicListAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListAchievementsReader

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

PublicListAchievementsReader is a Reader for the PublicListAchievements structure.

func (*PublicListAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListAchievementsUnauthorized

type PublicListAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewPublicListAchievementsUnauthorized

func NewPublicListAchievementsUnauthorized() *PublicListAchievementsUnauthorized

NewPublicListAchievementsUnauthorized creates a PublicListAchievementsUnauthorized with default headers values

func (*PublicListAchievementsUnauthorized) Error

func (*PublicListAchievementsUnauthorized) GetPayload

func (*PublicListAchievementsUnauthorized) ToJSONString added in v0.25.0

func (o *PublicListAchievementsUnauthorized) ToJSONString() string

type PublicListUserAchievementsBadRequest

type PublicListUserAchievementsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListUserAchievementsBadRequest handles this case with default header values.

Bad Request

func NewPublicListUserAchievementsBadRequest

func NewPublicListUserAchievementsBadRequest() *PublicListUserAchievementsBadRequest

NewPublicListUserAchievementsBadRequest creates a PublicListUserAchievementsBadRequest with default headers values

func (*PublicListUserAchievementsBadRequest) Error

func (*PublicListUserAchievementsBadRequest) GetPayload

func (*PublicListUserAchievementsBadRequest) ToJSONString added in v0.25.0

func (o *PublicListUserAchievementsBadRequest) ToJSONString() string

type PublicListUserAchievementsInternalServerError

type PublicListUserAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListUserAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicListUserAchievementsInternalServerError

func NewPublicListUserAchievementsInternalServerError() *PublicListUserAchievementsInternalServerError

NewPublicListUserAchievementsInternalServerError creates a PublicListUserAchievementsInternalServerError with default headers values

func (*PublicListUserAchievementsInternalServerError) Error

func (*PublicListUserAchievementsInternalServerError) GetPayload

func (*PublicListUserAchievementsInternalServerError) ToJSONString added in v0.25.0

type PublicListUserAchievementsNotFound

type PublicListUserAchievementsNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListUserAchievementsNotFound handles this case with default header values.

Not Found

func NewPublicListUserAchievementsNotFound

func NewPublicListUserAchievementsNotFound() *PublicListUserAchievementsNotFound

NewPublicListUserAchievementsNotFound creates a PublicListUserAchievementsNotFound with default headers values

func (*PublicListUserAchievementsNotFound) Error

func (*PublicListUserAchievementsNotFound) GetPayload

func (*PublicListUserAchievementsNotFound) ToJSONString added in v0.25.0

func (o *PublicListUserAchievementsNotFound) ToJSONString() string

type PublicListUserAchievementsOK

type PublicListUserAchievementsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedUserAchievementResponse
}

PublicListUserAchievementsOK handles this case with default header values.

OK

func NewPublicListUserAchievementsOK

func NewPublicListUserAchievementsOK() *PublicListUserAchievementsOK

NewPublicListUserAchievementsOK creates a PublicListUserAchievementsOK with default headers values

func (*PublicListUserAchievementsOK) Error

func (*PublicListUserAchievementsOK) ToJSONString added in v0.25.0

func (o *PublicListUserAchievementsOK) ToJSONString() string

type PublicListUserAchievementsParams

type PublicListUserAchievementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Limit
	  the maximum number of data that may be returned (1...100)

	*/
	Limit *int64
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  offset

	*/
	Offset *int64
	/*PreferUnlocked
	  prefer to query achieved

	*/
	PreferUnlocked *bool
	/*UserID
	  user id

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

PublicListUserAchievementsParams contains all the parameters to send to the API endpoint for the public list user achievements operation typically these are written to a http.Request

func NewPublicListUserAchievementsParams

func NewPublicListUserAchievementsParams() *PublicListUserAchievementsParams

NewPublicListUserAchievementsParams creates a new PublicListUserAchievementsParams object with the default values initialized.

func NewPublicListUserAchievementsParamsWithContext

func NewPublicListUserAchievementsParamsWithContext(ctx context.Context) *PublicListUserAchievementsParams

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

func NewPublicListUserAchievementsParamsWithHTTPClient

func NewPublicListUserAchievementsParamsWithHTTPClient(client *http.Client) *PublicListUserAchievementsParams

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

func NewPublicListUserAchievementsParamsWithTimeout

func NewPublicListUserAchievementsParamsWithTimeout(timeout time.Duration) *PublicListUserAchievementsParams

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

func (*PublicListUserAchievementsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the public list user achievements params

func (*PublicListUserAchievementsParams) SetContext

SetContext adds the context to the public list user achievements params

func (*PublicListUserAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list user achievements params

func (*PublicListUserAchievementsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the public list user achievements params

func (*PublicListUserAchievementsParams) SetLimit

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

SetLimit adds the limit to the public list user achievements params

func (*PublicListUserAchievementsParams) SetNamespace

func (o *PublicListUserAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list user achievements params

func (*PublicListUserAchievementsParams) SetOffset

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

SetOffset adds the offset to the public list user achievements params

func (*PublicListUserAchievementsParams) SetPreferUnlocked

func (o *PublicListUserAchievementsParams) SetPreferUnlocked(preferUnlocked *bool)

SetPreferUnlocked adds the preferUnlocked to the public list user achievements params

func (*PublicListUserAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the public list user achievements params

func (*PublicListUserAchievementsParams) SetUserID

func (o *PublicListUserAchievementsParams) SetUserID(userID string)

SetUserID adds the userId to the public list user achievements params

func (*PublicListUserAchievementsParams) WithContext

WithContext adds the context to the public list user achievements params

func (*PublicListUserAchievementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public list user achievements params

func (*PublicListUserAchievementsParams) WithLimit

WithLimit adds the limit to the public list user achievements params

func (*PublicListUserAchievementsParams) WithNamespace

WithNamespace adds the namespace to the public list user achievements params

func (*PublicListUserAchievementsParams) WithOffset

WithOffset adds the offset to the public list user achievements params

func (*PublicListUserAchievementsParams) WithPreferUnlocked

func (o *PublicListUserAchievementsParams) WithPreferUnlocked(preferUnlocked *bool) *PublicListUserAchievementsParams

WithPreferUnlocked adds the preferUnlocked to the public list user achievements params

func (*PublicListUserAchievementsParams) WithTimeout

WithTimeout adds the timeout to the public list user achievements params

func (*PublicListUserAchievementsParams) WithUserID

WithUserID adds the userID to the public list user achievements params

func (*PublicListUserAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListUserAchievementsReader

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

PublicListUserAchievementsReader is a Reader for the PublicListUserAchievements structure.

func (*PublicListUserAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListUserAchievementsUnauthorized

type PublicListUserAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListUserAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewPublicListUserAchievementsUnauthorized

func NewPublicListUserAchievementsUnauthorized() *PublicListUserAchievementsUnauthorized

NewPublicListUserAchievementsUnauthorized creates a PublicListUserAchievementsUnauthorized with default headers values

func (*PublicListUserAchievementsUnauthorized) Error

func (*PublicListUserAchievementsUnauthorized) GetPayload

func (*PublicListUserAchievementsUnauthorized) ToJSONString added in v0.25.0

type PublicUnlockAchievementBadRequest

type PublicUnlockAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

PublicUnlockAchievementBadRequest handles this case with default header values.

Bad Request

func NewPublicUnlockAchievementBadRequest

func NewPublicUnlockAchievementBadRequest() *PublicUnlockAchievementBadRequest

NewPublicUnlockAchievementBadRequest creates a PublicUnlockAchievementBadRequest with default headers values

func (*PublicUnlockAchievementBadRequest) Error

func (*PublicUnlockAchievementBadRequest) GetPayload

func (*PublicUnlockAchievementBadRequest) ToJSONString added in v0.25.0

func (o *PublicUnlockAchievementBadRequest) ToJSONString() string

type PublicUnlockAchievementInternalServerError

type PublicUnlockAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

PublicUnlockAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicUnlockAchievementInternalServerError

func NewPublicUnlockAchievementInternalServerError() *PublicUnlockAchievementInternalServerError

NewPublicUnlockAchievementInternalServerError creates a PublicUnlockAchievementInternalServerError with default headers values

func (*PublicUnlockAchievementInternalServerError) Error

func (*PublicUnlockAchievementInternalServerError) GetPayload

func (*PublicUnlockAchievementInternalServerError) ToJSONString added in v0.25.0

type PublicUnlockAchievementNoContent

type PublicUnlockAchievementNoContent struct {
}

PublicUnlockAchievementNoContent handles this case with default header values.

No Content

func NewPublicUnlockAchievementNoContent

func NewPublicUnlockAchievementNoContent() *PublicUnlockAchievementNoContent

NewPublicUnlockAchievementNoContent creates a PublicUnlockAchievementNoContent with default headers values

func (*PublicUnlockAchievementNoContent) Error

type PublicUnlockAchievementParams

type PublicUnlockAchievementParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user id

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

PublicUnlockAchievementParams contains all the parameters to send to the API endpoint for the public unlock achievement operation typically these are written to a http.Request

func NewPublicUnlockAchievementParams

func NewPublicUnlockAchievementParams() *PublicUnlockAchievementParams

NewPublicUnlockAchievementParams creates a new PublicUnlockAchievementParams object with the default values initialized.

func NewPublicUnlockAchievementParamsWithContext

func NewPublicUnlockAchievementParamsWithContext(ctx context.Context) *PublicUnlockAchievementParams

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

func NewPublicUnlockAchievementParamsWithHTTPClient

func NewPublicUnlockAchievementParamsWithHTTPClient(client *http.Client) *PublicUnlockAchievementParams

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

func NewPublicUnlockAchievementParamsWithTimeout

func NewPublicUnlockAchievementParamsWithTimeout(timeout time.Duration) *PublicUnlockAchievementParams

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

func (*PublicUnlockAchievementParams) SetAchievementCode

func (o *PublicUnlockAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetContext

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

SetContext adds the context to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetNamespace

func (o *PublicUnlockAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetUserID

func (o *PublicUnlockAchievementParams) SetUserID(userID string)

SetUserID adds the userId to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithAchievementCode

func (o *PublicUnlockAchievementParams) WithAchievementCode(achievementCode string) *PublicUnlockAchievementParams

WithAchievementCode adds the achievementCode to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithContext

WithContext adds the context to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithNamespace

WithNamespace adds the namespace to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithTimeout

WithTimeout adds the timeout to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithUserID

WithUserID adds the userID to the public unlock achievement params

func (*PublicUnlockAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUnlockAchievementReader

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

PublicUnlockAchievementReader is a Reader for the PublicUnlockAchievement structure.

func (*PublicUnlockAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUnlockAchievementUnauthorized

type PublicUnlockAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

PublicUnlockAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewPublicUnlockAchievementUnauthorized

func NewPublicUnlockAchievementUnauthorized() *PublicUnlockAchievementUnauthorized

NewPublicUnlockAchievementUnauthorized creates a PublicUnlockAchievementUnauthorized with default headers values

func (*PublicUnlockAchievementUnauthorized) Error

func (*PublicUnlockAchievementUnauthorized) GetPayload

func (*PublicUnlockAchievementUnauthorized) ToJSONString added in v0.25.0

func (o *PublicUnlockAchievementUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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