Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct { Name string `json:"name"` DisplayName string `json:"displayName"` EntityType string `json:"type"` Metadata Map `json:"metadata"` }
Metadata stores entity Metadata. Serialized as "entity"
func (*Metadata) AddMetadata ¶
AddMetadata adds a generic metadata to the entity
func (*Metadata) GetMetadata ¶
GetMetadata gets a specific metadata from the metadata section of an entity
Click to show internal directories.
Click to hide internal directories.