toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cloudArmorTier != null) 'cloudArmorTier': cloudArmorTier!,
      if (commonInstanceMetadata != null)
        'commonInstanceMetadata': commonInstanceMetadata!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (defaultNetworkTier != null)
        'defaultNetworkTier': defaultNetworkTier!,
      if (defaultServiceAccount != null)
        'defaultServiceAccount': defaultServiceAccount!,
      if (description != null) 'description': description!,
      if (enabledFeatures != null) 'enabledFeatures': enabledFeatures!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (quotas != null) 'quotas': quotas!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (usageExportLocation != null)
        'usageExportLocation': usageExportLocation!,
      if (vmDnsSetting != null) 'vmDnsSetting': vmDnsSetting!,
      if (xpnProjectStatus != null) 'xpnProjectStatus': xpnProjectStatus!,
    };