Return all types directly or transitively referenced by this type.
Return all types directly or transitively referenced by this type.
All types that should be generated as types inside this type.
All types that should be generated as types inside this type.
The pegasus "data" type.
The pegasus "data" type.
This if sometimes the same as scalaType. It will be different for custom type and for primitive types.
For custom types, it will be the referenced type.
For primitives, this will be the java boxed type, e.g. java.lang.Integer
whereas the
scalaType would be Int
.
Is is possible for a type to be deprecated but have not deprecation message, so even if this is None, isDeprecated still might be true.
Is is possible for a type to be deprecated but have not deprecation message, so even if this is None, isDeprecated still might be true.
Return types this type references.
Return types this type references. For a record, this will return the types of all the fields. For a array, this will return the items type.
The containing type of this type, if any.
The containing type of this type, if any.
When a type is contained in another type, it should be generated as a subtype of that type.
Unions are commonly generated as contained types.
Because the scalaType is not the same as the enumeration object name, we have separate fields for the enumeration object name.
The name that should be given to any Union member wrappers of this type.
The name that should be given to any Union member wrappers of this type.
The namespace of the scala type, if any.
The namespace of the scala type, if any.
Only present for complex types.
The raw pegasus "data" type that is stored in the underlying DataMap or DataList.
The raw pegasus "data" type that is stored in the underlying DataMap or DataList.
For custom types, this is the raw type of fully dereferenced type.
For primitives, this is the java boxed type, e.g. java.lang.Integer
.
For complex types, this is the raw, type, e.g. DataMap for records, DataList for arrays.
The scaladoc for the entire enumeration.
The scaladoc for the entire enumeration.
The scala Generic collection type that corresponds to the type.
The scala Generic collection type that corresponds to the type. This is the same as
scalaTypeFullname for all types except maps and arrays, which are represented by
Map[K, V]
and Traversable[I]
instead of by their pegasus generated binding types.
The enumeration's type.
The enumeration's type.
The fully qualified name of the scala type.
The fully qualified name of the scala type.
The schema of the type.
The schema of the type. Not present for definitions of "raw" classes, such as the 'coercer' and 'class' of a custom type.
For enumerations, each symbol may have it's own documentation, this is provided as map from symbol name to documentation string.
Enumeration symbol strings, not including UNKNOWN
.