MetadataMetamodelPrimitiveValue

The PrimitiveValue structure contains value of the constant element.


Properties

Required Property Name Type Description
optional boolean_value boolean

Boolean value of the constant. This field is optional and it is only relevant when the value of PrimitiveValue.type is BOOLEAN.

optional double_value number

Double value of the constant. This field is optional and it is only relevant when the value of PrimitiveValue.type is DOUBLE.

optional long_value integer

Long value of the constant. This field is optional and it is only relevant when the value of PrimitiveValue.type is LONG.

optional string_value string

String value of the constant. This field is optional and it is only relevant when the value of PrimitiveValue.type is STRING.

required type MetadataMetamodelPrimitiveValueType Enum

Type of the constant value.

JSON Example

{
    "type": "enum"
}
Feedback

Was this page helpful?