toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adminSettings != null) 'adminSettings': adminSettings!,
      if (consumerNetwork != null) 'consumerNetwork': consumerNetwork!,
      if (createTime != null) 'createTime': createTime!,
      if (customDomain != null) 'customDomain': customDomain!,
      if (denyMaintenancePeriod != null)
        'denyMaintenancePeriod': denyMaintenancePeriod!,
      if (egressPublicIp != null) 'egressPublicIp': egressPublicIp!,
      if (encryptionConfig != null) 'encryptionConfig': encryptionConfig!,
      if (ingressPrivateIp != null) 'ingressPrivateIp': ingressPrivateIp!,
      if (ingressPublicIp != null) 'ingressPublicIp': ingressPublicIp!,
      if (lastDenyMaintenancePeriod != null)
        'lastDenyMaintenancePeriod': lastDenyMaintenancePeriod!,
      if (lookerUri != null) 'lookerUri': lookerUri!,
      if (lookerVersion != null) 'lookerVersion': lookerVersion!,
      if (maintenanceSchedule != null)
        'maintenanceSchedule': maintenanceSchedule!,
      if (maintenanceWindow != null) 'maintenanceWindow': maintenanceWindow!,
      if (name != null) 'name': name!,
      if (oauthConfig != null) 'oauthConfig': oauthConfig!,
      if (platformEdition != null) 'platformEdition': platformEdition!,
      if (privateIpEnabled != null) 'privateIpEnabled': privateIpEnabled!,
      if (pscConfig != null) 'pscConfig': pscConfig!,
      if (pscEnabled != null) 'pscEnabled': pscEnabled!,
      if (publicIpEnabled != null) 'publicIpEnabled': publicIpEnabled!,
      if (reservedRange != null) 'reservedRange': reservedRange!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (userMetadata != null) 'userMetadata': userMetadata!,
    };