user_achievements

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 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 AdminListUserAchievementsBadRequest

type AdminListUserAchievementsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserAchievementsBadRequest handles this case with default header values.

Bad Request

func NewAdminListUserAchievementsBadRequest

func NewAdminListUserAchievementsBadRequest() *AdminListUserAchievementsBadRequest

NewAdminListUserAchievementsBadRequest creates a AdminListUserAchievementsBadRequest with default headers values

func (*AdminListUserAchievementsBadRequest) Error

func (*AdminListUserAchievementsBadRequest) GetPayload

func (*AdminListUserAchievementsBadRequest) ToJSONString

func (o *AdminListUserAchievementsBadRequest) ToJSONString() string

type AdminListUserAchievementsInternalServerError

type AdminListUserAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminListUserAchievementsInternalServerError

func NewAdminListUserAchievementsInternalServerError() *AdminListUserAchievementsInternalServerError

NewAdminListUserAchievementsInternalServerError creates a AdminListUserAchievementsInternalServerError with default headers values

func (*AdminListUserAchievementsInternalServerError) Error

func (*AdminListUserAchievementsInternalServerError) GetPayload

func (*AdminListUserAchievementsInternalServerError) ToJSONString

type AdminListUserAchievementsNotFound

type AdminListUserAchievementsNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserAchievementsNotFound handles this case with default header values.

Not Found

func NewAdminListUserAchievementsNotFound

func NewAdminListUserAchievementsNotFound() *AdminListUserAchievementsNotFound

NewAdminListUserAchievementsNotFound creates a AdminListUserAchievementsNotFound with default headers values

func (*AdminListUserAchievementsNotFound) Error

func (*AdminListUserAchievementsNotFound) GetPayload

func (*AdminListUserAchievementsNotFound) ToJSONString

func (o *AdminListUserAchievementsNotFound) ToJSONString() string

type AdminListUserAchievementsOK

type AdminListUserAchievementsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedUserAchievementResponse
}

AdminListUserAchievementsOK handles this case with default header values.

OK

func NewAdminListUserAchievementsOK

func NewAdminListUserAchievementsOK() *AdminListUserAchievementsOK

NewAdminListUserAchievementsOK creates a AdminListUserAchievementsOK with default headers values

func (*AdminListUserAchievementsOK) Error

func (*AdminListUserAchievementsOK) ToJSONString

func (o *AdminListUserAchievementsOK) ToJSONString() string

type AdminListUserAchievementsParams

type AdminListUserAchievementsParams struct {

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

	*/
	Namespace string
	/*UserID
	  user id

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

	*/
	Limit *int64
	/*Offset
	  offset

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

	*/
	PreferUnlocked *bool
	/*SortBy
	  sort by, allow values: [achievedAt, achievedAt:asc, achievedAt:desc, createdAt, createdAt:asc, createdAt: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
}

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

func NewAdminListUserAchievementsParams

func NewAdminListUserAchievementsParams() *AdminListUserAchievementsParams

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

func NewAdminListUserAchievementsParamsWithContext

func NewAdminListUserAchievementsParamsWithContext(ctx context.Context) *AdminListUserAchievementsParams

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

func NewAdminListUserAchievementsParamsWithHTTPClient

func NewAdminListUserAchievementsParamsWithHTTPClient(client *http.Client) *AdminListUserAchievementsParams

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

func NewAdminListUserAchievementsParamsWithTimeout

func NewAdminListUserAchievementsParamsWithTimeout(timeout time.Duration) *AdminListUserAchievementsParams

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

func (*AdminListUserAchievementsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetContext

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

SetContext adds the context to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetFlightId added in v0.63.0

func (o *AdminListUserAchievementsParams) SetFlightId(flightId string)

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

func (*AdminListUserAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetHTTPClientTransport

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

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

func (*AdminListUserAchievementsParams) SetLimit

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

SetLimit adds the limit to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetNamespace

func (o *AdminListUserAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetOffset

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

SetOffset adds the offset to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetPreferUnlocked

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

SetPreferUnlocked adds the preferUnlocked to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetSortBy added in v0.35.0

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

SetSortBy adds the sortBy to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetTags

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

SetTags adds the tags to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the admin list user achievements params

func (*AdminListUserAchievementsParams) SetUserID

func (o *AdminListUserAchievementsParams) SetUserID(userID string)

SetUserID adds the userId to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithContext

WithContext adds the context to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithLimit

WithLimit adds the limit to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithNamespace

WithNamespace adds the namespace to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithOffset

WithOffset adds the offset to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithPreferUnlocked

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

WithPreferUnlocked adds the preferUnlocked to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithSortBy added in v0.35.0

WithSortBy adds the sortBy to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithTags

WithTags adds the tags to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithTimeout

WithTimeout adds the timeout to the admin list user achievements params

func (*AdminListUserAchievementsParams) WithUserID

WithUserID adds the userID to the admin list user achievements params

func (*AdminListUserAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminListUserAchievementsReader

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

AdminListUserAchievementsReader is a Reader for the AdminListUserAchievements structure.

func (*AdminListUserAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminListUserAchievementsUnauthorized

type AdminListUserAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminListUserAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminListUserAchievementsUnauthorized

func NewAdminListUserAchievementsUnauthorized() *AdminListUserAchievementsUnauthorized

NewAdminListUserAchievementsUnauthorized creates a AdminListUserAchievementsUnauthorized with default headers values

func (*AdminListUserAchievementsUnauthorized) Error

func (*AdminListUserAchievementsUnauthorized) GetPayload

func (*AdminListUserAchievementsUnauthorized) ToJSONString

type AdminResetAchievementBadRequest

type AdminResetAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminResetAchievementBadRequest handles this case with default header values.

Bad Request

func NewAdminResetAchievementBadRequest

func NewAdminResetAchievementBadRequest() *AdminResetAchievementBadRequest

NewAdminResetAchievementBadRequest creates a AdminResetAchievementBadRequest with default headers values

func (*AdminResetAchievementBadRequest) Error

func (*AdminResetAchievementBadRequest) GetPayload

func (*AdminResetAchievementBadRequest) ToJSONString

func (o *AdminResetAchievementBadRequest) ToJSONString() string

type AdminResetAchievementInternalServerError

type AdminResetAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminResetAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminResetAchievementInternalServerError

func NewAdminResetAchievementInternalServerError() *AdminResetAchievementInternalServerError

NewAdminResetAchievementInternalServerError creates a AdminResetAchievementInternalServerError with default headers values

func (*AdminResetAchievementInternalServerError) Error

func (*AdminResetAchievementInternalServerError) GetPayload

func (*AdminResetAchievementInternalServerError) ToJSONString

type AdminResetAchievementNoContent

type AdminResetAchievementNoContent struct {
}

AdminResetAchievementNoContent handles this case with default header values.

No Content

func NewAdminResetAchievementNoContent

func NewAdminResetAchievementNoContent() *AdminResetAchievementNoContent

NewAdminResetAchievementNoContent creates a AdminResetAchievementNoContent with default headers values

func (*AdminResetAchievementNoContent) Error

type AdminResetAchievementNotFound

type AdminResetAchievementNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

AdminResetAchievementNotFound handles this case with default header values.

Not Found

func NewAdminResetAchievementNotFound

func NewAdminResetAchievementNotFound() *AdminResetAchievementNotFound

NewAdminResetAchievementNotFound creates a AdminResetAchievementNotFound with default headers values

func (*AdminResetAchievementNotFound) Error

func (*AdminResetAchievementNotFound) GetPayload

func (*AdminResetAchievementNotFound) ToJSONString

func (o *AdminResetAchievementNotFound) ToJSONString() string

type AdminResetAchievementParams

type AdminResetAchievementParams struct {

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

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user id

	*/
	UserID string

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

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

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

func NewAdminResetAchievementParams

func NewAdminResetAchievementParams() *AdminResetAchievementParams

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

func NewAdminResetAchievementParamsWithContext

func NewAdminResetAchievementParamsWithContext(ctx context.Context) *AdminResetAchievementParams

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

func NewAdminResetAchievementParamsWithHTTPClient

func NewAdminResetAchievementParamsWithHTTPClient(client *http.Client) *AdminResetAchievementParams

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

func NewAdminResetAchievementParamsWithTimeout

func NewAdminResetAchievementParamsWithTimeout(timeout time.Duration) *AdminResetAchievementParams

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

func (*AdminResetAchievementParams) SetAchievementCode

func (o *AdminResetAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin reset achievement params

func (*AdminResetAchievementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin reset achievement params

func (*AdminResetAchievementParams) SetContext

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

SetContext adds the context to the admin reset achievement params

func (*AdminResetAchievementParams) SetFlightId added in v0.63.0

func (o *AdminResetAchievementParams) SetFlightId(flightId string)

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

func (*AdminResetAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin reset achievement params

func (*AdminResetAchievementParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin reset achievement params

func (*AdminResetAchievementParams) SetNamespace

func (o *AdminResetAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin reset achievement params

func (*AdminResetAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the admin reset achievement params

func (*AdminResetAchievementParams) SetUserID

func (o *AdminResetAchievementParams) SetUserID(userID string)

SetUserID adds the userId to the admin reset achievement params

func (*AdminResetAchievementParams) WithAchievementCode

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

WithAchievementCode adds the achievementCode to the admin reset achievement params

func (*AdminResetAchievementParams) WithContext

WithContext adds the context to the admin reset achievement params

func (*AdminResetAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin reset achievement params

func (*AdminResetAchievementParams) WithNamespace

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

WithNamespace adds the namespace to the admin reset achievement params

func (*AdminResetAchievementParams) WithTimeout

WithTimeout adds the timeout to the admin reset achievement params

func (*AdminResetAchievementParams) WithUserID

WithUserID adds the userID to the admin reset achievement params

func (*AdminResetAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminResetAchievementReader

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

AdminResetAchievementReader is a Reader for the AdminResetAchievement structure.

func (*AdminResetAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminResetAchievementUnauthorized

type AdminResetAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminResetAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewAdminResetAchievementUnauthorized

func NewAdminResetAchievementUnauthorized() *AdminResetAchievementUnauthorized

NewAdminResetAchievementUnauthorized creates a AdminResetAchievementUnauthorized with default headers values

func (*AdminResetAchievementUnauthorized) Error

func (*AdminResetAchievementUnauthorized) GetPayload

func (*AdminResetAchievementUnauthorized) ToJSONString

func (o *AdminResetAchievementUnauthorized) ToJSONString() string

type AdminUnlockAchievementBadRequest

type AdminUnlockAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUnlockAchievementBadRequest handles this case with default header values.

Bad Request

func NewAdminUnlockAchievementBadRequest

func NewAdminUnlockAchievementBadRequest() *AdminUnlockAchievementBadRequest

NewAdminUnlockAchievementBadRequest creates a AdminUnlockAchievementBadRequest with default headers values

func (*AdminUnlockAchievementBadRequest) Error

func (*AdminUnlockAchievementBadRequest) GetPayload

func (*AdminUnlockAchievementBadRequest) ToJSONString

func (o *AdminUnlockAchievementBadRequest) ToJSONString() string

type AdminUnlockAchievementInternalServerError

type AdminUnlockAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUnlockAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminUnlockAchievementInternalServerError

func NewAdminUnlockAchievementInternalServerError() *AdminUnlockAchievementInternalServerError

NewAdminUnlockAchievementInternalServerError creates a AdminUnlockAchievementInternalServerError with default headers values

func (*AdminUnlockAchievementInternalServerError) Error

func (*AdminUnlockAchievementInternalServerError) GetPayload

func (*AdminUnlockAchievementInternalServerError) ToJSONString

type AdminUnlockAchievementNoContent

type AdminUnlockAchievementNoContent struct {
}

AdminUnlockAchievementNoContent handles this case with default header values.

No Content

func NewAdminUnlockAchievementNoContent

func NewAdminUnlockAchievementNoContent() *AdminUnlockAchievementNoContent

NewAdminUnlockAchievementNoContent creates a AdminUnlockAchievementNoContent with default headers values

func (*AdminUnlockAchievementNoContent) Error

type AdminUnlockAchievementParams

type AdminUnlockAchievementParams struct {

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

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user id

	*/
	UserID string

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

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

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

func NewAdminUnlockAchievementParams

func NewAdminUnlockAchievementParams() *AdminUnlockAchievementParams

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

func NewAdminUnlockAchievementParamsWithContext

func NewAdminUnlockAchievementParamsWithContext(ctx context.Context) *AdminUnlockAchievementParams

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

func NewAdminUnlockAchievementParamsWithHTTPClient

func NewAdminUnlockAchievementParamsWithHTTPClient(client *http.Client) *AdminUnlockAchievementParams

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

func NewAdminUnlockAchievementParamsWithTimeout

func NewAdminUnlockAchievementParamsWithTimeout(timeout time.Duration) *AdminUnlockAchievementParams

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

func (*AdminUnlockAchievementParams) SetAchievementCode

func (o *AdminUnlockAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetContext

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

SetContext adds the context to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetFlightId added in v0.63.0

func (o *AdminUnlockAchievementParams) SetFlightId(flightId string)

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

func (*AdminUnlockAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetNamespace

func (o *AdminUnlockAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the admin unlock achievement params

func (*AdminUnlockAchievementParams) SetUserID

func (o *AdminUnlockAchievementParams) SetUserID(userID string)

SetUserID adds the userId to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithAchievementCode

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

WithAchievementCode adds the achievementCode to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithContext

WithContext adds the context to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithNamespace

WithNamespace adds the namespace to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithTimeout

WithTimeout adds the timeout to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WithUserID

WithUserID adds the userID to the admin unlock achievement params

func (*AdminUnlockAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminUnlockAchievementReader

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

AdminUnlockAchievementReader is a Reader for the AdminUnlockAchievement structure.

func (*AdminUnlockAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminUnlockAchievementUnauthorized

type AdminUnlockAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUnlockAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewAdminUnlockAchievementUnauthorized

func NewAdminUnlockAchievementUnauthorized() *AdminUnlockAchievementUnauthorized

NewAdminUnlockAchievementUnauthorized creates a AdminUnlockAchievementUnauthorized with default headers values

func (*AdminUnlockAchievementUnauthorized) Error

func (*AdminUnlockAchievementUnauthorized) GetPayload

func (*AdminUnlockAchievementUnauthorized) ToJSONString

func (o *AdminUnlockAchievementUnauthorized) ToJSONString() string

type AdminUnlockAchievementUnprocessableEntity added in v0.38.0

type AdminUnlockAchievementUnprocessableEntity struct {
	Payload *achievementclientmodels.ResponseError
}

AdminUnlockAchievementUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewAdminUnlockAchievementUnprocessableEntity added in v0.38.0

func NewAdminUnlockAchievementUnprocessableEntity() *AdminUnlockAchievementUnprocessableEntity

NewAdminUnlockAchievementUnprocessableEntity creates a AdminUnlockAchievementUnprocessableEntity with default headers values

func (*AdminUnlockAchievementUnprocessableEntity) Error added in v0.38.0

func (*AdminUnlockAchievementUnprocessableEntity) GetPayload added in v0.38.0

func (*AdminUnlockAchievementUnprocessableEntity) ToJSONString added in v0.38.0

type Client

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

Client for user achievements API

func (*Client) AdminListUserAchievements deprecated

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

AdminListUserAchievements query user achievements [include achieved and in-progress]

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

Note:

User Achievement status value mean: `status = 1 (in progress)` and `status = 2 (unlocked)`

`achievedAt` value will return default value: `0001-01-01T00:00:00Z` for user achievement that locked or in progress

func (*Client) AdminListUserAchievementsShort

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

AdminListUserAchievementsShort query user achievements [include achieved and in-progress]

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

Note:

User Achievement status value mean: `status = 1 (in progress)` and `status = 2 (unlocked)`

`achievedAt` value will return default value: `0001-01-01T00:00:00Z` for user achievement that locked or in progress

func (*Client) AdminResetAchievement deprecated

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

AdminResetAchievement reset an achievement

[TEST FACILITY ONLY]

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

func (*Client) AdminResetAchievementShort

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

AdminResetAchievementShort reset an achievement

[TEST FACILITY ONLY]

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

func (*Client) AdminUnlockAchievement deprecated

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

AdminUnlockAchievement unlock an achievement

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

func (*Client) AdminUnlockAchievementShort

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

AdminUnlockAchievementShort unlock an achievement

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

func (*Client) PublicListUserAchievements deprecated

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

PublicListUserAchievements query user achievements [include achieved and in-progress]

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

Note:

User Achievement status value mean: `status = 1 (in progress)` and `status = 2 (unlocked)`

`achievedAt` value will return default value: `0001-01-01T00:00:00Z` for user achievement that locked or in progress

func (*Client) PublicListUserAchievementsShort

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

PublicListUserAchievementsShort query user achievements [include achieved and in-progress]

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

Note:

User Achievement status value mean: `status = 1 (in progress)` and `status = 2 (unlocked)`

`achievedAt` value will return default value: `0001-01-01T00:00:00Z` for user achievement that locked or in progress

func (*Client) PublicUnlockAchievement deprecated

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

PublicUnlockAchievement unlock an achievement

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

func (*Client) PublicUnlockAchievementShort

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

PublicUnlockAchievementShort unlock an achievement

Required permission `NAMESPACE:{namespace}:USER:{userId}:ACHIEVEMENT [UPDATE]` 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 {
	AdminListUserAchievements(params *AdminListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserAchievementsOK, *AdminListUserAchievementsBadRequest, *AdminListUserAchievementsUnauthorized, *AdminListUserAchievementsNotFound, *AdminListUserAchievementsInternalServerError, error)
	AdminListUserAchievementsShort(params *AdminListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListUserAchievementsOK, error)
	AdminResetAchievement(params *AdminResetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminResetAchievementNoContent, *AdminResetAchievementBadRequest, *AdminResetAchievementUnauthorized, *AdminResetAchievementNotFound, *AdminResetAchievementInternalServerError, error)
	AdminResetAchievementShort(params *AdminResetAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminResetAchievementNoContent, error)
	AdminUnlockAchievement(params *AdminUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnlockAchievementNoContent, *AdminUnlockAchievementBadRequest, *AdminUnlockAchievementUnauthorized, *AdminUnlockAchievementUnprocessableEntity, *AdminUnlockAchievementInternalServerError, error)
	AdminUnlockAchievementShort(params *AdminUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUnlockAchievementNoContent, error)
	PublicListUserAchievements(params *PublicListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserAchievementsOK, *PublicListUserAchievementsBadRequest, *PublicListUserAchievementsUnauthorized, *PublicListUserAchievementsNotFound, *PublicListUserAchievementsInternalServerError, error)
	PublicListUserAchievementsShort(params *PublicListUserAchievementsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserAchievementsOK, error)
	PublicUnlockAchievement(params *PublicUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnlockAchievementNoContent, *PublicUnlockAchievementBadRequest, *PublicUnlockAchievementUnauthorized, *PublicUnlockAchievementUnprocessableEntity, *PublicUnlockAchievementInternalServerError, error)
	PublicUnlockAchievementShort(params *PublicUnlockAchievementParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUnlockAchievementNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new user achievements API client.

type PublicListUserAchievementsBadRequest

type PublicListUserAchievementsBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListUserAchievementsBadRequest handles this case with default header values.

Bad Request

func NewPublicListUserAchievementsBadRequest

func NewPublicListUserAchievementsBadRequest() *PublicListUserAchievementsBadRequest

NewPublicListUserAchievementsBadRequest creates a PublicListUserAchievementsBadRequest with default headers values

func (*PublicListUserAchievementsBadRequest) Error

func (*PublicListUserAchievementsBadRequest) GetPayload

func (*PublicListUserAchievementsBadRequest) ToJSONString

func (o *PublicListUserAchievementsBadRequest) ToJSONString() string

type PublicListUserAchievementsInternalServerError

type PublicListUserAchievementsInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListUserAchievementsInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicListUserAchievementsInternalServerError

func NewPublicListUserAchievementsInternalServerError() *PublicListUserAchievementsInternalServerError

NewPublicListUserAchievementsInternalServerError creates a PublicListUserAchievementsInternalServerError with default headers values

func (*PublicListUserAchievementsInternalServerError) Error

func (*PublicListUserAchievementsInternalServerError) GetPayload

func (*PublicListUserAchievementsInternalServerError) ToJSONString

type PublicListUserAchievementsNotFound

type PublicListUserAchievementsNotFound struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListUserAchievementsNotFound handles this case with default header values.

Not Found

func NewPublicListUserAchievementsNotFound

func NewPublicListUserAchievementsNotFound() *PublicListUserAchievementsNotFound

NewPublicListUserAchievementsNotFound creates a PublicListUserAchievementsNotFound with default headers values

func (*PublicListUserAchievementsNotFound) Error

func (*PublicListUserAchievementsNotFound) GetPayload

func (*PublicListUserAchievementsNotFound) ToJSONString

func (o *PublicListUserAchievementsNotFound) ToJSONString() string

type PublicListUserAchievementsOK

type PublicListUserAchievementsOK struct {
	Payload *achievementclientmodels.ModelsPaginatedUserAchievementResponse
}

PublicListUserAchievementsOK handles this case with default header values.

OK

func NewPublicListUserAchievementsOK

func NewPublicListUserAchievementsOK() *PublicListUserAchievementsOK

NewPublicListUserAchievementsOK creates a PublicListUserAchievementsOK with default headers values

func (*PublicListUserAchievementsOK) Error

func (*PublicListUserAchievementsOK) ToJSONString

func (o *PublicListUserAchievementsOK) ToJSONString() string

type PublicListUserAchievementsParams

type PublicListUserAchievementsParams struct {

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

	*/
	Namespace string
	/*UserID
	  user id

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

	*/
	Limit *int64
	/*Offset
	  offset

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

	*/
	PreferUnlocked *bool
	/*SortBy
	  sort by, allow values: [achievedAt, achievedAt:asc, achievedAt:desc, createdAt, createdAt:asc, createdAt: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
}

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

func NewPublicListUserAchievementsParams

func NewPublicListUserAchievementsParams() *PublicListUserAchievementsParams

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

func NewPublicListUserAchievementsParamsWithContext

func NewPublicListUserAchievementsParamsWithContext(ctx context.Context) *PublicListUserAchievementsParams

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

func NewPublicListUserAchievementsParamsWithHTTPClient

func NewPublicListUserAchievementsParamsWithHTTPClient(client *http.Client) *PublicListUserAchievementsParams

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

func NewPublicListUserAchievementsParamsWithTimeout

func NewPublicListUserAchievementsParamsWithTimeout(timeout time.Duration) *PublicListUserAchievementsParams

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

func (*PublicListUserAchievementsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public list user achievements params

func (*PublicListUserAchievementsParams) SetContext

SetContext adds the context to the public list user achievements params

func (*PublicListUserAchievementsParams) SetFlightId added in v0.63.0

func (o *PublicListUserAchievementsParams) SetFlightId(flightId string)

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

func (*PublicListUserAchievementsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list user achievements params

func (*PublicListUserAchievementsParams) SetHTTPClientTransport

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

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

func (*PublicListUserAchievementsParams) SetLimit

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

SetLimit adds the limit to the public list user achievements params

func (*PublicListUserAchievementsParams) SetNamespace

func (o *PublicListUserAchievementsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list user achievements params

func (*PublicListUserAchievementsParams) SetOffset

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

SetOffset adds the offset to the public list user achievements params

func (*PublicListUserAchievementsParams) SetPreferUnlocked

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

SetPreferUnlocked adds the preferUnlocked to the public list user achievements params

func (*PublicListUserAchievementsParams) SetSortBy added in v0.35.0

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

SetSortBy adds the sortBy to the public list user achievements params

func (*PublicListUserAchievementsParams) SetTags

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

SetTags adds the tags to the public list user achievements params

func (*PublicListUserAchievementsParams) SetTimeout

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

SetTimeout adds the timeout to the public list user achievements params

func (*PublicListUserAchievementsParams) SetUserID

func (o *PublicListUserAchievementsParams) SetUserID(userID string)

SetUserID adds the userId to the public list user achievements params

func (*PublicListUserAchievementsParams) WithContext

WithContext adds the context to the public list user achievements params

func (*PublicListUserAchievementsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public list user achievements params

func (*PublicListUserAchievementsParams) WithLimit

WithLimit adds the limit to the public list user achievements params

func (*PublicListUserAchievementsParams) WithNamespace

WithNamespace adds the namespace to the public list user achievements params

func (*PublicListUserAchievementsParams) WithOffset

WithOffset adds the offset to the public list user achievements params

func (*PublicListUserAchievementsParams) WithPreferUnlocked

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

WithPreferUnlocked adds the preferUnlocked to the public list user achievements params

func (*PublicListUserAchievementsParams) WithSortBy added in v0.35.0

WithSortBy adds the sortBy to the public list user achievements params

func (*PublicListUserAchievementsParams) WithTags

WithTags adds the tags to the public list user achievements params

func (*PublicListUserAchievementsParams) WithTimeout

WithTimeout adds the timeout to the public list user achievements params

func (*PublicListUserAchievementsParams) WithUserID

WithUserID adds the userID to the public list user achievements params

func (*PublicListUserAchievementsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListUserAchievementsReader

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

PublicListUserAchievementsReader is a Reader for the PublicListUserAchievements structure.

func (*PublicListUserAchievementsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListUserAchievementsUnauthorized

type PublicListUserAchievementsUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

PublicListUserAchievementsUnauthorized handles this case with default header values.

Unauthorized

func NewPublicListUserAchievementsUnauthorized

func NewPublicListUserAchievementsUnauthorized() *PublicListUserAchievementsUnauthorized

NewPublicListUserAchievementsUnauthorized creates a PublicListUserAchievementsUnauthorized with default headers values

func (*PublicListUserAchievementsUnauthorized) Error

func (*PublicListUserAchievementsUnauthorized) GetPayload

func (*PublicListUserAchievementsUnauthorized) ToJSONString

type PublicUnlockAchievementBadRequest

type PublicUnlockAchievementBadRequest struct {
	Payload *achievementclientmodels.ResponseError
}

PublicUnlockAchievementBadRequest handles this case with default header values.

Bad Request

func NewPublicUnlockAchievementBadRequest

func NewPublicUnlockAchievementBadRequest() *PublicUnlockAchievementBadRequest

NewPublicUnlockAchievementBadRequest creates a PublicUnlockAchievementBadRequest with default headers values

func (*PublicUnlockAchievementBadRequest) Error

func (*PublicUnlockAchievementBadRequest) GetPayload

func (*PublicUnlockAchievementBadRequest) ToJSONString

func (o *PublicUnlockAchievementBadRequest) ToJSONString() string

type PublicUnlockAchievementInternalServerError

type PublicUnlockAchievementInternalServerError struct {
	Payload *achievementclientmodels.ResponseError
}

PublicUnlockAchievementInternalServerError handles this case with default header values.

Internal Server Error

func NewPublicUnlockAchievementInternalServerError

func NewPublicUnlockAchievementInternalServerError() *PublicUnlockAchievementInternalServerError

NewPublicUnlockAchievementInternalServerError creates a PublicUnlockAchievementInternalServerError with default headers values

func (*PublicUnlockAchievementInternalServerError) Error

func (*PublicUnlockAchievementInternalServerError) GetPayload

func (*PublicUnlockAchievementInternalServerError) ToJSONString

type PublicUnlockAchievementNoContent

type PublicUnlockAchievementNoContent struct {
}

PublicUnlockAchievementNoContent handles this case with default header values.

No Content

func NewPublicUnlockAchievementNoContent

func NewPublicUnlockAchievementNoContent() *PublicUnlockAchievementNoContent

NewPublicUnlockAchievementNoContent creates a PublicUnlockAchievementNoContent with default headers values

func (*PublicUnlockAchievementNoContent) Error

type PublicUnlockAchievementParams

type PublicUnlockAchievementParams struct {

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

	*/
	AchievementCode string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*UserID
	  user id

	*/
	UserID string

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

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

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

func NewPublicUnlockAchievementParams

func NewPublicUnlockAchievementParams() *PublicUnlockAchievementParams

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

func NewPublicUnlockAchievementParamsWithContext

func NewPublicUnlockAchievementParamsWithContext(ctx context.Context) *PublicUnlockAchievementParams

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

func NewPublicUnlockAchievementParamsWithHTTPClient

func NewPublicUnlockAchievementParamsWithHTTPClient(client *http.Client) *PublicUnlockAchievementParams

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

func NewPublicUnlockAchievementParamsWithTimeout

func NewPublicUnlockAchievementParamsWithTimeout(timeout time.Duration) *PublicUnlockAchievementParams

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

func (*PublicUnlockAchievementParams) SetAchievementCode

func (o *PublicUnlockAchievementParams) SetAchievementCode(achievementCode string)

SetAchievementCode adds the achievementCode to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetContext

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

SetContext adds the context to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetFlightId added in v0.63.0

func (o *PublicUnlockAchievementParams) SetFlightId(flightId string)

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

func (*PublicUnlockAchievementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetNamespace

func (o *PublicUnlockAchievementParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetTimeout

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

SetTimeout adds the timeout to the public unlock achievement params

func (*PublicUnlockAchievementParams) SetUserID

func (o *PublicUnlockAchievementParams) SetUserID(userID string)

SetUserID adds the userId to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithAchievementCode

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

WithAchievementCode adds the achievementCode to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithContext

WithContext adds the context to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithNamespace

WithNamespace adds the namespace to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithTimeout

WithTimeout adds the timeout to the public unlock achievement params

func (*PublicUnlockAchievementParams) WithUserID

WithUserID adds the userID to the public unlock achievement params

func (*PublicUnlockAchievementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUnlockAchievementReader

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

PublicUnlockAchievementReader is a Reader for the PublicUnlockAchievement structure.

func (*PublicUnlockAchievementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicUnlockAchievementUnauthorized

type PublicUnlockAchievementUnauthorized struct {
	Payload *achievementclientmodels.ResponseError
}

PublicUnlockAchievementUnauthorized handles this case with default header values.

Unauthorized

func NewPublicUnlockAchievementUnauthorized

func NewPublicUnlockAchievementUnauthorized() *PublicUnlockAchievementUnauthorized

NewPublicUnlockAchievementUnauthorized creates a PublicUnlockAchievementUnauthorized with default headers values

func (*PublicUnlockAchievementUnauthorized) Error

func (*PublicUnlockAchievementUnauthorized) GetPayload

func (*PublicUnlockAchievementUnauthorized) ToJSONString

func (o *PublicUnlockAchievementUnauthorized) ToJSONString() string

type PublicUnlockAchievementUnprocessableEntity added in v0.38.0

type PublicUnlockAchievementUnprocessableEntity struct {
	Payload *achievementclientmodels.ResponseError
}

PublicUnlockAchievementUnprocessableEntity handles this case with default header values.

Unprocessable Entity

func NewPublicUnlockAchievementUnprocessableEntity added in v0.38.0

func NewPublicUnlockAchievementUnprocessableEntity() *PublicUnlockAchievementUnprocessableEntity

NewPublicUnlockAchievementUnprocessableEntity creates a PublicUnlockAchievementUnprocessableEntity with default headers values

func (*PublicUnlockAchievementUnprocessableEntity) Error added in v0.38.0

func (*PublicUnlockAchievementUnprocessableEntity) GetPayload added in v0.38.0

func (*PublicUnlockAchievementUnprocessableEntity) ToJSONString added in v0.38.0

Jump to

Keyboard shortcuts

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