Documentation ¶
Index ¶
- Constants
- type ADTOObjectForResettingUserStatItems
- type ADTOObjectForUserStatItemValue
- type Attribute
- type BulkStatItemCreate
- type BulkStatItemInc
- type BulkStatItemOperationResult
- type BulkStatItemReset
- type BulkStatItemUpdate
- type BulkUserStatItemInc
- type BulkUserStatItemReset
- type BulkUserStatItemUpdate
- type ErrorEntity
- type FieldValidationError
- type GameProfileHeader
- type GameProfileInfo
- type GameProfilePublicInfo
- type GameProfileRequest
- type GlobalStatItemInfo
- type GlobalStatItemPagingSlicedResult
- type NamespaceSlotConfigInfo
- type Paging
- type SlotConfigUpdate
- type SlotInfo
- type SlotMetadataUpdate
- type StatCreate
- type StatImportInfo
- type StatInfo
- type StatItemInc
- type StatItemIncResult
- type StatItemUpdate
- type StatPagingSlicedResult
- type StatResetInfo
- type StatUpdate
- type UserGameProfiles
- type UserSlotConfigInfo
- type UserStatItemInfo
- type UserStatItemPagingSlicedResult
- type ValidationErrorEntity
Constants ¶
const ( // BulkStatItemUpdateUpdateStrategyINCREMENT captures enum value "INCREMENT" BulkStatItemUpdateUpdateStrategyINCREMENT string = "INCREMENT" // BulkStatItemUpdateUpdateStrategyMAX captures enum value "MAX" BulkStatItemUpdateUpdateStrategyMAX string = "MAX" // BulkStatItemUpdateUpdateStrategyMIN captures enum value "MIN" BulkStatItemUpdateUpdateStrategyMIN string = "MIN" // BulkStatItemUpdateUpdateStrategyOVERRIDE captures enum value "OVERRIDE" BulkStatItemUpdateUpdateStrategyOVERRIDE string = "OVERRIDE" )
const ( // BulkUserStatItemUpdateUpdateStrategyINCREMENT captures enum value "INCREMENT" BulkUserStatItemUpdateUpdateStrategyINCREMENT string = "INCREMENT" // BulkUserStatItemUpdateUpdateStrategyMAX captures enum value "MAX" BulkUserStatItemUpdateUpdateStrategyMAX string = "MAX" // BulkUserStatItemUpdateUpdateStrategyMIN captures enum value "MIN" BulkUserStatItemUpdateUpdateStrategyMIN string = "MIN" // BulkUserStatItemUpdateUpdateStrategyOVERRIDE captures enum value "OVERRIDE" BulkUserStatItemUpdateUpdateStrategyOVERRIDE string = "OVERRIDE" )
const ( // StatCreateSetByCLIENT captures enum value "CLIENT" StatCreateSetByCLIENT string = "CLIENT" // StatCreateSetBySERVER captures enum value "SERVER" StatCreateSetBySERVER string = "SERVER" )
const ( // StatInfoSetByCLIENT captures enum value "CLIENT" StatInfoSetByCLIENT string = "CLIENT" // StatInfoSetBySERVER captures enum value "SERVER" StatInfoSetBySERVER string = "SERVER" )
const ( // StatInfoStatusINIT captures enum value "INIT" StatInfoStatusINIT string = "INIT" // StatInfoStatusTIED captures enum value "TIED" StatInfoStatusTIED string = "TIED" )
const ( // StatItemUpdateUpdateStrategyINCREMENT captures enum value "INCREMENT" StatItemUpdateUpdateStrategyINCREMENT string = "INCREMENT" // StatItemUpdateUpdateStrategyMAX captures enum value "MAX" StatItemUpdateUpdateStrategyMAX string = "MAX" // StatItemUpdateUpdateStrategyMIN captures enum value "MIN" StatItemUpdateUpdateStrategyMIN string = "MIN" // StatItemUpdateUpdateStrategyOVERRIDE captures enum value "OVERRIDE" StatItemUpdateUpdateStrategyOVERRIDE string = "OVERRIDE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADTOObjectForResettingUserStatItems ¶ added in v0.12.0
type ADTOObjectForResettingUserStatItems struct { // additional data to be published in event payload AdditionalData map[string]interface{} `json:"additionalData,omitempty"` // stat code // Required: true StatCode *string `json:"statCode"` }
ADTOObjectForResettingUserStatItems a d t o object for resetting user stat items
swagger:model A DTO object for resetting user stat items
func (*ADTOObjectForResettingUserStatItems) MarshalBinary ¶ added in v0.12.0
func (m *ADTOObjectForResettingUserStatItems) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ADTOObjectForResettingUserStatItems) UnmarshalBinary ¶ added in v0.12.0
func (m *ADTOObjectForResettingUserStatItems) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ADTOObjectForUserStatItemValue ¶ added in v0.18.0
type ADTOObjectForUserStatItemValue struct { // profile id ProfileID string `json:"profileId,omitempty"` // stat code StatCode string `json:"statCode,omitempty"` // current value Value float64 `json:"value,omitempty"` }
ADTOObjectForUserStatItemValue a d t o object for user stat item value
swagger:model A DTO object for user stat item value
func (*ADTOObjectForUserStatItemValue) MarshalBinary ¶ added in v0.18.0
func (m *ADTOObjectForUserStatItemValue) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ADTOObjectForUserStatItemValue) UnmarshalBinary ¶ added in v0.18.0
func (m *ADTOObjectForUserStatItemValue) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Attribute ¶
type Attribute struct { // name Name string `json:"name,omitempty"` // value Value string `json:"value,omitempty"` }
Attribute attribute
swagger:model Attribute
func (*Attribute) MarshalBinary ¶
MarshalBinary interface implementation
func (*Attribute) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BulkStatItemCreate ¶
type BulkStatItemCreate struct { // stat code // Required: true StatCode *string `json:"statCode"` }
BulkStatItemCreate bulk stat item create
swagger:model BulkStatItemCreate
func (*BulkStatItemCreate) MarshalBinary ¶
func (m *BulkStatItemCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkStatItemCreate) UnmarshalBinary ¶
func (m *BulkStatItemCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkStatItemInc ¶
type BulkStatItemInc struct { // inc Inc float64 `json:"inc,omitempty"` // stat code // Required: true StatCode *string `json:"statCode"` }
BulkStatItemInc bulk stat item inc
swagger:model BulkStatItemInc
func (*BulkStatItemInc) MarshalBinary ¶
func (m *BulkStatItemInc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkStatItemInc) UnmarshalBinary ¶
func (m *BulkStatItemInc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkStatItemOperationResult ¶
type BulkStatItemOperationResult struct { // details Details interface{} `json:"details,omitempty"` // stat code StatCode string `json:"statCode,omitempty"` // success Success bool `json:"success"` }
BulkStatItemOperationResult bulk stat item operation result
swagger:model BulkStatItemOperationResult
func (*BulkStatItemOperationResult) MarshalBinary ¶
func (m *BulkStatItemOperationResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkStatItemOperationResult) UnmarshalBinary ¶
func (m *BulkStatItemOperationResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkStatItemReset ¶
type BulkStatItemReset struct { // stat code // Required: true StatCode *string `json:"statCode"` }
BulkStatItemReset bulk stat item reset
swagger:model BulkStatItemReset
func (*BulkStatItemReset) MarshalBinary ¶
func (m *BulkStatItemReset) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkStatItemReset) UnmarshalBinary ¶
func (m *BulkStatItemReset) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkStatItemUpdate ¶
type BulkStatItemUpdate struct { // Additional data to be published in event payload AdditionalData map[string]interface{} `json:"additionalData,omitempty"` // stat code // Required: true StatCode *string `json:"statCode"` // update strategy // Required: true // Enum: [INCREMENT MAX MIN OVERRIDE] UpdateStrategy *string `json:"updateStrategy"` // value // Required: true Value *float64 `json:"value"` }
BulkStatItemUpdate bulk stat item update
swagger:model BulkStatItemUpdate
func (*BulkStatItemUpdate) MarshalBinary ¶
func (m *BulkStatItemUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkStatItemUpdate) UnmarshalBinary ¶
func (m *BulkStatItemUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkUserStatItemInc ¶
type BulkUserStatItemInc struct { // inc Inc float64 `json:"inc,omitempty"` // stat code // Required: true StatCode *string `json:"statCode"` // user Id // Required: true UserID *string `json:"userId"` }
BulkUserStatItemInc bulk user stat item inc
swagger:model BulkUserStatItemInc
func (*BulkUserStatItemInc) MarshalBinary ¶
func (m *BulkUserStatItemInc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkUserStatItemInc) UnmarshalBinary ¶
func (m *BulkUserStatItemInc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkUserStatItemReset ¶
type BulkUserStatItemReset struct { // stat code // Required: true StatCode *string `json:"statCode"` // user Id // Required: true UserID *string `json:"userId"` }
BulkUserStatItemReset bulk user stat item reset
swagger:model BulkUserStatItemReset
func (*BulkUserStatItemReset) MarshalBinary ¶
func (m *BulkUserStatItemReset) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkUserStatItemReset) UnmarshalBinary ¶
func (m *BulkUserStatItemReset) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkUserStatItemUpdate ¶
type BulkUserStatItemUpdate struct { // Additional data to be published in event payload AdditionalData map[string]interface{} `json:"additionalData,omitempty"` // Additional key to identify multi level user's statitems, e.g. character's statitems AdditionalKey string `json:"additionalKey,omitempty"` // stat code // Required: true StatCode *string `json:"statCode"` // update strategy // Required: true // Enum: [INCREMENT MAX MIN OVERRIDE] UpdateStrategy *string `json:"updateStrategy"` // user Id // Required: true UserID *string `json:"userId"` // value // Required: true Value *float64 `json:"value"` }
BulkUserStatItemUpdate bulk user stat item update
swagger:model BulkUserStatItemUpdate
func (*BulkUserStatItemUpdate) MarshalBinary ¶
func (m *BulkUserStatItemUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkUserStatItemUpdate) UnmarshalBinary ¶
func (m *BulkUserStatItemUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorEntity ¶
type ErrorEntity struct { // internal server error stack trace in configured environment DevStackTrace string `json:"devStackTrace,omitempty"` // numeric error code // Required: true ErrorCode *int32 `json:"errorCode"` // error message // Required: true ErrorMessage *string `json:"errorMessage"` // message variables MessageVariables map[string]string `json:"messageVariables,omitempty"` }
ErrorEntity error entity
swagger:model ErrorEntity
func (*ErrorEntity) MarshalBinary ¶
func (m *ErrorEntity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorEntity) UnmarshalBinary ¶
func (m *ErrorEntity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldValidationError ¶
type FieldValidationError struct { // error code ErrorCode string `json:"errorCode,omitempty"` // error field ErrorField string `json:"errorField,omitempty"` // error message ErrorMessage string `json:"errorMessage,omitempty"` // error value ErrorValue string `json:"errorValue,omitempty"` // message variables MessageVariables map[string]string `json:"messageVariables,omitempty"` }
FieldValidationError field validation error
swagger:model FieldValidationError
func (*FieldValidationError) MarshalBinary ¶
func (m *FieldValidationError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldValidationError) UnmarshalBinary ¶
func (m *FieldValidationError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GameProfileHeader ¶
type GameProfileHeader struct { // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // label Label string `json:"label,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // profile Id ProfileID string `json:"profileId,omitempty"` // profile name ProfileName string `json:"profileName,omitempty"` // tags Tags []string `json:"tags"` // user Id UserID string `json:"userId,omitempty"` }
GameProfileHeader game profile header
swagger:model GameProfileHeader
func (*GameProfileHeader) MarshalBinary ¶
func (m *GameProfileHeader) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GameProfileHeader) UnmarshalBinary ¶
func (m *GameProfileHeader) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GameProfileInfo ¶
type GameProfileInfo struct { // achievements Achievements []string `json:"achievements"` // attributes Attributes map[string]string `json:"attributes,omitempty"` // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // inventories Inventories []string `json:"inventories"` // label Label string `json:"label,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // profile Id ProfileID string `json:"profileId,omitempty"` // profile name ProfileName string `json:"profileName,omitempty"` // statistics Statistics []string `json:"statistics"` // tags Tags []string `json:"tags"` // user Id UserID string `json:"userId,omitempty"` }
GameProfileInfo game profile info
swagger:model GameProfileInfo
func (*GameProfileInfo) MarshalBinary ¶
func (m *GameProfileInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GameProfileInfo) UnmarshalBinary ¶
func (m *GameProfileInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GameProfilePublicInfo ¶
type GameProfilePublicInfo struct { // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // profile Id ProfileID string `json:"profileId,omitempty"` // profile name ProfileName string `json:"profileName,omitempty"` }
GameProfilePublicInfo game profile public info
swagger:model GameProfilePublicInfo
func (*GameProfilePublicInfo) MarshalBinary ¶
func (m *GameProfilePublicInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GameProfilePublicInfo) UnmarshalBinary ¶
func (m *GameProfilePublicInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GameProfileRequest ¶
type GameProfileRequest struct { // achievements Achievements []string `json:"achievements"` // attributes Attributes map[string]string `json:"attributes,omitempty"` // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // inventories Inventories []string `json:"inventories"` // label Label string `json:"label,omitempty"` // profile name ProfileName string `json:"profileName,omitempty"` // statistics Statistics []string `json:"statistics"` // tags Tags []string `json:"tags"` }
GameProfileRequest game profile request
swagger:model GameProfileRequest
func (*GameProfileRequest) MarshalBinary ¶
func (m *GameProfileRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GameProfileRequest) UnmarshalBinary ¶
func (m *GameProfileRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GlobalStatItemInfo ¶
type GlobalStatItemInfo struct { // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // namespace // Required: true Namespace *string `json:"namespace"` // stat code // Required: true StatCode *string `json:"statCode"` // stat name // Required: true StatName *string `json:"statName"` // tags // Unique: true Tags []string `json:"tags"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // value // Required: true Value *float64 `json:"value"` }
GlobalStatItemInfo global stat item info
swagger:model GlobalStatItemInfo
func (*GlobalStatItemInfo) MarshalBinary ¶
func (m *GlobalStatItemInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GlobalStatItemInfo) UnmarshalBinary ¶
func (m *GlobalStatItemInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GlobalStatItemPagingSlicedResult ¶
type GlobalStatItemPagingSlicedResult struct { // data // Required: true Data []*GlobalStatItemInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
GlobalStatItemPagingSlicedResult global stat item paging sliced result
swagger:model GlobalStatItemPagingSlicedResult
func (*GlobalStatItemPagingSlicedResult) MarshalBinary ¶
func (m *GlobalStatItemPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GlobalStatItemPagingSlicedResult) UnmarshalBinary ¶
func (m *GlobalStatItemPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NamespaceSlotConfigInfo ¶
type NamespaceSlotConfigInfo struct { // max slot size MaxSlotSize int32 `json:"maxSlotSize,omitempty"` // max slots MaxSlots int32 `json:"maxSlots,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` }
NamespaceSlotConfigInfo namespace slot config info
swagger:model NamespaceSlotConfigInfo
func (*NamespaceSlotConfigInfo) MarshalBinary ¶
func (m *NamespaceSlotConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NamespaceSlotConfigInfo) UnmarshalBinary ¶
func (m *NamespaceSlotConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Paging ¶
type Paging struct { // next Next string `json:"next,omitempty"` // previous Previous string `json:"previous,omitempty"` }
Paging paging
swagger:model Paging
func (*Paging) MarshalBinary ¶
MarshalBinary interface implementation
func (*Paging) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SlotConfigUpdate ¶
type SlotConfigUpdate struct { // max slot size MaxSlotSize int32 `json:"maxSlotSize,omitempty"` // max slots MaxSlots int32 `json:"maxSlots,omitempty"` }
SlotConfigUpdate slot config update
swagger:model SlotConfigUpdate
func (*SlotConfigUpdate) MarshalBinary ¶
func (m *SlotConfigUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlotConfigUpdate) UnmarshalBinary ¶
func (m *SlotConfigUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SlotInfo ¶
type SlotInfo struct { // base64 encoded md5 Checksum string `json:"checksum,omitempty"` // custom attribute CustomAttribute string `json:"customAttribute,omitempty"` // date accessed // Format: date-time DateAccessed *strfmt.DateTime `json:"dateAccessed,omitempty"` // date created // Format: date-time DateCreated *strfmt.DateTime `json:"dateCreated,omitempty"` // date modified // Format: date-time DateModified *strfmt.DateTime `json:"dateModified,omitempty"` // label Label string `json:"label,omitempty"` // mime type MimeType string `json:"mimeType,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // original name OriginalName string `json:"originalName,omitempty"` // size Size int64 `json:"size,omitempty"` // slot Id SlotID string `json:"slotId,omitempty"` // stored name StoredName string `json:"storedName,omitempty"` // tags Tags []string `json:"tags"` // user Id UserID string `json:"userId,omitempty"` }
SlotInfo slot info
swagger:model SlotInfo
func (*SlotInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*SlotInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SlotMetadataUpdate ¶
type SlotMetadataUpdate struct { // custom attribute CustomAttribute string `json:"customAttribute,omitempty"` // label Label string `json:"label,omitempty"` // tags Tags []string `json:"tags"` }
SlotMetadataUpdate slot metadata update
swagger:model SlotMetadataUpdate
func (*SlotMetadataUpdate) MarshalBinary ¶
func (m *SlotMetadataUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlotMetadataUpdate) UnmarshalBinary ¶
func (m *SlotMetadataUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatCreate ¶
type StatCreate struct { // default value // Required: true DefaultValue *float64 `json:"defaultValue"` // description Description string `json:"description,omitempty"` // increment only IncrementOnly bool `json:"incrementOnly"` // default value is 1.7976931348623157e+308 Maximum float64 `json:"maximum,omitempty"` // default value is 0.0 Minimum float64 `json:"minimum,omitempty"` // name // Required: true Name *string `json:"name"` // set as global SetAsGlobal bool `json:"setAsGlobal"` // set by // Required: true // Enum: [CLIENT SERVER] SetBy *string `json:"setBy"` // stat code // Required: true StatCode *string `json:"statCode"` // tags // Unique: true Tags []string `json:"tags"` }
StatCreate stat create
swagger:model StatCreate
func (*StatCreate) MarshalBinary ¶
func (m *StatCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatCreate) UnmarshalBinary ¶
func (m *StatCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatImportInfo ¶
type StatImportInfo 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"` }
StatImportInfo stat import info
swagger:model StatImportInfo
func (*StatImportInfo) MarshalBinary ¶
func (m *StatImportInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatImportInfo) UnmarshalBinary ¶
func (m *StatImportInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatInfo ¶
type StatInfo struct { // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // default value // Required: true DefaultValue *float64 `json:"defaultValue"` // description Description string `json:"description,omitempty"` // increment only // Required: true IncrementOnly *bool `json:"incrementOnly"` // maximum Maximum float64 `json:"maximum,omitempty"` // minimum Minimum float64 `json:"minimum,omitempty"` // name // Required: true Name *string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` // set as global // Required: true SetAsGlobal *bool `json:"setAsGlobal"` // set by // Required: true // Enum: [CLIENT SERVER] SetBy *string `json:"setBy"` // stat code // Required: true StatCode *string `json:"statCode"` // status // Required: true // Enum: [INIT TIED] Status *string `json:"status"` // tags // Unique: true Tags []string `json:"tags"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
StatInfo stat info
swagger:model StatInfo
func (*StatInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*StatInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type StatItemInc ¶
type StatItemInc struct { // inc Inc float64 `json:"inc,omitempty"` }
StatItemInc stat item inc
swagger:model StatItemInc
func (*StatItemInc) MarshalBinary ¶
func (m *StatItemInc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatItemInc) UnmarshalBinary ¶
func (m *StatItemInc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatItemIncResult ¶
type StatItemIncResult struct { // current value // Required: true CurrentValue *float64 `json:"currentValue"` }
StatItemIncResult stat item inc result
swagger:model StatItemIncResult
func (*StatItemIncResult) MarshalBinary ¶
func (m *StatItemIncResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatItemIncResult) UnmarshalBinary ¶
func (m *StatItemIncResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatItemUpdate ¶
type StatItemUpdate struct { // Additional data to be published in event payload AdditionalData map[string]interface{} `json:"additionalData,omitempty"` // update strategy // Required: true // Enum: [INCREMENT MAX MIN OVERRIDE] UpdateStrategy *string `json:"updateStrategy"` // value // Required: true Value *float64 `json:"value"` }
StatItemUpdate stat item update
swagger:model StatItemUpdate
func (*StatItemUpdate) MarshalBinary ¶
func (m *StatItemUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatItemUpdate) UnmarshalBinary ¶
func (m *StatItemUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatPagingSlicedResult ¶
type StatPagingSlicedResult struct { // data // Required: true Data []*StatInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
StatPagingSlicedResult stat paging sliced result
swagger:model StatPagingSlicedResult
func (*StatPagingSlicedResult) MarshalBinary ¶
func (m *StatPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatPagingSlicedResult) UnmarshalBinary ¶
func (m *StatPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatResetInfo ¶ added in v0.2.0
type StatResetInfo struct { // Additional data to be published in event payload AdditionalData map[string]interface{} `json:"additionalData,omitempty"` }
StatResetInfo stat reset info
swagger:model StatResetInfo
func (*StatResetInfo) MarshalBinary ¶ added in v0.2.0
func (m *StatResetInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatResetInfo) UnmarshalBinary ¶ added in v0.2.0
func (m *StatResetInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatUpdate ¶
type StatUpdate struct { // description Description string `json:"description,omitempty"` // name Name string `json:"name,omitempty"` // tags // Unique: true Tags []string `json:"tags"` }
StatUpdate stat update
swagger:model StatUpdate
func (*StatUpdate) MarshalBinary ¶
func (m *StatUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatUpdate) UnmarshalBinary ¶
func (m *StatUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserGameProfiles ¶
type UserGameProfiles struct { // game profiles GameProfiles []*GameProfilePublicInfo `json:"gameProfiles"` // user Id UserID string `json:"userId,omitempty"` }
UserGameProfiles user game profiles
swagger:model UserGameProfiles
func (*UserGameProfiles) MarshalBinary ¶
func (m *UserGameProfiles) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserGameProfiles) UnmarshalBinary ¶
func (m *UserGameProfiles) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserSlotConfigInfo ¶
type UserSlotConfigInfo struct { // max slot size MaxSlotSize int32 `json:"maxSlotSize,omitempty"` // max slots MaxSlots int32 `json:"maxSlots,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // user Id UserID string `json:"userId,omitempty"` }
UserSlotConfigInfo user slot config info
swagger:model UserSlotConfigInfo
func (*UserSlotConfigInfo) MarshalBinary ¶
func (m *UserSlotConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserSlotConfigInfo) UnmarshalBinary ¶
func (m *UserSlotConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserStatItemInfo ¶
type UserStatItemInfo struct { // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // namespace // Required: true Namespace *string `json:"namespace"` // stat code // Required: true StatCode *string `json:"statCode"` // stat name // Required: true StatName *string `json:"statName"` // tags // Unique: true Tags []string `json:"tags"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // user Id // Required: true UserID *string `json:"userId"` // value // Required: true Value *float64 `json:"value"` }
UserStatItemInfo user stat item info
swagger:model UserStatItemInfo
func (*UserStatItemInfo) MarshalBinary ¶
func (m *UserStatItemInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserStatItemInfo) UnmarshalBinary ¶
func (m *UserStatItemInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserStatItemPagingSlicedResult ¶
type UserStatItemPagingSlicedResult struct { // data // Required: true Data []*UserStatItemInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
UserStatItemPagingSlicedResult user stat item paging sliced result
swagger:model UserStatItemPagingSlicedResult
func (*UserStatItemPagingSlicedResult) MarshalBinary ¶
func (m *UserStatItemPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserStatItemPagingSlicedResult) UnmarshalBinary ¶
func (m *UserStatItemPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ValidationErrorEntity ¶
type ValidationErrorEntity struct { // numeric error code // Required: true ErrorCode *int32 `json:"errorCode"` // error message // Required: true ErrorMessage *string `json:"errorMessage"` // errors Errors []*FieldValidationError `json:"errors"` }
ValidationErrorEntity validation error entity
swagger:model ValidationErrorEntity
func (*ValidationErrorEntity) MarshalBinary ¶
func (m *ValidationErrorEntity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ValidationErrorEntity) UnmarshalBinary ¶
func (m *ValidationErrorEntity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- a_d_t_o_object_for_resetting_user_stat_items.go
- a_d_t_o_object_for_user_stat_item_value.go
- attribute.go
- bulk_stat_item_create.go
- bulk_stat_item_inc.go
- bulk_stat_item_operation_result.go
- bulk_stat_item_reset.go
- bulk_stat_item_update.go
- bulk_user_stat_item_inc.go
- bulk_user_stat_item_reset.go
- bulk_user_stat_item_update.go
- error_entity.go
- field_validation_error.go
- game_profile_header.go
- game_profile_info.go
- game_profile_public_info.go
- game_profile_request.go
- global_stat_item_info.go
- global_stat_item_paging_sliced_result.go
- namespace_slot_config_info.go
- paging.go
- slot_config_update.go
- slot_info.go
- slot_metadata_update.go
- stat_create.go
- stat_import_info.go
- stat_info.go
- stat_item_inc.go
- stat_item_inc_result.go
- stat_item_update.go
- stat_paging_sliced_result.go
- stat_reset_info.go
- stat_update.go
- user_game_profiles.go
- user_slot_config_info.go
- user_stat_item_info.go
- user_stat_item_paging_sliced_result.go
- validation_error_entity.go