GetModelsModelSummary.fromMap constructor

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

Implementation

factory GetModelsModelSummary.fromMap(Map<String, dynamic> map) {
  return GetModelsModelSummary(
    customizationsSupporteds: pulumi.Input.fromValue((map['customizationsSupporteds'] as List).cast<String>()),
    inferenceTypesSupporteds: pulumi.Input.fromValue((map['inferenceTypesSupporteds'] as List).cast<String>()),
    inputModalities: pulumi.Input.fromValue((map['inputModalities'] as List).cast<String>()),
    modelArn: pulumi.Input.fromValue(map['modelArn'] as String),
    modelId: pulumi.Input.fromValue(map['modelId'] as String),
    modelName: pulumi.Input.fromValue(map['modelName'] as String),
    outputModalities: pulumi.Input.fromValue((map['outputModalities'] as List).cast<String>()),
    providerName: pulumi.Input.fromValue(map['providerName'] as String),
    responseStreamingSupported: pulumi.Input.fromValue(map['responseStreamingSupported'] as bool),
  );
}