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 {
// target order
// Required: true
TargetOrder *int32 `json:"targetOrder"`
}
ModelsAchievementOrderUpdateRequest models achievement order update request
swagger:model models.AchievementOrderUpdateRequest
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 {
// achievement code
// Required: true
AchievementCode *string `json:"achievementCode"`
// default language
// Required: true
DefaultLanguage *string `json:"defaultLanguage"`
// description
// Required: true
Description map[string]string `json:"description"`
// global
Global bool `json:"global"`
// goal value
// Required: true
GoalValue *float64 `json:"goalValue"`
// hidden
// Required: true
Hidden *bool `json:"hidden"`
// incremental
// Required: true
Incremental *bool `json:"incremental"`
// locked icons
// Required: true
LockedIcons []*ModelsIcon `json:"lockedIcons"`
// name
// Required: true
Name map[string]string `json:"name"`
// stat code
// Required: true
StatCode *string `json:"statCode"`
// tags
// Required: true
Tags []string `json:"tags"`
// unlocked icons
// Required: true
UnlockedIcons []*ModelsIcon `json:"unlockedIcons"`
}
ModelsAchievementRequest models achievement request
swagger:model models.AchievementRequest
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 {
// achievement code
// Required: true
AchievementCode *string `json:"achievementCode"`
// created at
// Required: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// default language
// Required: true
DefaultLanguage *string `json:"defaultLanguage"`
// description
// Required: true
Description map[string]string `json:"description"`
// global
// Required: true
Global *bool `json:"global"`
// goal value
GoalValue float64 `json:"goalValue,omitempty"`
// hidden
// Required: true
Hidden *bool `json:"hidden"`
// incremental
// Required: true
Incremental *bool `json:"incremental"`
// list order
// Required: true
ListOrder *int32 `json:"listOrder"`
// locked icons
// Required: true
LockedIcons []*ModelsIcon `json:"lockedIcons"`
// name
// Required: true
Name map[string]string `json:"name"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// stat code
StatCode string `json:"statCode,omitempty"`
// Achievement progression status: [INIT, TIED]
Status string `json:"status,omitempty"`
// tags
// Required: true
Tags []string `json:"tags"`
// unlocked icons
// Required: true
UnlockedIcons []*ModelsIcon `json:"unlockedIcons"`
// updated at
// Required: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
}
ModelsAchievementResponse models achievement response
swagger:model models.AchievementResponse
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 {
// default language
// Required: true
DefaultLanguage *string `json:"defaultLanguage"`
// description
// Required: true
Description map[string]string `json:"description"`
// global
Global bool `json:"global"`
// goal value
// Required: true
GoalValue *float64 `json:"goalValue"`
// hidden
// Required: true
Hidden *bool `json:"hidden"`
// incremental
// Required: true
Incremental *bool `json:"incremental"`
// locked icons
// Required: true
LockedIcons []*ModelsIcon `json:"lockedIcons"`
// name
// Required: true
Name map[string]string `json:"name"`
// stat code
// Required: true
StatCode *string `json:"statCode"`
// tags
// Required: true
Tags []string `json:"tags"`
// unlocked icons
// Required: true
UnlockedIcons []*ModelsIcon `json:"unlockedIcons"`
}
ModelsAchievementUpdateRequest models achievement update request
swagger:model models.AchievementUpdateRequest
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 {
// number of achievements
// Required: true
NumberOfAchievements *int64 `json:"numberOfAchievements"`
// number of hidden achievements
// Required: true
NumberOfHiddenAchievements *int64 `json:"numberOfHiddenAchievements"`
// number of visible achievements
// Required: true
NumberOfVisibleAchievements *int64 `json:"numberOfVisibleAchievements"`
}
ModelsAdditionalInfo models additional info
swagger:model models.AdditionalInfo
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 {
// achievement code
// Required: true
AchievementCode *string `json:"achievementCode"`
// contributed value
// Required: true
ContributedValue *float64 `json:"contributedValue"`
// created at
// Required: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// id
// Required: true
ID *string `json:"id"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// updated at
// Format: date-time
UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
// user Id
// Required: true
UserID *string `json:"userId"`
}
ModelsContributorResponse models contributor response
swagger:model models.ContributorResponse
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 {
// achieved at
// Format: date-time
AchievedAt *strfmt.DateTime `json:"achievedAt,omitempty"`
// achievement code
// Required: true
AchievementCode *string `json:"achievementCode"`
// created at
// Required: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// id
// Required: true
ID *string `json:"id"`
// latest value
// Required: true
LatestValue *float64 `json:"latestValue"`
// name
// Required: true
Name map[string]string `json:"name"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// status
// Required: true
Status *int32 `json:"status"`
// updated at
// Format: date-time
UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}
ModelsGlobalAchievementResponse models global achievement response
swagger:model models.GlobalAchievementResponse
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.PaginatedAchievementResponse
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.PaginatedContributorResponse
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.PaginatedGlobalAchievementResponse
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.PaginatedTagResponse
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 {
// count info
// 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.PaginatedUserAchievementResponse
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.PaginatedUserContributionResponse
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 {
// achievement code
// Required: true
AchievementCode *string `json:"achievementCode"`
// created at
// Required: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// description
// Required: true
Description *string `json:"description"`
// global
// Required: true
Global *bool `json:"global"`
// goal value
GoalValue float64 `json:"goalValue,omitempty"`
// hidden
// Required: true
Hidden *bool `json:"hidden"`
// incremental
// Required: true
Incremental *bool `json:"incremental"`
// list order
// Required: true
ListOrder *int32 `json:"listOrder"`
// locked icons
// Required: true
LockedIcons []*ModelsIcon `json:"lockedIcons"`
// name
// Required: true
Name *string `json:"name"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// stat code
StatCode string `json:"statCode,omitempty"`
// Achievement progression status: [INIT, TIED]
Status string `json:"status,omitempty"`
// tags
// Required: true
Tags []string `json:"tags"`
// unlocked icons
// Required: true
UnlockedIcons []*ModelsIcon `json:"unlockedIcons"`
// updated at
// Required: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
}
ModelsPublicAchievementResponse models public achievement response
swagger:model models.PublicAchievementResponse
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.PublicAchievementsResponse
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 {
// created at
// 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.TagResponse
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 {
// achieved at
// Required: true
// Format: date-time
AchievedAt strfmt.DateTime `json:"achievedAt"`
// achievement code
// Required: true
AchievementCode *string `json:"achievementCode"`
// id
// Required: true
ID *string `json:"id"`
// latest value
// Required: true
LatestValue *float64 `json:"latestValue"`
// name
// Required: true
Name map[string]string `json:"name"`
// status
// Required: true
Status *int32 `json:"status"`
}
ModelsUserAchievementResponse models user achievement response
swagger:model models.UserAchievementResponse
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 {
// achievement code
// 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"`
// contributed value
// Required: true
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"`
// user Id
// Required: true
UserID *string `json:"userId"`
}
ModelsUserContributionResponse models user contribution response
swagger:model models.UserContributionResponse
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 {
// error code
// Required: true
ErrorCode *int32 `json:"errorCode"`
// error message
// 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 {
// failed configs
// Required: true
FailedConfigs []string `json:"failedConfigs"`
// ignored configs
// Required: true
IgnoredConfigs []string `json:"ignoredConfigs"`
// new configs
// Required: true
NewConfigs []string `json:"newConfigs"`
// replaced configs
// Required: true
ReplacedConfigs []string `json:"replacedConfigs"`
}
ServiceImportConfigResponse service import config response
swagger:model service.ImportConfigResponse
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