toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activationPolicy != null) 'activationPolicy': activationPolicy!,
      if (activeDirectoryConfig != null)
        'activeDirectoryConfig': activeDirectoryConfig!,
      if (authorizedGaeApplications != null)
        'authorizedGaeApplications': authorizedGaeApplications!,
      if (availabilityType != null) 'availabilityType': availabilityType!,
      if (backupConfiguration != null)
        'backupConfiguration': backupConfiguration!,
      if (collation != null) 'collation': collation!,
      if (crashSafeReplicationEnabled != null)
        'crashSafeReplicationEnabled': crashSafeReplicationEnabled!,
      if (dataDiskSizeGb != null) 'dataDiskSizeGb': dataDiskSizeGb!,
      if (dataDiskType != null) 'dataDiskType': dataDiskType!,
      if (databaseFlags != null) 'databaseFlags': databaseFlags!,
      if (databaseReplicationEnabled != null)
        'databaseReplicationEnabled': databaseReplicationEnabled!,
      if (denyMaintenancePeriods != null)
        'denyMaintenancePeriods': denyMaintenancePeriods!,
      if (insightsConfig != null) 'insightsConfig': insightsConfig!,
      if (ipConfiguration != null) 'ipConfiguration': ipConfiguration!,
      if (kind != null) 'kind': kind!,
      if (locationPreference != null)
        'locationPreference': locationPreference!,
      if (maintenanceWindow != null) 'maintenanceWindow': maintenanceWindow!,
      if (passwordValidationPolicy != null)
        'passwordValidationPolicy': passwordValidationPolicy!,
      if (pricingPlan != null) 'pricingPlan': pricingPlan!,
      if (replicationType != null) 'replicationType': replicationType!,
      if (settingsVersion != null) 'settingsVersion': settingsVersion!,
      if (sqlServerAuditConfig != null)
        'sqlServerAuditConfig': sqlServerAuditConfig!,
      if (storageAutoResize != null) 'storageAutoResize': storageAutoResize!,
      if (storageAutoResizeLimit != null)
        'storageAutoResizeLimit': storageAutoResizeLimit!,
      if (tier != null) 'tier': tier!,
      if (userLabels != null) 'userLabels': userLabels!,
    };