achievements

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 16 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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId added in v0.63.0

func (o *AdminCreateNewAchievementParams) SetFlightId(flightId string)

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

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 AdminCreateNewAchievementTooManyRequests added in v0.36.0

type AdminCreateNewAchievementTooManyRequests struct {
	Payload *achievementclientmodels.ResponseError
}

AdminCreateNewAchievementTooManyRequests handles this case with default header values.

Too Many Requests

func NewAdminCreateNewAchievementTooManyRequests added in v0.36.0

func NewAdminCreateNewAchievementTooManyRequests() *AdminCreateNewAchievementTooManyRequests

NewAdminCreateNewAchievementTooManyRequests creates a AdminCreateNewAchievementTooManyRequests with default headers values

func (*AdminCreateNewAchievementTooManyRequests) Error added in v0.36.0

func (*AdminCreateNewAchievementTooManyRequests) GetPayload added in v0.36.0

func (*AdminCreateNewAchievementTooManyRequests) ToJSONString added in v0.36.0

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId added in v0.63.0

func (o *AdminDeleteAchievementParams) SetFlightId(flightId string)

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId added in v0.63.0

func (o *AdminGetAchievementParams) SetFlightId(flightId string)

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

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
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Global
	  filter by global achievement flag

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

	*/
	Limit *int64
	/*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
	/*Tags
	  tags

	*/
	Tags []string

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

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

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) SetFlightId added in v0.63.0

func (o *AdminListAchievementsParams) SetFlightId(flightId string)

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

func (*AdminListAchievementsParams) SetGlobal added in v0.38.0

func (o *AdminListAchievementsParams) SetGlobal(global *bool)

SetGlobal adds the global 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) SetTags added in v0.34.0

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

SetTags adds the tags 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) WithGlobal added in v0.38.0

WithGlobal adds the global 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) WithTags added in v0.34.0

WithTags adds the tags 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 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
	/*Body*/
	Body *achievementclientmodels.ModelsAchievementOrderUpdateRequest
	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

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) SetFlightId added in v0.63.0

func (o *AdminUpdateAchievementListOrderParams) SetFlightId(flightId string)

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

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
	/*Body*/
	Body *achievementclientmodels.ModelsAchievementUpdateRequest
	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

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) SetFlightId added in v0.63.0

func (o *AdminUpdateAchievementParams) SetFlightId(flightId string)

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

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: 2022-08-10 - Use AdminCreateNewAchievementShort instead.

AdminCreateNewAchievement create new achievement

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [CREATE]` and scope `social`

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 create new achievement

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [CREATE]` and scope `social`

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: 2022-08-10 - Use AdminDeleteAchievementShort instead.

AdminDeleteAchievement delete an achievement

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [DELETE]` and scope `social`

func (*Client) AdminDeleteAchievementShort added in v0.8.0

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

AdminDeleteAchievementShort delete an achievement

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [DELETE]` and scope `social`

func (*Client) AdminGetAchievement deprecated

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

AdminGetAchievement get an achievement

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]` and scope `social`

func (*Client) AdminGetAchievementShort added in v0.8.0

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

AdminGetAchievementShort get an achievement

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]` and scope `social`

func (*Client) AdminListAchievements deprecated

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

AdminListAchievements query achievements Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]` and scope `social`

func (*Client) AdminListAchievementsShort added in v0.8.0

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

AdminListAchievementsShort query achievements

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [READ]` and scope `social`

func (*Client) AdminUpdateAchievement deprecated

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

AdminUpdateAchievement update an achievement

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]` and scope `social`

func (*Client) AdminUpdateAchievementListOrder deprecated

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

AdminUpdateAchievementListOrder update achievements listorder

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]` and scope `social`

func (*Client) AdminUpdateAchievementListOrderShort added in v0.8.0

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

AdminUpdateAchievementListOrderShort update achievements listorder

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]` and scope `social`

func (*Client) AdminUpdateAchievementShort added in v0.8.0

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

AdminUpdateAchievementShort update an achievement

Required permission `ADMIN:NAMESPACE:{namespace}:ACHIEVEMENT [UPDATE]` and scope `social`

func (*Client) ExportAchievements deprecated

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

ExportAchievements export achievements configuration into a json file

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

Required Scope: `social`

Successful response header will contain: `content-disposition: attachment; filename=achievement__config.json`

func (*Client) ExportAchievementsShort added in v0.8.0

func (a *Client) ExportAchievementsShort(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportAchievementsOK, error)

ExportAchievementsShort export achievements configuration into a json file

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

Required Scope: `social`

Successful response header will contain: `content-disposition: attachment; filename=achievement__config.json`

func (*Client) ImportAchievements deprecated

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

ImportAchievements import achievements from file

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

Required Scope: social

Import achievement configuration from file. It will merge with existing achievement. Available import strategy: - leaveOut: if achievement with same key exist, the existing will be used and imported one will be ignored (default) - replace: if achievement with same key exist, the imported achievement 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 import achievements from file

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

Required Scope: social

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

func (*Client) PublicGetAchievement deprecated

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

PublicGetAchievement get an achievement

Required permission `NAMESPACE:{namespace}:ACHIEVEMENT [READ]` and scope `social`

func (*Client) PublicGetAchievementShort added in v0.8.0

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

PublicGetAchievementShort get an achievement

Required permission `NAMESPACE:{namespace}:ACHIEVEMENT [READ]` and scope `social`

func (*Client) PublicListAchievements deprecated

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

PublicListAchievements query achievements

Required permission `NAMESPACE:{namespace}:ACHIEVEMENT [READ]` and scope `social`

func (*Client) PublicListAchievementsShort added in v0.8.0

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

PublicListAchievementsShort query achievements

Required permission `NAMESPACE:{namespace}:ACHIEVEMENT [READ]` and scope `social`

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminListAchievements(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, *AdminListAchievementsBadRequest, *AdminListAchievementsUnauthorized, *AdminListAchievementsNotFound, *AdminListAchievementsInternalServerError, error)
	AdminListAchievementsShort(params *AdminListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListAchievementsOK, error)
	AdminCreateNewAchievement(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, *AdminCreateNewAchievementBadRequest, *AdminCreateNewAchievementUnauthorized, *AdminCreateNewAchievementTooManyRequests, *AdminCreateNewAchievementInternalServerError, error)
	AdminCreateNewAchievementShort(params *AdminCreateNewAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateNewAchievementCreated, error)
	ExportAchievements(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportAchievementsOK, *ExportAchievementsUnauthorized, *ExportAchievementsForbidden, *ExportAchievementsInternalServerError, error)
	ExportAchievementsShort(params *ExportAchievementsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportAchievementsOK, error)
	ImportAchievements(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, *ImportAchievementsUnauthorized, *ImportAchievementsForbidden, *ImportAchievementsTooManyRequests, *ImportAchievementsInternalServerError, error)
	ImportAchievementsShort(params *ImportAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*ImportAchievementsOK, error)
	AdminGetAchievement(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, *AdminGetAchievementBadRequest, *AdminGetAchievementUnauthorized, *AdminGetAchievementNotFound, *AdminGetAchievementInternalServerError, error)
	AdminGetAchievementShort(params *AdminGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAchievementOK, error)
	AdminUpdateAchievement(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, *AdminUpdateAchievementBadRequest, *AdminUpdateAchievementUnauthorized, *AdminUpdateAchievementNotFound, *AdminUpdateAchievementInternalServerError, error)
	AdminUpdateAchievementShort(params *AdminUpdateAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementOK, error)
	AdminDeleteAchievement(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, *AdminDeleteAchievementBadRequest, *AdminDeleteAchievementUnauthorized, *AdminDeleteAchievementNotFound, *AdminDeleteAchievementInternalServerError, error)
	AdminDeleteAchievementShort(params *AdminDeleteAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteAchievementNoContent, error)
	AdminUpdateAchievementListOrder(params *AdminUpdateAchievementListOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementListOrderNoContent, *AdminUpdateAchievementListOrderBadRequest, *AdminUpdateAchievementListOrderUnauthorized, *AdminUpdateAchievementListOrderNotFound, *AdminUpdateAchievementListOrderInternalServerError, error)
	AdminUpdateAchievementListOrderShort(params *AdminUpdateAchievementListOrderParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateAchievementListOrderNoContent, error)
	PublicListAchievements(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, *PublicListAchievementsBadRequest, *PublicListAchievementsUnauthorized, *PublicListAchievementsNotFound, *PublicListAchievementsInternalServerError, error)
	PublicListAchievementsShort(params *PublicListAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListAchievementsOK, error)
	PublicGetAchievement(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, *PublicGetAchievementBadRequest, *PublicGetAchievementUnauthorized, *PublicGetAchievementNotFound, *PublicGetAchievementInternalServerError, error)
	PublicGetAchievementShort(params *PublicGetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetAchievementOK, 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 io.Writer
}

ExportAchievementsOK handles this case with default header values.

OK

func NewExportAchievementsOK

func NewExportAchievementsOK(writer io.Writer) *ExportAchievementsOK

NewExportAchievementsOK creates a ExportAchievementsOK with default headers values

func (*ExportAchievementsOK) Error

func (o *ExportAchievementsOK) Error() string

func (*ExportAchievementsOK) GetPayload

func (o *ExportAchievementsOK) GetPayload() io.Writer

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
	/*Tags
	  tags

	*/
	Tags []string

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

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

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) SetFlightId added in v0.63.0

func (o *ExportAchievementsParams) SetFlightId(flightId string)

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

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) SetTags added in v0.34.0

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

SetTags adds the tags 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) WithTags added in v0.34.0

WithTags adds the tags 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
	/*Strategy
	  strategy for import

	*/
	Strategy *string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

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) SetFlightId added in v0.63.0

func (o *ImportAchievementsParams) SetFlightId(flightId string)

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

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 ImportAchievementsTooManyRequests added in v0.36.0

type ImportAchievementsTooManyRequests struct {
	Payload *achievementclientmodels.ResponseError
}

ImportAchievementsTooManyRequests handles this case with default header values.

Too Many Requests

func NewImportAchievementsTooManyRequests added in v0.36.0

func NewImportAchievementsTooManyRequests() *ImportAchievementsTooManyRequests

NewImportAchievementsTooManyRequests creates a ImportAchievementsTooManyRequests with default headers values

func (*ImportAchievementsTooManyRequests) Error added in v0.36.0

func (*ImportAchievementsTooManyRequests) GetPayload added in v0.36.0

func (*ImportAchievementsTooManyRequests) ToJSONString added in v0.36.0

func (o *ImportAchievementsTooManyRequests) ToJSONString() string

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
	/*Namespace
	  namespace of the game

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

	*/
	Language string

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

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

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) SetFlightId added in v0.63.0

func (o *PublicGetAchievementParams) SetFlightId(flightId string)

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

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
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Global
	  filter by global achievement flag

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

	*/
	Limit *int64
	/*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
	/*Tags
	  tags

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

	*/
	Language string

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

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

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) SetFlightId added in v0.63.0

func (o *PublicListAchievementsParams) SetFlightId(flightId string)

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

func (*PublicListAchievementsParams) SetGlobal added in v0.38.0

func (o *PublicListAchievementsParams) SetGlobal(global *bool)

SetGlobal adds the global 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) SetTags added in v0.34.0

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

SetTags adds the tags 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) WithGlobal added in v0.38.0

WithGlobal adds the global 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) WithTags added in v0.34.0

WithTags adds the tags 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

Jump to

Keyboard shortcuts

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