FieldDescriptor
data class FieldDescriptor(val path: String, val role: String?, val types: Set<QueryValueType>, val kind: QueryValueKind, val nullable: Boolean, val semantic: QuerySemanticType?, val enum: List<EnumValueDescriptor>?, val description: String?, val sensitivity: SensitivityDescriptor?, val project: Boolean, val filter: FieldFilterDescriptor, val sort: FieldSortDescriptor, val aggregate: FieldAggregateDescriptor?, val scope: String?, val deprecated: QueryDeprecation? = null, val aliases: List<String> = emptyList())
Constructors
Link copied to clipboard
constructor(path: String, role: String?, types: Set<QueryValueType>, kind: QueryValueKind, nullable: Boolean, semantic: QuerySemanticType?, enum: List<EnumValueDescriptor>?, description: String?, sensitivity: SensitivityDescriptor?, project: Boolean, filter: FieldFilterDescriptor, sort: FieldSortDescriptor, aggregate: FieldAggregateDescriptor?, scope: String?, deprecated: QueryDeprecation? = null, aliases: List<String> = emptyList())
Properties
Link copied to clipboard
null when the field cannot be aggregated at all.
Link copied to clipboard
Set when the field is deprecated: still queryable, but new queries should avoid it.
Link copied to clipboard
Link copied to clipboard
Declared values; never listed for protected fields.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The system role of a system field: a system-field filter target (SystemField, e.g. TENANT_ID), or one of the model's times (EVENT_TIME, FIRST_EVENT_TIME); null for ordinary fields.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard