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 as double
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 as int64
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.

Possible values are: BOOLEANDOUBLELONGSTRING

JSON Example

{
    "type": "enum"
}
Feedback

Was this page helpful?