CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpec.fromMap constructor

CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpec.fromMap(
  1. Map<String, dynamic> map
)

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()); })(),
  );
}