ServiceNowConfiguration.fromJson constructor
ServiceNowConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ServiceNowConfiguration.fromJson(Map<String, dynamic> json) {
return ServiceNowConfiguration(
hostUrl: json['HostUrl'] as String,
secretArn: json['SecretArn'] as String,
serviceNowBuildVersion: (json['ServiceNowBuildVersion'] as String)
.toServiceNowBuildVersionType(),
knowledgeArticleConfiguration:
json['KnowledgeArticleConfiguration'] != null
? ServiceNowKnowledgeArticleConfiguration.fromJson(
json['KnowledgeArticleConfiguration'] as Map<String, dynamic>)
: null,
serviceCatalogConfiguration: json['ServiceCatalogConfiguration'] != null
? ServiceNowServiceCatalogConfiguration.fromJson(
json['ServiceCatalogConfiguration'] as Map<String, dynamic>)
: null,
);
}