copyWithWrapped method

WebApiServicesAvailabilityServiceTInventoryWarehouse copyWithWrapped({
  1. Wrapped<String?>? inventoryTypeId,
  2. Wrapped<String?>? inventoryType,
  3. Wrapped<String?>? categoryId,
  4. Wrapped<String?>? category,
  5. Wrapped<String?>? subCategoryId,
  6. Wrapped<String?>? subCategory,
  7. Wrapped<String?>? inventoryId,
  8. Wrapped<String?>? warehouseId,
  9. Wrapped<String?>? regionId,
  10. Wrapped<String?>? availableFor,
  11. Wrapped<String?>? iCode,
  12. Wrapped<String?>? description,
  13. Wrapped<String?>? warehouseCode,
  14. Wrapped<String?>? warehouse,
  15. Wrapped<String?>? classification,
  16. Wrapped<bool?>? hourlyAvailability,
  17. Wrapped<bool?>? assetAvailability,
  18. Wrapped<bool?>? noAvailabilityCheck,
  19. Wrapped<int?>? lowAvailabilityPercent,
  20. Wrapped<int?>? lowAvailabilityQuantity,
  21. Wrapped<String?>? dailyRate,
  22. Wrapped<String?>? weeklyRate,
  23. Wrapped<String?>? week2Rate,
  24. Wrapped<String?>? week3Rate,
  25. Wrapped<String?>? week4Rate,
  26. Wrapped<String?>? monthlyRate,
  27. Wrapped<List<WebApiServicesAvailabilityServiceTPackageAccessory>?>? accessories,
  28. Wrapped<bool?>? availabilityIncludePurchaseOrders,
  29. Wrapped<int?>? availabilityPurchaseOrderLateDays,
  30. Wrapped<String?>? combinedKey,
})

Implementation

WebApiServicesAvailabilityServiceTInventoryWarehouse copyWithWrapped(
    {Wrapped<String?>? inventoryTypeId,
    Wrapped<String?>? inventoryType,
    Wrapped<String?>? categoryId,
    Wrapped<String?>? category,
    Wrapped<String?>? subCategoryId,
    Wrapped<String?>? subCategory,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? regionId,
    Wrapped<String?>? availableFor,
    Wrapped<String?>? iCode,
    Wrapped<String?>? description,
    Wrapped<String?>? warehouseCode,
    Wrapped<String?>? warehouse,
    Wrapped<String?>? classification,
    Wrapped<bool?>? hourlyAvailability,
    Wrapped<bool?>? assetAvailability,
    Wrapped<bool?>? noAvailabilityCheck,
    Wrapped<int?>? lowAvailabilityPercent,
    Wrapped<int?>? lowAvailabilityQuantity,
    Wrapped<String?>? dailyRate,
    Wrapped<String?>? weeklyRate,
    Wrapped<String?>? week2Rate,
    Wrapped<String?>? week3Rate,
    Wrapped<String?>? week4Rate,
    Wrapped<String?>? monthlyRate,
    Wrapped<List<WebApiServicesAvailabilityServiceTPackageAccessory>?>?
        accessories,
    Wrapped<bool?>? availabilityIncludePurchaseOrders,
    Wrapped<int?>? availabilityPurchaseOrderLateDays,
    Wrapped<String?>? combinedKey}) {
  return WebApiServicesAvailabilityServiceTInventoryWarehouse(
      inventoryTypeId: (inventoryTypeId != null
          ? inventoryTypeId.value
          : this.inventoryTypeId),
      inventoryType:
          (inventoryType != null ? inventoryType.value : this.inventoryType),
      categoryId: (categoryId != null ? categoryId.value : this.categoryId),
      category: (category != null ? category.value : this.category),
      subCategoryId:
          (subCategoryId != null ? subCategoryId.value : this.subCategoryId),
      subCategory:
          (subCategory != null ? subCategory.value : this.subCategory),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      regionId: (regionId != null ? regionId.value : this.regionId),
      availableFor:
          (availableFor != null ? availableFor.value : this.availableFor),
      iCode: (iCode != null ? iCode.value : this.iCode),
      description:
          (description != null ? description.value : this.description),
      warehouseCode:
          (warehouseCode != null ? warehouseCode.value : this.warehouseCode),
      warehouse: (warehouse != null ? warehouse.value : this.warehouse),
      classification: (classification != null
          ? classification.value
          : this.classification),
      hourlyAvailability: (hourlyAvailability != null
          ? hourlyAvailability.value
          : this.hourlyAvailability),
      assetAvailability: (assetAvailability != null
          ? assetAvailability.value
          : this.assetAvailability),
      noAvailabilityCheck: (noAvailabilityCheck != null
          ? noAvailabilityCheck.value
          : this.noAvailabilityCheck),
      lowAvailabilityPercent: (lowAvailabilityPercent != null
          ? lowAvailabilityPercent.value
          : this.lowAvailabilityPercent),
      lowAvailabilityQuantity: (lowAvailabilityQuantity != null
          ? lowAvailabilityQuantity.value
          : this.lowAvailabilityQuantity),
      dailyRate: (dailyRate != null ? dailyRate.value : this.dailyRate),
      weeklyRate: (weeklyRate != null ? weeklyRate.value : this.weeklyRate),
      week2Rate: (week2Rate != null ? week2Rate.value : this.week2Rate),
      week3Rate: (week3Rate != null ? week3Rate.value : this.week3Rate),
      week4Rate: (week4Rate != null ? week4Rate.value : this.week4Rate),
      monthlyRate:
          (monthlyRate != null ? monthlyRate.value : this.monthlyRate),
      accessories:
          (accessories != null ? accessories.value : this.accessories),
      availabilityIncludePurchaseOrders:
          (availabilityIncludePurchaseOrders != null
              ? availabilityIncludePurchaseOrders.value
              : this.availabilityIncludePurchaseOrders),
      availabilityPurchaseOrderLateDays:
          (availabilityPurchaseOrderLateDays != null
              ? availabilityPurchaseOrderLateDays.value
              : this.availabilityPurchaseOrderLateDays),
      combinedKey:
          (combinedKey != null ? combinedKey.value : this.combinedKey));
}