CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchema.fromMap constructor
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchema.fromMap()
Implementation
factory CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchema.fromMap(Map<String, dynamic> map) {
return CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchema(
fields: pulumi.Input.fromValue(pulumi.Input.decodeList<CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaField>(map['fields']!, (value) => CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaField.fromMap((value as Map).cast<String, dynamic>()))),
identifierFieldIds: (() { final guardedValue = map['identifierFieldIds']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<int>()); })(),
schemaId: (() { final guardedValue = map['schemaId']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
type: (() { final guardedValue = map['type']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}