GetEndpointResult.fromMap constructor
GetEndpointResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetEndpointResult.fromMap(Map<String, dynamic> map) {
return GetEndpointResult(
createTime: map['createTime'] as String,
description: map['description'] as String,
endpointForwardingRule: map['endpointForwardingRule'] as String,
endpointIp: map['endpointIp'] as String,
labels: (map['labels'] as Map).cast<String, String>(),
name: map['name'] as String,
network: map['network'] as String,
severity: map['severity'] as String,
state: map['state'] as String,
threatExceptions: (map['threatExceptions'] as List).cast<String>(),
trafficLogs: map['trafficLogs'] as bool,
updateTime: map['updateTime'] as String,
);
}