GetRegionHealthCheckServiceResult.fromMap constructor

GetRegionHealthCheckServiceResult.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetRegionHealthCheckServiceResult.fromMap(Map<String, dynamic> map) {
  return GetRegionHealthCheckServiceResult(
    creationTimestamp: map['creationTimestamp'] as String,
    description: map['description'] as String,
    fingerprint: map['fingerprint'] as String,
    healthChecks: (map['healthChecks'] as List).cast<String>(),
    healthStatusAggregationPolicy: map['healthStatusAggregationPolicy'] as String,
    healthStatusAggregationStrategy: map['healthStatusAggregationStrategy'] as String,
    kind: map['kind'] as String,
    name: map['name'] as String,
    networkEndpointGroups: (map['networkEndpointGroups'] as List).cast<String>(),
    notificationEndpoints: (map['notificationEndpoints'] as List).cast<String>(),
    region: map['region'] as String,
    selfLink: map['selfLink'] as String,
    selfLinkWithId: map['selfLinkWithId'] as String,
  );
}