CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpec.fromMap constructor
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpec.fromMap()
Implementation
factory CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpec.fromMap(Map<String, dynamic> map) {
return CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpec(
fields: pulumi.Input.fromValue(pulumi.Input.decodeList<CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecField>(map['fields']!, (value) => CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecField.fromMap((value as Map).cast<String, dynamic>()))),
specId: (() { final guardedValue = map['specId']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
);
}