OwnerDirectoryDescription.fromJson constructor
OwnerDirectoryDescription.fromJson(
- Map<String, dynamic> json
)
Implementation
factory OwnerDirectoryDescription.fromJson(Map<String, dynamic> json) {
return OwnerDirectoryDescription(
accountId: json['AccountId'] as String?,
directoryId: json['DirectoryId'] as String?,
dnsIpAddrs: (json['DnsIpAddrs'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
radiusSettings: json['RadiusSettings'] != null
? RadiusSettings.fromJson(
json['RadiusSettings'] as Map<String, dynamic>)
: null,
radiusStatus: (json['RadiusStatus'] as String?)?.toRadiusStatus(),
vpcSettings: json['VpcSettings'] != null
? DirectoryVpcSettingsDescription.fromJson(
json['VpcSettings'] as Map<String, dynamic>)
: null,
);
}