Documentation
¶
Index ¶
- Constants
- type ADTOObjectForResettingUserStatItems
- type ADTOObjectForUserStatItemValue
- type Attribute
- type BulkCycleStatsAdd
- type BulkStatCycleOperationResult
- type BulkStatCycleRequest
- type BulkStatCycleResult
- type BulkStatItemCreate
- type BulkStatItemInc
- type BulkStatItemReset
- type BulkStatItemUpdate
- type BulkStatOperationResult
- type BulkUserStatItemByStatCodes
- type BulkUserStatItemInc
- type BulkUserStatItemReset
- type BulkUserStatItemUpdate
- type CycleOverride
- type CycleOverrideRequest
- type ErrorEntity
- type FieldValidationError
- type GameProfileHeader
- type GameProfileInfo
- type GameProfilePublicInfo
- type GameProfileRequest
- type GlobalStatItemInfo
- type GlobalStatItemPagingSlicedResult
- type NamespaceSlotConfigInfo
- type Paging
- type Permission
- type SlotConfigUpdate
- type SlotInfo
- type SlotMetadataUpdate
- type StatCreate
- type StatCycleCreate
- type StatCycleInfo
- type StatCyclePagingSlicedResult
- type StatCycleUpdate
- type StatImportInfo
- type StatInfo
- type StatItemInc
- type StatItemIncResult
- type StatItemUpdate
- type StatItemValue
- type StatItemValuePagingSlicedResult
- type StatPagingSlicedResult
- type StatResetInfo
- type StatUpdate
- type UserGameProfiles
- type UserSlotConfigInfo
- type UserStatCycleItemInfo
- type UserStatCycleItemPagingSlicedResult
- 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 ( // GlobalStatItemInfoGlobalAggregationMethodLAST captures enum value "LAST" GlobalStatItemInfoGlobalAggregationMethodLAST string = "LAST" // GlobalStatItemInfoGlobalAggregationMethodMAX captures enum value "MAX" GlobalStatItemInfoGlobalAggregationMethodMAX string = "MAX" // GlobalStatItemInfoGlobalAggregationMethodMIN captures enum value "MIN" GlobalStatItemInfoGlobalAggregationMethodMIN string = "MIN" // GlobalStatItemInfoGlobalAggregationMethodTOTAL captures enum value "TOTAL" GlobalStatItemInfoGlobalAggregationMethodTOTAL string = "TOTAL" )
const ( // StatCreateGlobalAggregationMethodLAST captures enum value "LAST" StatCreateGlobalAggregationMethodLAST string = "LAST" // StatCreateGlobalAggregationMethodMAX captures enum value "MAX" StatCreateGlobalAggregationMethodMAX string = "MAX" // StatCreateGlobalAggregationMethodMIN captures enum value "MIN" StatCreateGlobalAggregationMethodMIN string = "MIN" // StatCreateGlobalAggregationMethodTOTAL captures enum value "TOTAL" StatCreateGlobalAggregationMethodTOTAL string = "TOTAL" )
const ( // StatCreateSetByCLIENT captures enum value "CLIENT" StatCreateSetByCLIENT string = "CLIENT" // StatCreateSetBySERVER captures enum value "SERVER" StatCreateSetBySERVER string = "SERVER" )
const ( // StatCreateVisibilitySERVERONLY captures enum value "SERVERONLY" StatCreateVisibilitySERVERONLY string = "SERVERONLY" // StatCreateVisibilitySHOWALL captures enum value "SHOWALL" StatCreateVisibilitySHOWALL string = "SHOWALL" )
const ( // StatCycleCreateCycleTypeANNUALLY captures enum value "ANNUALLY" StatCycleCreateCycleTypeANNUALLY string = "ANNUALLY" // StatCycleCreateCycleTypeDAILY captures enum value "DAILY" StatCycleCreateCycleTypeDAILY string = "DAILY" // StatCycleCreateCycleTypeMONTHLY captures enum value "MONTHLY" StatCycleCreateCycleTypeMONTHLY string = "MONTHLY" // StatCycleCreateCycleTypeSEASONAL captures enum value "SEASONAL" StatCycleCreateCycleTypeSEASONAL string = "SEASONAL" // StatCycleCreateCycleTypeWEEKLY captures enum value "WEEKLY" StatCycleCreateCycleTypeWEEKLY string = "WEEKLY" )
const ( // StatCycleInfoCycleTypeANNUALLY captures enum value "ANNUALLY" StatCycleInfoCycleTypeANNUALLY string = "ANNUALLY" // StatCycleInfoCycleTypeDAILY captures enum value "DAILY" StatCycleInfoCycleTypeDAILY string = "DAILY" // StatCycleInfoCycleTypeMONTHLY captures enum value "MONTHLY" StatCycleInfoCycleTypeMONTHLY string = "MONTHLY" // StatCycleInfoCycleTypeSEASONAL captures enum value "SEASONAL" StatCycleInfoCycleTypeSEASONAL string = "SEASONAL" // StatCycleInfoCycleTypeWEEKLY captures enum value "WEEKLY" StatCycleInfoCycleTypeWEEKLY string = "WEEKLY" )
const ( // StatCycleInfoStatusACTIVE captures enum value "ACTIVE" StatCycleInfoStatusACTIVE string = "ACTIVE" // StatCycleInfoStatusINIT captures enum value "INIT" StatCycleInfoStatusINIT string = "INIT" // StatCycleInfoStatusSTOPPED captures enum value "STOPPED" StatCycleInfoStatusSTOPPED string = "STOPPED" )
const ( // StatCycleUpdateCycleTypeANNUALLY captures enum value "ANNUALLY" StatCycleUpdateCycleTypeANNUALLY string = "ANNUALLY" // StatCycleUpdateCycleTypeDAILY captures enum value "DAILY" StatCycleUpdateCycleTypeDAILY string = "DAILY" // StatCycleUpdateCycleTypeMONTHLY captures enum value "MONTHLY" StatCycleUpdateCycleTypeMONTHLY string = "MONTHLY" // StatCycleUpdateCycleTypeSEASONAL captures enum value "SEASONAL" StatCycleUpdateCycleTypeSEASONAL string = "SEASONAL" // StatCycleUpdateCycleTypeWEEKLY captures enum value "WEEKLY" StatCycleUpdateCycleTypeWEEKLY string = "WEEKLY" )
const ( // StatInfoGlobalAggregationMethodLAST captures enum value "LAST" StatInfoGlobalAggregationMethodLAST string = "LAST" // StatInfoGlobalAggregationMethodMAX captures enum value "MAX" StatInfoGlobalAggregationMethodMAX string = "MAX" // StatInfoGlobalAggregationMethodMIN captures enum value "MIN" StatInfoGlobalAggregationMethodMIN string = "MIN" // StatInfoGlobalAggregationMethodTOTAL captures enum value "TOTAL" StatInfoGlobalAggregationMethodTOTAL string = "TOTAL" )
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 ( // StatInfoVisibilitySERVERONLY captures enum value "SERVERONLY" StatInfoVisibilitySERVERONLY string = "SERVERONLY" // StatInfoVisibilitySHOWALL captures enum value "SHOWALL" StatInfoVisibilitySHOWALL string = "SHOWALL" )
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" )
const ( // StatUpdateGlobalAggregationMethodLAST captures enum value "LAST" StatUpdateGlobalAggregationMethodLAST string = "LAST" // StatUpdateGlobalAggregationMethodMAX captures enum value "MAX" StatUpdateGlobalAggregationMethodMAX string = "MAX" // StatUpdateGlobalAggregationMethodMIN captures enum value "MIN" StatUpdateGlobalAggregationMethodMIN string = "MIN" // StatUpdateGlobalAggregationMethodTOTAL captures enum value "TOTAL" StatUpdateGlobalAggregationMethodTOTAL string = "TOTAL" )
const ( // StatUpdateVisibilitySERVERONLY captures enum value "SERVERONLY" StatUpdateVisibilitySERVERONLY string = "SERVERONLY" // StatUpdateVisibilitySHOWALL captures enum value "SHOWALL" StatUpdateVisibilitySHOWALL string = "SHOWALL" )
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 interface{} `json:"additionalData,omitempty"`
// stat code
// Required: true
StatCode *string `json:"statCode"`
}
ADTOObjectForResettingUserStatItems A DTO 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
// Format: double
Value float64 `json:"value,omitempty"`
}
ADTOObjectForUserStatItemValue A DTO 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 BulkCycleStatsAdd ¶ added in v0.39.0
type BulkCycleStatsAdd struct {
// statcodes
// Required: true
StatCodes []string `json:"statCodes"`
}
BulkCycleStatsAdd Bulk cycle stats add
swagger:model Bulk cycle stats add.
func (*BulkCycleStatsAdd) MarshalBinary ¶ added in v0.39.0
func (m *BulkCycleStatsAdd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkCycleStatsAdd) UnmarshalBinary ¶ added in v0.39.0
func (m *BulkCycleStatsAdd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkStatCycleOperationResult ¶ added in v0.52.0
type BulkStatCycleOperationResult struct {
// cycleid
CycleID string `json:"cycleId,omitempty"`
// details
Details interface{} `json:"details,omitempty"`
// statcode
StatCode string `json:"statCode,omitempty"`
// success
Success bool `json:"success"`
}
BulkStatCycleOperationResult Bulk stat cycle operation result
swagger:model Bulk stat cycle operation result.
func (*BulkStatCycleOperationResult) MarshalBinary ¶ added in v0.52.0
func (m *BulkStatCycleOperationResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkStatCycleOperationResult) UnmarshalBinary ¶ added in v0.52.0
func (m *BulkStatCycleOperationResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkStatCycleRequest ¶ added in v0.43.0
type BulkStatCycleRequest struct {
// cycleids
// Unique: true
// Required: true
CycleIds []string `json:"cycleIds"`
}
BulkStatCycleRequest Bulk stat cycle request
swagger:model Bulk stat cycle request.
func (*BulkStatCycleRequest) MarshalBinary ¶ added in v0.43.0
func (m *BulkStatCycleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkStatCycleRequest) UnmarshalBinary ¶ added in v0.43.0
func (m *BulkStatCycleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkStatCycleResult ¶ added in v0.43.0
type BulkStatCycleResult struct {
// data
// Required: true
Data []*StatCycleInfo `json:"data"`
}
BulkStatCycleResult Bulk stat cycle result
swagger:model Bulk stat cycle result.
func (*BulkStatCycleResult) MarshalBinary ¶ added in v0.43.0
func (m *BulkStatCycleResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkStatCycleResult) UnmarshalBinary ¶ added in v0.43.0
func (m *BulkStatCycleResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkStatItemCreate ¶
type BulkStatItemCreate struct {
// statcode
// Required: true
StatCode *string `json:"statCode"`
}
BulkStatItemCreate Bulk stat item create
swagger:model Bulk stat item create.
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
// Format: double
Inc float64 `json:"inc,omitempty"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
}
BulkStatItemInc Bulk stat item inc
swagger:model Bulk stat item inc.
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 BulkStatItemReset ¶
type BulkStatItemReset struct {
// statcode
// Required: true
StatCode *string `json:"statCode"`
}
BulkStatItemReset Bulk stat item reset
swagger:model Bulk stat item reset.
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 interface{} `json:"additionalData,omitempty"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
// updatestrategy
// Enum: ['INCREMENT', 'MAX', 'MIN', 'OVERRIDE']
// Required: true
UpdateStrategy *string `json:"updateStrategy"`
// value
// Required: true
// Format: double
Value *float64 `json:"value"`
}
BulkStatItemUpdate Bulk stat item update
swagger:model Bulk stat item update.
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 BulkStatOperationResult ¶ added in v0.39.0
type BulkStatOperationResult struct {
// details
Details interface{} `json:"details,omitempty"`
// statcode
StatCode string `json:"statCode,omitempty"`
// success
Success bool `json:"success"`
// userid
UserID string `json:"userId,omitempty"`
}
BulkStatOperationResult Bulk stat operation result
swagger:model Bulk stat operation result.
func (*BulkStatOperationResult) MarshalBinary ¶ added in v0.39.0
func (m *BulkStatOperationResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkStatOperationResult) UnmarshalBinary ¶ added in v0.39.0
func (m *BulkStatOperationResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkUserStatItemByStatCodes ¶ added in v0.72.0
type BulkUserStatItemByStatCodes struct {
// statcodes
// Unique: true
StatCodes []string `json:"statCodes"`
}
BulkUserStatItemByStatCodes Bulk user stat item by stat codes
swagger:model Bulk user stat item by stat codes.
func (*BulkUserStatItemByStatCodes) MarshalBinary ¶ added in v0.72.0
func (m *BulkUserStatItemByStatCodes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkUserStatItemByStatCodes) UnmarshalBinary ¶ added in v0.72.0
func (m *BulkUserStatItemByStatCodes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkUserStatItemInc ¶
type BulkUserStatItemInc struct {
// inc
// Format: double
Inc float64 `json:"inc,omitempty"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
// userid
// Required: true
UserID *string `json:"userId"`
}
BulkUserStatItemInc Bulk user stat item inc
swagger:model Bulk user stat item inc.
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 {
// statcode
// Required: true
StatCode *string `json:"statCode"`
// userid
// Required: true
UserID *string `json:"userId"`
}
BulkUserStatItemReset Bulk user stat item reset
swagger:model Bulk user stat item reset.
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 interface{} `json:"additionalData,omitempty"`
// Additional key to identify multi level user's statitems, e.g. character's statitems
AdditionalKey string `json:"additionalKey,omitempty"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
// updatestrategy
// Enum: ['INCREMENT', 'MAX', 'MIN', 'OVERRIDE']
// Required: true
UpdateStrategy *string `json:"updateStrategy"`
// userid
// Required: true
UserID *string `json:"userId"`
// value
// Required: true
// Format: double
Value *float64 `json:"value"`
}
BulkUserStatItemUpdate Bulk user stat item update
swagger:model Bulk user stat item update.
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 CycleOverride ¶ added in v0.75.0
type CycleOverride struct {
// cycleid
CycleID string `json:"cycleId,omitempty"`
// maximum
// Format: double
Maximum float64 `json:"maximum,omitempty"`
// minimum
// Format: double
Minimum float64 `json:"minimum,omitempty"`
}
CycleOverride Cycle override
swagger:model Cycle override.
func (*CycleOverride) MarshalBinary ¶ added in v0.75.0
func (m *CycleOverride) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CycleOverride) UnmarshalBinary ¶ added in v0.75.0
func (m *CycleOverride) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CycleOverrideRequest ¶ added in v0.75.0
type CycleOverrideRequest struct {
// cycleid
// Required: true
CycleID *string `json:"cycleId"`
// maximum
// Format: double
Maximum float64 `json:"maximum,omitempty"`
// minimum
// Format: double
Minimum float64 `json:"minimum,omitempty"`
}
CycleOverrideRequest Cycle override request
swagger:model Cycle override request.
func (*CycleOverrideRequest) MarshalBinary ¶ added in v0.75.0
func (m *CycleOverrideRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CycleOverrideRequest) UnmarshalBinary ¶ added in v0.75.0
func (m *CycleOverrideRequest) 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
// Format: int32
ErrorCode *int32 `json:"errorCode"`
// error message
// Required: true
ErrorMessage *string `json:"errorMessage"`
// message variables
MessageVariables map[string]string `json:"messageVariables,omitempty"`
// requiredpermission
RequiredPermission *Permission `json:"requiredPermission,omitempty"`
}
ErrorEntity Error entity
swagger:model Error entity.
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 {
// errorcode
ErrorCode string `json:"errorCode,omitempty"`
// errorfield
ErrorField string `json:"errorField,omitempty"`
// errormessage
ErrorMessage string `json:"errorMessage,omitempty"`
// errorvalue
ErrorValue string `json:"errorValue,omitempty"`
// messagevariables
MessageVariables map[string]string `json:"messageVariables,omitempty"`
}
FieldValidationError Field validation error
swagger:model Field validation error.
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 {
// avatarurl
AvatarURL string `json:"avatarUrl,omitempty"`
// label
Label string `json:"label,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// profileid
ProfileID string `json:"profileId,omitempty"`
// profilename
ProfileName string `json:"profileName,omitempty"`
// tags
Tags []string `json:"tags,omitempty"`
// userid
UserID string `json:"userId,omitempty"`
}
GameProfileHeader Game profile header
swagger:model Game profile header.
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,omitempty"`
// attributes
Attributes map[string]string `json:"attributes,omitempty"`
// avatarurl
AvatarURL string `json:"avatarUrl,omitempty"`
// inventories
Inventories []string `json:"inventories,omitempty"`
// label
Label string `json:"label,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// profileid
ProfileID string `json:"profileId,omitempty"`
// profilename
ProfileName string `json:"profileName,omitempty"`
// statistics
Statistics []string `json:"statistics,omitempty"`
// tags
Tags []string `json:"tags,omitempty"`
// userid
UserID string `json:"userId,omitempty"`
}
GameProfileInfo Game profile info
swagger:model Game profile info.
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 {
// avatarurl
AvatarURL string `json:"avatarUrl,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// profileid
ProfileID string `json:"profileId,omitempty"`
// profilename
ProfileName string `json:"profileName,omitempty"`
}
GameProfilePublicInfo Game profile public info
swagger:model Game profile public info.
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,omitempty"`
// attributes
Attributes map[string]string `json:"attributes,omitempty"`
// avatarurl
AvatarURL string `json:"avatarUrl,omitempty"`
// inventories
Inventories []string `json:"inventories,omitempty"`
// label
Label string `json:"label,omitempty"`
// profilename
ProfileName string `json:"profileName,omitempty"`
// statistics
Statistics []string `json:"statistics,omitempty"`
// tags
Tags []string `json:"tags,omitempty"`
}
GameProfileRequest Game profile request
swagger:model Game profile request.
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 {
// createdat
// Required: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// globalaggregationmethod
// Enum: ['LAST', 'MAX', 'MIN', 'TOTAL']
GlobalAggregationMethod string `json:"globalAggregationMethod,omitempty"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
// statname
// Required: true
StatName *string `json:"statName"`
// tags
// Unique: true
Tags []string `json:"tags"`
// updatedat
// Required: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
// value
// Required: true
// Format: double
Value *float64 `json:"value"`
}
GlobalStatItemInfo Global stat item info
swagger:model Global stat item info.
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 Global stat item paging sliced result.
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 {
// maxslotsize
// Format: int32
MaxSlotSize int32 `json:"maxSlotSize,omitempty"`
// maxslots
// Format: int32
MaxSlots int32 `json:"maxSlots,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
}
NamespaceSlotConfigInfo Namespace slot config info
swagger:model Namespace slot config info.
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 Permission ¶ added in v0.72.0
type Permission struct {
// action
// Format: int32
Action int32 `json:"action,omitempty"`
// resource
Resource string `json:"resource,omitempty"`
}
Permission Permission
swagger:model Permission.
func (*Permission) MarshalBinary ¶ added in v0.72.0
func (m *Permission) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Permission) UnmarshalBinary ¶ added in v0.72.0
func (m *Permission) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SlotConfigUpdate ¶
type SlotConfigUpdate struct {
// maxslotsize
// Format: int32
MaxSlotSize int32 `json:"maxSlotSize,omitempty"`
// maxslots
// Format: int32
MaxSlots int32 `json:"maxSlots,omitempty"`
}
SlotConfigUpdate Slot config update
swagger:model Slot config update.
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"`
// customattribute
CustomAttribute string `json:"customAttribute,omitempty"`
// dateaccessed
// Format: date-time
DateAccessed *strfmt.DateTime `json:"dateAccessed,omitempty"`
// datecreated
// Format: date-time
DateCreated *strfmt.DateTime `json:"dateCreated,omitempty"`
// datemodified
// Format: date-time
DateModified *strfmt.DateTime `json:"dateModified,omitempty"`
// label
Label string `json:"label,omitempty"`
// mimetype
MimeType string `json:"mimeType,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// originalname
OriginalName string `json:"originalName,omitempty"`
// size
// Format: int64
Size int64 `json:"size,omitempty"`
// slotid
SlotID string `json:"slotId,omitempty"`
// storedname
StoredName string `json:"storedName,omitempty"`
// tags
Tags []string `json:"tags,omitempty"`
// userid
UserID string `json:"userId,omitempty"`
}
SlotInfo Slot info
swagger:model Slot info.
func (*SlotInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*SlotInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SlotMetadataUpdate ¶
type SlotMetadataUpdate struct {
// customattribute
CustomAttribute string `json:"customAttribute,omitempty"`
// label
Label string `json:"label,omitempty"`
// tags
Tags []string `json:"tags,omitempty"`
}
SlotMetadataUpdate Slot metadata update
swagger:model Slot metadata update.
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 {
// The field used to define cap behavior of stat cycle min/max override. If set to false, all stat cycle and stat item will continue as is if one stat cycle is capped on its min/max. If set to true, all stat cycle and stat item cannot continue if one of stat cycle is capped on its min/max
CapCycleOverride bool `json:"capCycleOverride"`
// cycleids
// Unique: true
CycleIds []string `json:"cycleIds"`
// cycleoverrides
// Unique: true
CycleOverrides []*CycleOverrideRequest `json:"cycleOverrides"`
// defaultvalue
// Required: true
// Format: double
DefaultValue *float64 `json:"defaultValue"`
// description
Description string `json:"description,omitempty"`
// The aggregation method for global stat, default TOTAL
// Enum: ['LAST', 'MAX', 'MIN', 'TOTAL']
GlobalAggregationMethod string `json:"globalAggregationMethod,omitempty"`
// ignoreadditionaldataonvaluerejected
IgnoreAdditionalDataOnValueRejected bool `json:"ignoreAdditionalDataOnValueRejected"`
// incrementonly
IncrementOnly bool `json:"incrementOnly"`
// ispublic
IsPublic bool `json:"isPublic"`
// default value is 1.7976931348623157e+308
// Format: double
Maximum float64 `json:"maximum,omitempty"`
// default value is 0.0
// Format: double
Minimum float64 `json:"minimum,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// setasglobal
SetAsGlobal bool `json:"setAsGlobal"`
// setby
// Enum: ['CLIENT', 'SERVER']
// Required: true
SetBy *string `json:"setBy"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
// tags
// Unique: true
Tags []string `json:"tags"`
// The visibility for a stat, the default SHOWALL
// Enum: ['SERVERONLY', 'SHOWALL']
Visibility string `json:"visibility,omitempty"`
}
StatCreate Stat create
swagger:model Stat create.
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 StatCycleCreate ¶ added in v0.39.0
type StatCycleCreate struct {
// Cycle Type
// Enum: ['ANNUALLY', 'DAILY', 'MONTHLY', 'SEASONAL', 'WEEKLY']
// Required: true
CycleType *string `json:"cycleType"`
// description
Description string `json:"description,omitempty"`
// end date time
// Format: date-time
End *strfmt.DateTime `json:"end,omitempty"`
// cycle id
ID string `json:"id,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// reset date
// Format: int32
ResetDate int32 `json:"resetDate,omitempty"`
// reset day of week
// Format: int32
ResetDay int32 `json:"resetDay,omitempty"`
// reset month
// Format: int32
ResetMonth int32 `json:"resetMonth,omitempty"`
// resettime
// Required: true
ResetTime *string `json:"resetTime"`
// season period
// Format: int32
SeasonPeriod int32 `json:"seasonPeriod,omitempty"`
// start date time
// Required: true
// Format: date-time
Start strfmt.DateTime `json:"start"`
}
StatCycleCreate Stat cycle create
swagger:model Stat cycle create.
func (*StatCycleCreate) MarshalBinary ¶ added in v0.39.0
func (m *StatCycleCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatCycleCreate) UnmarshalBinary ¶ added in v0.39.0
func (m *StatCycleCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatCycleInfo ¶ added in v0.39.0
type StatCycleInfo struct {
// createdat
// Required: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// currentversion
// Required: true
// Format: int32
CurrentVersion *int32 `json:"currentVersion"`
// cycletype
// Enum: ['ANNUALLY', 'DAILY', 'MONTHLY', 'SEASONAL', 'WEEKLY']
// Required: true
CycleType *string `json:"cycleType"`
// description
Description string `json:"description,omitempty"`
// end
// Format: date-time
End *strfmt.DateTime `json:"end,omitempty"`
// id
// Required: true
ID *string `json:"id"`
// name
// Required: true
Name *string `json:"name"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// nextreset
// Format: date-time
NextReset *strfmt.DateTime `json:"nextReset,omitempty"`
// resetdate
// Format: int32
ResetDate int32 `json:"resetDate,omitempty"`
// resetday
// Format: int32
ResetDay int32 `json:"resetDay,omitempty"`
// resetmonth
// Format: int32
ResetMonth int32 `json:"resetMonth,omitempty"`
// resettime
// Required: true
ResetTime *string `json:"resetTime"`
// seasonperiod
// Format: int32
SeasonPeriod int32 `json:"seasonPeriod,omitempty"`
// start
// Required: true
// Format: date-time
Start strfmt.DateTime `json:"start"`
// status
// Enum: ['ACTIVE', 'INIT', 'STOPPED']
// Required: true
Status *string `json:"status"`
// updatedat
// Required: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
}
StatCycleInfo Stat cycle info
swagger:model Stat cycle info.
func (*StatCycleInfo) MarshalBinary ¶ added in v0.39.0
func (m *StatCycleInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatCycleInfo) UnmarshalBinary ¶ added in v0.39.0
func (m *StatCycleInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatCyclePagingSlicedResult ¶ added in v0.39.0
type StatCyclePagingSlicedResult struct {
// data
// Required: true
Data []*StatCycleInfo `json:"data"`
// paging
Paging *Paging `json:"paging,omitempty"`
}
StatCyclePagingSlicedResult Stat cycle paging sliced result
swagger:model Stat cycle paging sliced result.
func (*StatCyclePagingSlicedResult) MarshalBinary ¶ added in v0.39.0
func (m *StatCyclePagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatCyclePagingSlicedResult) UnmarshalBinary ¶ added in v0.39.0
func (m *StatCyclePagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatCycleUpdate ¶ added in v0.39.0
type StatCycleUpdate struct {
// Cycle Type
// Enum: ['ANNUALLY', 'DAILY', 'MONTHLY', 'SEASONAL', 'WEEKLY']
// Required: true
CycleType *string `json:"cycleType"`
// description
Description string `json:"description,omitempty"`
// end date time
// Format: date-time
End *strfmt.DateTime `json:"end,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// reset date
// Format: int32
ResetDate int32 `json:"resetDate,omitempty"`
// reset day of week
// Format: int32
ResetDay int32 `json:"resetDay,omitempty"`
// reset month
// Format: int32
ResetMonth int32 `json:"resetMonth,omitempty"`
// resettime
// Required: true
ResetTime *string `json:"resetTime"`
// season period
// Format: int32
SeasonPeriod int32 `json:"seasonPeriod,omitempty"`
// start date time
// Required: true
// Format: date-time
Start strfmt.DateTime `json:"start"`
}
StatCycleUpdate Stat cycle update
swagger:model Stat cycle update.
func (*StatCycleUpdate) MarshalBinary ¶ added in v0.39.0
func (m *StatCycleUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatCycleUpdate) UnmarshalBinary ¶ added in v0.39.0
func (m *StatCycleUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatImportInfo ¶
type StatImportInfo 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"`
}
StatImportInfo Stat import info
swagger:model Stat import info.
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 {
// capcycleoverride
CapCycleOverride bool `json:"capCycleOverride"`
// createdat
// Required: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// cycleids
// Unique: true
CycleIds []string `json:"cycleIds"`
// cycleoverrides
// Unique: true
CycleOverrides []*CycleOverride `json:"cycleOverrides"`
// defaultvalue
// Required: true
// Format: double
DefaultValue *float64 `json:"defaultValue"`
// description
Description string `json:"description,omitempty"`
// globalaggregationmethod
// Enum: ['LAST', 'MAX', 'MIN', 'TOTAL']
GlobalAggregationMethod string `json:"globalAggregationMethod,omitempty"`
// ignoreadditionaldataonvaluerejected
// Required: true
IgnoreAdditionalDataOnValueRejected *bool `json:"ignoreAdditionalDataOnValueRejected"`
// incrementonly
// Required: true
IncrementOnly *bool `json:"incrementOnly"`
// ispublic
// Required: true
IsPublic *bool `json:"isPublic"`
// maximum
// Format: double
Maximum float64 `json:"maximum,omitempty"`
// minimum
// Format: double
Minimum float64 `json:"minimum,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// setasglobal
// Required: true
SetAsGlobal *bool `json:"setAsGlobal"`
// setby
// Enum: ['CLIENT', 'SERVER']
// Required: true
SetBy *string `json:"setBy"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
// status
// Enum: ['INIT', 'TIED']
// Required: true
Status *string `json:"status"`
// tags
// Unique: true
Tags []string `json:"tags"`
// updatedat
// Required: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
// visibility
// Enum: ['SERVERONLY', 'SHOWALL']
Visibility string `json:"visibility,omitempty"`
}
StatInfo Stat info
swagger:model Stat info.
func (*StatInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*StatInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type StatItemInc ¶
type StatItemInc struct {
// inc
// Format: double
Inc float64 `json:"inc,omitempty"`
}
StatItemInc Stat item inc
swagger:model Stat item inc.
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 {
// currentvalue
// Required: true
// Format: double
CurrentValue *float64 `json:"currentValue"`
}
StatItemIncResult Stat item inc result
swagger:model Stat item inc result.
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 interface{} `json:"additionalData,omitempty"`
// updatestrategy
// Enum: ['INCREMENT', 'MAX', 'MIN', 'OVERRIDE']
// Required: true
UpdateStrategy *string `json:"updateStrategy"`
// value
// Required: true
// Format: double
Value *float64 `json:"value"`
}
StatItemUpdate Stat item update
swagger:model Stat item update.
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 StatItemValue ¶ added in v0.57.0
type StatItemValue struct {
// created at
// Format: date-time
CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`
// updated at
// Format: date-time
UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
// user id
UserID string `json:"userId,omitempty"`
// current value
// Format: double
Value float64 `json:"value,omitempty"`
}
StatItemValue Stat item value
swagger:model Stat item value.
func (*StatItemValue) MarshalBinary ¶ added in v0.57.0
func (m *StatItemValue) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatItemValue) UnmarshalBinary ¶ added in v0.57.0
func (m *StatItemValue) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatItemValuePagingSlicedResult ¶ added in v0.57.0
type StatItemValuePagingSlicedResult struct {
// data
// Required: true
Data []*StatItemValue `json:"data"`
// paging
Paging *Paging `json:"paging,omitempty"`
}
StatItemValuePagingSlicedResult Stat item value paging sliced result
swagger:model Stat item value paging sliced result.
func (*StatItemValuePagingSlicedResult) MarshalBinary ¶ added in v0.57.0
func (m *StatItemValuePagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatItemValuePagingSlicedResult) UnmarshalBinary ¶ added in v0.57.0
func (m *StatItemValuePagingSlicedResult) 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 Stat paging sliced result.
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 interface{} `json:"additionalData,omitempty"`
}
StatResetInfo Stat reset info
swagger:model Stat reset info.
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 {
// The field used to define cap behavior of stat cycle min/max override. If set to false, all stat cycle and stat item will continue as is if one stat cycle is capped on its min/max. If set to true, all stat cycle and stat item cannot continue if one of stat cycle is capped on its min/max
CapCycleOverride bool `json:"capCycleOverride"`
// cycleids
// Unique: true
CycleIds []string `json:"cycleIds"`
// cycleoverrides
// Unique: true
CycleOverrides []*CycleOverrideRequest `json:"cycleOverrides"`
// defaultvalue
// Format: double
DefaultValue float64 `json:"defaultValue,omitempty"`
// description
Description string `json:"description,omitempty"`
// globalaggregationmethod
// Enum: ['LAST', 'MAX', 'MIN', 'TOTAL']
GlobalAggregationMethod string `json:"globalAggregationMethod,omitempty"`
// ignoreadditionaldataonvaluerejected
IgnoreAdditionalDataOnValueRejected bool `json:"ignoreAdditionalDataOnValueRejected"`
// ispublic
IsPublic bool `json:"isPublic"`
// name
Name string `json:"name,omitempty"`
// tags
// Unique: true
Tags []string `json:"tags"`
// visibility
// Enum: ['SERVERONLY', 'SHOWALL']
Visibility string `json:"visibility,omitempty"`
}
StatUpdate Stat update
swagger:model Stat update.
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 {
// gameprofiles
GameProfiles []*GameProfilePublicInfo `json:"gameProfiles,omitempty"`
// userid
UserID string `json:"userId,omitempty"`
}
UserGameProfiles User game profiles
swagger:model User game profiles.
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 {
// maxslotsize
// Format: int32
MaxSlotSize int32 `json:"maxSlotSize,omitempty"`
// maxslots
// Format: int32
MaxSlots int32 `json:"maxSlots,omitempty"`
// namespace
Namespace string `json:"namespace,omitempty"`
// userid
UserID string `json:"userId,omitempty"`
}
UserSlotConfigInfo User slot config info
swagger:model User slot config info.
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 UserStatCycleItemInfo ¶ added in v0.40.0
type UserStatCycleItemInfo struct {
// additionaldata
AdditionalData interface{} `json:"additionalData,omitempty"`
// createdat
// Required: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// cycleid
// Required: true
CycleID *string `json:"cycleId"`
// cyclename
// Required: true
CycleName *string `json:"cycleName"`
// cycleversion
// Required: true
// Format: int32
CycleVersion *int32 `json:"cycleVersion"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
// statname
// Required: true
StatName *string `json:"statName"`
// tags
// Unique: true
Tags []string `json:"tags"`
// updatedat
// Required: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
// userid
// Required: true
UserID *string `json:"userId"`
// value
// Required: true
// Format: double
Value *float64 `json:"value"`
}
UserStatCycleItemInfo User stat cycle item info
swagger:model User stat cycle item info.
func (*UserStatCycleItemInfo) MarshalBinary ¶ added in v0.40.0
func (m *UserStatCycleItemInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserStatCycleItemInfo) UnmarshalBinary ¶ added in v0.40.0
func (m *UserStatCycleItemInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserStatCycleItemPagingSlicedResult ¶ added in v0.40.0
type UserStatCycleItemPagingSlicedResult struct {
// data
// Required: true
Data []*UserStatCycleItemInfo `json:"data"`
// paging
Paging *Paging `json:"paging,omitempty"`
}
UserStatCycleItemPagingSlicedResult User stat cycle item paging sliced result
swagger:model User stat cycle item paging sliced result.
func (*UserStatCycleItemPagingSlicedResult) MarshalBinary ¶ added in v0.40.0
func (m *UserStatCycleItemPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserStatCycleItemPagingSlicedResult) UnmarshalBinary ¶ added in v0.40.0
func (m *UserStatCycleItemPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserStatItemInfo ¶
type UserStatItemInfo struct {
// additionaldata
AdditionalData interface{} `json:"additionalData,omitempty"`
// createdat
// Required: true
// Format: date-time
CreatedAt strfmt.DateTime `json:"createdAt"`
// namespace
// Required: true
Namespace *string `json:"namespace"`
// statcode
// Required: true
StatCode *string `json:"statCode"`
// statname
// Required: true
StatName *string `json:"statName"`
// tags
// Unique: true
Tags []string `json:"tags"`
// updatedat
// Required: true
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updatedAt"`
// userid
// Required: true
UserID *string `json:"userId"`
// value
// Required: true
// Format: double
Value *float64 `json:"value"`
}
UserStatItemInfo User stat item info
swagger:model User stat item info.
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 User stat item paging sliced result.
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
// Format: int32
ErrorCode *int32 `json:"errorCode"`
// error message
// Required: true
ErrorMessage *string `json:"errorMessage"`
// errors
Errors []*FieldValidationError `json:"errors,omitempty"`
}
ValidationErrorEntity Validation error entity
swagger:model Validation error entity.
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_dto_object_for_resetting_user_stat_items.go
- a_dto_object_for_user_stat_item_value.go
- attribute.go
- bulk_cycle_stats_add.go
- bulk_stat_cycle_operation_result.go
- bulk_stat_cycle_request.go
- bulk_stat_cycle_result.go
- bulk_stat_item_create.go
- bulk_stat_item_inc.go
- bulk_stat_item_reset.go
- bulk_stat_item_update.go
- bulk_stat_operation_result.go
- bulk_user_stat_item_by_stat_codes.go
- bulk_user_stat_item_inc.go
- bulk_user_stat_item_reset.go
- bulk_user_stat_item_update.go
- cycle_override.go
- cycle_override_request.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
- permission.go
- slot_config_update.go
- slot_info.go
- slot_metadata_update.go
- stat_create.go
- stat_cycle_create.go
- stat_cycle_info.go
- stat_cycle_paging_sliced_result.go
- stat_cycle_update.go
- stat_import_info.go
- stat_info.go
- stat_item_inc.go
- stat_item_inc_result.go
- stat_item_update.go
- stat_item_value.go
- stat_item_value_paging_sliced_result.go
- stat_paging_sliced_result.go
- stat_reset_info.go
- stat_update.go
- user_game_profiles.go
- user_slot_config_info.go
- user_stat_cycle_item_info.go
- user_stat_cycle_item_paging_sliced_result.go
- user_stat_item_info.go
- user_stat_item_paging_sliced_result.go
- validation_error_entity.go