toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (cloudRouterUri != null) 'cloudRouterUri': cloudRouterUri!,
  if (displayName != null) 'displayName': displayName!,
  if (interconnectUri != null) 'interconnectUri': interconnectUri!,
  if (l2AttachmentMatchedIpAddress != null)
    'l2AttachmentMatchedIpAddress': l2AttachmentMatchedIpAddress!,
  if (region != null) 'region': region!,
  if (type != null) 'type': type!,
  if (uri != null) 'uri': uri!,
};