toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
  if (description != null) 'description': description!,
  if (fingerprint != null) 'fingerprint': fingerprint!,
  if (healthChecks != null) 'healthChecks': healthChecks!,
  if (healthStatusAggregationPolicy != null)
    'healthStatusAggregationPolicy': healthStatusAggregationPolicy!,
  if (id != null) 'id': id!,
  if (kind != null) 'kind': kind!,
  if (name != null) 'name': name!,
  if (networkEndpointGroups != null)
    'networkEndpointGroups': networkEndpointGroups!,
  if (notificationEndpoints != null)
    'notificationEndpoints': notificationEndpoints!,
  if (region != null) 'region': region!,
  if (selfLink != null) 'selfLink': selfLink!,
};