global_achievements

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 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

type AdminListGlobalAchievementContributorsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListGlobalAchievementContributorsBadRequest handles this case with default header values.

Bad Request

func NewAdminListGlobalAchievementContributorsBadRequest

func NewAdminListGlobalAchievementContributorsBadRequest() *AdminListGlobalAchievementContributorsBadRequest

NewAdminListGlobalAchievementContributorsBadRequest creates a AdminListGlobalAchievementContributorsBadRequest with default headers values

func (*AdminListGlobalAchievementContributorsBadRequest) Error

func (*AdminListGlobalAchievementContributorsBadRequest) GetPayload

func (*AdminListGlobalAchievementContributorsBadRequest) ToJSONString

type AdminListGlobalAchievementContributorsInternalServerError

type AdminListGlobalAchievementContributorsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListGlobalAchievementContributorsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListGlobalAchievementContributorsInternalServerError

func NewAdminListGlobalAchievementContributorsInternalServerError() *AdminListGlobalAchievementContributorsInternalServerError

NewAdminListGlobalAchievementContributorsInternalServerError creates a AdminListGlobalAchievementContributorsInternalServerError with default headers values

func (*AdminListGlobalAchievementContributorsInternalServerError) Error

func (*AdminListGlobalAchievementContributorsInternalServerError) GetPayload

func (*AdminListGlobalAchievementContributorsInternalServerError) ToJSONString

type AdminListGlobalAchievementContributorsOK

type AdminListGlobalAchievementContributorsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedContributorResponse
}

AdminListGlobalAchievementContributorsOK handles this case with default header values.

OK

func NewAdminListGlobalAchievementContributorsOK

func NewAdminListGlobalAchievementContributorsOK() *AdminListGlobalAchievementContributorsOK

NewAdminListGlobalAchievementContributorsOK creates a AdminListGlobalAchievementContributorsOK with default headers values

func (*AdminListGlobalAchievementContributorsOK) Error

func (*AdminListGlobalAchievementContributorsOK) GetPayload

func (*AdminListGlobalAchievementContributorsOK) ToJSONString

type AdminListGlobalAchievementContributorsParams

type AdminListGlobalAchievementContributorsParams struct {

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

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewAdminListGlobalAchievementContributorsParams() *AdminListGlobalAchievementContributorsParams

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

func NewAdminListGlobalAchievementContributorsParamsWithContext

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

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

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

func (o *AdminListGlobalAchievementContributorsParams) SetAchievementCode(achievementCode string)

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

func (*AdminListGlobalAchievementContributorsParams) SetAuthInfoWriter

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

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

func (*AdminListGlobalAchievementContributorsParams) SetContext

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

func (*AdminListGlobalAchievementContributorsParams) SetFlightId

func (o *AdminListGlobalAchievementContributorsParams) SetFlightId(flightId string)

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

func (*AdminListGlobalAchievementContributorsParams) SetHTTPClient

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

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

func (*AdminListGlobalAchievementContributorsParams) SetHTTPClientTransport

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

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

func (*AdminListGlobalAchievementContributorsParams) SetLimit

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

func (*AdminListGlobalAchievementContributorsParams) SetNamespace

func (o *AdminListGlobalAchievementContributorsParams) SetNamespace(namespace string)

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

func (*AdminListGlobalAchievementContributorsParams) SetOffset

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

func (*AdminListGlobalAchievementContributorsParams) SetSortBy

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

func (*AdminListGlobalAchievementContributorsParams) SetTimeout

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

func (*AdminListGlobalAchievementContributorsParams) WithAchievementCode

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

func (*AdminListGlobalAchievementContributorsParams) WithContext

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

func (*AdminListGlobalAchievementContributorsParams) WithHTTPClient

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

func (*AdminListGlobalAchievementContributorsParams) WithLimit

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

func (*AdminListGlobalAchievementContributorsParams) WithNamespace

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

func (*AdminListGlobalAchievementContributorsParams) WithOffset

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

func (*AdminListGlobalAchievementContributorsParams) WithSortBy

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

func (*AdminListGlobalAchievementContributorsParams) WithTimeout

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

func (*AdminListGlobalAchievementContributorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListGlobalAchievementContributorsReader

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

AdminListGlobalAchievementContributorsReader is a Reader for the AdminListGlobalAchievementContributors structure.

func (*AdminListGlobalAchievementContributorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListGlobalAchievementContributorsUnauthorized

type AdminListGlobalAchievementContributorsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListGlobalAchievementContributorsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminListGlobalAchievementContributorsUnauthorized

func NewAdminListGlobalAchievementContributorsUnauthorized() *AdminListGlobalAchievementContributorsUnauthorized

NewAdminListGlobalAchievementContributorsUnauthorized creates a AdminListGlobalAchievementContributorsUnauthorized with default headers values

func (*AdminListGlobalAchievementContributorsUnauthorized) Error

func (*AdminListGlobalAchievementContributorsUnauthorized) GetPayload

func (*AdminListGlobalAchievementContributorsUnauthorized) ToJSONString

type AdminListGlobalAchievementsBadRequest

type AdminListGlobalAchievementsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListGlobalAchievementsBadRequest handles this case with default header values.

Bad Request

func NewAdminListGlobalAchievementsBadRequest

func NewAdminListGlobalAchievementsBadRequest() *AdminListGlobalAchievementsBadRequest

NewAdminListGlobalAchievementsBadRequest creates a AdminListGlobalAchievementsBadRequest with default headers values

func (*AdminListGlobalAchievementsBadRequest) Error

func (*AdminListGlobalAchievementsBadRequest) GetPayload

func (*AdminListGlobalAchievementsBadRequest) ToJSONString

type AdminListGlobalAchievementsInternalServerError

type AdminListGlobalAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListGlobalAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListGlobalAchievementsInternalServerError

func NewAdminListGlobalAchievementsInternalServerError() *AdminListGlobalAchievementsInternalServerError

NewAdminListGlobalAchievementsInternalServerError creates a AdminListGlobalAchievementsInternalServerError with default headers values

func (*AdminListGlobalAchievementsInternalServerError) Error

func (*AdminListGlobalAchievementsInternalServerError) GetPayload

func (*AdminListGlobalAchievementsInternalServerError) ToJSONString

type AdminListGlobalAchievementsOK

type AdminListGlobalAchievementsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedGlobalAchievementResponse
}

AdminListGlobalAchievementsOK handles this case with default header values.

OK

func NewAdminListGlobalAchievementsOK

func NewAdminListGlobalAchievementsOK() *AdminListGlobalAchievementsOK

NewAdminListGlobalAchievementsOK creates a AdminListGlobalAchievementsOK with default headers values

func (*AdminListGlobalAchievementsOK) Error

func (*AdminListGlobalAchievementsOK) ToJSONString

func (o *AdminListGlobalAchievementsOK) ToJSONString() string

type AdminListGlobalAchievementsParams

type AdminListGlobalAchievementsParams struct {

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewAdminListGlobalAchievementsParams() *AdminListGlobalAchievementsParams

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

func NewAdminListGlobalAchievementsParamsWithContext

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

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

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

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

SetAchievementCodes adds the achievementCodes to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetContext

SetContext adds the context to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetFlightId

func (o *AdminListGlobalAchievementsParams) SetFlightId(flightId string)

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

func (*AdminListGlobalAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetHTTPClientTransport

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

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

func (*AdminListGlobalAchievementsParams) SetLimit

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

SetLimit adds the limit to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetNamespace

func (o *AdminListGlobalAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetOffset

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

SetOffset adds the offset to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetSortBy

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

SetSortBy adds the sortBy to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetStatus

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

SetStatus adds the status to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetTags

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

SetTags adds the tags to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithAchievementCodes

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

WithAchievementCodes adds the achievementCodes to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithContext

WithContext adds the context to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithLimit

WithLimit adds the limit to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithNamespace

WithNamespace adds the namespace to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithOffset

WithOffset adds the offset to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithSortBy

WithSortBy adds the sortBy to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithStatus

WithStatus adds the status to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithTags

WithTags adds the tags to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WithTimeout

WithTimeout adds the timeout to the admin list global achievements params

func (*AdminListGlobalAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListGlobalAchievementsReader

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

AdminListGlobalAchievementsReader is a Reader for the AdminListGlobalAchievements structure.

func (*AdminListGlobalAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListGlobalAchievementsUnauthorized

type AdminListGlobalAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListGlobalAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminListGlobalAchievementsUnauthorized

func NewAdminListGlobalAchievementsUnauthorized() *AdminListGlobalAchievementsUnauthorized

NewAdminListGlobalAchievementsUnauthorized creates a AdminListGlobalAchievementsUnauthorized with default headers values

func (*AdminListGlobalAchievementsUnauthorized) Error

func (*AdminListGlobalAchievementsUnauthorized) GetPayload

func (*AdminListGlobalAchievementsUnauthorized) ToJSONString

type AdminListUserContributionsBadRequest

type AdminListUserContributionsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserContributionsBadRequest handles this case with default header values.

Bad Request

func NewAdminListUserContributionsBadRequest

func NewAdminListUserContributionsBadRequest() *AdminListUserContributionsBadRequest

NewAdminListUserContributionsBadRequest creates a AdminListUserContributionsBadRequest with default headers values

func (*AdminListUserContributionsBadRequest) Error

func (*AdminListUserContributionsBadRequest) GetPayload

func (*AdminListUserContributionsBadRequest) ToJSONString

func (o *AdminListUserContributionsBadRequest) ToJSONString() string

type AdminListUserContributionsInternalServerError

type AdminListUserContributionsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserContributionsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListUserContributionsInternalServerError

func NewAdminListUserContributionsInternalServerError() *AdminListUserContributionsInternalServerError

NewAdminListUserContributionsInternalServerError creates a AdminListUserContributionsInternalServerError with default headers values

func (*AdminListUserContributionsInternalServerError) Error

func (*AdminListUserContributionsInternalServerError) GetPayload

func (*AdminListUserContributionsInternalServerError) ToJSONString

type AdminListUserContributionsOK

type AdminListUserContributionsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedUserContributionResponse
}

AdminListUserContributionsOK handles this case with default header values.

OK

func NewAdminListUserContributionsOK

func NewAdminListUserContributionsOK() *AdminListUserContributionsOK

NewAdminListUserContributionsOK creates a AdminListUserContributionsOK with default headers values

func (*AdminListUserContributionsOK) Error

func (*AdminListUserContributionsOK) ToJSONString

func (o *AdminListUserContributionsOK) ToJSONString() string

type AdminListUserContributionsParams

type AdminListUserContributionsParams struct {

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

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string
	/*AchievementCodes
	  achievement codes. multiple value separated by comma

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

	*/
	Limit *int64
	/*Offset
	  offset

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

	*/
	SortBy *string
	/*Tags
	  tags

	*/
	Tags []string

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

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

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

func NewAdminListUserContributionsParams() *AdminListUserContributionsParams

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

func NewAdminListUserContributionsParamsWithContext

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

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

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

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

SetAchievementCodes adds the achievementCodes to the admin list user contributions params

func (*AdminListUserContributionsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin list user contributions params

func (*AdminListUserContributionsParams) SetContext

SetContext adds the context to the admin list user contributions params

func (*AdminListUserContributionsParams) SetFlightId

func (o *AdminListUserContributionsParams) SetFlightId(flightId string)

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

func (*AdminListUserContributionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list user contributions params

func (*AdminListUserContributionsParams) SetHTTPClientTransport

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

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

func (*AdminListUserContributionsParams) SetLimit

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

SetLimit adds the limit to the admin list user contributions params

func (*AdminListUserContributionsParams) SetNamespace

func (o *AdminListUserContributionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list user contributions params

func (*AdminListUserContributionsParams) SetOffset

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

SetOffset adds the offset to the admin list user contributions params

func (*AdminListUserContributionsParams) SetSortBy

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

SetSortBy adds the sortBy to the admin list user contributions params

func (*AdminListUserContributionsParams) SetTags

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

SetTags adds the tags to the admin list user contributions params

func (*AdminListUserContributionsParams) SetTimeout

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

SetTimeout adds the timeout to the admin list user contributions params

func (*AdminListUserContributionsParams) SetUserID

func (o *AdminListUserContributionsParams) SetUserID(userID string)

SetUserID adds the userId to the admin list user contributions params

func (*AdminListUserContributionsParams) WithAchievementCodes

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

WithAchievementCodes adds the achievementCodes to the admin list user contributions params

func (*AdminListUserContributionsParams) WithContext

WithContext adds the context to the admin list user contributions params

func (*AdminListUserContributionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin list user contributions params

func (*AdminListUserContributionsParams) WithLimit

WithLimit adds the limit to the admin list user contributions params

func (*AdminListUserContributionsParams) WithNamespace

WithNamespace adds the namespace to the admin list user contributions params

func (*AdminListUserContributionsParams) WithOffset

WithOffset adds the offset to the admin list user contributions params

func (*AdminListUserContributionsParams) WithSortBy

WithSortBy adds the sortBy to the admin list user contributions params

func (*AdminListUserContributionsParams) WithTags

WithTags adds the tags to the admin list user contributions params

func (*AdminListUserContributionsParams) WithTimeout

WithTimeout adds the timeout to the admin list user contributions params

func (*AdminListUserContributionsParams) WithUserID

WithUserID adds the userID to the admin list user contributions params

func (*AdminListUserContributionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListUserContributionsReader

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

AdminListUserContributionsReader is a Reader for the AdminListUserContributions structure.

func (*AdminListUserContributionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListUserContributionsUnauthorized

type AdminListUserContributionsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserContributionsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminListUserContributionsUnauthorized

func NewAdminListUserContributionsUnauthorized() *AdminListUserContributionsUnauthorized

NewAdminListUserContributionsUnauthorized creates a AdminListUserContributionsUnauthorized with default headers values

func (*AdminListUserContributionsUnauthorized) Error

func (*AdminListUserContributionsUnauthorized) GetPayload

func (*AdminListUserContributionsUnauthorized) ToJSONString

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

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

func (o *ClaimGlobalAchievementRewardParams) SetFlightId(flightId string)

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

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) AdminListGlobalAchievementContributorsShort

func (a *Client) AdminListGlobalAchievementContributorsShort(params *AdminListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementContributorsOK, error)

AdminListGlobalAchievementContributorsShort admin list contributors of global achievement

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

func (*Client) AdminListGlobalAchievementsShort

func (a *Client) AdminListGlobalAchievementsShort(params *AdminListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementsOK, error)

AdminListGlobalAchievementsShort admin query global achievements [include achieved and in-progress]

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

Note:

Global achievement status value mean: `status = 1 (in progress)` and `status = 2 (unlocked)`

func (*Client) AdminListUserContributionsShort

func (a *Client) AdminListUserContributionsShort(params *AdminListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserContributionsOK, error)

AdminListUserContributionsShort admin list of global achievements that has been contributed by the user

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

func (*Client) ClaimGlobalAchievementRewardShort

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

ClaimGlobalAchievementRewardShort claim global achievement reward

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

Note:

Global achievement should be unlocked to claim the reward. Only contributor of global achievement are eligible for rewards

func (*Client) ListGlobalAchievementContributorsShort

func (a *Client) ListGlobalAchievementContributorsShort(params *ListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*ListGlobalAchievementContributorsOK, error)

ListGlobalAchievementContributorsShort list contributors of global achievement

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

func (*Client) ListUserContributionsShort

func (a *Client) ListUserContributionsShort(params *ListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserContributionsOK, error)

ListUserContributionsShort list of global achievements that has been contributed by the user

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

func (*Client) PublicListGlobalAchievementsShort

func (a *Client) PublicListGlobalAchievementsShort(params *PublicListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListGlobalAchievementsOK, error)

PublicListGlobalAchievementsShort query global achievements [include achieved and in-progress]

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

Note:

Global achievement status value mean: `status = 1 (in progress)` and `status = 2 (unlocked)`

func (*Client) ResetGlobalAchievementShort

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

ResetGlobalAchievementShort reset global achievement

[TEST FACILITY ONLY]

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminListGlobalAchievementsShort(params *AdminListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementsOK, error)
	AdminListGlobalAchievementContributorsShort(params *AdminListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListGlobalAchievementContributorsOK, error)
	ResetGlobalAchievementShort(params *ResetGlobalAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*ResetGlobalAchievementNoContent, error)
	AdminListUserContributionsShort(params *AdminListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserContributionsOK, error)
	PublicListGlobalAchievementsShort(params *PublicListGlobalAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListGlobalAchievementsOK, error)
	ListGlobalAchievementContributorsShort(params *ListGlobalAchievementContributorsParams, authInfo runtime.ClientAuthInfoWriter) (*ListGlobalAchievementContributorsOK, error)
	ListUserContributionsShort(params *ListUserContributionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserContributionsOK, error)
	ClaimGlobalAchievementRewardShort(params *ClaimGlobalAchievementRewardParams, authInfo runtime.ClientAuthInfoWriter) (*ClaimGlobalAchievementRewardAccepted, 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

type ListGlobalAchievementContributorsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

ListGlobalAchievementContributorsBadRequest handles this case with default header values.

Bad Request

func NewListGlobalAchievementContributorsBadRequest

func NewListGlobalAchievementContributorsBadRequest() *ListGlobalAchievementContributorsBadRequest

NewListGlobalAchievementContributorsBadRequest creates a ListGlobalAchievementContributorsBadRequest with default headers values

func (*ListGlobalAchievementContributorsBadRequest) Error

func (*ListGlobalAchievementContributorsBadRequest) GetPayload

func (*ListGlobalAchievementContributorsBadRequest) ToJSONString

type ListGlobalAchievementContributorsInternalServerError

type ListGlobalAchievementContributorsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

ListGlobalAchievementContributorsInternalServerError handles this case with default header values.

Internal Server Error

func NewListGlobalAchievementContributorsInternalServerError

func NewListGlobalAchievementContributorsInternalServerError() *ListGlobalAchievementContributorsInternalServerError

NewListGlobalAchievementContributorsInternalServerError creates a ListGlobalAchievementContributorsInternalServerError with default headers values

func (*ListGlobalAchievementContributorsInternalServerError) Error

func (*ListGlobalAchievementContributorsInternalServerError) GetPayload

func (*ListGlobalAchievementContributorsInternalServerError) ToJSONString

type ListGlobalAchievementContributorsOK

type ListGlobalAchievementContributorsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedContributorResponse
}

ListGlobalAchievementContributorsOK handles this case with default header values.

OK

func NewListGlobalAchievementContributorsOK

func NewListGlobalAchievementContributorsOK() *ListGlobalAchievementContributorsOK

NewListGlobalAchievementContributorsOK creates a ListGlobalAchievementContributorsOK with default headers values

func (*ListGlobalAchievementContributorsOK) Error

func (*ListGlobalAchievementContributorsOK) GetPayload

func (*ListGlobalAchievementContributorsOK) ToJSONString

func (o *ListGlobalAchievementContributorsOK) ToJSONString() string

type ListGlobalAchievementContributorsParams

type ListGlobalAchievementContributorsParams struct {

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

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewListGlobalAchievementContributorsParams() *ListGlobalAchievementContributorsParams

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

func NewListGlobalAchievementContributorsParamsWithContext

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

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

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

func (o *ListGlobalAchievementContributorsParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetContext

SetContext adds the context to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetFlightId

func (o *ListGlobalAchievementContributorsParams) SetFlightId(flightId string)

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

func (*ListGlobalAchievementContributorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetHTTPClientTransport

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

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

func (*ListGlobalAchievementContributorsParams) SetLimit

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

SetLimit adds the limit to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetNamespace

func (o *ListGlobalAchievementContributorsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetOffset

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

SetOffset adds the offset to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetSortBy

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

SetSortBy adds the sortBy to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) SetTimeout

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

SetTimeout adds the timeout to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithAchievementCode

WithAchievementCode adds the achievementCode to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithContext

WithContext adds the context to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithLimit

WithLimit adds the limit to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithNamespace

WithNamespace adds the namespace to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithOffset

WithOffset adds the offset to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithSortBy

WithSortBy adds the sortBy to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WithTimeout

WithTimeout adds the timeout to the list global achievement contributors params

func (*ListGlobalAchievementContributorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGlobalAchievementContributorsReader

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

ListGlobalAchievementContributorsReader is a Reader for the ListGlobalAchievementContributors structure.

func (*ListGlobalAchievementContributorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListGlobalAchievementContributorsUnauthorized

type ListGlobalAchievementContributorsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

ListGlobalAchievementContributorsUnauthorized handles this case with default header values.

Unauthorized

func NewListGlobalAchievementContributorsUnauthorized

func NewListGlobalAchievementContributorsUnauthorized() *ListGlobalAchievementContributorsUnauthorized

NewListGlobalAchievementContributorsUnauthorized creates a ListGlobalAchievementContributorsUnauthorized with default headers values

func (*ListGlobalAchievementContributorsUnauthorized) Error

func (*ListGlobalAchievementContributorsUnauthorized) GetPayload

func (*ListGlobalAchievementContributorsUnauthorized) ToJSONString

type ListUserContributionsBadRequest

type ListUserContributionsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

ListUserContributionsBadRequest handles this case with default header values.

Bad Request

func NewListUserContributionsBadRequest

func NewListUserContributionsBadRequest() *ListUserContributionsBadRequest

NewListUserContributionsBadRequest creates a ListUserContributionsBadRequest with default headers values

func (*ListUserContributionsBadRequest) Error

func (*ListUserContributionsBadRequest) GetPayload

func (*ListUserContributionsBadRequest) ToJSONString

func (o *ListUserContributionsBadRequest) ToJSONString() string

type ListUserContributionsInternalServerError

type ListUserContributionsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

ListUserContributionsInternalServerError handles this case with default header values.

Internal Server Error

func NewListUserContributionsInternalServerError

func NewListUserContributionsInternalServerError() *ListUserContributionsInternalServerError

NewListUserContributionsInternalServerError creates a ListUserContributionsInternalServerError with default headers values

func (*ListUserContributionsInternalServerError) Error

func (*ListUserContributionsInternalServerError) GetPayload

func (*ListUserContributionsInternalServerError) ToJSONString

type ListUserContributionsOK

type ListUserContributionsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedUserContributionResponse
}

ListUserContributionsOK handles this case with default header values.

OK

func NewListUserContributionsOK

func NewListUserContributionsOK() *ListUserContributionsOK

NewListUserContributionsOK creates a ListUserContributionsOK with default headers values

func (*ListUserContributionsOK) Error

func (o *ListUserContributionsOK) Error() string

func (*ListUserContributionsOK) ToJSONString

func (o *ListUserContributionsOK) ToJSONString() string

type ListUserContributionsParams

type ListUserContributionsParams struct {

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

	*/
	Namespace string
	/*UserID
	  user ID

	*/
	UserID string
	/*AchievementCodes
	  achievement codes. multiple value separated by comma

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

	*/
	Limit *int64
	/*Offset
	  offset

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

	*/
	SortBy *string
	/*Tags
	  tags

	*/
	Tags []string

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

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

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

func NewListUserContributionsParams() *ListUserContributionsParams

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

func NewListUserContributionsParamsWithContext

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

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

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

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

SetAchievementCodes adds the achievementCodes to the list user contributions params

func (*ListUserContributionsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the list user contributions params

func (*ListUserContributionsParams) SetContext

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

SetContext adds the context to the list user contributions params

func (*ListUserContributionsParams) SetFlightId

func (o *ListUserContributionsParams) SetFlightId(flightId string)

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

func (*ListUserContributionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user contributions params

func (*ListUserContributionsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the list user contributions params

func (*ListUserContributionsParams) SetLimit

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

SetLimit adds the limit to the list user contributions params

func (*ListUserContributionsParams) SetNamespace

func (o *ListUserContributionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list user contributions params

func (*ListUserContributionsParams) SetOffset

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

SetOffset adds the offset to the list user contributions params

func (*ListUserContributionsParams) SetSortBy

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

SetSortBy adds the sortBy to the list user contributions params

func (*ListUserContributionsParams) SetTags

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

SetTags adds the tags to the list user contributions params

func (*ListUserContributionsParams) SetTimeout

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

SetTimeout adds the timeout to the list user contributions params

func (*ListUserContributionsParams) SetUserID

func (o *ListUserContributionsParams) SetUserID(userID string)

SetUserID adds the userId to the list user contributions params

func (*ListUserContributionsParams) WithAchievementCodes

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

WithAchievementCodes adds the achievementCodes to the list user contributions params

func (*ListUserContributionsParams) WithContext

WithContext adds the context to the list user contributions params

func (*ListUserContributionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list user contributions params

func (*ListUserContributionsParams) WithLimit

WithLimit adds the limit to the list user contributions params

func (*ListUserContributionsParams) WithNamespace

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

WithNamespace adds the namespace to the list user contributions params

func (*ListUserContributionsParams) WithOffset

WithOffset adds the offset to the list user contributions params

func (*ListUserContributionsParams) WithSortBy

WithSortBy adds the sortBy to the list user contributions params

func (*ListUserContributionsParams) WithTags

WithTags adds the tags to the list user contributions params

func (*ListUserContributionsParams) WithTimeout

WithTimeout adds the timeout to the list user contributions params

func (*ListUserContributionsParams) WithUserID

WithUserID adds the userID to the list user contributions params

func (*ListUserContributionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListUserContributionsReader

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

ListUserContributionsReader is a Reader for the ListUserContributions structure.

func (*ListUserContributionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserContributionsUnauthorized

type ListUserContributionsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

ListUserContributionsUnauthorized handles this case with default header values.

Unauthorized

func NewListUserContributionsUnauthorized

func NewListUserContributionsUnauthorized() *ListUserContributionsUnauthorized

NewListUserContributionsUnauthorized creates a ListUserContributionsUnauthorized with default headers values

func (*ListUserContributionsUnauthorized) Error

func (*ListUserContributionsUnauthorized) GetPayload

func (*ListUserContributionsUnauthorized) ToJSONString

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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) SetFlightId

func (o *PublicListGlobalAchievementsParams) SetFlightId(flightId string)

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

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

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

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

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

type ResetGlobalAchievementForbidden struct {
	Payload *achievementclientmodels.ResponseError
}

ResetGlobalAchievementForbidden handles this case with default header values.

Forbidden

func NewResetGlobalAchievementForbidden

func NewResetGlobalAchievementForbidden() *ResetGlobalAchievementForbidden

NewResetGlobalAchievementForbidden creates a ResetGlobalAchievementForbidden with default headers values

func (*ResetGlobalAchievementForbidden) Error

func (*ResetGlobalAchievementForbidden) GetPayload

func (*ResetGlobalAchievementForbidden) ToJSONString

func (o *ResetGlobalAchievementForbidden) ToJSONString() string

type ResetGlobalAchievementInternalServerError

type ResetGlobalAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

ResetGlobalAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewResetGlobalAchievementInternalServerError

func NewResetGlobalAchievementInternalServerError() *ResetGlobalAchievementInternalServerError

NewResetGlobalAchievementInternalServerError creates a ResetGlobalAchievementInternalServerError with default headers values

func (*ResetGlobalAchievementInternalServerError) Error

func (*ResetGlobalAchievementInternalServerError) GetPayload

func (*ResetGlobalAchievementInternalServerError) ToJSONString

type ResetGlobalAchievementNoContent

type ResetGlobalAchievementNoContent struct {
}

ResetGlobalAchievementNoContent handles this case with default header values.

No Content

func NewResetGlobalAchievementNoContent

func NewResetGlobalAchievementNoContent() *ResetGlobalAchievementNoContent

NewResetGlobalAchievementNoContent creates a ResetGlobalAchievementNoContent with default headers values

func (*ResetGlobalAchievementNoContent) Error

type ResetGlobalAchievementParams

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewResetGlobalAchievementParams() *ResetGlobalAchievementParams

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

func NewResetGlobalAchievementParamsWithContext

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

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

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

func (o *ResetGlobalAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the reset global achievement params

func (*ResetGlobalAchievementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the reset global achievement params

func (*ResetGlobalAchievementParams) SetContext

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

SetContext adds the context to the reset global achievement params

func (*ResetGlobalAchievementParams) SetFlightId

func (o *ResetGlobalAchievementParams) SetFlightId(flightId string)

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

func (*ResetGlobalAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset global achievement params

func (*ResetGlobalAchievementParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the reset global achievement params

func (*ResetGlobalAchievementParams) SetNamespace

func (o *ResetGlobalAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the reset global achievement params

func (*ResetGlobalAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the reset global achievement params

func (*ResetGlobalAchievementParams) WithAchievementCode

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

WithAchievementCode adds the achievementCode to the reset global achievement params

func (*ResetGlobalAchievementParams) WithContext

WithContext adds the context to the reset global achievement params

func (*ResetGlobalAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the reset global achievement params

func (*ResetGlobalAchievementParams) WithNamespace

WithNamespace adds the namespace to the reset global achievement params

func (*ResetGlobalAchievementParams) WithTimeout

WithTimeout adds the timeout to the reset global achievement params

func (*ResetGlobalAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResetGlobalAchievementReader

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

ResetGlobalAchievementReader is a Reader for the ResetGlobalAchievement structure.

func (*ResetGlobalAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetGlobalAchievementUnauthorized

type ResetGlobalAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

ResetGlobalAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewResetGlobalAchievementUnauthorized

func NewResetGlobalAchievementUnauthorized() *ResetGlobalAchievementUnauthorized

NewResetGlobalAchievementUnauthorized creates a ResetGlobalAchievementUnauthorized with default headers values

func (*ResetGlobalAchievementUnauthorized) Error

func (*ResetGlobalAchievementUnauthorized) GetPayload

func (*ResetGlobalAchievementUnauthorized) ToJSONString

func (o *ResetGlobalAchievementUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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