MetadataMetamodelPrimitiveValue

The PrimitiveValue structure contains value of the constant element.


Properties

boolean
boolean_value Optional

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


number
double_value Optional

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


integer
long_value Optional

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


string
string_value Optional

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


type Required

Type of the constant value.

JSON Example

{
    "type": "enum"
}
Feedback

Was this page helpful?