CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecField.fromMap constructor
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecField.fromMap()
Implementation
factory CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecField.fromMap(Map<String, dynamic> map) {
return CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecField(
fieldId: (() { final guardedValue = map['fieldId']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
name: pulumi.Input.fromValue(map['name'] as String),
sourceId: pulumi.Input.fromValue((map['sourceId'] as num).toInt()),
transform: pulumi.Input.fromValue(map['transform'] as String),
);
}