achievementclientmodels

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelsAchievement

type ModelsAchievement 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
	// Required: true
	GoalValue *float64 `json:"GoalValue"`

	// hidden
	// Required: true
	Hidden *bool `json:"Hidden"`

	// ID
	// Required: true
	ID *string `json:"ID"`

	// 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
	// Required: true
	StatCode *string `json:"StatCode"`

	// 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"`
}

ModelsAchievement models achievement

swagger:model models.Achievement

func (*ModelsAchievement) MarshalBinary

func (m *ModelsAchievement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelsAchievement) UnmarshalBinary

func (m *ModelsAchievement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelsAchievement) Validate

func (m *ModelsAchievement) Validate(formats strfmt.Registry) error

Validate validates this models achievement

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

func (*ModelsAchievementOrderUpdateRequest) Validate

Validate validates this models achievement order update request

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

func (*ModelsAchievementRequest) Validate

func (m *ModelsAchievementRequest) Validate(formats strfmt.Registry) error

Validate validates this models achievement request

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

func (*ModelsAchievementResponse) Validate

func (m *ModelsAchievementResponse) Validate(formats strfmt.Registry) error

Validate validates this models achievement response

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

func (*ModelsAchievementUpdateRequest) Validate

func (m *ModelsAchievementUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this models achievement update request

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

func (*ModelsAdditionalInfo) Validate

func (m *ModelsAdditionalInfo) Validate(formats strfmt.Registry) error

Validate validates this models additional info

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

func (*ModelsIcon) Validate

func (m *ModelsIcon) Validate(formats strfmt.Registry) error

Validate validates this models icon

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

func (*ModelsPaginatedAchievementResponse) Validate

Validate validates this models paginated achievement response

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

func (*ModelsPaginatedUserAchievementResponse) Validate

Validate validates this models paginated user achievement response

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

func (*ModelsPagination) Validate

func (m *ModelsPagination) Validate(formats strfmt.Registry) error

Validate validates this models pagination

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

func (*ModelsPublicAchievementResponse) Validate

Validate validates this models public achievement response

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

func (*ModelsPublicAchievementsResponse) Validate

Validate validates this models public achievements response

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

func (*ModelsUserAchievementResponse) Validate

func (m *ModelsUserAchievementResponse) Validate(formats strfmt.Registry) error

Validate validates this models user achievement response

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

func (*ResponseError) Validate

func (m *ResponseError) Validate(formats strfmt.Registry) error

Validate validates this response error

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

func (*ServiceImportConfigResponse) Validate

func (m *ServiceImportConfigResponse) Validate(formats strfmt.Registry) error

Validate validates this service import config response

Jump to

Keyboard shortcuts

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