CatalogTableOpenTableFormatInputIcebergInputIcebergTableInput.fromMap constructor

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

Implementation

factory CatalogTableOpenTableFormatInputIcebergInputIcebergTableInput.fromMap(Map<String, dynamic> map) {
  return CatalogTableOpenTableFormatInputIcebergInputIcebergTableInput(
    location: pulumi.Input.fromValue(map['location'] as String),
    partitionSpec: (() { final guardedValue = map['partitionSpec']; if (guardedValue == null) return null; return pulumi.Input.fromValue(CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpec.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    properties: (() { final guardedValue = map['properties']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as Map).cast<String, String>()); })(),
    schema: pulumi.Input.fromValue(CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchema.fromMap((map['schema']! as Map).cast<String, dynamic>())),
    sortOrder: (() { final guardedValue = map['sortOrder']; if (guardedValue == null) return null; return pulumi.Input.fromValue(CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrder.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
  );
}