DirectoryConnectSettingsDescription.fromJson constructor
DirectoryConnectSettingsDescription.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DirectoryConnectSettingsDescription.fromJson(
Map<String, dynamic> json) {
return DirectoryConnectSettingsDescription(
availabilityZones: (json['AvailabilityZones'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
connectIps: (json['ConnectIps'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
customerUserName: json['CustomerUserName'] as String?,
securityGroupId: json['SecurityGroupId'] as String?,
subnetIds: (json['SubnetIds'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
vpcId: json['VpcId'] as String?,
);
}