Abstract
The base component builder that contains common symbols for all sorts of components.
Implements
JSONEncodable<Component>Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
Component | APIBaseComponent<ComponentType> | No | The type of API data that is stored within the builder |
ProtectedAbstractReadonly
Clears the id of this component, defaulting to a default incremented id.
Sets the id of this component.
Name | Type | Optional | Description |
---|---|---|---|
id | number | No | The id to use |
Serializes this builder to API-compatible JSON data.Note that by disabling validation, there is no guarantee that the resulting object will be valid.
Name | Type | Optional | Description |
---|---|---|---|
validationOverride | boolean | Yes | Force validation to run/not run regardless of your global preference |