DomainController.fromJson constructor
DomainController.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DomainController.fromJson(Map<String, dynamic> json) {
return DomainController(
availabilityZone: json['AvailabilityZone'] as String?,
directoryId: json['DirectoryId'] as String?,
dnsIpAddr: json['DnsIpAddr'] as String?,
domainControllerId: json['DomainControllerId'] as String?,
launchTime: timeStampFromJson(json['LaunchTime']),
status: (json['Status'] as String?)?.toDomainControllerStatus(),
statusLastUpdatedDateTime:
timeStampFromJson(json['StatusLastUpdatedDateTime']),
statusReason: json['StatusReason'] as String?,
subnetId: json['SubnetId'] as String?,
vpcId: json['VpcId'] as String?,
);
}