socialclientmodels

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: 6 Imported by: 1

Documentation

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
const (

	// StatCreateSetByCLIENT captures enum value "CLIENT"
	StatCreateSetByCLIENT string = "CLIENT"

	// StatCreateSetBySERVER captures enum value "SERVER"
	StatCreateSetBySERVER string = "SERVER"
)
View Source
const (

	// StatInfoSetByCLIENT captures enum value "CLIENT"
	StatInfoSetByCLIENT string = "CLIENT"

	// StatInfoSetBySERVER captures enum value "SERVER"
	StatInfoSetBySERVER string = "SERVER"
)
View Source
const (

	// StatInfoStatusINIT captures enum value "INIT"
	StatInfoStatusINIT string = "INIT"

	// StatInfoStatusTIED captures enum value "TIED"
	StatInfoStatusTIED string = "TIED"
)
View Source
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

func (*ADTOObjectForResettingUserStatItems) Validate added in v0.12.0

Validate validates this a d t o object for resetting user stat items

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

func (*ADTOObjectForUserStatItemValue) Validate added in v0.18.0

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

Validate validates this a d t o object for user stat item value

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

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

MarshalBinary interface implementation

func (*Attribute) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Attribute) Validate

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

Validate validates this attribute

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

func (*BulkStatItemCreate) Validate

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

Validate validates this bulk stat item create

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

func (*BulkStatItemInc) Validate

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

Validate validates this bulk stat item inc

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

func (*BulkStatItemOperationResult) Validate

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

Validate validates this bulk stat item operation result

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

func (*BulkStatItemReset) Validate

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

Validate validates this bulk stat item reset

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

func (*BulkStatItemUpdate) Validate

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

Validate validates this bulk stat item update

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

func (*BulkUserStatItemInc) Validate

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

Validate validates this bulk user stat item inc

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

func (*BulkUserStatItemReset) Validate

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

Validate validates this bulk user stat item reset

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

func (*BulkUserStatItemUpdate) Validate

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

Validate validates this bulk user stat item update

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

func (*ErrorEntity) Validate

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

Validate validates this error entity

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

func (*FieldValidationError) Validate

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

Validate validates this field validation error

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

func (*GameProfileHeader) Validate

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

Validate validates this game profile header

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

func (*GameProfileInfo) Validate

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

Validate validates this game profile info

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

func (*GameProfilePublicInfo) Validate

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

Validate validates this game profile public info

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

func (*GameProfileRequest) Validate

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

Validate validates this game profile request

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

func (*GlobalStatItemInfo) Validate

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

Validate validates this global stat item info

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

func (*GlobalStatItemPagingSlicedResult) Validate

Validate validates this global stat item paging sliced result

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

func (*NamespaceSlotConfigInfo) Validate

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

Validate validates this namespace slot config info

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

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

MarshalBinary interface implementation

func (*Paging) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Paging) Validate

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

Validate validates this paging

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

func (*SlotConfigUpdate) Validate

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

Validate validates this slot config update

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

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

MarshalBinary interface implementation

func (*SlotInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SlotInfo) Validate

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

Validate validates this slot info

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

func (*SlotMetadataUpdate) Validate

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

Validate validates this slot metadata update

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

func (*StatCreate) Validate

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

Validate validates this stat create

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

func (*StatImportInfo) Validate

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

Validate validates this stat import info

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

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

MarshalBinary interface implementation

func (*StatInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatInfo) Validate

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

Validate validates this stat info

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

func (*StatItemInc) Validate

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

Validate validates this stat item inc

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

func (*StatItemIncResult) Validate

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

Validate validates this stat item inc result

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

func (*StatItemUpdate) Validate

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

Validate validates this stat item update

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

func (*StatPagingSlicedResult) Validate

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

Validate validates this stat paging sliced result

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

func (*StatResetInfo) Validate added in v0.2.0

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

Validate validates this stat reset info

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

func (*StatUpdate) Validate

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

Validate validates this stat update

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

func (*UserGameProfiles) Validate

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

Validate validates this user game profiles

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

func (*UserSlotConfigInfo) Validate

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

Validate validates this user slot config info

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

func (*UserStatItemInfo) Validate

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

Validate validates this user stat item info

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

func (*UserStatItemPagingSlicedResult) Validate

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

Validate validates this user stat item paging sliced result

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

func (*ValidationErrorEntity) Validate

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

Validate validates this validation error entity

Jump to

Keyboard shortcuts

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