DescribeConfigurationResponse.fromJson constructor
DescribeConfigurationResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeConfigurationResponse.fromJson(Map<String, dynamic> json) {
return DescribeConfigurationResponse(
arn: json['arn'] as String?,
authenticationStrategy: (json['authenticationStrategy'] as String?)
?.toAuthenticationStrategy(),
created: timeStampFromJson(json['created']),
description: json['description'] as String?,
engineType: (json['engineType'] as String?)?.toEngineType(),
engineVersion: json['engineVersion'] as String?,
id: json['id'] as String?,
latestRevision: json['latestRevision'] != null
? ConfigurationRevision.fromJson(
json['latestRevision'] as Map<String, dynamic>)
: null,
name: json['name'] as String?,
tags: (json['tags'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}