toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (aggregationInterval != null)
    'aggregationInterval': aggregationInterval!,
  if (crossProjectMetadata != null)
    'crossProjectMetadata': crossProjectMetadata!,
  if (filterExpr != null) 'filterExpr': filterExpr!,
  if (flowSampling != null) 'flowSampling': flowSampling!,
  if (interconnectAttachment != null)
    'interconnectAttachment': interconnectAttachment!,
  if (metadata != null) 'metadata': metadata!,
  if (metadataFields != null) 'metadataFields': metadataFields!,
  if (name != null) 'name': name!,
  if (network != null) 'network': network!,
  if (scope != null) 'scope': scope!,
  if (state != null) 'state': state!,
  if (subnet != null) 'subnet': subnet!,
  if (vpnTunnel != null) 'vpnTunnel': vpnTunnel!,
};