Documentation ¶
Index ¶
- type ModelsAchievementOrderUpdateRequest
- type ModelsAchievementRequest
- type ModelsAchievementResponse
- type ModelsAchievementUpdateRequest
- type ModelsAdditionalInfo
- type ModelsContributorResponse
- type ModelsGlobalAchievementResponse
- type ModelsIcon
- type ModelsPaginatedAchievementResponse
- type ModelsPaginatedContributorResponse
- type ModelsPaginatedGlobalAchievementResponse
- type ModelsPaginatedTagResponse
- type ModelsPaginatedUserAchievementResponse
- type ModelsPaginatedUserContributionResponse
- type ModelsPagination
- type ModelsPublicAchievementResponse
- type ModelsPublicAchievementsResponse
- type ModelsTagResponse
- type ModelsUserAchievementResponse
- type ModelsUserContributionResponse
- type ResponseError
- type ServiceImportConfigResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelsAchievementOrderUpdateRequest ¶
type ModelsAchievementOrderUpdateRequest struct { // targetorder // Required: true // Format: int32 TargetOrder *int32 `json:"targetOrder"` }
ModelsAchievementOrderUpdateRequest Models achievement order update request
swagger:model Models achievement order update request.
func (*ModelsAchievementOrderUpdateRequest) MarshalBinary ¶
func (m *ModelsAchievementOrderUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAchievementOrderUpdateRequest) UnmarshalBinary ¶
func (m *ModelsAchievementOrderUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAchievementRequest ¶
type ModelsAchievementRequest struct { // achievementcode // Required: true AchievementCode *string `json:"achievementCode"` // customattributes CustomAttributes interface{} `json:"customAttributes,omitempty"` // defaultlanguage // Required: true DefaultLanguage *string `json:"defaultLanguage"` // description // Required: true Description map[string]string `json:"description"` // global Global bool `json:"global"` // goalvalue // Required: true // Format: double GoalValue *float64 `json:"goalValue"` // hidden // Required: true Hidden *bool `json:"hidden"` // incremental // Required: true Incremental *bool `json:"incremental"` // lockedicons // Required: true LockedIcons []*ModelsIcon `json:"lockedIcons"` // name // Required: true Name map[string]string `json:"name"` // statcode // Required: true StatCode *string `json:"statCode"` // tags // Required: true Tags []string `json:"tags"` // unlockedicons // Required: true UnlockedIcons []*ModelsIcon `json:"unlockedIcons"` }
ModelsAchievementRequest Models achievement request
swagger:model Models achievement request.
func (*ModelsAchievementRequest) MarshalBinary ¶
func (m *ModelsAchievementRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAchievementRequest) UnmarshalBinary ¶
func (m *ModelsAchievementRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAchievementResponse ¶
type ModelsAchievementResponse struct { // achievementcode // Required: true AchievementCode *string `json:"achievementCode"` // createdat // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // customattributes CustomAttributes interface{} `json:"customAttributes,omitempty"` // defaultlanguage // Required: true DefaultLanguage *string `json:"defaultLanguage"` // description // Required: true Description map[string]string `json:"description"` // global // Required: true Global *bool `json:"global"` // goalvalue // Format: double GoalValue float64 `json:"goalValue,omitempty"` // hidden // Required: true Hidden *bool `json:"hidden"` // incremental // Required: true Incremental *bool `json:"incremental"` // listorder // Required: true // Format: int32 ListOrder *int32 `json:"listOrder"` // lockedicons // Required: true LockedIcons []*ModelsIcon `json:"lockedIcons"` // name // Required: true Name map[string]string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` // statcode StatCode string `json:"statCode,omitempty"` // Achievement progression status: [INIT, TIED] Status string `json:"status,omitempty"` // tags // Required: true Tags []string `json:"tags"` // unlockedicons // Required: true UnlockedIcons []*ModelsIcon `json:"unlockedIcons"` // updatedat // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
ModelsAchievementResponse Models achievement response
swagger:model Models achievement response.
func (*ModelsAchievementResponse) MarshalBinary ¶
func (m *ModelsAchievementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAchievementResponse) UnmarshalBinary ¶
func (m *ModelsAchievementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAchievementUpdateRequest ¶
type ModelsAchievementUpdateRequest struct { // customattributes CustomAttributes interface{} `json:"customAttributes,omitempty"` // defaultlanguage // Required: true DefaultLanguage *string `json:"defaultLanguage"` // description // Required: true Description map[string]string `json:"description"` // global Global bool `json:"global"` // goalvalue // Required: true // Format: double GoalValue *float64 `json:"goalValue"` // hidden // Required: true Hidden *bool `json:"hidden"` // incremental // Required: true Incremental *bool `json:"incremental"` // lockedicons // Required: true LockedIcons []*ModelsIcon `json:"lockedIcons"` // name // Required: true Name map[string]string `json:"name"` // statcode // Required: true StatCode *string `json:"statCode"` // tags // Required: true Tags []string `json:"tags"` // unlockedicons // Required: true UnlockedIcons []*ModelsIcon `json:"unlockedIcons"` }
ModelsAchievementUpdateRequest Models achievement update request
swagger:model Models achievement update request.
func (*ModelsAchievementUpdateRequest) MarshalBinary ¶
func (m *ModelsAchievementUpdateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAchievementUpdateRequest) UnmarshalBinary ¶
func (m *ModelsAchievementUpdateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsAdditionalInfo ¶
type ModelsAdditionalInfo struct { // numberofachievements // Required: true // Format: int64 NumberOfAchievements *int64 `json:"numberOfAchievements"` // numberofhiddenachievements // Required: true // Format: int64 NumberOfHiddenAchievements *int64 `json:"numberOfHiddenAchievements"` // numberofvisibleachievements // Required: true // Format: int64 NumberOfVisibleAchievements *int64 `json:"numberOfVisibleAchievements"` }
ModelsAdditionalInfo Models additional info
swagger:model Models additional info.
func (*ModelsAdditionalInfo) MarshalBinary ¶
func (m *ModelsAdditionalInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsAdditionalInfo) UnmarshalBinary ¶
func (m *ModelsAdditionalInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsContributorResponse ¶ added in v0.39.0
type ModelsContributorResponse struct { // achievementcode // Required: true AchievementCode *string `json:"achievementCode"` // contributedvalue // Required: true // Format: double ContributedValue *float64 `json:"contributedValue"` // createdat // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // id // Required: true ID *string `json:"id"` // namespace // Required: true Namespace *string `json:"namespace"` // updatedat // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"` // userid // Required: true UserID *string `json:"userId"` }
ModelsContributorResponse Models contributor response
swagger:model Models contributor response.
func (*ModelsContributorResponse) MarshalBinary ¶ added in v0.39.0
func (m *ModelsContributorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsContributorResponse) UnmarshalBinary ¶ added in v0.39.0
func (m *ModelsContributorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsGlobalAchievementResponse ¶ added in v0.38.0
type ModelsGlobalAchievementResponse struct { // achievedat // Format: date-time AchievedAt *strfmt.DateTime `json:"achievedAt,omitempty"` // achievementcode // Required: true AchievementCode *string `json:"achievementCode"` // createdat // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // id // Required: true ID *string `json:"id"` // latestvalue // Required: true // Format: double LatestValue *float64 `json:"latestValue"` // name // Required: true Name map[string]string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` // status // Required: true // Format: int32 Status *int32 `json:"status"` // updatedat // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"` }
ModelsGlobalAchievementResponse Models global achievement response
swagger:model Models global achievement response.
func (*ModelsGlobalAchievementResponse) MarshalBinary ¶ added in v0.38.0
func (m *ModelsGlobalAchievementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsGlobalAchievementResponse) UnmarshalBinary ¶ added in v0.38.0
func (m *ModelsGlobalAchievementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsIcon ¶
type ModelsIcon struct { // slug // Required: true Slug *string `json:"slug"` // url // Required: true URL *string `json:"url"` }
ModelsIcon Models icon
swagger:model Models icon.
func (*ModelsIcon) MarshalBinary ¶
func (m *ModelsIcon) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsIcon) UnmarshalBinary ¶
func (m *ModelsIcon) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginatedAchievementResponse ¶
type ModelsPaginatedAchievementResponse struct { // data // Required: true Data []*ModelsAchievementResponse `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsPaginatedAchievementResponse Models paginated achievement response
swagger:model Models paginated achievement response.
func (*ModelsPaginatedAchievementResponse) MarshalBinary ¶
func (m *ModelsPaginatedAchievementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginatedAchievementResponse) UnmarshalBinary ¶
func (m *ModelsPaginatedAchievementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginatedContributorResponse ¶ added in v0.39.0
type ModelsPaginatedContributorResponse struct { // data // Required: true Data []*ModelsContributorResponse `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsPaginatedContributorResponse Models paginated contributor response
swagger:model Models paginated contributor response.
func (*ModelsPaginatedContributorResponse) MarshalBinary ¶ added in v0.39.0
func (m *ModelsPaginatedContributorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginatedContributorResponse) UnmarshalBinary ¶ added in v0.39.0
func (m *ModelsPaginatedContributorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginatedGlobalAchievementResponse ¶ added in v0.38.0
type ModelsPaginatedGlobalAchievementResponse struct { // data // Required: true Data []*ModelsGlobalAchievementResponse `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsPaginatedGlobalAchievementResponse Models paginated global achievement response
swagger:model Models paginated global achievement response.
func (*ModelsPaginatedGlobalAchievementResponse) MarshalBinary ¶ added in v0.38.0
func (m *ModelsPaginatedGlobalAchievementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginatedGlobalAchievementResponse) UnmarshalBinary ¶ added in v0.38.0
func (m *ModelsPaginatedGlobalAchievementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginatedTagResponse ¶ added in v0.34.0
type ModelsPaginatedTagResponse struct { // data // Required: true Data []*ModelsTagResponse `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsPaginatedTagResponse Models paginated tag response
swagger:model Models paginated tag response.
func (*ModelsPaginatedTagResponse) MarshalBinary ¶ added in v0.34.0
func (m *ModelsPaginatedTagResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginatedTagResponse) UnmarshalBinary ¶ added in v0.34.0
func (m *ModelsPaginatedTagResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginatedUserAchievementResponse ¶
type ModelsPaginatedUserAchievementResponse struct { // countinfo // Required: true CountInfo *ModelsAdditionalInfo `json:"countInfo"` // data // Required: true Data []*ModelsUserAchievementResponse `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsPaginatedUserAchievementResponse Models paginated user achievement response
swagger:model Models paginated user achievement response.
func (*ModelsPaginatedUserAchievementResponse) MarshalBinary ¶
func (m *ModelsPaginatedUserAchievementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginatedUserAchievementResponse) UnmarshalBinary ¶
func (m *ModelsPaginatedUserAchievementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPaginatedUserContributionResponse ¶ added in v0.39.0
type ModelsPaginatedUserContributionResponse struct { // data // Required: true Data []*ModelsUserContributionResponse `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsPaginatedUserContributionResponse Models paginated user contribution response
swagger:model Models paginated user contribution response.
func (*ModelsPaginatedUserContributionResponse) MarshalBinary ¶ added in v0.39.0
func (m *ModelsPaginatedUserContributionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPaginatedUserContributionResponse) UnmarshalBinary ¶ added in v0.39.0
func (m *ModelsPaginatedUserContributionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPagination ¶
type ModelsPagination struct { // next // Required: true Next *string `json:"next"` // previous // Required: true Previous *string `json:"previous"` }
ModelsPagination Models pagination
swagger:model Models pagination.
func (*ModelsPagination) MarshalBinary ¶
func (m *ModelsPagination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPagination) UnmarshalBinary ¶
func (m *ModelsPagination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPublicAchievementResponse ¶
type ModelsPublicAchievementResponse struct { // achievementcode // Required: true AchievementCode *string `json:"achievementCode"` // createdat // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // customattributes CustomAttributes interface{} `json:"customAttributes,omitempty"` // description // Required: true Description *string `json:"description"` // global // Required: true Global *bool `json:"global"` // goalvalue // Format: double GoalValue float64 `json:"goalValue,omitempty"` // hidden // Required: true Hidden *bool `json:"hidden"` // incremental // Required: true Incremental *bool `json:"incremental"` // listorder // Required: true // Format: int32 ListOrder *int32 `json:"listOrder"` // lockedicons // Required: true LockedIcons []*ModelsIcon `json:"lockedIcons"` // name // Required: true Name *string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` // statcode StatCode string `json:"statCode,omitempty"` // Achievement progression status: [INIT, TIED] Status string `json:"status,omitempty"` // tags // Required: true Tags []string `json:"tags"` // unlockedicons // Required: true UnlockedIcons []*ModelsIcon `json:"unlockedIcons"` // updatedat // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
ModelsPublicAchievementResponse Models public achievement response
swagger:model Models public achievement response.
func (*ModelsPublicAchievementResponse) MarshalBinary ¶
func (m *ModelsPublicAchievementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPublicAchievementResponse) UnmarshalBinary ¶
func (m *ModelsPublicAchievementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsPublicAchievementsResponse ¶
type ModelsPublicAchievementsResponse struct { // data // Required: true Data []*ModelsPublicAchievementResponse `json:"data"` // paging // Required: true Paging *ModelsPagination `json:"paging"` }
ModelsPublicAchievementsResponse Models public achievements response
swagger:model Models public achievements response.
func (*ModelsPublicAchievementsResponse) MarshalBinary ¶
func (m *ModelsPublicAchievementsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsPublicAchievementsResponse) UnmarshalBinary ¶
func (m *ModelsPublicAchievementsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsTagResponse ¶ added in v0.34.0
type ModelsTagResponse struct { // createdat // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // name // Required: true Name *string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` }
ModelsTagResponse Models tag response
swagger:model Models tag response.
func (*ModelsTagResponse) MarshalBinary ¶ added in v0.34.0
func (m *ModelsTagResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsTagResponse) UnmarshalBinary ¶ added in v0.34.0
func (m *ModelsTagResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserAchievementResponse ¶
type ModelsUserAchievementResponse struct { // achievedat // Required: true // Format: date-time AchievedAt strfmt.DateTime `json:"achievedAt"` // achievementcode // Required: true AchievementCode *string `json:"achievementCode"` // id // Required: true ID *string `json:"id"` // latestvalue // Required: true // Format: double LatestValue *float64 `json:"latestValue"` // name // Required: true Name map[string]string `json:"name"` // status // Required: true // Format: int32 Status *int32 `json:"status"` }
ModelsUserAchievementResponse Models user achievement response
swagger:model Models user achievement response.
func (*ModelsUserAchievementResponse) MarshalBinary ¶
func (m *ModelsUserAchievementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserAchievementResponse) UnmarshalBinary ¶
func (m *ModelsUserAchievementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModelsUserContributionResponse ¶ added in v0.39.0
type ModelsUserContributionResponse struct { // achievementcode // Required: true AchievementCode *string `json:"achievementCode"` // CanClaimReward is a flag whether the user can claim the reward of not // Required: true CanClaimReward *bool `json:"canClaimReward"` // contributedvalue // Required: true // Format: double ContributedValue *float64 `json:"contributedValue"` // id // Required: true ID *string `json:"id"` // Name is achievement name // Required: true Name map[string]string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` // userid // Required: true UserID *string `json:"userId"` }
ModelsUserContributionResponse Models user contribution response
swagger:model Models user contribution response.
func (*ModelsUserContributionResponse) MarshalBinary ¶ added in v0.39.0
func (m *ModelsUserContributionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModelsUserContributionResponse) UnmarshalBinary ¶ added in v0.39.0
func (m *ModelsUserContributionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseError ¶
type ResponseError struct { // errorcode // Required: true // Format: int32 ErrorCode *int32 `json:"errorCode"` // errormessage // Required: true ErrorMessage *string `json:"errorMessage"` }
ResponseError Response error
swagger:model Response error.
func (*ResponseError) MarshalBinary ¶
func (m *ResponseError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseError) UnmarshalBinary ¶
func (m *ResponseError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceImportConfigResponse ¶
type ServiceImportConfigResponse struct { // failedconfigs // Required: true FailedConfigs []string `json:"failedConfigs"` // ignoredconfigs // Required: true IgnoredConfigs []string `json:"ignoredConfigs"` // newconfigs // Required: true NewConfigs []string `json:"newConfigs"` // replacedconfigs // Required: true ReplacedConfigs []string `json:"replacedConfigs"` }
ServiceImportConfigResponse Service import config response
swagger:model Service import config response.
func (*ServiceImportConfigResponse) MarshalBinary ¶
func (m *ServiceImportConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceImportConfigResponse) UnmarshalBinary ¶
func (m *ServiceImportConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- models_achievement_order_update_request.go
- models_achievement_request.go
- models_achievement_response.go
- models_achievement_update_request.go
- models_additional_info.go
- models_contributor_response.go
- models_global_achievement_response.go
- models_icon.go
- models_paginated_achievement_response.go
- models_paginated_contributor_response.go
- models_paginated_global_achievement_response.go
- models_paginated_tag_response.go
- models_paginated_user_achievement_response.go
- models_paginated_user_contribution_response.go
- models_pagination.go
- models_public_achievement_response.go
- models_public_achievements_response.go
- models_tag_response.go
- models_user_achievement_response.go
- models_user_contribution_response.go
- response_error.go
- service_import_config_response.go