toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (displayName != null) 'displayName': displayName!,
  if (externalIp != null) 'externalIp': externalIp!,
  if (interface != null) 'interface': interface!,
  if (internalIp != null) 'internalIp': internalIp!,
  if (networkTags != null) 'networkTags': networkTags!,
  if (networkUri != null) 'networkUri': networkUri!,
  if (pscNetworkAttachmentUri != null)
    'pscNetworkAttachmentUri': pscNetworkAttachmentUri!,
  if (running != null) 'running': running!,
  if (serviceAccount != null) 'serviceAccount': serviceAccount!,
  if (status != null) 'status': status!,
  if (uri != null) 'uri': uri!,
};