global_achievements

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminListGlobalAchievementContributorsBadRequest added in v0.39.0

type AdminListGlobalAchievementContributorsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListGlobalAchievementContributorsBadRequest handles this case with default header values.

Bad Request

func NewAdminListGlobalAchievementContributorsBadRequest added in v0.39.0

func NewAdminListGlobalAchievementContributorsBadRequest() *AdminListGlobalAchievementContributorsBadRequest

NewAdminListGlobalAchievementContributorsBadRequest creates a AdminListGlobalAchievementContributorsBadRequest with default headers values

func (*AdminListGlobalAchievementContributorsBadRequest) Error added in v0.39.0

func (*AdminListGlobalAchievementContributorsBadRequest) GetPayload added in v0.39.0

func (*AdminListGlobalAchievementContributorsBadRequest) ToJSONString added in v0.39.0

type AdminListGlobalAchievementContributorsInternalServerError added in v0.39.0

type AdminListGlobalAchievementContributorsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListGlobalAchievementContributorsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListGlobalAchievementContributorsInternalServerError added in v0.39.0

func NewAdminListGlobalAchievementContributorsInternalServerError() *AdminListGlobalAchievementContributorsInternalServerError

NewAdminListGlobalAchievementContributorsInternalServerError creates a AdminListGlobalAchievementContributorsInternalServerError with default headers values

func (*AdminListGlobalAchievementContributorsInternalServerError) Error added in v0.39.0

func (*AdminListGlobalAchievementContributorsInternalServerError) GetPayload added in v0.39.0

func (*AdminListGlobalAchievementContributorsInternalServerError) ToJSONString added in v0.39.0

type AdminListGlobalAchievementContributorsOK added in v0.39.0

type AdminListGlobalAchievementContributorsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedContributorResponse
}

AdminListGlobalAchievementContributorsOK handles this case with default header values.

OK

func NewAdminListGlobalAchievementContributorsOK added in v0.39.0

func NewAdminListGlobalAchievementContributorsOK() *AdminListGlobalAchievementContributorsOK

NewAdminListGlobalAchievementContributorsOK creates a AdminListGlobalAchievementContributorsOK with default headers values

func (*AdminListGlobalAchievementContributorsOK) Error added in v0.39.0

func (*AdminListGlobalAchievementContributorsOK) GetPayload added in v0.39.0

func (*AdminListGlobalAchievementContributorsOK) ToJSONString added in v0.39.0

type AdminListGlobalAchievementContributorsParams added in v0.39.0

type AdminListGlobalAchievementContributorsParams struct {

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

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

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

	*/
	Namespace string
	/*Offset
	  offset

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

	*/
	SortBy *string

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

AdminListGlobalAchievementContributorsParams contains all the parameters to send to the API endpoint for the admin list global achievement contributors operation typically these are written to a http.Request

func NewAdminListGlobalAchievementContributorsParams added in v0.39.0

func NewAdminListGlobalAchievementContributorsParams() *AdminListGlobalAchievementContributorsParams

NewAdminListGlobalAchievementContributorsParams creates a new AdminListGlobalAchievementContributorsParams object with the default values initialized.

func NewAdminListGlobalAchievementContributorsParamsWithContext added in v0.39.0

func NewAdminListGlobalAchievementContributorsParamsWithContext(ctx context.Context) *AdminListGlobalAchievementContributorsParams

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

func NewAdminListGlobalAchievementContributorsParamsWithHTTPClient added in v0.39.0

func NewAdminListGlobalAchievementContributorsParamsWithHTTPClient(client *http.Client) *AdminListGlobalAchievementContributorsParams

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

func NewAdminListGlobalAchievementContributorsParamsWithTimeout added in v0.39.0

func NewAdminListGlobalAchievementContributorsParamsWithTimeout(timeout time.Duration) *AdminListGlobalAchievementContributorsParams

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

func (*AdminListGlobalAchievementContributorsParams) SetAchievementCode added in v0.39.0

func (o *AdminListGlobalAchievementContributorsParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) SetAuthInfoWriter added in v0.39.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) SetContext added in v0.39.0

SetContext adds the context to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) SetHTTPClient added in v0.39.0

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

SetHTTPClient adds the HTTPClient to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) SetHTTPClientTransport added in v0.39.0

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

SetHTTPClient adds the HTTPClient Transport to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) SetLimit added in v0.39.0

SetLimit adds the limit to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) SetNamespace added in v0.39.0

func (o *AdminListGlobalAchievementContributorsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) SetOffset added in v0.39.0

SetOffset adds the offset to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) SetSortBy added in v0.39.0

SetSortBy adds the sortBy to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) SetTimeout added in v0.39.0

SetTimeout adds the timeout to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) WithAchievementCode added in v0.39.0

WithAchievementCode adds the achievementCode to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) WithContext added in v0.39.0

WithContext adds the context to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) WithHTTPClient added in v0.39.0

WithHTTPClient adds the HTTPClient to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) WithLimit added in v0.39.0

WithLimit adds the limit to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) WithNamespace added in v0.39.0

WithNamespace adds the namespace to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) WithOffset added in v0.39.0

WithOffset adds the offset to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) WithSortBy added in v0.39.0

WithSortBy adds the sortBy to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) WithTimeout added in v0.39.0

WithTimeout adds the timeout to the admin list global achievement contributors params

func (*AdminListGlobalAchievementContributorsParams) WriteToRequest added in v0.39.0

WriteToRequest writes these params to a swagger request

type AdminListGlobalAchievementContributorsReader added in v0.39.0

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

AdminListGlobalAchievementContributorsReader is a Reader for the AdminListGlobalAchievementContributors structure.

func (*AdminListGlobalAchievementContributorsReader) ReadResponse added in v0.39.0

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

ReadResponse reads a server response into the received o.

type AdminListGlobalAchievementContributorsUnauthorized added in v0.39.0

type AdminListGlobalAchievementContributorsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListGlobalAchievementContributorsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminListGlobalAchievementContributorsUnauthorized added in v0.39.0

func NewAdminListGlobalAchievementContributorsUnauthorized() *AdminListGlobalAchievementContributorsUnauthorized

NewAdminListGlobalAchievementContributorsUnauthorized creates a AdminListGlobalAchievementContributorsUnauthorized with default headers values

func (*AdminListGlobalAchievementContributorsUnauthorized) Error added in v0.39.0

func (*AdminListGlobalAchievementContributorsUnauthorized) GetPayload added in v0.39.0

func (*AdminListGlobalAchievementContributorsUnauthorized) ToJSONString added in v0.39.0

type AdminListGlobalAchievementsBadRequest added in v0.39.0

type AdminListGlobalAchievementsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListGlobalAchievementsBadRequest handles this case with default header values.

Bad Request

func NewAdminListGlobalAchievementsBadRequest added in v0.39.0

func NewAdminListGlobalAchievementsBadRequest() *AdminListGlobalAchievementsBadRequest

NewAdminListGlobalAchievementsBadRequest creates a AdminListGlobalAchievementsBadRequest with default headers values

func (*AdminListGlobalAchievementsBadRequest) Error added in v0.39.0

func (*AdminListGlobalAchievementsBadRequest) GetPayload added in v0.39.0

func (*AdminListGlobalAchievementsBadRequest) ToJSONString added in v0.39.0

type AdminListGlobalAchievementsInternalServerError added in v0.39.0

type AdminListGlobalAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListGlobalAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListGlobalAchievementsInternalServerError added in v0.39.0

func NewAdminListGlobalAchievementsInternalServerError() *AdminListGlobalAchievementsInternalServerError

NewAdminListGlobalAchievementsInternalServerError creates a AdminListGlobalAchievementsInternalServerError with default headers values

func (*AdminListGlobalAchievementsInternalServerError) Error added in v0.39.0

func (*AdminListGlobalAchievementsInternalServerError) GetPayload added in v0.39.0

func (*AdminListGlobalAchievementsInternalServerError) ToJSONString added in v0.39.0

type AdminListGlobalAchievementsOK added in v0.39.0

type AdminListGlobalAchievementsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedGlobalAchievementResponse
}

AdminListGlobalAchievementsOK handles this case with default header values.

OK

func NewAdminListGlobalAchievementsOK added in v0.39.0

func NewAdminListGlobalAchievementsOK() *AdminListGlobalAchievementsOK

NewAdminListGlobalAchievementsOK creates a AdminListGlobalAchievementsOK with default headers values

func (*AdminListGlobalAchievementsOK) Error added in v0.39.0

func (*AdminListGlobalAchievementsOK) GetPayload added in v0.39.0

func (*AdminListGlobalAchievementsOK) ToJSONString added in v0.39.0

func (o *AdminListGlobalAchievementsOK) ToJSONString() string

type AdminListGlobalAchievementsParams added in v0.39.0

type AdminListGlobalAchievementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AchievementCodes
	  filter by achievement codes. multiple value separated by comma

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

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

	*/
	Namespace string
	/*Offset
	  offset

	*/
	Offset *int64
	/*SortBy
	  sort by, allow values: [achievedAt, achievedAt:asc, achievedAt:desc, createdAt, createdAt:asc, createdAt:desc]

	*/
	SortBy *string
	/*Status
	  filter by status. available value: [in_progress, unlocked]

	*/
	Status *string
	/*Tags
	  tags

	*/
	Tags []string

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

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

func NewAdminListGlobalAchievementsParams added in v0.39.0

func NewAdminListGlobalAchievementsParams() *AdminListGlobalAchievementsParams

NewAdminListGlobalAchievementsParams creates a new AdminListGlobalAchievementsParams object with the default values initialized.

func NewAdminListGlobalAchievementsParamsWithContext added in v0.39.0

func NewAdminListGlobalAchievementsParamsWithContext(ctx context.Context) *AdminListGlobalAchievementsParams

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

func NewAdminListGlobalAchievementsParamsWithHTTPClient added in v0.39.0

func NewAdminListGlobalAchievementsParamsWithHTTPClient(client *http.Client) *AdminListGlobalAchievementsParams

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

func NewAdminListGlobalAchievementsParamsWithTimeout added in v0.39.0

func NewAdminListGlobalAchievementsParamsWithTimeout(timeout time.Duration) *AdminListGlobalAchievementsParams

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

func (*AdminListGlobalAchievementsParams) SetAchievementCodes added in v0.39.0

func (o *AdminListGlobalAchievementsParams) SetAchievementCodes(achievementCodes *string)

SetAchievementCodes adds the achievementCodes to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetAuthInfoWriter added in v0.39.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetContext added in v0.39.0

SetContext adds the context to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetHTTPClient added in v0.39.0

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

SetHTTPClient adds the HTTPClient to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetHTTPClientTransport added in v0.39.0

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

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

func (*AdminListGlobalAchievementsParams) SetLimit added in v0.39.0

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

SetLimit adds the limit to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetNamespace added in v0.39.0

func (o *AdminListGlobalAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetOffset added in v0.39.0

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

SetOffset adds the offset to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetSortBy added in v0.39.0

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

SetSortBy adds the sortBy to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetStatus added in v0.39.0

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

SetStatus adds the status to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetTags added in v0.39.0

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

SetTags adds the tags to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetTimeout added in v0.39.0

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

SetTimeout adds the timeout to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithAchievementCodes added in v0.39.0

func (o *AdminListGlobalAchievementsParams) WithAchievementCodes(achievementCodes *string) *AdminListGlobalAchievementsParams

WithAchievementCodes adds the achievementCodes to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithContext added in v0.39.0

WithContext adds the context to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithHTTPClient added in v0.39.0

WithHTTPClient adds the HTTPClient to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithLimit added in v0.39.0

WithLimit adds the limit to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithNamespace added in v0.39.0

WithNamespace adds the namespace to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithOffset added in v0.39.0

WithOffset adds the offset to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithSortBy added in v0.39.0

WithSortBy adds the sortBy to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithStatus added in v0.39.0

WithStatus adds the status to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithTags added in v0.39.0

WithTags adds the tags to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithTimeout added in v0.39.0

WithTimeout adds the timeout to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WriteToRequest added in v0.39.0

WriteToRequest writes these params to a swagger request

type AdminListGlobalAchievementsReader added in v0.39.0

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

AdminListGlobalAchievementsReader is a Reader for the AdminListGlobalAchievements structure.

func (*AdminListGlobalAchievementsReader) ReadResponse added in v0.39.0

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

ReadResponse reads a server response into the received o.

type AdminListGlobalAchievementsUnauthorized added in v0.39.0

type AdminListGlobalAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListGlobalAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminListGlobalAchievementsUnauthorized added in v0.39.0

func NewAdminListGlobalAchievementsUnauthorized() *AdminListGlobalAchievementsUnauthorized

NewAdminListGlobalAchievementsUnauthorized creates a AdminListGlobalAchievementsUnauthorized with default headers values

func (*AdminListGlobalAchievementsUnauthorized) Error added in v0.39.0

func (*AdminListGlobalAchievementsUnauthorized) GetPayload added in v0.39.0

func (*AdminListGlobalAchievementsUnauthorized) ToJSONString added in v0.39.0

type AdminListUserContributionsBadRequest added in v0.39.0

type AdminListUserContributionsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserContributionsBadRequest handles this case with default header values.

Bad Request

func NewAdminListUserContributionsBadRequest added in v0.39.0

func NewAdminListUserContributionsBadRequest() *AdminListUserContributionsBadRequest

NewAdminListUserContributionsBadRequest creates a AdminListUserContributionsBadRequest with default headers values

func (*AdminListUserContributionsBadRequest) Error added in v0.39.0

func (*AdminListUserContributionsBadRequest) GetPayload added in v0.39.0

func (*AdminListUserContributionsBadRequest) ToJSONString added in v0.39.0

func (o *AdminListUserContributionsBadRequest) ToJSONString() string

type AdminListUserContributionsInternalServerError added in v0.39.0

type AdminListUserContributionsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserContributionsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListUserContributionsInternalServerError added in v0.39.0

func NewAdminListUserContributionsInternalServerError() *AdminListUserContributionsInternalServerError

NewAdminListUserContributionsInternalServerError creates a AdminListUserContributionsInternalServerError with default headers values

func (*AdminListUserContributionsInternalServerError) Error added in v0.39.0

func (*AdminListUserContributionsInternalServerError) GetPayload added in v0.39.0

func (*AdminListUserContributionsInternalServerError) ToJSONString added in v0.39.0

type AdminListUserContributionsOK added in v0.39.0

type AdminListUserContributionsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedUserContributionResponse
}

AdminListUserContributionsOK handles this case with default header values.

OK

func NewAdminListUserContributionsOK added in v0.39.0

func NewAdminListUserContributionsOK() *AdminListUserContributionsOK

NewAdminListUserContributionsOK creates a AdminListUserContributionsOK with default headers values

func (*AdminListUserContributionsOK) Error added in v0.39.0

func (*AdminListUserContributionsOK) GetPayload added in v0.39.0

func (*AdminListUserContributionsOK) ToJSONString added in v0.39.0

func (o *AdminListUserContributionsOK) ToJSONString() string

type AdminListUserContributionsParams added in v0.39.0

type AdminListUserContributionsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AchievementCodes
	  achievement codes. multiple value separated by comma

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

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

	*/
	Namespace string
	/*Offset
	  offset

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

	*/
	SortBy *string
	/*Tags
	  tags

	*/
	Tags []string
	/*UserID
	  user ID

	*/
	UserID string

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

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

func NewAdminListUserContributionsParams added in v0.39.0

func NewAdminListUserContributionsParams() *AdminListUserContributionsParams

NewAdminListUserContributionsParams creates a new AdminListUserContributionsParams object with the default values initialized.

func NewAdminListUserContributionsParamsWithContext added in v0.39.0

func NewAdminListUserContributionsParamsWithContext(ctx context.Context) *AdminListUserContributionsParams

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

func NewAdminListUserContributionsParamsWithHTTPClient added in v0.39.0

func NewAdminListUserContributionsParamsWithHTTPClient(client *http.Client) *AdminListUserContributionsParams

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

func NewAdminListUserContributionsParamsWithTimeout added in v0.39.0

func NewAdminListUserContributionsParamsWithTimeout(timeout time.Duration) *AdminListUserContributionsParams

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

func (*AdminListUserContributionsParams) SetAchievementCodes added in v0.39.0

func (o *AdminListUserContributionsParams) SetAchievementCodes(achievementCodes *string)

SetAchievementCodes adds the achievementCodes to the admin list user contributions params

func (*AdminListUserContributionsParams) SetAuthInfoWriter added in v0.39.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin list user contributions params

func (*AdminListUserContributionsParams) SetContext added in v0.39.0

SetContext adds the context to the admin list user contributions params

func (*AdminListUserContributionsParams) SetHTTPClient added in v0.39.0

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

SetHTTPClient adds the HTTPClient to the admin list user contributions params

func (*AdminListUserContributionsParams) SetHTTPClientTransport added in v0.39.0

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

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

func (*AdminListUserContributionsParams) SetLimit added in v0.39.0

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

SetLimit adds the limit to the admin list user contributions params

func (*AdminListUserContributionsParams) SetNamespace added in v0.39.0

func (o *AdminListUserContributionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list user contributions params

func (*AdminListUserContributionsParams) SetOffset added in v0.39.0

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

SetOffset adds the offset to the admin list user contributions params

func (*AdminListUserContributionsParams) SetSortBy added in v0.39.0

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

SetSortBy adds the sortBy to the admin list user contributions params

func (*AdminListUserContributionsParams) SetTags added in v0.39.0

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

SetTags adds the tags to the admin list user contributions params

func (*AdminListUserContributionsParams) SetTimeout added in v0.39.0

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

SetTimeout adds the timeout to the admin list user contributions params

func (*AdminListUserContributionsParams) SetUserID added in v0.39.0

func (o *AdminListUserContributionsParams) SetUserID(userID string)

SetUserID adds the userId to the admin list user contributions params

func (*AdminListUserContributionsParams) WithAchievementCodes added in v0.39.0

func (o *AdminListUserContributionsParams) WithAchievementCodes(achievementCodes *string) *AdminListUserContributionsParams

WithAchievementCodes adds the achievementCodes to the admin list user contributions params

func (*AdminListUserContributionsParams) WithContext added in v0.39.0

WithContext adds the context to the admin list user contributions params

func (*AdminListUserContributionsParams) WithHTTPClient added in v0.39.0

WithHTTPClient adds the HTTPClient to the admin list user contributions params

func (*AdminListUserContributionsParams) WithLimit added in v0.39.0

WithLimit adds the limit to the admin list user contributions params

func (*AdminListUserContributionsParams) WithNamespace added in v0.39.0

WithNamespace adds the namespace to the admin list user contributions params

func (*AdminListUserContributionsParams) WithOffset added in v0.39.0

WithOffset adds the offset to the admin list user contributions params

func (*AdminListUserContributionsParams) WithSortBy added in v0.39.0

WithSortBy adds the sortBy to the admin list user contributions params

func (*AdminListUserContributionsParams) WithTags added in v0.39.0

WithTags adds the tags to the admin list user contributions params

func (*AdminListUserContributionsParams) WithTimeout added in v0.39.0

WithTimeout adds the timeout to the admin list user contributions params

func (*AdminListUserContributionsParams) WithUserID added in v0.39.0

WithUserID adds the userID to the admin list user contributions params

func (*AdminListUserContributionsParams) WriteToRequest added in v0.39.0

WriteToRequest writes these params to a swagger request

type AdminListUserContributionsReader added in v0.39.0

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

AdminListUserContributionsReader is a Reader for the AdminListUserContributions structure.

func (*AdminListUserContributionsReader) ReadResponse added in v0.39.0

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

ReadResponse reads a server response into the received o.

type AdminListUserContributionsUnauthorized added in v0.39.0

type AdminListUserContributionsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserContributionsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminListUserContributionsUnauthorized added in v0.39.0

func NewAdminListUserContributionsUnauthorized() *AdminListUserContributionsUnauthorized

NewAdminListUserContributionsUnauthorized creates a AdminListUserContributionsUnauthorized with default headers values

func (*AdminListUserContributionsUnauthorized) Error added in v0.39.0

func (*AdminListUserContributionsUnauthorized) GetPayload added in v0.39.0

func (*AdminListUserContributionsUnauthorized) ToJSONString added in v0.39.0

type ClaimGlobalAchievementRewardAccepted

type ClaimGlobalAchievementRewardAccepted struct {
}

ClaimGlobalAchievementRewardAccepted handles this case with default header values.

Accepted

func NewClaimGlobalAchievementRewardAccepted

func NewClaimGlobalAchievementRewardAccepted() *ClaimGlobalAchievementRewardAccepted

NewClaimGlobalAchievementRewardAccepted creates a ClaimGlobalAchievementRewardAccepted with default headers values

func (*ClaimGlobalAchievementRewardAccepted) Error

type ClaimGlobalAchievementRewardBadRequest

type ClaimGlobalAchievementRewardBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

ClaimGlobalAchievementRewardBadRequest handles this case with default header values.

Bad Request

func NewClaimGlobalAchievementRewardBadRequest

func NewClaimGlobalAchievementRewardBadRequest() *ClaimGlobalAchievementRewardBadRequest

NewClaimGlobalAchievementRewardBadRequest creates a ClaimGlobalAchievementRewardBadRequest with default headers values

func (*ClaimGlobalAchievementRewardBadRequest) Error

func (*ClaimGlobalAchievementRewardBadRequest) GetPayload

func (*ClaimGlobalAchievementRewardBadRequest) ToJSONString

type ClaimGlobalAchievementRewardInternalServerError

type ClaimGlobalAchievementRewardInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

ClaimGlobalAchievementRewardInternalServerError handles this case with default header values.

Internal Server Error

func NewClaimGlobalAchievementRewardInternalServerError

func NewClaimGlobalAchievementRewardInternalServerError() *ClaimGlobalAchievementRewardInternalServerError

NewClaimGlobalAchievementRewardInternalServerError creates a ClaimGlobalAchievementRewardInternalServerError with default headers values

func (*ClaimGlobalAchievementRewardInternalServerError) Error

func (*ClaimGlobalAchievementRewardInternalServerError) GetPayload

func (*ClaimGlobalAchievementRewardInternalServerError) ToJSONString

type ClaimGlobalAchievementRewardParams

type ClaimGlobalAchievementRewardParams struct {

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

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string

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

ClaimGlobalAchievementRewardParams contains all the parameters to send to the API endpoint for the claim global achievement reward operation typically these are written to a http.Request

func NewClaimGlobalAchievementRewardParams

func NewClaimGlobalAchievementRewardParams() *ClaimGlobalAchievementRewardParams

NewClaimGlobalAchievementRewardParams creates a new ClaimGlobalAchievementRewardParams object with the default values initialized.

func NewClaimGlobalAchievementRewardParamsWithContext

func NewClaimGlobalAchievementRewardParamsWithContext(ctx context.Context) *ClaimGlobalAchievementRewardParams

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

func NewClaimGlobalAchievementRewardParamsWithHTTPClient

func NewClaimGlobalAchievementRewardParamsWithHTTPClient(client *http.Client) *ClaimGlobalAchievementRewardParams

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

func NewClaimGlobalAchievementRewardParamsWithTimeout

func NewClaimGlobalAchievementRewardParamsWithTimeout(timeout time.Duration) *ClaimGlobalAchievementRewardParams

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

func (*ClaimGlobalAchievementRewardParams) SetAchievementCode

func (o *ClaimGlobalAchievementRewardParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) SetContext

SetContext adds the context to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) SetNamespace

func (o *ClaimGlobalAchievementRewardParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) SetTimeout

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

SetTimeout adds the timeout to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) SetUserID

func (o *ClaimGlobalAchievementRewardParams) SetUserID(userID string)

SetUserID adds the userId to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) WithAchievementCode

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

WithAchievementCode adds the achievementCode to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) WithContext

WithContext adds the context to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) WithNamespace

WithNamespace adds the namespace to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) WithTimeout

WithTimeout adds the timeout to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) WithUserID

WithUserID adds the userID to the claim global achievement reward params

func (*ClaimGlobalAchievementRewardParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ClaimGlobalAchievementRewardReader

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

ClaimGlobalAchievementRewardReader is a Reader for the ClaimGlobalAchievementReward structure.

func (*ClaimGlobalAchievementRewardReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClaimGlobalAchievementRewardUnauthorized

type ClaimGlobalAchievementRewardUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

ClaimGlobalAchievementRewardUnauthorized handles this case with default header values.

Unauthorized

func NewClaimGlobalAchievementRewardUnauthorized

func NewClaimGlobalAchievementRewardUnauthorized() *ClaimGlobalAchievementRewardUnauthorized

NewClaimGlobalAchievementRewardUnauthorized creates a ClaimGlobalAchievementRewardUnauthorized with default headers values

func (*ClaimGlobalAchievementRewardUnauthorized) Error

func (*ClaimGlobalAchievementRewardUnauthorized) GetPayload

func (*ClaimGlobalAchievementRewardUnauthorized) ToJSONString

type Client

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

Client for global achievements API

func (*Client) AdminListGlobalAchievementContributors deprecated added in v0.39.0

Deprecated: Use AdminListGlobalAchievementContributorsShort instead.

  AdminListGlobalAchievementContributors admins list contributors of global achievement

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

func (*Client) AdminListGlobalAchievementContributorsShort added in v0.39.0

func (a *Client) AdminListGlobalAchievementContributorsShort(params *AdminListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementContributorsOK, error)
  AdminListGlobalAchievementContributorsShort admins list contributors of global achievement

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

func (*Client) AdminListGlobalAchievements deprecated added in v0.39.0

Deprecated: Use AdminListGlobalAchievementsShort instead.

  AdminListGlobalAchievements admins query global achievements include achieved and in progress

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

func (*Client) AdminListGlobalAchievementsShort added in v0.39.0

func (a *Client) AdminListGlobalAchievementsShort(params *AdminListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementsOK, error)
  AdminListGlobalAchievementsShort admins query global achievements include achieved and in progress

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

func (*Client) AdminListUserContributions deprecated added in v0.39.0

Deprecated: Use AdminListUserContributionsShort instead.

  AdminListUserContributions admins list of global achievements that has been contributed by the user

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

func (*Client) AdminListUserContributionsShort added in v0.39.0

func (a *Client) AdminListUserContributionsShort(params *AdminListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserContributionsOK, error)
  AdminListUserContributionsShort admins list of global achievements that has been contributed by the user

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

func (*Client) ClaimGlobalAchievementReward deprecated

Deprecated: Use ClaimGlobalAchievementRewardShort instead.

  ClaimGlobalAchievementReward claims global achievement reward

  <p>Required permission
			<code>NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
			<p>Note:</p>
			<p> Global achievement should be unlocked to claim the reward. Only contributor of global achievement are eligible for rewards

func (*Client) ClaimGlobalAchievementRewardShort

func (a *Client) ClaimGlobalAchievementRewardShort(params *ClaimGlobalAchievementRewardParams, authInfo runtime.ClientAuthInfoWriter) (*ClaimGlobalAchievementRewardAccepted, error)
  ClaimGlobalAchievementRewardShort claims global achievement reward

  <p>Required permission
			<code>NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [READ]</code> and scope <code>social</code></p>
			<p>Note:</p>
			<p> Global achievement should be unlocked to claim the reward. Only contributor of global achievement are eligible for rewards

func (*Client) ListGlobalAchievementContributors deprecated added in v0.39.0

Deprecated: Use ListGlobalAchievementContributorsShort instead.

  ListGlobalAchievementContributors lists contributors of global achievement

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

func (*Client) ListGlobalAchievementContributorsShort added in v0.39.0

func (a *Client) ListGlobalAchievementContributorsShort(params *ListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*ListGlobalAchievementContributorsOK, error)
  ListGlobalAchievementContributorsShort lists contributors of global achievement

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

func (*Client) ListUserContributions deprecated added in v0.39.0

Deprecated: Use ListUserContributionsShort instead.

  ListUserContributions lists of global achievements that has been contributed by the user

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

func (*Client) ListUserContributionsShort added in v0.39.0

func (a *Client) ListUserContributionsShort(params *ListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserContributionsOK, error)
  ListUserContributionsShort lists of global achievements that has been contributed by the user

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

func (*Client) PublicListGlobalAchievements deprecated

Deprecated: Use PublicListGlobalAchievementsShort instead.

  PublicListGlobalAchievements queries global achievements include achieved and in progress

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

func (*Client) PublicListGlobalAchievementsShort

func (a *Client) PublicListGlobalAchievementsShort(params *PublicListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListGlobalAchievementsOK, error)
  PublicListGlobalAchievementsShort queries global achievements include achieved and in progress

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

func (*Client) ResetGlobalAchievement deprecated added in v0.39.0

Deprecated: Use ResetGlobalAchievementShort instead.

ResetGlobalAchievement resets global achievement

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

func (*Client) ResetGlobalAchievementShort added in v0.39.0

func (a *Client) ResetGlobalAchievementShort(params *ResetGlobalAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*ResetGlobalAchievementNoContent, error)

ResetGlobalAchievementShort resets global achievement

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

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminListGlobalAchievementContributors(params *AdminListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementContributorsOK, *AdminListGlobalAchievementContributorsBadRequest, *AdminListGlobalAchievementContributorsUnauthorized, *AdminListGlobalAchievementContributorsInternalServerError, error)
	AdminListGlobalAchievementContributorsShort(params *AdminListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementContributorsOK, error)
	AdminListGlobalAchievements(params *AdminListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementsOK, *AdminListGlobalAchievementsBadRequest, *AdminListGlobalAchievementsUnauthorized, *AdminListGlobalAchievementsInternalServerError, error)
	AdminListGlobalAchievementsShort(params *AdminListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementsOK, error)
	AdminListUserContributions(params *AdminListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserContributionsOK, *AdminListUserContributionsBadRequest, *AdminListUserContributionsUnauthorized, *AdminListUserContributionsInternalServerError, error)
	AdminListUserContributionsShort(params *AdminListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserContributionsOK, error)
	ClaimGlobalAchievementReward(params *ClaimGlobalAchievementRewardParams, authInfo runtime.ClientAuthInfoWriter) (*ClaimGlobalAchievementRewardAccepted, *ClaimGlobalAchievementRewardBadRequest, *ClaimGlobalAchievementRewardUnauthorized, *ClaimGlobalAchievementRewardInternalServerError, error)
	ClaimGlobalAchievementRewardShort(params *ClaimGlobalAchievementRewardParams, authInfo runtime.ClientAuthInfoWriter) (*ClaimGlobalAchievementRewardAccepted, error)
	ListGlobalAchievementContributors(params *ListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*ListGlobalAchievementContributorsOK, *ListGlobalAchievementContributorsBadRequest, *ListGlobalAchievementContributorsUnauthorized, *ListGlobalAchievementContributorsInternalServerError, error)
	ListGlobalAchievementContributorsShort(params *ListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*ListGlobalAchievementContributorsOK, error)
	ListUserContributions(params *ListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserContributionsOK, *ListUserContributionsBadRequest, *ListUserContributionsUnauthorized, *ListUserContributionsInternalServerError, error)
	ListUserContributionsShort(params *ListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserContributionsOK, error)
	PublicListGlobalAchievements(params *PublicListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListGlobalAchievementsOK, *PublicListGlobalAchievementsBadRequest, *PublicListGlobalAchievementsUnauthorized, *PublicListGlobalAchievementsInternalServerError, error)
	PublicListGlobalAchievementsShort(params *PublicListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListGlobalAchievementsOK, error)
	ResetGlobalAchievement(params *ResetGlobalAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*ResetGlobalAchievementNoContent, *ResetGlobalAchievementUnauthorized, *ResetGlobalAchievementForbidden, *ResetGlobalAchievementInternalServerError, error)
	ResetGlobalAchievementShort(params *ResetGlobalAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*ResetGlobalAchievementNoContent, 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 global achievements API client.

type ListGlobalAchievementContributorsBadRequest added in v0.39.0

type ListGlobalAchievementContributorsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

ListGlobalAchievementContributorsBadRequest handles this case with default header values.

Bad Request

func NewListGlobalAchievementContributorsBadRequest added in v0.39.0

func NewListGlobalAchievementContributorsBadRequest() *ListGlobalAchievementContributorsBadRequest

NewListGlobalAchievementContributorsBadRequest creates a ListGlobalAchievementContributorsBadRequest with default headers values

func (*ListGlobalAchievementContributorsBadRequest) Error added in v0.39.0

func (*ListGlobalAchievementContributorsBadRequest) GetPayload added in v0.39.0

func (*ListGlobalAchievementContributorsBadRequest) ToJSONString added in v0.39.0

type ListGlobalAchievementContributorsInternalServerError added in v0.39.0

type ListGlobalAchievementContributorsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

ListGlobalAchievementContributorsInternalServerError handles this case with default header values.

Internal Server Error

func NewListGlobalAchievementContributorsInternalServerError added in v0.39.0

func NewListGlobalAchievementContributorsInternalServerError() *ListGlobalAchievementContributorsInternalServerError

NewListGlobalAchievementContributorsInternalServerError creates a ListGlobalAchievementContributorsInternalServerError with default headers values

func (*ListGlobalAchievementContributorsInternalServerError) Error added in v0.39.0

func (*ListGlobalAchievementContributorsInternalServerError) GetPayload added in v0.39.0

func (*ListGlobalAchievementContributorsInternalServerError) ToJSONString added in v0.39.0

type ListGlobalAchievementContributorsOK added in v0.39.0

type ListGlobalAchievementContributorsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedContributorResponse
}

ListGlobalAchievementContributorsOK handles this case with default header values.

OK

func NewListGlobalAchievementContributorsOK added in v0.39.0

func NewListGlobalAchievementContributorsOK() *ListGlobalAchievementContributorsOK

NewListGlobalAchievementContributorsOK creates a ListGlobalAchievementContributorsOK with default headers values

func (*ListGlobalAchievementContributorsOK) Error added in v0.39.0

func (*ListGlobalAchievementContributorsOK) GetPayload added in v0.39.0

func (*ListGlobalAchievementContributorsOK) ToJSONString added in v0.39.0

func (o *ListGlobalAchievementContributorsOK) ToJSONString() string

type ListGlobalAchievementContributorsParams added in v0.39.0

type ListGlobalAchievementContributorsParams struct {

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

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

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

	*/
	Namespace string
	/*Offset
	  offset

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

	*/
	SortBy *string

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

ListGlobalAchievementContributorsParams contains all the parameters to send to the API endpoint for the list global achievement contributors operation typically these are written to a http.Request

func NewListGlobalAchievementContributorsParams added in v0.39.0

func NewListGlobalAchievementContributorsParams() *ListGlobalAchievementContributorsParams

NewListGlobalAchievementContributorsParams creates a new ListGlobalAchievementContributorsParams object with the default values initialized.

func NewListGlobalAchievementContributorsParamsWithContext added in v0.39.0

func NewListGlobalAchievementContributorsParamsWithContext(ctx context.Context) *ListGlobalAchievementContributorsParams

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

func NewListGlobalAchievementContributorsParamsWithHTTPClient added in v0.39.0

func NewListGlobalAchievementContributorsParamsWithHTTPClient(client *http.Client) *ListGlobalAchievementContributorsParams

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

func NewListGlobalAchievementContributorsParamsWithTimeout added in v0.39.0

func NewListGlobalAchievementContributorsParamsWithTimeout(timeout time.Duration) *ListGlobalAchievementContributorsParams

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

func (*ListGlobalAchievementContributorsParams) SetAchievementCode added in v0.39.0

func (o *ListGlobalAchievementContributorsParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetAuthInfoWriter added in v0.39.0

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

SetAuthInfoWriter adds the authInfoWriter to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetContext added in v0.39.0

SetContext adds the context to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetHTTPClient added in v0.39.0

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

SetHTTPClient adds the HTTPClient to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetHTTPClientTransport added in v0.39.0

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

SetHTTPClient adds the HTTPClient Transport to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetLimit added in v0.39.0

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

SetLimit adds the limit to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetNamespace added in v0.39.0

func (o *ListGlobalAchievementContributorsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetOffset added in v0.39.0

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

SetOffset adds the offset to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetSortBy added in v0.39.0

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

SetSortBy adds the sortBy to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetTimeout added in v0.39.0

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

SetTimeout adds the timeout to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithAchievementCode added in v0.39.0

WithAchievementCode adds the achievementCode to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithContext added in v0.39.0

WithContext adds the context to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithHTTPClient added in v0.39.0

WithHTTPClient adds the HTTPClient to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithLimit added in v0.39.0

WithLimit adds the limit to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithNamespace added in v0.39.0

WithNamespace adds the namespace to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithOffset added in v0.39.0

WithOffset adds the offset to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithSortBy added in v0.39.0

WithSortBy adds the sortBy to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithTimeout added in v0.39.0

WithTimeout adds the timeout to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WriteToRequest added in v0.39.0

WriteToRequest writes these params to a swagger request

type ListGlobalAchievementContributorsReader added in v0.39.0

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

ListGlobalAchievementContributorsReader is a Reader for the ListGlobalAchievementContributors structure.

func (*ListGlobalAchievementContributorsReader) ReadResponse added in v0.39.0

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

ReadResponse reads a server response into the received o.

type ListGlobalAchievementContributorsUnauthorized added in v0.39.0

type ListGlobalAchievementContributorsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

ListGlobalAchievementContributorsUnauthorized handles this case with default header values.

Unauthorized

func NewListGlobalAchievementContributorsUnauthorized added in v0.39.0

func NewListGlobalAchievementContributorsUnauthorized() *ListGlobalAchievementContributorsUnauthorized

NewListGlobalAchievementContributorsUnauthorized creates a ListGlobalAchievementContributorsUnauthorized with default headers values

func (*ListGlobalAchievementContributorsUnauthorized) Error added in v0.39.0

func (*ListGlobalAchievementContributorsUnauthorized) GetPayload added in v0.39.0

func (*ListGlobalAchievementContributorsUnauthorized) ToJSONString added in v0.39.0

type ListUserContributionsBadRequest added in v0.39.0

type ListUserContributionsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

ListUserContributionsBadRequest handles this case with default header values.

Bad Request

func NewListUserContributionsBadRequest added in v0.39.0

func NewListUserContributionsBadRequest() *ListUserContributionsBadRequest

NewListUserContributionsBadRequest creates a ListUserContributionsBadRequest with default headers values

func (*ListUserContributionsBadRequest) Error added in v0.39.0

func (*ListUserContributionsBadRequest) GetPayload added in v0.39.0

func (*ListUserContributionsBadRequest) ToJSONString added in v0.39.0

func (o *ListUserContributionsBadRequest) ToJSONString() string

type ListUserContributionsInternalServerError added in v0.39.0

type ListUserContributionsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

ListUserContributionsInternalServerError handles this case with default header values.

Internal Server Error

func NewListUserContributionsInternalServerError added in v0.39.0

func NewListUserContributionsInternalServerError() *ListUserContributionsInternalServerError

NewListUserContributionsInternalServerError creates a ListUserContributionsInternalServerError with default headers values

func (*ListUserContributionsInternalServerError) Error added in v0.39.0

func (*ListUserContributionsInternalServerError) GetPayload added in v0.39.0

func (*ListUserContributionsInternalServerError) ToJSONString added in v0.39.0

type ListUserContributionsOK added in v0.39.0

type ListUserContributionsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedUserContributionResponse
}

ListUserContributionsOK handles this case with default header values.

OK

func NewListUserContributionsOK added in v0.39.0

func NewListUserContributionsOK() *ListUserContributionsOK

NewListUserContributionsOK creates a ListUserContributionsOK with default headers values

func (*ListUserContributionsOK) Error added in v0.39.0

func (o *ListUserContributionsOK) Error() string

func (*ListUserContributionsOK) GetPayload added in v0.39.0

func (*ListUserContributionsOK) ToJSONString added in v0.39.0

func (o *ListUserContributionsOK) ToJSONString() string

type ListUserContributionsParams added in v0.39.0

type ListUserContributionsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AchievementCodes
	  achievement codes. multiple value separated by comma

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

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

	*/
	Namespace string
	/*Offset
	  offset

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

	*/
	SortBy *string
	/*Tags
	  tags

	*/
	Tags []string
	/*UserID
	  user ID

	*/
	UserID string

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

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

func NewListUserContributionsParams added in v0.39.0

func NewListUserContributionsParams() *ListUserContributionsParams

NewListUserContributionsParams creates a new ListUserContributionsParams object with the default values initialized.

func NewListUserContributionsParamsWithContext added in v0.39.0

func NewListUserContributionsParamsWithContext(ctx context.Context) *ListUserContributionsParams

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

func NewListUserContributionsParamsWithHTTPClient added in v0.39.0

func NewListUserContributionsParamsWithHTTPClient(client *http.Client) *ListUserContributionsParams

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

func NewListUserContributionsParamsWithTimeout added in v0.39.0

func NewListUserContributionsParamsWithTimeout(timeout time.Duration) *ListUserContributionsParams

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

func (*ListUserContributionsParams) SetAchievementCodes added in v0.39.0

func (o *ListUserContributionsParams) SetAchievementCodes(achievementCodes *string)

SetAchievementCodes adds the achievementCodes to the list user contributions params

func (*ListUserContributionsParams) SetAuthInfoWriter added in v0.39.0

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

SetAuthInfoWriter adds the authInfoWriter to the list user contributions params

func (*ListUserContributionsParams) SetContext added in v0.39.0

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

SetContext adds the context to the list user contributions params

func (*ListUserContributionsParams) SetHTTPClient added in v0.39.0

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

SetHTTPClient adds the HTTPClient to the list user contributions params

func (*ListUserContributionsParams) SetHTTPClientTransport added in v0.39.0

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

SetHTTPClient adds the HTTPClient Transport to the list user contributions params

func (*ListUserContributionsParams) SetLimit added in v0.39.0

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

SetLimit adds the limit to the list user contributions params

func (*ListUserContributionsParams) SetNamespace added in v0.39.0

func (o *ListUserContributionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list user contributions params

func (*ListUserContributionsParams) SetOffset added in v0.39.0

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

SetOffset adds the offset to the list user contributions params

func (*ListUserContributionsParams) SetSortBy added in v0.39.0

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

SetSortBy adds the sortBy to the list user contributions params

func (*ListUserContributionsParams) SetTags added in v0.39.0

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

SetTags adds the tags to the list user contributions params

func (*ListUserContributionsParams) SetTimeout added in v0.39.0

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

SetTimeout adds the timeout to the list user contributions params

func (*ListUserContributionsParams) SetUserID added in v0.39.0

func (o *ListUserContributionsParams) SetUserID(userID string)

SetUserID adds the userId to the list user contributions params

func (*ListUserContributionsParams) WithAchievementCodes added in v0.39.0

func (o *ListUserContributionsParams) WithAchievementCodes(achievementCodes *string) *ListUserContributionsParams

WithAchievementCodes adds the achievementCodes to the list user contributions params

func (*ListUserContributionsParams) WithContext added in v0.39.0

WithContext adds the context to the list user contributions params

func (*ListUserContributionsParams) WithHTTPClient added in v0.39.0

WithHTTPClient adds the HTTPClient to the list user contributions params

func (*ListUserContributionsParams) WithLimit added in v0.39.0

WithLimit adds the limit to the list user contributions params

func (*ListUserContributionsParams) WithNamespace added in v0.39.0

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

WithNamespace adds the namespace to the list user contributions params

func (*ListUserContributionsParams) WithOffset added in v0.39.0

WithOffset adds the offset to the list user contributions params

func (*ListUserContributionsParams) WithSortBy added in v0.39.0

WithSortBy adds the sortBy to the list user contributions params

func (*ListUserContributionsParams) WithTags added in v0.39.0

WithTags adds the tags to the list user contributions params

func (*ListUserContributionsParams) WithTimeout added in v0.39.0

WithTimeout adds the timeout to the list user contributions params

func (*ListUserContributionsParams) WithUserID added in v0.39.0

WithUserID adds the userID to the list user contributions params

func (*ListUserContributionsParams) WriteToRequest added in v0.39.0

WriteToRequest writes these params to a swagger request

type ListUserContributionsReader added in v0.39.0

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

ListUserContributionsReader is a Reader for the ListUserContributions structure.

func (*ListUserContributionsReader) ReadResponse added in v0.39.0

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

ReadResponse reads a server response into the received o.

type ListUserContributionsUnauthorized added in v0.39.0

type ListUserContributionsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

ListUserContributionsUnauthorized handles this case with default header values.

Unauthorized

func NewListUserContributionsUnauthorized added in v0.39.0

func NewListUserContributionsUnauthorized() *ListUserContributionsUnauthorized

NewListUserContributionsUnauthorized creates a ListUserContributionsUnauthorized with default headers values

func (*ListUserContributionsUnauthorized) Error added in v0.39.0

func (*ListUserContributionsUnauthorized) GetPayload added in v0.39.0

func (*ListUserContributionsUnauthorized) ToJSONString added in v0.39.0

func (o *ListUserContributionsUnauthorized) ToJSONString() string

type PublicListGlobalAchievementsBadRequest

type PublicListGlobalAchievementsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListGlobalAchievementsBadRequest handles this case with default header values.

Bad Request

func NewPublicListGlobalAchievementsBadRequest

func NewPublicListGlobalAchievementsBadRequest() *PublicListGlobalAchievementsBadRequest

NewPublicListGlobalAchievementsBadRequest creates a PublicListGlobalAchievementsBadRequest with default headers values

func (*PublicListGlobalAchievementsBadRequest) Error

func (*PublicListGlobalAchievementsBadRequest) GetPayload

func (*PublicListGlobalAchievementsBadRequest) ToJSONString

type PublicListGlobalAchievementsInternalServerError

type PublicListGlobalAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListGlobalAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicListGlobalAchievementsInternalServerError

func NewPublicListGlobalAchievementsInternalServerError() *PublicListGlobalAchievementsInternalServerError

NewPublicListGlobalAchievementsInternalServerError creates a PublicListGlobalAchievementsInternalServerError with default headers values

func (*PublicListGlobalAchievementsInternalServerError) Error

func (*PublicListGlobalAchievementsInternalServerError) GetPayload

func (*PublicListGlobalAchievementsInternalServerError) ToJSONString

type PublicListGlobalAchievementsOK

type PublicListGlobalAchievementsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedGlobalAchievementResponse
}

PublicListGlobalAchievementsOK handles this case with default header values.

OK

func NewPublicListGlobalAchievementsOK

func NewPublicListGlobalAchievementsOK() *PublicListGlobalAchievementsOK

NewPublicListGlobalAchievementsOK creates a PublicListGlobalAchievementsOK with default headers values

func (*PublicListGlobalAchievementsOK) Error

func (*PublicListGlobalAchievementsOK) ToJSONString

func (o *PublicListGlobalAchievementsOK) ToJSONString() string

type PublicListGlobalAchievementsParams

type PublicListGlobalAchievementsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*AchievementCodes
	  filter by achievement codes. multiple value separated by comma

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

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

	*/
	Namespace string
	/*Offset
	  offset

	*/
	Offset *int64
	/*SortBy
	  sort by, allow values: [achievedAt, achievedAt:asc, achievedAt:desc, createdAt, createdAt:asc, createdAt:desc]

	*/
	SortBy *string
	/*Status
	  filter by status. available value: [in_progress, unlocked]

	*/
	Status *string
	/*Tags
	  tags

	*/
	Tags []string

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

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

func NewPublicListGlobalAchievementsParams

func NewPublicListGlobalAchievementsParams() *PublicListGlobalAchievementsParams

NewPublicListGlobalAchievementsParams creates a new PublicListGlobalAchievementsParams object with the default values initialized.

func NewPublicListGlobalAchievementsParamsWithContext

func NewPublicListGlobalAchievementsParamsWithContext(ctx context.Context) *PublicListGlobalAchievementsParams

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

func NewPublicListGlobalAchievementsParamsWithHTTPClient

func NewPublicListGlobalAchievementsParamsWithHTTPClient(client *http.Client) *PublicListGlobalAchievementsParams

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

func NewPublicListGlobalAchievementsParamsWithTimeout

func NewPublicListGlobalAchievementsParamsWithTimeout(timeout time.Duration) *PublicListGlobalAchievementsParams

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

func (*PublicListGlobalAchievementsParams) SetAchievementCodes added in v0.39.0

func (o *PublicListGlobalAchievementsParams) SetAchievementCodes(achievementCodes *string)

SetAchievementCodes adds the achievementCodes to the public list global achievements params

func (*PublicListGlobalAchievementsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public list global achievements params

func (*PublicListGlobalAchievementsParams) SetContext

SetContext adds the context to the public list global achievements params

func (*PublicListGlobalAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list global achievements params

func (*PublicListGlobalAchievementsParams) SetHTTPClientTransport

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

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

func (*PublicListGlobalAchievementsParams) SetLimit

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

SetLimit adds the limit to the public list global achievements params

func (*PublicListGlobalAchievementsParams) SetNamespace

func (o *PublicListGlobalAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list global achievements params

func (*PublicListGlobalAchievementsParams) SetOffset

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

SetOffset adds the offset to the public list global achievements params

func (*PublicListGlobalAchievementsParams) SetSortBy

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

SetSortBy adds the sortBy to the public list global achievements params

func (*PublicListGlobalAchievementsParams) SetStatus

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

SetStatus adds the status to the public list global achievements params

func (*PublicListGlobalAchievementsParams) SetTags added in v0.39.0

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

SetTags adds the tags to the public list global achievements params

func (*PublicListGlobalAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the public list global achievements params

func (*PublicListGlobalAchievementsParams) WithAchievementCodes added in v0.39.0

func (o *PublicListGlobalAchievementsParams) WithAchievementCodes(achievementCodes *string) *PublicListGlobalAchievementsParams

WithAchievementCodes adds the achievementCodes to the public list global achievements params

func (*PublicListGlobalAchievementsParams) WithContext

WithContext adds the context to the public list global achievements params

func (*PublicListGlobalAchievementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public list global achievements params

func (*PublicListGlobalAchievementsParams) WithLimit

WithLimit adds the limit to the public list global achievements params

func (*PublicListGlobalAchievementsParams) WithNamespace

WithNamespace adds the namespace to the public list global achievements params

func (*PublicListGlobalAchievementsParams) WithOffset

WithOffset adds the offset to the public list global achievements params

func (*PublicListGlobalAchievementsParams) WithSortBy

WithSortBy adds the sortBy to the public list global achievements params

func (*PublicListGlobalAchievementsParams) WithStatus

WithStatus adds the status to the public list global achievements params

func (*PublicListGlobalAchievementsParams) WithTags added in v0.39.0

WithTags adds the tags to the public list global achievements params

func (*PublicListGlobalAchievementsParams) WithTimeout

WithTimeout adds the timeout to the public list global achievements params

func (*PublicListGlobalAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListGlobalAchievementsReader

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

PublicListGlobalAchievementsReader is a Reader for the PublicListGlobalAchievements structure.

func (*PublicListGlobalAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListGlobalAchievementsUnauthorized

type PublicListGlobalAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListGlobalAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewPublicListGlobalAchievementsUnauthorized

func NewPublicListGlobalAchievementsUnauthorized() *PublicListGlobalAchievementsUnauthorized

NewPublicListGlobalAchievementsUnauthorized creates a PublicListGlobalAchievementsUnauthorized with default headers values

func (*PublicListGlobalAchievementsUnauthorized) Error

func (*PublicListGlobalAchievementsUnauthorized) GetPayload

func (*PublicListGlobalAchievementsUnauthorized) ToJSONString

type ResetGlobalAchievementForbidden added in v0.39.0

type ResetGlobalAchievementForbidden struct {
	Payload *achievementclientmodels.ResponseError
}

ResetGlobalAchievementForbidden handles this case with default header values.

Forbidden

func NewResetGlobalAchievementForbidden added in v0.39.0

func NewResetGlobalAchievementForbidden() *ResetGlobalAchievementForbidden

NewResetGlobalAchievementForbidden creates a ResetGlobalAchievementForbidden with default headers values

func (*ResetGlobalAchievementForbidden) Error added in v0.39.0

func (*ResetGlobalAchievementForbidden) GetPayload added in v0.39.0

func (*ResetGlobalAchievementForbidden) ToJSONString added in v0.39.0

func (o *ResetGlobalAchievementForbidden) ToJSONString() string

type ResetGlobalAchievementInternalServerError added in v0.39.0

type ResetGlobalAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

ResetGlobalAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewResetGlobalAchievementInternalServerError added in v0.39.0

func NewResetGlobalAchievementInternalServerError() *ResetGlobalAchievementInternalServerError

NewResetGlobalAchievementInternalServerError creates a ResetGlobalAchievementInternalServerError with default headers values

func (*ResetGlobalAchievementInternalServerError) Error added in v0.39.0

func (*ResetGlobalAchievementInternalServerError) GetPayload added in v0.39.0

func (*ResetGlobalAchievementInternalServerError) ToJSONString added in v0.39.0

type ResetGlobalAchievementNoContent added in v0.39.0

type ResetGlobalAchievementNoContent struct {
}

ResetGlobalAchievementNoContent handles this case with default header values.

No Content

func NewResetGlobalAchievementNoContent added in v0.39.0

func NewResetGlobalAchievementNoContent() *ResetGlobalAchievementNoContent

NewResetGlobalAchievementNoContent creates a ResetGlobalAchievementNoContent with default headers values

func (*ResetGlobalAchievementNoContent) Error added in v0.39.0

type ResetGlobalAchievementParams added in v0.39.0

type ResetGlobalAchievementParams struct {

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

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

func NewResetGlobalAchievementParams added in v0.39.0

func NewResetGlobalAchievementParams() *ResetGlobalAchievementParams

NewResetGlobalAchievementParams creates a new ResetGlobalAchievementParams object with the default values initialized.

func NewResetGlobalAchievementParamsWithContext added in v0.39.0

func NewResetGlobalAchievementParamsWithContext(ctx context.Context) *ResetGlobalAchievementParams

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

func NewResetGlobalAchievementParamsWithHTTPClient added in v0.39.0

func NewResetGlobalAchievementParamsWithHTTPClient(client *http.Client) *ResetGlobalAchievementParams

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

func NewResetGlobalAchievementParamsWithTimeout added in v0.39.0

func NewResetGlobalAchievementParamsWithTimeout(timeout time.Duration) *ResetGlobalAchievementParams

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

func (*ResetGlobalAchievementParams) SetAchievementCode added in v0.39.0

func (o *ResetGlobalAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the reset global achievement params

func (*ResetGlobalAchievementParams) SetAuthInfoWriter added in v0.39.0

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

SetAuthInfoWriter adds the authInfoWriter to the reset global achievement params

func (*ResetGlobalAchievementParams) SetContext added in v0.39.0

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

SetContext adds the context to the reset global achievement params

func (*ResetGlobalAchievementParams) SetHTTPClient added in v0.39.0

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

SetHTTPClient adds the HTTPClient to the reset global achievement params

func (*ResetGlobalAchievementParams) SetHTTPClientTransport added in v0.39.0

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

SetHTTPClient adds the HTTPClient Transport to the reset global achievement params

func (*ResetGlobalAchievementParams) SetNamespace added in v0.39.0

func (o *ResetGlobalAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the reset global achievement params

func (*ResetGlobalAchievementParams) SetTimeout added in v0.39.0

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

SetTimeout adds the timeout to the reset global achievement params

func (*ResetGlobalAchievementParams) WithAchievementCode added in v0.39.0

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

WithAchievementCode adds the achievementCode to the reset global achievement params

func (*ResetGlobalAchievementParams) WithContext added in v0.39.0

WithContext adds the context to the reset global achievement params

func (*ResetGlobalAchievementParams) WithHTTPClient added in v0.39.0

WithHTTPClient adds the HTTPClient to the reset global achievement params

func (*ResetGlobalAchievementParams) WithNamespace added in v0.39.0

WithNamespace adds the namespace to the reset global achievement params

func (*ResetGlobalAchievementParams) WithTimeout added in v0.39.0

WithTimeout adds the timeout to the reset global achievement params

func (*ResetGlobalAchievementParams) WriteToRequest added in v0.39.0

WriteToRequest writes these params to a swagger request

type ResetGlobalAchievementReader added in v0.39.0

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

ResetGlobalAchievementReader is a Reader for the ResetGlobalAchievement structure.

func (*ResetGlobalAchievementReader) ReadResponse added in v0.39.0

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

ReadResponse reads a server response into the received o.

type ResetGlobalAchievementUnauthorized added in v0.39.0

type ResetGlobalAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

ResetGlobalAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewResetGlobalAchievementUnauthorized added in v0.39.0

func NewResetGlobalAchievementUnauthorized() *ResetGlobalAchievementUnauthorized

NewResetGlobalAchievementUnauthorized creates a ResetGlobalAchievementUnauthorized with default headers values

func (*ResetGlobalAchievementUnauthorized) Error added in v0.39.0

func (*ResetGlobalAchievementUnauthorized) GetPayload added in v0.39.0

func (*ResetGlobalAchievementUnauthorized) ToJSONString added in v0.39.0

func (o *ResetGlobalAchievementUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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