MmResourceOverrides class
Output of the Magic Modules YAML parser.
Only the fields we currently consume are populated:
forceNew(fromimmutable: true)regex,minLength,maxLength(fromvalidation)enumValues(fromenum_values)deprecationMessage(fromdeprecation_message)
Constructors
-
MmResourceOverrides({required Map<
String, Constraints> fieldOverrides, String? description, String? product, List<List< exactlyOneOfGroups = const []})String> > -
const
Properties
- description → String?
-
Top-level YAML
description, if any.final -
exactlyOneOfGroups
→ List<
List< String> > -
exactly_one_ofgroups (top-level + nested merged into one flat list). Each inner list is one mutually-exclusive set of property names, recorded in snake_case Terraform path form (e.g.'foo.foo_a'for a nested group). Consumed byterradart wrap-promoteto generate sealed-class skeletons in the prelude block.final -
fieldOverrides
→ Map<
String, Constraints> -
Keyed by Terraform snake_case path: a flat field is
'name', a nested field is'schema_settings.encoding'. Each value carries only the constraint bits MM YAML actually contributes.final - hashCode → int
-
The hash code for this object.
no setterinherited
- product → String?
-
Top-level YAML
productfield, if any. Used byterradart wrap-initto deriveoutputDirdefaults from the Magic Modules product folder.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited