achievements

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

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

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

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

type AdminCreateNewAchievementParams

type AdminCreateNewAchievementParams struct {

	/*Body*/
	Body *achievementclientmodels.ModelsAchievementRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

func NewAdminCreateNewAchievementParams

func NewAdminCreateNewAchievementParams() *AdminCreateNewAchievementParams

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

func NewAdminCreateNewAchievementParamsWithContext

func NewAdminCreateNewAchievementParamsWithContext(ctx context.Context) *AdminCreateNewAchievementParams

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

func NewAdminCreateNewAchievementParamsWithHTTPClient

func NewAdminCreateNewAchievementParamsWithHTTPClient(client *http.Client) *AdminCreateNewAchievementParams

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

func NewAdminCreateNewAchievementParamsWithTimeout

func NewAdminCreateNewAchievementParamsWithTimeout(timeout time.Duration) *AdminCreateNewAchievementParams

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

func (*AdminCreateNewAchievementParams) SetBody

SetBody adds the body to the admin create new achievement params

func (*AdminCreateNewAchievementParams) SetContext

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

SetContext adds the context to the admin create new achievement params

func (*AdminCreateNewAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create new achievement params

func (*AdminCreateNewAchievementParams) SetNamespace

func (o *AdminCreateNewAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin create new achievement params

func (*AdminCreateNewAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the admin create new achievement params

func (*AdminCreateNewAchievementParams) WithBody

WithBody adds the body to the admin create new achievement params

func (*AdminCreateNewAchievementParams) WithContext

WithContext adds the context to the admin create new achievement params

func (*AdminCreateNewAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin create new achievement params

func (*AdminCreateNewAchievementParams) WithNamespace

WithNamespace adds the namespace to the admin create new achievement params

func (*AdminCreateNewAchievementParams) WithTimeout

WithTimeout adds the timeout to the admin create new achievement params

func (*AdminCreateNewAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreateNewAchievementReader

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

AdminCreateNewAchievementReader is a Reader for the AdminCreateNewAchievement structure.

func (*AdminCreateNewAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateNewAchievementUnauthorized

type AdminCreateNewAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminCreateNewAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewAdminCreateNewAchievementUnauthorized

func NewAdminCreateNewAchievementUnauthorized() *AdminCreateNewAchievementUnauthorized

NewAdminCreateNewAchievementUnauthorized creates a AdminCreateNewAchievementUnauthorized with default headers values

func (*AdminCreateNewAchievementUnauthorized) Error

func (*AdminCreateNewAchievementUnauthorized) GetPayload

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

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

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

type AdminDeleteAchievementParams

type AdminDeleteAchievementParams struct {

	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

func NewAdminDeleteAchievementParams

func NewAdminDeleteAchievementParams() *AdminDeleteAchievementParams

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

func NewAdminDeleteAchievementParamsWithContext

func NewAdminDeleteAchievementParamsWithContext(ctx context.Context) *AdminDeleteAchievementParams

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

func NewAdminDeleteAchievementParamsWithHTTPClient

func NewAdminDeleteAchievementParamsWithHTTPClient(client *http.Client) *AdminDeleteAchievementParams

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

func NewAdminDeleteAchievementParamsWithTimeout

func NewAdminDeleteAchievementParamsWithTimeout(timeout time.Duration) *AdminDeleteAchievementParams

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

func (*AdminDeleteAchievementParams) SetAchievementCode

func (o *AdminDeleteAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin delete achievement params

func (*AdminDeleteAchievementParams) SetContext

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

SetContext adds the context to the admin delete achievement params

func (*AdminDeleteAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin delete achievement params

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

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

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

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

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

type AdminGetAchievementParams

type AdminGetAchievementParams struct {

	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

func NewAdminGetAchievementParams

func NewAdminGetAchievementParams() *AdminGetAchievementParams

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

func NewAdminGetAchievementParamsWithContext

func NewAdminGetAchievementParamsWithContext(ctx context.Context) *AdminGetAchievementParams

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

func NewAdminGetAchievementParamsWithHTTPClient

func NewAdminGetAchievementParamsWithHTTPClient(client *http.Client) *AdminGetAchievementParams

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

func NewAdminGetAchievementParamsWithTimeout

func NewAdminGetAchievementParamsWithTimeout(timeout time.Duration) *AdminGetAchievementParams

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

func (*AdminGetAchievementParams) SetAchievementCode

func (o *AdminGetAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin get achievement params

func (*AdminGetAchievementParams) SetContext

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

SetContext adds the context to the admin get achievement params

func (*AdminGetAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get achievement params

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

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

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

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

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

type AdminListAchievementsParams

type AdminListAchievementsParams struct {

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

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

	*/
	Namespace string
	/*Offset
	  offset default 0

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

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

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

func NewAdminListAchievementsParams

func NewAdminListAchievementsParams() *AdminListAchievementsParams

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

func NewAdminListAchievementsParamsWithContext

func NewAdminListAchievementsParamsWithContext(ctx context.Context) *AdminListAchievementsParams

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

func NewAdminListAchievementsParamsWithHTTPClient

func NewAdminListAchievementsParamsWithHTTPClient(client *http.Client) *AdminListAchievementsParams

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

func NewAdminListAchievementsParamsWithTimeout

func NewAdminListAchievementsParamsWithTimeout(timeout time.Duration) *AdminListAchievementsParams

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

func (*AdminListAchievementsParams) SetContext

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

SetContext adds the context to the admin list achievements params

func (*AdminListAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list achievements params

func (*AdminListAchievementsParams) SetLimit

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

SetLimit adds the limit to the admin list achievements params

func (*AdminListAchievementsParams) SetNamespace

func (o *AdminListAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list achievements params

func (*AdminListAchievementsParams) SetOffset

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

SetOffset adds the offset to the admin list achievements params

func (*AdminListAchievementsParams) SetSortBy

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

SetSortBy adds the sortBy to the admin list achievements params

func (*AdminListAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the admin list achievements params

func (*AdminListAchievementsParams) WithContext

WithContext adds the context to the admin list achievements params

func (*AdminListAchievementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin list achievements params

func (*AdminListAchievementsParams) WithLimit

WithLimit adds the limit to the admin list achievements params

func (*AdminListAchievementsParams) WithNamespace

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

WithNamespace adds the namespace to the admin list achievements params

func (*AdminListAchievementsParams) WithOffset

WithOffset adds the offset to the admin list achievements params

func (*AdminListAchievementsParams) WithSortBy

WithSortBy adds the sortBy to the admin list achievements params

func (*AdminListAchievementsParams) WithTimeout

WithTimeout adds the timeout to the admin list achievements params

func (*AdminListAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListAchievementsReader

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

AdminListAchievementsReader is a Reader for the AdminListAchievements structure.

func (*AdminListAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListAchievementsUnauthorized

type AdminListAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminListAchievementsUnauthorized

func NewAdminListAchievementsUnauthorized() *AdminListAchievementsUnauthorized

NewAdminListAchievementsUnauthorized creates a AdminListAchievementsUnauthorized with default headers values

func (*AdminListAchievementsUnauthorized) Error

func (*AdminListAchievementsUnauthorized) GetPayload

type AdminListUserAchievementsBadRequest

type AdminListUserAchievementsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserAchievementsBadRequest handles this case with default header values.

Bad Request

func NewAdminListUserAchievementsBadRequest

func NewAdminListUserAchievementsBadRequest() *AdminListUserAchievementsBadRequest

NewAdminListUserAchievementsBadRequest creates a AdminListUserAchievementsBadRequest with default headers values

func (*AdminListUserAchievementsBadRequest) Error

func (*AdminListUserAchievementsBadRequest) GetPayload

type AdminListUserAchievementsInternalServerError

type AdminListUserAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListUserAchievementsInternalServerError

func NewAdminListUserAchievementsInternalServerError() *AdminListUserAchievementsInternalServerError

NewAdminListUserAchievementsInternalServerError creates a AdminListUserAchievementsInternalServerError with default headers values

func (*AdminListUserAchievementsInternalServerError) Error

func (*AdminListUserAchievementsInternalServerError) GetPayload

type AdminListUserAchievementsNotFound

type AdminListUserAchievementsNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserAchievementsNotFound handles this case with default header values.

Not Found

func NewAdminListUserAchievementsNotFound

func NewAdminListUserAchievementsNotFound() *AdminListUserAchievementsNotFound

NewAdminListUserAchievementsNotFound creates a AdminListUserAchievementsNotFound with default headers values

func (*AdminListUserAchievementsNotFound) Error

func (*AdminListUserAchievementsNotFound) GetPayload

type AdminListUserAchievementsOK

type AdminListUserAchievementsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedUserAchievementResponse
}

AdminListUserAchievementsOK handles this case with default header values.

OK

func NewAdminListUserAchievementsOK

func NewAdminListUserAchievementsOK() *AdminListUserAchievementsOK

NewAdminListUserAchievementsOK creates a AdminListUserAchievementsOK with default headers values

func (*AdminListUserAchievementsOK) Error

type AdminListUserAchievementsParams

type AdminListUserAchievementsParams struct {

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

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

	*/
	Namespace string
	/*Offset
	  offset default 0

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

	*/
	PreferUnlocked *bool
	/*UserID
	  user id

	*/
	UserID string

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

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

func NewAdminListUserAchievementsParams

func NewAdminListUserAchievementsParams() *AdminListUserAchievementsParams

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

func NewAdminListUserAchievementsParamsWithContext

func NewAdminListUserAchievementsParamsWithContext(ctx context.Context) *AdminListUserAchievementsParams

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

func NewAdminListUserAchievementsParamsWithHTTPClient

func NewAdminListUserAchievementsParamsWithHTTPClient(client *http.Client) *AdminListUserAchievementsParams

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

func NewAdminListUserAchievementsParamsWithTimeout

func NewAdminListUserAchievementsParamsWithTimeout(timeout time.Duration) *AdminListUserAchievementsParams

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

func (*AdminListUserAchievementsParams) SetContext

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

SetContext adds the context to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetLimit

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

SetLimit adds the limit to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetNamespace

func (o *AdminListUserAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetOffset

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

SetOffset adds the offset to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetPreferUnlocked

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

SetPreferUnlocked adds the preferUnlocked to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetUserID

func (o *AdminListUserAchievementsParams) SetUserID(userID string)

SetUserID adds the userId to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithContext

WithContext adds the context to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithLimit

WithLimit adds the limit to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithNamespace

WithNamespace adds the namespace to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithOffset

WithOffset adds the offset to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithPreferUnlocked

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

WithPreferUnlocked adds the preferUnlocked to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithTimeout

WithTimeout adds the timeout to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithUserID

WithUserID adds the userID to the admin list user achievements params

func (*AdminListUserAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListUserAchievementsReader

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

AdminListUserAchievementsReader is a Reader for the AdminListUserAchievements structure.

func (*AdminListUserAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListUserAchievementsUnauthorized

type AdminListUserAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminListUserAchievementsUnauthorized

func NewAdminListUserAchievementsUnauthorized() *AdminListUserAchievementsUnauthorized

NewAdminListUserAchievementsUnauthorized creates a AdminListUserAchievementsUnauthorized with default headers values

func (*AdminListUserAchievementsUnauthorized) Error

func (*AdminListUserAchievementsUnauthorized) GetPayload

type AdminUnlockAchievementBadRequest

type AdminUnlockAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUnlockAchievementBadRequest handles this case with default header values.

Bad Request

func NewAdminUnlockAchievementBadRequest

func NewAdminUnlockAchievementBadRequest() *AdminUnlockAchievementBadRequest

NewAdminUnlockAchievementBadRequest creates a AdminUnlockAchievementBadRequest with default headers values

func (*AdminUnlockAchievementBadRequest) Error

func (*AdminUnlockAchievementBadRequest) GetPayload

type AdminUnlockAchievementInternalServerError

type AdminUnlockAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUnlockAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUnlockAchievementInternalServerError

func NewAdminUnlockAchievementInternalServerError() *AdminUnlockAchievementInternalServerError

NewAdminUnlockAchievementInternalServerError creates a AdminUnlockAchievementInternalServerError with default headers values

func (*AdminUnlockAchievementInternalServerError) Error

func (*AdminUnlockAchievementInternalServerError) GetPayload

type AdminUnlockAchievementNoContent

type AdminUnlockAchievementNoContent struct {
}

AdminUnlockAchievementNoContent handles this case with default header values.

No Content

func NewAdminUnlockAchievementNoContent

func NewAdminUnlockAchievementNoContent() *AdminUnlockAchievementNoContent

NewAdminUnlockAchievementNoContent creates a AdminUnlockAchievementNoContent with default headers values

func (*AdminUnlockAchievementNoContent) Error

type AdminUnlockAchievementParams

type AdminUnlockAchievementParams struct {

	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user id

	*/
	UserID string

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

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

func NewAdminUnlockAchievementParams

func NewAdminUnlockAchievementParams() *AdminUnlockAchievementParams

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

func NewAdminUnlockAchievementParamsWithContext

func NewAdminUnlockAchievementParamsWithContext(ctx context.Context) *AdminUnlockAchievementParams

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

func NewAdminUnlockAchievementParamsWithHTTPClient

func NewAdminUnlockAchievementParamsWithHTTPClient(client *http.Client) *AdminUnlockAchievementParams

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

func NewAdminUnlockAchievementParamsWithTimeout

func NewAdminUnlockAchievementParamsWithTimeout(timeout time.Duration) *AdminUnlockAchievementParams

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

func (*AdminUnlockAchievementParams) SetAchievementCode

func (o *AdminUnlockAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetContext

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

SetContext adds the context to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetNamespace

func (o *AdminUnlockAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetUserID

func (o *AdminUnlockAchievementParams) SetUserID(userID string)

SetUserID adds the userId to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithAchievementCode

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

WithAchievementCode adds the achievementCode to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithContext

WithContext adds the context to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithNamespace

WithNamespace adds the namespace to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithTimeout

WithTimeout adds the timeout to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithUserID

WithUserID adds the userID to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUnlockAchievementReader

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

AdminUnlockAchievementReader is a Reader for the AdminUnlockAchievement structure.

func (*AdminUnlockAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUnlockAchievementUnauthorized

type AdminUnlockAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUnlockAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewAdminUnlockAchievementUnauthorized

func NewAdminUnlockAchievementUnauthorized() *AdminUnlockAchievementUnauthorized

NewAdminUnlockAchievementUnauthorized creates a AdminUnlockAchievementUnauthorized with default headers values

func (*AdminUnlockAchievementUnauthorized) Error

func (*AdminUnlockAchievementUnauthorized) GetPayload

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

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

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

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

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

type AdminUpdateAchievementListOrderParams

type AdminUpdateAchievementListOrderParams struct {

	/*AchievementCode
	  achievement code

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

	*/
	Namespace string

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

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

func NewAdminUpdateAchievementListOrderParams

func NewAdminUpdateAchievementListOrderParams() *AdminUpdateAchievementListOrderParams

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

func NewAdminUpdateAchievementListOrderParamsWithContext

func NewAdminUpdateAchievementListOrderParamsWithContext(ctx context.Context) *AdminUpdateAchievementListOrderParams

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

func NewAdminUpdateAchievementListOrderParamsWithHTTPClient

func NewAdminUpdateAchievementListOrderParamsWithHTTPClient(client *http.Client) *AdminUpdateAchievementListOrderParams

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

func NewAdminUpdateAchievementListOrderParamsWithTimeout

func NewAdminUpdateAchievementListOrderParamsWithTimeout(timeout time.Duration) *AdminUpdateAchievementListOrderParams

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

func (*AdminUpdateAchievementListOrderParams) SetAchievementCode

func (o *AdminUpdateAchievementListOrderParams) SetAchievementCode(achievementCode string)

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

func (*AdminUpdateAchievementListOrderParams) SetBody

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

func (*AdminUpdateAchievementListOrderParams) SetContext

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

func (*AdminUpdateAchievementListOrderParams) SetHTTPClient

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

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

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

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

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

type AdminUpdateAchievementParams

type AdminUpdateAchievementParams struct {

	/*AchievementCode
	  achievement code

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

	*/
	Namespace string

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

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

func NewAdminUpdateAchievementParams

func NewAdminUpdateAchievementParams() *AdminUpdateAchievementParams

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

func NewAdminUpdateAchievementParamsWithContext

func NewAdminUpdateAchievementParamsWithContext(ctx context.Context) *AdminUpdateAchievementParams

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

func NewAdminUpdateAchievementParamsWithHTTPClient

func NewAdminUpdateAchievementParamsWithHTTPClient(client *http.Client) *AdminUpdateAchievementParams

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

func NewAdminUpdateAchievementParamsWithTimeout

func NewAdminUpdateAchievementParamsWithTimeout(timeout time.Duration) *AdminUpdateAchievementParams

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

func (*AdminUpdateAchievementParams) SetAchievementCode

func (o *AdminUpdateAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin update achievement params

func (*AdminUpdateAchievementParams) SetBody

SetBody adds the body to the admin update achievement params

func (*AdminUpdateAchievementParams) SetContext

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

SetContext adds the context to the admin update achievement params

func (*AdminUpdateAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin update achievement params

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

type Client

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

Client for achievements API

func (*Client) AdminCreateNewAchievement

  AdminCreateNewAchievement creates new achievement

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

func (*Client) AdminCreateNewAchievementShort added in v0.8.0

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

func (*Client) AdminDeleteAchievement

AdminDeleteAchievement deletes an achievement

<p>Required permission

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

func (*Client) AdminDeleteAchievementShort added in v0.8.0

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

func (*Client) AdminGetAchievement

AdminGetAchievement gets an achievement

<p>Required permission

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

func (*Client) AdminGetAchievementShort added in v0.8.0

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

func (*Client) AdminListAchievements

AdminListAchievements queries achievements

<p>Required permission

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

func (*Client) AdminListAchievementsShort added in v0.8.0

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

func (*Client) AdminListUserAchievements

AdminListUserAchievements queries user achievements include achieved and in progress

<p>Required permission

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

func (*Client) AdminListUserAchievementsShort added in v0.8.0

func (a *Client) AdminListUserAchievementsShort(params *AdminListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserAchievementsOK, error)

func (*Client) AdminUnlockAchievement

AdminUnlockAchievement unlocks an achievement

<p>Required permission

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

func (*Client) AdminUnlockAchievementShort added in v0.8.0

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

func (*Client) AdminUpdateAchievement

AdminUpdateAchievement updates an achievement

<p>Required permission

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

func (*Client) AdminUpdateAchievementListOrder

AdminUpdateAchievementListOrder updates achievements list order

<p>Required permission

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

func (*Client) AdminUpdateAchievementListOrderShort added in v0.8.0

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

func (*Client) AdminUpdateAchievementShort added in v0.8.0

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

func (*Client) ExportAchievements

  ExportAchievements exports achievements configuration into a json file

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

				Required Scope: social

func (*Client) ExportAchievementsShort added in v0.8.0

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

func (*Client) ImportAchievements

  ImportAchievements imports achievements from file

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

				Required Scope: social

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

func (*Client) ImportAchievementsShort added in v0.8.0

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

func (*Client) PublicGetAchievement

PublicGetAchievement gets an achievement

<p>Required permission

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

func (*Client) PublicGetAchievementShort added in v0.8.0

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

func (*Client) PublicListAchievements

PublicListAchievements queries achievements

<p>Required permission

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

func (*Client) PublicListAchievementsShort added in v0.8.0

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

func (*Client) PublicListUserAchievements

PublicListUserAchievements queries user achievements include achieved and in progress

<p>Required permission

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

func (*Client) PublicListUserAchievementsShort added in v0.8.0

func (a *Client) PublicListUserAchievementsShort(params *PublicListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserAchievementsOK, error)

func (*Client) PublicUnlockAchievement

PublicUnlockAchievement unlocks an achievement

<p>Required permission

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

func (*Client) PublicUnlockAchievementShort added in v0.8.0

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

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

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new achievements API client.

type ExportAchievementsForbidden

type ExportAchievementsForbidden struct {
	Payload *achievementclientmodels.ResponseError
}

ExportAchievementsForbidden handles this case with default header values.

Forbidden

func NewExportAchievementsForbidden

func NewExportAchievementsForbidden() *ExportAchievementsForbidden

NewExportAchievementsForbidden creates a ExportAchievementsForbidden with default headers values

func (*ExportAchievementsForbidden) Error

func (*ExportAchievementsForbidden) GetPayload

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

type ExportAchievementsOK

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

ExportAchievementsOK handles this case with default header values.

OK

func NewExportAchievementsOK

func NewExportAchievementsOK() *ExportAchievementsOK

NewExportAchievementsOK creates a ExportAchievementsOK with default headers values

func (*ExportAchievementsOK) Error

func (o *ExportAchievementsOK) Error() string

func (*ExportAchievementsOK) GetPayload

type ExportAchievementsParams

type ExportAchievementsParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

func NewExportAchievementsParams

func NewExportAchievementsParams() *ExportAchievementsParams

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

func NewExportAchievementsParamsWithContext

func NewExportAchievementsParamsWithContext(ctx context.Context) *ExportAchievementsParams

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

func NewExportAchievementsParamsWithHTTPClient

func NewExportAchievementsParamsWithHTTPClient(client *http.Client) *ExportAchievementsParams

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

func NewExportAchievementsParamsWithTimeout

func NewExportAchievementsParamsWithTimeout(timeout time.Duration) *ExportAchievementsParams

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

func (*ExportAchievementsParams) SetContext

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

SetContext adds the context to the export achievements params

func (*ExportAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export achievements params

func (*ExportAchievementsParams) SetNamespace

func (o *ExportAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the export achievements params

func (*ExportAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the export achievements params

func (*ExportAchievementsParams) WithContext

WithContext adds the context to the export achievements params

func (*ExportAchievementsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export achievements params

func (*ExportAchievementsParams) WithNamespace

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

WithNamespace adds the namespace to the export achievements params

func (*ExportAchievementsParams) WithTimeout

WithTimeout adds the timeout to the export achievements params

func (*ExportAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExportAchievementsReader

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

ExportAchievementsReader is a Reader for the ExportAchievements structure.

func (*ExportAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportAchievementsUnauthorized

type ExportAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

ExportAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewExportAchievementsUnauthorized

func NewExportAchievementsUnauthorized() *ExportAchievementsUnauthorized

NewExportAchievementsUnauthorized creates a ExportAchievementsUnauthorized with default headers values

func (*ExportAchievementsUnauthorized) Error

func (*ExportAchievementsUnauthorized) GetPayload

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

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

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

type ImportAchievementsParams

type ImportAchievementsParams struct {

	/*File
	  file to be imported

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

	*/
	Namespace string
	/*Strategy
	  strategy for import

	*/
	Strategy *string

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

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

func NewImportAchievementsParams

func NewImportAchievementsParams() *ImportAchievementsParams

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

func NewImportAchievementsParamsWithContext

func NewImportAchievementsParamsWithContext(ctx context.Context) *ImportAchievementsParams

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

func NewImportAchievementsParamsWithHTTPClient

func NewImportAchievementsParamsWithHTTPClient(client *http.Client) *ImportAchievementsParams

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

func NewImportAchievementsParamsWithTimeout

func NewImportAchievementsParamsWithTimeout(timeout time.Duration) *ImportAchievementsParams

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

func (*ImportAchievementsParams) SetContext

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

SetContext adds the context to the import achievements params

func (*ImportAchievementsParams) SetFile

SetFile adds the file to the import achievements params

func (*ImportAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import achievements params

func (*ImportAchievementsParams) SetNamespace

func (o *ImportAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the import achievements params

func (*ImportAchievementsParams) SetStrategy

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

SetStrategy adds the strategy to the import achievements params

func (*ImportAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the import achievements params

func (*ImportAchievementsParams) WithContext

WithContext adds the context to the import achievements params

func (*ImportAchievementsParams) WithFile

WithFile adds the file to the import achievements params

func (*ImportAchievementsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import achievements params

func (*ImportAchievementsParams) WithNamespace

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

WithNamespace adds the namespace to the import achievements params

func (*ImportAchievementsParams) WithStrategy

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

WithStrategy adds the strategy to the import achievements params

func (*ImportAchievementsParams) WithTimeout

WithTimeout adds the timeout to the import achievements params

func (*ImportAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportAchievementsReader

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

ImportAchievementsReader is a Reader for the ImportAchievements structure.

func (*ImportAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportAchievementsUnauthorized

type ImportAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

ImportAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewImportAchievementsUnauthorized

func NewImportAchievementsUnauthorized() *ImportAchievementsUnauthorized

NewImportAchievementsUnauthorized creates a ImportAchievementsUnauthorized with default headers values

func (*ImportAchievementsUnauthorized) Error

func (*ImportAchievementsUnauthorized) GetPayload

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

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

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

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

type PublicGetAchievementParams

type PublicGetAchievementParams struct {

	/*AchievementCode
	  achievement code

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

	*/
	Language string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

func NewPublicGetAchievementParams

func NewPublicGetAchievementParams() *PublicGetAchievementParams

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

func NewPublicGetAchievementParamsWithContext

func NewPublicGetAchievementParamsWithContext(ctx context.Context) *PublicGetAchievementParams

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

func NewPublicGetAchievementParamsWithHTTPClient

func NewPublicGetAchievementParamsWithHTTPClient(client *http.Client) *PublicGetAchievementParams

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

func NewPublicGetAchievementParamsWithTimeout

func NewPublicGetAchievementParamsWithTimeout(timeout time.Duration) *PublicGetAchievementParams

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

func (*PublicGetAchievementParams) SetAchievementCode

func (o *PublicGetAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the public get achievement params

func (*PublicGetAchievementParams) SetContext

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

SetContext adds the context to the public get achievement params

func (*PublicGetAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get achievement params

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

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

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

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

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

type PublicListAchievementsParams

type PublicListAchievementsParams struct {

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

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

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

	*/
	Namespace string
	/*Offset
	  offset default 0

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

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

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

func NewPublicListAchievementsParams

func NewPublicListAchievementsParams() *PublicListAchievementsParams

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

func NewPublicListAchievementsParamsWithContext

func NewPublicListAchievementsParamsWithContext(ctx context.Context) *PublicListAchievementsParams

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

func NewPublicListAchievementsParamsWithHTTPClient

func NewPublicListAchievementsParamsWithHTTPClient(client *http.Client) *PublicListAchievementsParams

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

func NewPublicListAchievementsParamsWithTimeout

func NewPublicListAchievementsParamsWithTimeout(timeout time.Duration) *PublicListAchievementsParams

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

func (*PublicListAchievementsParams) SetContext

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

SetContext adds the context to the public list achievements params

func (*PublicListAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list achievements params

func (*PublicListAchievementsParams) SetLanguage

func (o *PublicListAchievementsParams) SetLanguage(language string)

SetLanguage adds the language to the public list achievements params

func (*PublicListAchievementsParams) SetLimit

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

SetLimit adds the limit to the public list achievements params

func (*PublicListAchievementsParams) SetNamespace

func (o *PublicListAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list achievements params

func (*PublicListAchievementsParams) SetOffset

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

SetOffset adds the offset to the public list achievements params

func (*PublicListAchievementsParams) SetSortBy

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

SetSortBy adds the sortBy to the public list achievements params

func (*PublicListAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the public list achievements params

func (*PublicListAchievementsParams) WithContext

WithContext adds the context to the public list achievements params

func (*PublicListAchievementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public list achievements params

func (*PublicListAchievementsParams) WithLanguage

WithLanguage adds the language to the public list achievements params

func (*PublicListAchievementsParams) WithLimit

WithLimit adds the limit to the public list achievements params

func (*PublicListAchievementsParams) WithNamespace

WithNamespace adds the namespace to the public list achievements params

func (*PublicListAchievementsParams) WithOffset

WithOffset adds the offset to the public list achievements params

func (*PublicListAchievementsParams) WithSortBy

WithSortBy adds the sortBy to the public list achievements params

func (*PublicListAchievementsParams) WithTimeout

WithTimeout adds the timeout to the public list achievements params

func (*PublicListAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListAchievementsReader

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

PublicListAchievementsReader is a Reader for the PublicListAchievements structure.

func (*PublicListAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListAchievementsUnauthorized

type PublicListAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewPublicListAchievementsUnauthorized

func NewPublicListAchievementsUnauthorized() *PublicListAchievementsUnauthorized

NewPublicListAchievementsUnauthorized creates a PublicListAchievementsUnauthorized with default headers values

func (*PublicListAchievementsUnauthorized) Error

func (*PublicListAchievementsUnauthorized) GetPayload

type PublicListUserAchievementsBadRequest

type PublicListUserAchievementsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListUserAchievementsBadRequest handles this case with default header values.

Bad Request

func NewPublicListUserAchievementsBadRequest

func NewPublicListUserAchievementsBadRequest() *PublicListUserAchievementsBadRequest

NewPublicListUserAchievementsBadRequest creates a PublicListUserAchievementsBadRequest with default headers values

func (*PublicListUserAchievementsBadRequest) Error

func (*PublicListUserAchievementsBadRequest) GetPayload

type PublicListUserAchievementsInternalServerError

type PublicListUserAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListUserAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicListUserAchievementsInternalServerError

func NewPublicListUserAchievementsInternalServerError() *PublicListUserAchievementsInternalServerError

NewPublicListUserAchievementsInternalServerError creates a PublicListUserAchievementsInternalServerError with default headers values

func (*PublicListUserAchievementsInternalServerError) Error

func (*PublicListUserAchievementsInternalServerError) GetPayload

type PublicListUserAchievementsNotFound

type PublicListUserAchievementsNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListUserAchievementsNotFound handles this case with default header values.

Not Found

func NewPublicListUserAchievementsNotFound

func NewPublicListUserAchievementsNotFound() *PublicListUserAchievementsNotFound

NewPublicListUserAchievementsNotFound creates a PublicListUserAchievementsNotFound with default headers values

func (*PublicListUserAchievementsNotFound) Error

func (*PublicListUserAchievementsNotFound) GetPayload

type PublicListUserAchievementsOK

type PublicListUserAchievementsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedUserAchievementResponse
}

PublicListUserAchievementsOK handles this case with default header values.

OK

func NewPublicListUserAchievementsOK

func NewPublicListUserAchievementsOK() *PublicListUserAchievementsOK

NewPublicListUserAchievementsOK creates a PublicListUserAchievementsOK with default headers values

func (*PublicListUserAchievementsOK) Error

type PublicListUserAchievementsParams

type PublicListUserAchievementsParams struct {

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

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

	*/
	Namespace string
	/*Offset
	  offset default 0

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

	*/
	PreferUnlocked *bool
	/*UserID
	  user id

	*/
	UserID string

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

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

func NewPublicListUserAchievementsParams

func NewPublicListUserAchievementsParams() *PublicListUserAchievementsParams

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

func NewPublicListUserAchievementsParamsWithContext

func NewPublicListUserAchievementsParamsWithContext(ctx context.Context) *PublicListUserAchievementsParams

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

func NewPublicListUserAchievementsParamsWithHTTPClient

func NewPublicListUserAchievementsParamsWithHTTPClient(client *http.Client) *PublicListUserAchievementsParams

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

func NewPublicListUserAchievementsParamsWithTimeout

func NewPublicListUserAchievementsParamsWithTimeout(timeout time.Duration) *PublicListUserAchievementsParams

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

func (*PublicListUserAchievementsParams) SetContext

SetContext adds the context to the public list user achievements params

func (*PublicListUserAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list user achievements params

func (*PublicListUserAchievementsParams) SetLimit

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

SetLimit adds the limit to the public list user achievements params

func (*PublicListUserAchievementsParams) SetNamespace

func (o *PublicListUserAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list user achievements params

func (*PublicListUserAchievementsParams) SetOffset

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

SetOffset adds the offset to the public list user achievements params

func (*PublicListUserAchievementsParams) SetPreferUnlocked

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

SetPreferUnlocked adds the preferUnlocked to the public list user achievements params

func (*PublicListUserAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the public list user achievements params

func (*PublicListUserAchievementsParams) SetUserID

func (o *PublicListUserAchievementsParams) SetUserID(userID string)

SetUserID adds the userId to the public list user achievements params

func (*PublicListUserAchievementsParams) WithContext

WithContext adds the context to the public list user achievements params

func (*PublicListUserAchievementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public list user achievements params

func (*PublicListUserAchievementsParams) WithLimit

WithLimit adds the limit to the public list user achievements params

func (*PublicListUserAchievementsParams) WithNamespace

WithNamespace adds the namespace to the public list user achievements params

func (*PublicListUserAchievementsParams) WithOffset

WithOffset adds the offset to the public list user achievements params

func (*PublicListUserAchievementsParams) WithPreferUnlocked

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

WithPreferUnlocked adds the preferUnlocked to the public list user achievements params

func (*PublicListUserAchievementsParams) WithTimeout

WithTimeout adds the timeout to the public list user achievements params

func (*PublicListUserAchievementsParams) WithUserID

WithUserID adds the userID to the public list user achievements params

func (*PublicListUserAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListUserAchievementsReader

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

PublicListUserAchievementsReader is a Reader for the PublicListUserAchievements structure.

func (*PublicListUserAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListUserAchievementsUnauthorized

type PublicListUserAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListUserAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewPublicListUserAchievementsUnauthorized

func NewPublicListUserAchievementsUnauthorized() *PublicListUserAchievementsUnauthorized

NewPublicListUserAchievementsUnauthorized creates a PublicListUserAchievementsUnauthorized with default headers values

func (*PublicListUserAchievementsUnauthorized) Error

func (*PublicListUserAchievementsUnauthorized) GetPayload

type PublicUnlockAchievementBadRequest

type PublicUnlockAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

PublicUnlockAchievementBadRequest handles this case with default header values.

Bad Request

func NewPublicUnlockAchievementBadRequest

func NewPublicUnlockAchievementBadRequest() *PublicUnlockAchievementBadRequest

NewPublicUnlockAchievementBadRequest creates a PublicUnlockAchievementBadRequest with default headers values

func (*PublicUnlockAchievementBadRequest) Error

func (*PublicUnlockAchievementBadRequest) GetPayload

type PublicUnlockAchievementInternalServerError

type PublicUnlockAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

PublicUnlockAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicUnlockAchievementInternalServerError

func NewPublicUnlockAchievementInternalServerError() *PublicUnlockAchievementInternalServerError

NewPublicUnlockAchievementInternalServerError creates a PublicUnlockAchievementInternalServerError with default headers values

func (*PublicUnlockAchievementInternalServerError) Error

func (*PublicUnlockAchievementInternalServerError) GetPayload

type PublicUnlockAchievementNoContent

type PublicUnlockAchievementNoContent struct {
}

PublicUnlockAchievementNoContent handles this case with default header values.

No Content

func NewPublicUnlockAchievementNoContent

func NewPublicUnlockAchievementNoContent() *PublicUnlockAchievementNoContent

NewPublicUnlockAchievementNoContent creates a PublicUnlockAchievementNoContent with default headers values

func (*PublicUnlockAchievementNoContent) Error

type PublicUnlockAchievementParams

type PublicUnlockAchievementParams struct {

	/*AchievementCode
	  achievement code

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user id

	*/
	UserID string

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

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

func NewPublicUnlockAchievementParams

func NewPublicUnlockAchievementParams() *PublicUnlockAchievementParams

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

func NewPublicUnlockAchievementParamsWithContext

func NewPublicUnlockAchievementParamsWithContext(ctx context.Context) *PublicUnlockAchievementParams

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

func NewPublicUnlockAchievementParamsWithHTTPClient

func NewPublicUnlockAchievementParamsWithHTTPClient(client *http.Client) *PublicUnlockAchievementParams

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

func NewPublicUnlockAchievementParamsWithTimeout

func NewPublicUnlockAchievementParamsWithTimeout(timeout time.Duration) *PublicUnlockAchievementParams

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

func (*PublicUnlockAchievementParams) SetAchievementCode

func (o *PublicUnlockAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetContext

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

SetContext adds the context to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetNamespace

func (o *PublicUnlockAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetUserID

func (o *PublicUnlockAchievementParams) SetUserID(userID string)

SetUserID adds the userId to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithAchievementCode

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

WithAchievementCode adds the achievementCode to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithContext

WithContext adds the context to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithNamespace

WithNamespace adds the namespace to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithTimeout

WithTimeout adds the timeout to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithUserID

WithUserID adds the userID to the public unlock achievement params

func (*PublicUnlockAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUnlockAchievementReader

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

PublicUnlockAchievementReader is a Reader for the PublicUnlockAchievement structure.

func (*PublicUnlockAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUnlockAchievementUnauthorized

type PublicUnlockAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

PublicUnlockAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewPublicUnlockAchievementUnauthorized

func NewPublicUnlockAchievementUnauthorized() *PublicUnlockAchievementUnauthorized

NewPublicUnlockAchievementUnauthorized creates a PublicUnlockAchievementUnauthorized with default headers values

func (*PublicUnlockAchievementUnauthorized) Error

func (*PublicUnlockAchievementUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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