CollectionEnumFieldType


Constructors

new CollectionEnumFieldType()

new CollectionEnumFieldType(collectionId): CollectionEnumFieldType

Parameters

ParameterType
collectionIdstring

Returns

CollectionEnumFieldType


Properties

collectionId

readonly collectionId: string;

PRIMARY_KEY

static readonly PRIMARY_KEY: Id = CollectionEnumFieldNames.Id;

Specifies which groovy field name is used as the primary key.

This should be kept in sync with GroovyFieldNames in FieldType.scala


Methods

toJSON()

toJSON(): SerializedCollectionEnumFieldType

Returns

SerializedCollectionEnumFieldType