Documentation
¶
Index ¶
- type ModelsAchievementOrderUpdateRequest
- type ModelsAchievementRequest
- type ModelsAchievementResponse
- type ModelsAchievementUpdateRequest
- type ModelsAdditionalInfo
- type ModelsIcon
- type ModelsPaginatedAchievementResponse
- type ModelsPaginatedUserAchievementResponse
- type ModelsPagination
- type ModelsPublicAchievementResponse
- type ModelsPublicAchievementsResponse
- type ModelsUserAchievementResponse
- 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"` // 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"` // 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"` // 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"` // 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 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 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 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"` // 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"` // 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 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 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_icon.go
- models_paginated_achievement_response.go
- models_paginated_user_achievement_response.go
- models_pagination.go
- models_public_achievement_response.go
- models_public_achievements_response.go
- models_user_achievement_response.go
- response_error.go
- service_import_config_response.go