VirtualInterfaceTestHistory.fromJson constructor
VirtualInterfaceTestHistory.fromJson(
- Map<String, dynamic> json
)
Implementation
factory VirtualInterfaceTestHistory.fromJson(Map<String, dynamic> json) {
return VirtualInterfaceTestHistory(
bgpPeers: (json['bgpPeers'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
endTime: timeStampFromJson(json['endTime']),
ownerAccount: json['ownerAccount'] as String?,
startTime: timeStampFromJson(json['startTime']),
status: json['status'] as String?,
testDurationInMinutes: json['testDurationInMinutes'] as int?,
testId: json['testId'] as String?,
virtualInterfaceId: json['virtualInterfaceId'] as String?,
);
}