EntityInfo interface
Propiedades
| child |
|
| comment | |
| defined |
|
| description | |
| display |
|
| dtdl |
|
| entity |
|
| id | |
| language |
|
| supplemental |
|
| supplemental |
|
| supplemental |
|
| undefined |
|
| undefined |
Métodos
| validate |
Detalles de las propiedades
childOf
childOf: undefined | string
Valor de propiedad
undefined | string
comment
comment?: string
Valor de propiedad
string
definedIn
definedIn: undefined | string
Valor de propiedad
undefined | string
description
displayName
dtdlVersion
dtdlVersion: number
Valor de propiedad
number
entityKind
entityKind: "string" | "boolean" | "object" | "array" | "command" | "commandpayload" | "commandrequest" | "commandresponse" | "commandtype" | "enum" | "map" | "component" | "property" | "relationship" | "telemetry" | "date" | "datetime" | "double" | "duration" | "enumvalue" | "field" | "float" | "integer" | "interface" | "long" | "mapkey" | "mapvalue" | "time" | "unit" | "unitattribute" | "latenttype" | "namedlatenttype" | "reference"
Valor de propiedad
"string" | "boolean" | "object" | "array" | "command" | "commandpayload" | "commandrequest" | "commandresponse" | "commandtype" | "enum" | "map" | "component" | "property" | "relationship" | "telemetry" | "date" | "datetime" | "double" | "duration" | "enumvalue" | "field" | "float" | "integer" | "interface" | "long" | "mapkey" | "mapvalue" | "time" | "unit" | "unitattribute" | "latenttype" | "namedlatenttype" | "reference"
id
id: string
Valor de propiedad
string
languageVersion
languageVersion?: number
Valor de propiedad
number
supplementalProperties
supplementalProperties: {[x: string]: any}
Valor de propiedad
{[x: string]: any}
supplementalTypeIds
supplementalTypeIds: string[]
Valor de propiedad
string[]
supplementalTypes
undefinedProperties
undefinedProperties: {[name: string]: any}
Valor de propiedad
{[name: string]: any}
undefinedTypes
undefinedTypes: string[]
Valor de propiedad
string[]
Detalles del método
validateInstance(string)
function validateInstance(instanceText: string): boolean
Parámetros
- instanceText
-
string
Devoluciones
boolean