toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (automaticResources != null)
        'automaticResources': automaticResources!,
      if (createTime != null) 'createTime': createTime!,
      if (dedicatedResources != null)
        'dedicatedResources': dedicatedResources!,
      if (deployedIndexAuthConfig != null)
        'deployedIndexAuthConfig': deployedIndexAuthConfig!,
      if (deploymentGroup != null) 'deploymentGroup': deploymentGroup!,
      if (displayName != null) 'displayName': displayName!,
      if (enableAccessLogging != null)
        'enableAccessLogging': enableAccessLogging!,
      if (id != null) 'id': id!,
      if (index != null) 'index': index!,
      if (indexSyncTime != null) 'indexSyncTime': indexSyncTime!,
      if (privateEndpoints != null) 'privateEndpoints': privateEndpoints!,
      if (reservedIpRanges != null) 'reservedIpRanges': reservedIpRanges!,
    };