CreateLanguageModelResponse.fromJson constructor
CreateLanguageModelResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CreateLanguageModelResponse.fromJson(Map<String, dynamic> json) {
return CreateLanguageModelResponse(
baseModelName: (json['BaseModelName'] as String?)?.toBaseModelName(),
inputDataConfig: json['InputDataConfig'] != null
? InputDataConfig.fromJson(
json['InputDataConfig'] as Map<String, dynamic>)
: null,
languageCode: (json['LanguageCode'] as String?)?.toCLMLanguageCode(),
modelName: json['ModelName'] as String?,
modelStatus: (json['ModelStatus'] as String?)?.toModelStatus(),
);
}