copyWithWrapped method

WebApiModulesAgentOrderItemOrderItem copyWithWrapped({
  1. Wrapped<String?>? orderItemId,
  2. Wrapped<String?>? orderId,
  3. Wrapped<String?>? orderNumber,
  4. Wrapped<bool?>? rowsRolledUp,
  5. Wrapped<String?>? rolledUpIds,
  6. Wrapped<String?>? orderType,
  7. Wrapped<String?>? orderStatus,
  8. Wrapped<String?>? recType,
  9. Wrapped<String?>? recTypeDisplay,
  10. Wrapped<int?>? rowNumber,
  11. Wrapped<String?>? inventoryId,
  12. Wrapped<String?>? iCode,
  13. Wrapped<String?>? iCodeColor,
  14. Wrapped<String?>? description,
  15. Wrapped<String?>? descriptionColor,
  16. Wrapped<String?>? pickDate,
  17. Wrapped<String?>? pickTime,
  18. Wrapped<String?>? fromDate,
  19. Wrapped<String?>? fromTime,
  20. Wrapped<String?>? toDate,
  21. Wrapped<String?>? toTime,
  22. Wrapped<double?>? billablePeriods,
  23. Wrapped<double?>? quantityOrdered,
  24. Wrapped<String?>? quantityColor,
  25. Wrapped<double?>? subQuantity,
  26. Wrapped<String?>? subQuantityColor,
  27. Wrapped<int?>? consignQuantity,
  28. Wrapped<String?>? consignQuantityColor,
  29. Wrapped<String?>? containerColor,
  30. Wrapped<int?>? reservedItemQuantity,
  31. Wrapped<String?>? reservedItemQuantityColor,
  32. Wrapped<double?>? availableQuantity,
  33. Wrapped<String?>? availabilityState,
  34. Wrapped<double?>? availableQuantityAllWarehouses,
  35. Wrapped<String?>? conflictDate,
  36. Wrapped<String?>? conflictDateAllWarehouses,
  37. Wrapped<String?>? availabilityStateConsignment,
  38. Wrapped<double?>? availableQuantityConsignment,
  39. Wrapped<String?>? conflictDateConsignment,
  40. Wrapped<String?>? unitId,
  41. Wrapped<String?>? unit,
  42. Wrapped<String?>? unitType,
  43. Wrapped<double?>? unitCost,
  44. Wrapped<double?>? marginPercent,
  45. Wrapped<double?>? markupPercent,
  46. Wrapped<double?>? premiumPercent,
  47. Wrapped<String?>? crewContactId,
  48. Wrapped<String?>? crewName,
  49. Wrapped<double?>? hours,
  50. Wrapped<double?>? hoursOvertime,
  51. Wrapped<double?>? hoursDoubletime,
  52. Wrapped<double?>? price,
  53. Wrapped<double?>? price2,
  54. Wrapped<double?>? price3,
  55. Wrapped<double?>? price4,
  56. Wrapped<double?>? price5,
  57. Wrapped<double?>? daysPerWeek,
  58. Wrapped<double?>? discountPercent,
  59. Wrapped<double?>? discountPercentDisplay,
  60. Wrapped<double?>? unitExtendedNoDiscount,
  61. Wrapped<double?>? unitDiscountAmount,
  62. Wrapped<double?>? unitExtended,
  63. Wrapped<double?>? weeklyExtendedNoDiscount,
  64. Wrapped<double?>? weeklyDiscountAmount,
  65. Wrapped<double?>? weeklyExtended,
  66. Wrapped<double?>? weeklyCostExtended,
  67. Wrapped<double?>? weeklyTax,
  68. Wrapped<double?>? weeklyTax1,
  69. Wrapped<double?>? weeklyTax2,
  70. Wrapped<double?>? weeklyTotal,
  71. Wrapped<double?>? week2Extended,
  72. Wrapped<double?>? week3Extended,
  73. Wrapped<double?>? weeks1Through3Extended,
  74. Wrapped<double?>? weeks4PlusExtended,
  75. Wrapped<double?>? week4Extended,
  76. Wrapped<double?>? averageWeekly,
  77. Wrapped<double?>? averageWeeklyExtended,
  78. Wrapped<double?>? averageWeeklyExtendedNoDiscount,
  79. Wrapped<double?>? averageWeeklyDiscountAmount,
  80. Wrapped<double?>? averageWeeklyTax,
  81. Wrapped<double?>? averageWeeklyTax1,
  82. Wrapped<double?>? averageWeeklyTax2,
  83. Wrapped<double?>? averageWeeklyTotal,
  84. Wrapped<int?>? episodes,
  85. Wrapped<double?>? monthlyExtendedNoDiscount,
  86. Wrapped<double?>? monthlyDiscountAmount,
  87. Wrapped<double?>? monthlyExtended,
  88. Wrapped<double?>? monthlyCostExtended,
  89. Wrapped<double?>? monthlyTax,
  90. Wrapped<double?>? monthlyTax1,
  91. Wrapped<double?>? monthlyTax2,
  92. Wrapped<double?>? monthlyTotal,
  93. Wrapped<double?>? periodExtendedNoDiscount,
  94. Wrapped<double?>? periodCostExtended,
  95. Wrapped<double?>? periodDiscountAmount,
  96. Wrapped<double?>? periodExtended,
  97. Wrapped<double?>? periodTax,
  98. Wrapped<double?>? periodTax1,
  99. Wrapped<double?>? periodTax2,
  100. Wrapped<double?>? periodTotal,
  101. Wrapped<double?>? periodVarianceExtended,
  102. Wrapped<double?>? variancePercent,
  103. Wrapped<double?>? minimumDaysPerWeek,
  104. Wrapped<bool?>? bold,
  105. Wrapped<bool?>? locked,
  106. Wrapped<bool?>? taxable,
  107. Wrapped<String?>? warehouseId,
  108. Wrapped<String?>? warehouseCode,
  109. Wrapped<String?>? warehouse,
  110. Wrapped<String?>? returnToWarehouseId,
  111. Wrapped<String?>? returnToWarehouseCode,
  112. Wrapped<String?>? notes,
  113. Wrapped<String?>? itemOrder,
  114. Wrapped<String?>? parentId,
  115. Wrapped<String?>? nestedOrderItemId,
  116. Wrapped<String?>? itemClass,
  117. Wrapped<String?>? inventoryClass,
  118. Wrapped<String?>? trackedBy,
  119. Wrapped<String?>? retiredReasonId,
  120. Wrapped<String?>? retiredReason,
  121. Wrapped<String?>? itemId,
  122. Wrapped<String?>? barCode,
  123. Wrapped<String?>? serialNumber,
  124. Wrapped<String?>? manufacturerId,
  125. Wrapped<String?>? manufacturer,
  126. Wrapped<String?>? manufacturerPartNumber,
  127. Wrapped<String?>? modelNumber,
  128. Wrapped<String?>? vendorPartNumber,
  129. Wrapped<String?>? countryOfOriginId,
  130. Wrapped<String?>? countryOfOrigin,
  131. Wrapped<String?>? poSubOrderId,
  132. Wrapped<String?>? poSubOrderItemId,
  133. Wrapped<String?>? poSubOrderNumber,
  134. Wrapped<String?>? lossAndDamageOrderId,
  135. Wrapped<String?>? lossAndDamageOrderItemId,
  136. Wrapped<String?>? lossAndDamageOrderNumber,
  137. Wrapped<String?>? lossAndDamageVendorId,
  138. Wrapped<String?>? lossAndDamageVendor,
  139. Wrapped<String?>? lossAndDamageConsignorId,
  140. Wrapped<String?>? lossAndDamageConsignor,
  141. Wrapped<String?>? lossAndDamageVendorConsignorId,
  142. Wrapped<String?>? lossAndDamageVendorConsignor,
  143. Wrapped<String?>? lossAndDamageVendorColor,
  144. Wrapped<bool?>? modifiedAtStaging,
  145. Wrapped<bool?>? mute,
  146. Wrapped<bool?>? availabilityByHour,
  147. Wrapped<bool?>? printNoteOnQuote,
  148. Wrapped<bool?>? printNoteOnOrder,
  149. Wrapped<bool?>? printNoteOnPickList,
  150. Wrapped<bool?>? printNoteOnOutContract,
  151. Wrapped<bool?>? printNoteOnInContract,
  152. Wrapped<bool?>? printNoteOnReturnList,
  153. Wrapped<bool?>? printNoteOnInvoice,
  154. Wrapped<bool?>? printNoteOnPurchaseOrder,
  155. Wrapped<bool?>? printNoteOnReceiveContract,
  156. Wrapped<bool?>? printNoteOnReturnContract,
  157. Wrapped<bool?>? printNoteOnVendorReceiveList,
  158. Wrapped<bool?>? printNoteOnVendorReturnList,
  159. Wrapped<double?>? defaultHourlyRate,
  160. Wrapped<double?>? defaultDailyRate,
  161. Wrapped<double?>? defaultWeeklyRate,
  162. Wrapped<double?>? defaultMonthlyRate,
  163. Wrapped<int?>? nestingLevel,
  164. Wrapped<String?>? repairId,
  165. Wrapped<String?>? repairOrderNumber,
  166. Wrapped<String?>? subVendorId,
  167. Wrapped<String?>? subVendor,
  168. Wrapped<String?>? consignorId,
  169. Wrapped<String?>? consignor,
  170. Wrapped<String?>? consignorAbbreviation,
  171. Wrapped<String?>? consignorAgreementId,
  172. Wrapped<String?>? consignorAgreementNumber,
  173. Wrapped<String?>? vendorConsignorId,
  174. Wrapped<String?>? vendorConsignor,
  175. Wrapped<bool?>? availabilityExcludeConsigned,
  176. Wrapped<String?>? subPurchaseOrderItemId,
  177. Wrapped<String?>? externalOrderId,
  178. Wrapped<String?>? externalOrderItemId,
  179. Wrapped<String?>? internalOrderId,
  180. Wrapped<String?>? internalOrderItemId,
  181. Wrapped<bool?>? poIsInternal,
  182. Wrapped<String?>? primaryOrderItemId,
  183. Wrapped<bool?>? nonDiscountable,
  184. Wrapped<double?>? accessoryRatio,
  185. Wrapped<double?>? originalAccessoryRatio,
  186. Wrapped<bool?>? isOption,
  187. Wrapped<String?>? optionColor,
  188. Wrapped<String?>? currencySymbol,
  189. Wrapped<int?>? transferAvailabilityDays,
  190. Wrapped<String?>? costOrderId,
  191. Wrapped<String?>? costOrderNumber,
  192. Wrapped<bool?>? includeInCost,
  193. Wrapped<double?>? loadedUnitCost,
  194. Wrapped<double?>? replacementCost,
  195. Wrapped<double?>? replacementCostExtended,
  196. Wrapped<double?>? crewActualCost,
  197. Wrapped<bool?>? hasAvailabilityByAsset,
  198. Wrapped<double?>? markupExtended,
  199. Wrapped<double?>? marginExtended,
  200. Wrapped<double?>? crewVariance,
  201. Wrapped<double?>? subCrewPeriodExtended,
  202. Wrapped<double?>? crewGrossProfit,
  203. Wrapped<bool?>? isRecurringRateType,
  204. Wrapped<bool?>? disableMiscDescriptionChange,
  205. Wrapped<bool?>? lockMarkup,
  206. Wrapped<bool?>? isFixedContainer,
  207. Wrapped<bool?>? isFixedContainerComponent,
  208. Wrapped<String?>? rank,
  209. Wrapped<double?>? unitValue,
  210. Wrapped<bool?>? inactive,
  211. Wrapped<String?>? importToQuoteId,
  212. Wrapped<String?>? importToQuoteNumber,
  213. Wrapped<String?>? importToOrderId,
  214. Wrapped<String?>? importToPurchaseOrderId,
  215. Wrapped<String?>? importToPurchaseOrderNumber,
  216. Wrapped<String?>? importToOrderNumber,
  217. Wrapped<String?>? importRentalInventoryId,
  218. Wrapped<String?>? importRentalICode,
  219. Wrapped<String?>? dateStamp,
  220. Wrapped<String?>? auditNote,
  221. Wrapped<String?>? recordTitle,
  222. Wrapped? urlIdentifier,
  223. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  224. Wrapped<bool?>? summarySave,
  225. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  226. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  227. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  228. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  229. Wrapped<bool?>? hasImport,
  230. Wrapped<bool?>? hasDocuments,
  231. Wrapped<String?>? createdByUserId,
  232. Wrapped<String?>? createdByUserName,
  233. Wrapped<String?>? createdDateTime,
  234. Wrapped<String?>? modifiedByUserId,
  235. Wrapped<String?>? modifiedByUserName,
  236. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesAgentOrderItemOrderItem copyWithWrapped({
  Wrapped<String?>? orderItemId,
  Wrapped<String?>? orderId,
  Wrapped<String?>? orderNumber,
  Wrapped<bool?>? rowsRolledUp,
  Wrapped<String?>? rolledUpIds,
  Wrapped<String?>? orderType,
  Wrapped<String?>? orderStatus,
  Wrapped<String?>? recType,
  Wrapped<String?>? recTypeDisplay,
  Wrapped<int?>? rowNumber,
  Wrapped<String?>? inventoryId,
  Wrapped<String?>? iCode,
  Wrapped<String?>? iCodeColor,
  Wrapped<String?>? description,
  Wrapped<String?>? descriptionColor,
  Wrapped<String?>? pickDate,
  Wrapped<String?>? pickTime,
  Wrapped<String?>? fromDate,
  Wrapped<String?>? fromTime,
  Wrapped<String?>? toDate,
  Wrapped<String?>? toTime,
  Wrapped<double?>? billablePeriods,
  Wrapped<double?>? quantityOrdered,
  Wrapped<String?>? quantityColor,
  Wrapped<double?>? subQuantity,
  Wrapped<String?>? subQuantityColor,
  Wrapped<int?>? consignQuantity,
  Wrapped<String?>? consignQuantityColor,
  Wrapped<String?>? containerColor,
  Wrapped<int?>? reservedItemQuantity,
  Wrapped<String?>? reservedItemQuantityColor,
  Wrapped<double?>? availableQuantity,
  Wrapped<String?>? availabilityState,
  Wrapped<double?>? availableQuantityAllWarehouses,
  Wrapped<String?>? conflictDate,
  Wrapped<String?>? conflictDateAllWarehouses,
  Wrapped<String?>? availabilityStateConsignment,
  Wrapped<double?>? availableQuantityConsignment,
  Wrapped<String?>? conflictDateConsignment,
  Wrapped<String?>? unitId,
  Wrapped<String?>? unit,
  Wrapped<String?>? unitType,
  Wrapped<double?>? unitCost,
  Wrapped<double?>? marginPercent,
  Wrapped<double?>? markupPercent,
  Wrapped<double?>? premiumPercent,
  Wrapped<String?>? crewContactId,
  Wrapped<String?>? crewName,
  Wrapped<double?>? hours,
  Wrapped<double?>? hoursOvertime,
  Wrapped<double?>? hoursDoubletime,
  Wrapped<double?>? price,
  Wrapped<double?>? price2,
  Wrapped<double?>? price3,
  Wrapped<double?>? price4,
  Wrapped<double?>? price5,
  Wrapped<double?>? daysPerWeek,
  Wrapped<double?>? discountPercent,
  Wrapped<double?>? discountPercentDisplay,
  Wrapped<double?>? unitExtendedNoDiscount,
  Wrapped<double?>? unitDiscountAmount,
  Wrapped<double?>? unitExtended,
  Wrapped<double?>? weeklyExtendedNoDiscount,
  Wrapped<double?>? weeklyDiscountAmount,
  Wrapped<double?>? weeklyExtended,
  Wrapped<double?>? weeklyCostExtended,
  Wrapped<double?>? weeklyTax,
  Wrapped<double?>? weeklyTax1,
  Wrapped<double?>? weeklyTax2,
  Wrapped<double?>? weeklyTotal,
  Wrapped<double?>? week2Extended,
  Wrapped<double?>? week3Extended,
  Wrapped<double?>? weeks1Through3Extended,
  Wrapped<double?>? weeks4PlusExtended,
  Wrapped<double?>? week4Extended,
  Wrapped<double?>? averageWeekly,
  Wrapped<double?>? averageWeeklyExtended,
  Wrapped<double?>? averageWeeklyExtendedNoDiscount,
  Wrapped<double?>? averageWeeklyDiscountAmount,
  Wrapped<double?>? averageWeeklyTax,
  Wrapped<double?>? averageWeeklyTax1,
  Wrapped<double?>? averageWeeklyTax2,
  Wrapped<double?>? averageWeeklyTotal,
  Wrapped<int?>? episodes,
  Wrapped<double?>? monthlyExtendedNoDiscount,
  Wrapped<double?>? monthlyDiscountAmount,
  Wrapped<double?>? monthlyExtended,
  Wrapped<double?>? monthlyCostExtended,
  Wrapped<double?>? monthlyTax,
  Wrapped<double?>? monthlyTax1,
  Wrapped<double?>? monthlyTax2,
  Wrapped<double?>? monthlyTotal,
  Wrapped<double?>? periodExtendedNoDiscount,
  Wrapped<double?>? periodCostExtended,
  Wrapped<double?>? periodDiscountAmount,
  Wrapped<double?>? periodExtended,
  Wrapped<double?>? periodTax,
  Wrapped<double?>? periodTax1,
  Wrapped<double?>? periodTax2,
  Wrapped<double?>? periodTotal,
  Wrapped<double?>? periodVarianceExtended,
  Wrapped<double?>? variancePercent,
  Wrapped<double?>? minimumDaysPerWeek,
  Wrapped<bool?>? bold,
  Wrapped<bool?>? locked,
  Wrapped<bool?>? taxable,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? warehouseCode,
  Wrapped<String?>? warehouse,
  Wrapped<String?>? returnToWarehouseId,
  Wrapped<String?>? returnToWarehouseCode,
  Wrapped<String?>? notes,
  Wrapped<String?>? itemOrder,
  Wrapped<String?>? parentId,
  Wrapped<String?>? nestedOrderItemId,
  Wrapped<String?>? itemClass,
  Wrapped<String?>? inventoryClass,
  Wrapped<String?>? trackedBy,
  Wrapped<String?>? retiredReasonId,
  Wrapped<String?>? retiredReason,
  Wrapped<String?>? itemId,
  Wrapped<String?>? barCode,
  Wrapped<String?>? serialNumber,
  Wrapped<String?>? manufacturerId,
  Wrapped<String?>? manufacturer,
  Wrapped<String?>? manufacturerPartNumber,
  Wrapped<String?>? modelNumber,
  Wrapped<String?>? vendorPartNumber,
  Wrapped<String?>? countryOfOriginId,
  Wrapped<String?>? countryOfOrigin,
  Wrapped<String?>? poSubOrderId,
  Wrapped<String?>? poSubOrderItemId,
  Wrapped<String?>? poSubOrderNumber,
  Wrapped<String?>? lossAndDamageOrderId,
  Wrapped<String?>? lossAndDamageOrderItemId,
  Wrapped<String?>? lossAndDamageOrderNumber,
  Wrapped<String?>? lossAndDamageVendorId,
  Wrapped<String?>? lossAndDamageVendor,
  Wrapped<String?>? lossAndDamageConsignorId,
  Wrapped<String?>? lossAndDamageConsignor,
  Wrapped<String?>? lossAndDamageVendorConsignorId,
  Wrapped<String?>? lossAndDamageVendorConsignor,
  Wrapped<String?>? lossAndDamageVendorColor,
  Wrapped<bool?>? modifiedAtStaging,
  Wrapped<bool?>? mute,
  Wrapped<bool?>? availabilityByHour,
  Wrapped<bool?>? printNoteOnQuote,
  Wrapped<bool?>? printNoteOnOrder,
  Wrapped<bool?>? printNoteOnPickList,
  Wrapped<bool?>? printNoteOnOutContract,
  Wrapped<bool?>? printNoteOnInContract,
  Wrapped<bool?>? printNoteOnReturnList,
  Wrapped<bool?>? printNoteOnInvoice,
  Wrapped<bool?>? printNoteOnPurchaseOrder,
  Wrapped<bool?>? printNoteOnReceiveContract,
  Wrapped<bool?>? printNoteOnReturnContract,
  Wrapped<bool?>? printNoteOnVendorReceiveList,
  Wrapped<bool?>? printNoteOnVendorReturnList,
  Wrapped<double?>? defaultHourlyRate,
  Wrapped<double?>? defaultDailyRate,
  Wrapped<double?>? defaultWeeklyRate,
  Wrapped<double?>? defaultMonthlyRate,
  Wrapped<int?>? nestingLevel,
  Wrapped<String?>? repairId,
  Wrapped<String?>? repairOrderNumber,
  Wrapped<String?>? subVendorId,
  Wrapped<String?>? subVendor,
  Wrapped<String?>? consignorId,
  Wrapped<String?>? consignor,
  Wrapped<String?>? consignorAbbreviation,
  Wrapped<String?>? consignorAgreementId,
  Wrapped<String?>? consignorAgreementNumber,
  Wrapped<String?>? vendorConsignorId,
  Wrapped<String?>? vendorConsignor,
  Wrapped<bool?>? availabilityExcludeConsigned,
  Wrapped<String?>? subPurchaseOrderItemId,
  Wrapped<String?>? externalOrderId,
  Wrapped<String?>? externalOrderItemId,
  Wrapped<String?>? internalOrderId,
  Wrapped<String?>? internalOrderItemId,
  Wrapped<bool?>? poIsInternal,
  Wrapped<String?>? primaryOrderItemId,
  Wrapped<bool?>? nonDiscountable,
  Wrapped<double?>? accessoryRatio,
  Wrapped<double?>? originalAccessoryRatio,
  Wrapped<bool?>? isOption,
  Wrapped<String?>? optionColor,
  Wrapped<String?>? currencySymbol,
  Wrapped<int?>? transferAvailabilityDays,
  Wrapped<String?>? costOrderId,
  Wrapped<String?>? costOrderNumber,
  Wrapped<bool?>? includeInCost,
  Wrapped<double?>? loadedUnitCost,
  Wrapped<double?>? replacementCost,
  Wrapped<double?>? replacementCostExtended,
  Wrapped<double?>? crewActualCost,
  Wrapped<bool?>? hasAvailabilityByAsset,
  Wrapped<double?>? markupExtended,
  Wrapped<double?>? marginExtended,
  Wrapped<double?>? crewVariance,
  Wrapped<double?>? subCrewPeriodExtended,
  Wrapped<double?>? crewGrossProfit,
  Wrapped<bool?>? isRecurringRateType,
  Wrapped<bool?>? disableMiscDescriptionChange,
  Wrapped<bool?>? lockMarkup,
  Wrapped<bool?>? isFixedContainer,
  Wrapped<bool?>? isFixedContainerComponent,
  Wrapped<String?>? rank,
  Wrapped<double?>? unitValue,
  Wrapped<bool?>? inactive,
  Wrapped<String?>? importToQuoteId,
  Wrapped<String?>? importToQuoteNumber,
  Wrapped<String?>? importToOrderId,
  Wrapped<String?>? importToPurchaseOrderId,
  Wrapped<String?>? importToPurchaseOrderNumber,
  Wrapped<String?>? importToOrderNumber,
  Wrapped<String?>? importRentalInventoryId,
  Wrapped<String?>? importRentalICode,
  Wrapped<String?>? dateStamp,
  Wrapped<String?>? auditNote,
  Wrapped<String?>? recordTitle,
  Wrapped<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<bool?>? summarySave,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesAgentOrderItemOrderItem(
    orderItemId: (orderItemId != null ? orderItemId.value : this.orderItemId),
    orderId: (orderId != null ? orderId.value : this.orderId),
    orderNumber: (orderNumber != null ? orderNumber.value : this.orderNumber),
    rowsRolledUp: (rowsRolledUp != null
        ? rowsRolledUp.value
        : this.rowsRolledUp),
    rolledUpIds: (rolledUpIds != null ? rolledUpIds.value : this.rolledUpIds),
    orderType: (orderType != null ? orderType.value : this.orderType),
    orderStatus: (orderStatus != null ? orderStatus.value : this.orderStatus),
    recType: (recType != null ? recType.value : this.recType),
    recTypeDisplay: (recTypeDisplay != null
        ? recTypeDisplay.value
        : this.recTypeDisplay),
    rowNumber: (rowNumber != null ? rowNumber.value : this.rowNumber),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    iCode: (iCode != null ? iCode.value : this.iCode),
    iCodeColor: (iCodeColor != null ? iCodeColor.value : this.iCodeColor),
    description: (description != null ? description.value : this.description),
    descriptionColor: (descriptionColor != null
        ? descriptionColor.value
        : this.descriptionColor),
    pickDate: (pickDate != null ? pickDate.value : this.pickDate),
    pickTime: (pickTime != null ? pickTime.value : this.pickTime),
    fromDate: (fromDate != null ? fromDate.value : this.fromDate),
    fromTime: (fromTime != null ? fromTime.value : this.fromTime),
    toDate: (toDate != null ? toDate.value : this.toDate),
    toTime: (toTime != null ? toTime.value : this.toTime),
    billablePeriods: (billablePeriods != null
        ? billablePeriods.value
        : this.billablePeriods),
    quantityOrdered: (quantityOrdered != null
        ? quantityOrdered.value
        : this.quantityOrdered),
    quantityColor: (quantityColor != null
        ? quantityColor.value
        : this.quantityColor),
    subQuantity: (subQuantity != null ? subQuantity.value : this.subQuantity),
    subQuantityColor: (subQuantityColor != null
        ? subQuantityColor.value
        : this.subQuantityColor),
    consignQuantity: (consignQuantity != null
        ? consignQuantity.value
        : this.consignQuantity),
    consignQuantityColor: (consignQuantityColor != null
        ? consignQuantityColor.value
        : this.consignQuantityColor),
    containerColor: (containerColor != null
        ? containerColor.value
        : this.containerColor),
    reservedItemQuantity: (reservedItemQuantity != null
        ? reservedItemQuantity.value
        : this.reservedItemQuantity),
    reservedItemQuantityColor: (reservedItemQuantityColor != null
        ? reservedItemQuantityColor.value
        : this.reservedItemQuantityColor),
    availableQuantity: (availableQuantity != null
        ? availableQuantity.value
        : this.availableQuantity),
    availabilityState: (availabilityState != null
        ? availabilityState.value
        : this.availabilityState),
    availableQuantityAllWarehouses: (availableQuantityAllWarehouses != null
        ? availableQuantityAllWarehouses.value
        : this.availableQuantityAllWarehouses),
    conflictDate: (conflictDate != null
        ? conflictDate.value
        : this.conflictDate),
    conflictDateAllWarehouses: (conflictDateAllWarehouses != null
        ? conflictDateAllWarehouses.value
        : this.conflictDateAllWarehouses),
    availabilityStateConsignment: (availabilityStateConsignment != null
        ? availabilityStateConsignment.value
        : this.availabilityStateConsignment),
    availableQuantityConsignment: (availableQuantityConsignment != null
        ? availableQuantityConsignment.value
        : this.availableQuantityConsignment),
    conflictDateConsignment: (conflictDateConsignment != null
        ? conflictDateConsignment.value
        : this.conflictDateConsignment),
    unitId: (unitId != null ? unitId.value : this.unitId),
    unit: (unit != null ? unit.value : this.unit),
    unitType: (unitType != null ? unitType.value : this.unitType),
    unitCost: (unitCost != null ? unitCost.value : this.unitCost),
    marginPercent: (marginPercent != null
        ? marginPercent.value
        : this.marginPercent),
    markupPercent: (markupPercent != null
        ? markupPercent.value
        : this.markupPercent),
    premiumPercent: (premiumPercent != null
        ? premiumPercent.value
        : this.premiumPercent),
    crewContactId: (crewContactId != null
        ? crewContactId.value
        : this.crewContactId),
    crewName: (crewName != null ? crewName.value : this.crewName),
    hours: (hours != null ? hours.value : this.hours),
    hoursOvertime: (hoursOvertime != null
        ? hoursOvertime.value
        : this.hoursOvertime),
    hoursDoubletime: (hoursDoubletime != null
        ? hoursDoubletime.value
        : this.hoursDoubletime),
    price: (price != null ? price.value : this.price),
    price2: (price2 != null ? price2.value : this.price2),
    price3: (price3 != null ? price3.value : this.price3),
    price4: (price4 != null ? price4.value : this.price4),
    price5: (price5 != null ? price5.value : this.price5),
    daysPerWeek: (daysPerWeek != null ? daysPerWeek.value : this.daysPerWeek),
    discountPercent: (discountPercent != null
        ? discountPercent.value
        : this.discountPercent),
    discountPercentDisplay: (discountPercentDisplay != null
        ? discountPercentDisplay.value
        : this.discountPercentDisplay),
    unitExtendedNoDiscount: (unitExtendedNoDiscount != null
        ? unitExtendedNoDiscount.value
        : this.unitExtendedNoDiscount),
    unitDiscountAmount: (unitDiscountAmount != null
        ? unitDiscountAmount.value
        : this.unitDiscountAmount),
    unitExtended: (unitExtended != null
        ? unitExtended.value
        : this.unitExtended),
    weeklyExtendedNoDiscount: (weeklyExtendedNoDiscount != null
        ? weeklyExtendedNoDiscount.value
        : this.weeklyExtendedNoDiscount),
    weeklyDiscountAmount: (weeklyDiscountAmount != null
        ? weeklyDiscountAmount.value
        : this.weeklyDiscountAmount),
    weeklyExtended: (weeklyExtended != null
        ? weeklyExtended.value
        : this.weeklyExtended),
    weeklyCostExtended: (weeklyCostExtended != null
        ? weeklyCostExtended.value
        : this.weeklyCostExtended),
    weeklyTax: (weeklyTax != null ? weeklyTax.value : this.weeklyTax),
    weeklyTax1: (weeklyTax1 != null ? weeklyTax1.value : this.weeklyTax1),
    weeklyTax2: (weeklyTax2 != null ? weeklyTax2.value : this.weeklyTax2),
    weeklyTotal: (weeklyTotal != null ? weeklyTotal.value : this.weeklyTotal),
    week2Extended: (week2Extended != null
        ? week2Extended.value
        : this.week2Extended),
    week3Extended: (week3Extended != null
        ? week3Extended.value
        : this.week3Extended),
    weeks1Through3Extended: (weeks1Through3Extended != null
        ? weeks1Through3Extended.value
        : this.weeks1Through3Extended),
    weeks4PlusExtended: (weeks4PlusExtended != null
        ? weeks4PlusExtended.value
        : this.weeks4PlusExtended),
    week4Extended: (week4Extended != null
        ? week4Extended.value
        : this.week4Extended),
    averageWeekly: (averageWeekly != null
        ? averageWeekly.value
        : this.averageWeekly),
    averageWeeklyExtended: (averageWeeklyExtended != null
        ? averageWeeklyExtended.value
        : this.averageWeeklyExtended),
    averageWeeklyExtendedNoDiscount: (averageWeeklyExtendedNoDiscount != null
        ? averageWeeklyExtendedNoDiscount.value
        : this.averageWeeklyExtendedNoDiscount),
    averageWeeklyDiscountAmount: (averageWeeklyDiscountAmount != null
        ? averageWeeklyDiscountAmount.value
        : this.averageWeeklyDiscountAmount),
    averageWeeklyTax: (averageWeeklyTax != null
        ? averageWeeklyTax.value
        : this.averageWeeklyTax),
    averageWeeklyTax1: (averageWeeklyTax1 != null
        ? averageWeeklyTax1.value
        : this.averageWeeklyTax1),
    averageWeeklyTax2: (averageWeeklyTax2 != null
        ? averageWeeklyTax2.value
        : this.averageWeeklyTax2),
    averageWeeklyTotal: (averageWeeklyTotal != null
        ? averageWeeklyTotal.value
        : this.averageWeeklyTotal),
    episodes: (episodes != null ? episodes.value : this.episodes),
    monthlyExtendedNoDiscount: (monthlyExtendedNoDiscount != null
        ? monthlyExtendedNoDiscount.value
        : this.monthlyExtendedNoDiscount),
    monthlyDiscountAmount: (monthlyDiscountAmount != null
        ? monthlyDiscountAmount.value
        : this.monthlyDiscountAmount),
    monthlyExtended: (monthlyExtended != null
        ? monthlyExtended.value
        : this.monthlyExtended),
    monthlyCostExtended: (monthlyCostExtended != null
        ? monthlyCostExtended.value
        : this.monthlyCostExtended),
    monthlyTax: (monthlyTax != null ? monthlyTax.value : this.monthlyTax),
    monthlyTax1: (monthlyTax1 != null ? monthlyTax1.value : this.monthlyTax1),
    monthlyTax2: (monthlyTax2 != null ? monthlyTax2.value : this.monthlyTax2),
    monthlyTotal: (monthlyTotal != null
        ? monthlyTotal.value
        : this.monthlyTotal),
    periodExtendedNoDiscount: (periodExtendedNoDiscount != null
        ? periodExtendedNoDiscount.value
        : this.periodExtendedNoDiscount),
    periodCostExtended: (periodCostExtended != null
        ? periodCostExtended.value
        : this.periodCostExtended),
    periodDiscountAmount: (periodDiscountAmount != null
        ? periodDiscountAmount.value
        : this.periodDiscountAmount),
    periodExtended: (periodExtended != null
        ? periodExtended.value
        : this.periodExtended),
    periodTax: (periodTax != null ? periodTax.value : this.periodTax),
    periodTax1: (periodTax1 != null ? periodTax1.value : this.periodTax1),
    periodTax2: (periodTax2 != null ? periodTax2.value : this.periodTax2),
    periodTotal: (periodTotal != null ? periodTotal.value : this.periodTotal),
    periodVarianceExtended: (periodVarianceExtended != null
        ? periodVarianceExtended.value
        : this.periodVarianceExtended),
    variancePercent: (variancePercent != null
        ? variancePercent.value
        : this.variancePercent),
    minimumDaysPerWeek: (minimumDaysPerWeek != null
        ? minimumDaysPerWeek.value
        : this.minimumDaysPerWeek),
    bold: (bold != null ? bold.value : this.bold),
    locked: (locked != null ? locked.value : this.locked),
    taxable: (taxable != null ? taxable.value : this.taxable),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    warehouseCode: (warehouseCode != null
        ? warehouseCode.value
        : this.warehouseCode),
    warehouse: (warehouse != null ? warehouse.value : this.warehouse),
    returnToWarehouseId: (returnToWarehouseId != null
        ? returnToWarehouseId.value
        : this.returnToWarehouseId),
    returnToWarehouseCode: (returnToWarehouseCode != null
        ? returnToWarehouseCode.value
        : this.returnToWarehouseCode),
    notes: (notes != null ? notes.value : this.notes),
    itemOrder: (itemOrder != null ? itemOrder.value : this.itemOrder),
    parentId: (parentId != null ? parentId.value : this.parentId),
    nestedOrderItemId: (nestedOrderItemId != null
        ? nestedOrderItemId.value
        : this.nestedOrderItemId),
    itemClass: (itemClass != null ? itemClass.value : this.itemClass),
    inventoryClass: (inventoryClass != null
        ? inventoryClass.value
        : this.inventoryClass),
    trackedBy: (trackedBy != null ? trackedBy.value : this.trackedBy),
    retiredReasonId: (retiredReasonId != null
        ? retiredReasonId.value
        : this.retiredReasonId),
    retiredReason: (retiredReason != null
        ? retiredReason.value
        : this.retiredReason),
    itemId: (itemId != null ? itemId.value : this.itemId),
    barCode: (barCode != null ? barCode.value : this.barCode),
    serialNumber: (serialNumber != null
        ? serialNumber.value
        : this.serialNumber),
    manufacturerId: (manufacturerId != null
        ? manufacturerId.value
        : this.manufacturerId),
    manufacturer: (manufacturer != null
        ? manufacturer.value
        : this.manufacturer),
    manufacturerPartNumber: (manufacturerPartNumber != null
        ? manufacturerPartNumber.value
        : this.manufacturerPartNumber),
    modelNumber: (modelNumber != null ? modelNumber.value : this.modelNumber),
    vendorPartNumber: (vendorPartNumber != null
        ? vendorPartNumber.value
        : this.vendorPartNumber),
    countryOfOriginId: (countryOfOriginId != null
        ? countryOfOriginId.value
        : this.countryOfOriginId),
    countryOfOrigin: (countryOfOrigin != null
        ? countryOfOrigin.value
        : this.countryOfOrigin),
    poSubOrderId: (poSubOrderId != null
        ? poSubOrderId.value
        : this.poSubOrderId),
    poSubOrderItemId: (poSubOrderItemId != null
        ? poSubOrderItemId.value
        : this.poSubOrderItemId),
    poSubOrderNumber: (poSubOrderNumber != null
        ? poSubOrderNumber.value
        : this.poSubOrderNumber),
    lossAndDamageOrderId: (lossAndDamageOrderId != null
        ? lossAndDamageOrderId.value
        : this.lossAndDamageOrderId),
    lossAndDamageOrderItemId: (lossAndDamageOrderItemId != null
        ? lossAndDamageOrderItemId.value
        : this.lossAndDamageOrderItemId),
    lossAndDamageOrderNumber: (lossAndDamageOrderNumber != null
        ? lossAndDamageOrderNumber.value
        : this.lossAndDamageOrderNumber),
    lossAndDamageVendorId: (lossAndDamageVendorId != null
        ? lossAndDamageVendorId.value
        : this.lossAndDamageVendorId),
    lossAndDamageVendor: (lossAndDamageVendor != null
        ? lossAndDamageVendor.value
        : this.lossAndDamageVendor),
    lossAndDamageConsignorId: (lossAndDamageConsignorId != null
        ? lossAndDamageConsignorId.value
        : this.lossAndDamageConsignorId),
    lossAndDamageConsignor: (lossAndDamageConsignor != null
        ? lossAndDamageConsignor.value
        : this.lossAndDamageConsignor),
    lossAndDamageVendorConsignorId: (lossAndDamageVendorConsignorId != null
        ? lossAndDamageVendorConsignorId.value
        : this.lossAndDamageVendorConsignorId),
    lossAndDamageVendorConsignor: (lossAndDamageVendorConsignor != null
        ? lossAndDamageVendorConsignor.value
        : this.lossAndDamageVendorConsignor),
    lossAndDamageVendorColor: (lossAndDamageVendorColor != null
        ? lossAndDamageVendorColor.value
        : this.lossAndDamageVendorColor),
    modifiedAtStaging: (modifiedAtStaging != null
        ? modifiedAtStaging.value
        : this.modifiedAtStaging),
    mute: (mute != null ? mute.value : this.mute),
    availabilityByHour: (availabilityByHour != null
        ? availabilityByHour.value
        : this.availabilityByHour),
    printNoteOnQuote: (printNoteOnQuote != null
        ? printNoteOnQuote.value
        : this.printNoteOnQuote),
    printNoteOnOrder: (printNoteOnOrder != null
        ? printNoteOnOrder.value
        : this.printNoteOnOrder),
    printNoteOnPickList: (printNoteOnPickList != null
        ? printNoteOnPickList.value
        : this.printNoteOnPickList),
    printNoteOnOutContract: (printNoteOnOutContract != null
        ? printNoteOnOutContract.value
        : this.printNoteOnOutContract),
    printNoteOnInContract: (printNoteOnInContract != null
        ? printNoteOnInContract.value
        : this.printNoteOnInContract),
    printNoteOnReturnList: (printNoteOnReturnList != null
        ? printNoteOnReturnList.value
        : this.printNoteOnReturnList),
    printNoteOnInvoice: (printNoteOnInvoice != null
        ? printNoteOnInvoice.value
        : this.printNoteOnInvoice),
    printNoteOnPurchaseOrder: (printNoteOnPurchaseOrder != null
        ? printNoteOnPurchaseOrder.value
        : this.printNoteOnPurchaseOrder),
    printNoteOnReceiveContract: (printNoteOnReceiveContract != null
        ? printNoteOnReceiveContract.value
        : this.printNoteOnReceiveContract),
    printNoteOnReturnContract: (printNoteOnReturnContract != null
        ? printNoteOnReturnContract.value
        : this.printNoteOnReturnContract),
    printNoteOnVendorReceiveList: (printNoteOnVendorReceiveList != null
        ? printNoteOnVendorReceiveList.value
        : this.printNoteOnVendorReceiveList),
    printNoteOnVendorReturnList: (printNoteOnVendorReturnList != null
        ? printNoteOnVendorReturnList.value
        : this.printNoteOnVendorReturnList),
    defaultHourlyRate: (defaultHourlyRate != null
        ? defaultHourlyRate.value
        : this.defaultHourlyRate),
    defaultDailyRate: (defaultDailyRate != null
        ? defaultDailyRate.value
        : this.defaultDailyRate),
    defaultWeeklyRate: (defaultWeeklyRate != null
        ? defaultWeeklyRate.value
        : this.defaultWeeklyRate),
    defaultMonthlyRate: (defaultMonthlyRate != null
        ? defaultMonthlyRate.value
        : this.defaultMonthlyRate),
    nestingLevel: (nestingLevel != null
        ? nestingLevel.value
        : this.nestingLevel),
    repairId: (repairId != null ? repairId.value : this.repairId),
    repairOrderNumber: (repairOrderNumber != null
        ? repairOrderNumber.value
        : this.repairOrderNumber),
    subVendorId: (subVendorId != null ? subVendorId.value : this.subVendorId),
    subVendor: (subVendor != null ? subVendor.value : this.subVendor),
    consignorId: (consignorId != null ? consignorId.value : this.consignorId),
    consignor: (consignor != null ? consignor.value : this.consignor),
    consignorAbbreviation: (consignorAbbreviation != null
        ? consignorAbbreviation.value
        : this.consignorAbbreviation),
    consignorAgreementId: (consignorAgreementId != null
        ? consignorAgreementId.value
        : this.consignorAgreementId),
    consignorAgreementNumber: (consignorAgreementNumber != null
        ? consignorAgreementNumber.value
        : this.consignorAgreementNumber),
    vendorConsignorId: (vendorConsignorId != null
        ? vendorConsignorId.value
        : this.vendorConsignorId),
    vendorConsignor: (vendorConsignor != null
        ? vendorConsignor.value
        : this.vendorConsignor),
    availabilityExcludeConsigned: (availabilityExcludeConsigned != null
        ? availabilityExcludeConsigned.value
        : this.availabilityExcludeConsigned),
    subPurchaseOrderItemId: (subPurchaseOrderItemId != null
        ? subPurchaseOrderItemId.value
        : this.subPurchaseOrderItemId),
    externalOrderId: (externalOrderId != null
        ? externalOrderId.value
        : this.externalOrderId),
    externalOrderItemId: (externalOrderItemId != null
        ? externalOrderItemId.value
        : this.externalOrderItemId),
    internalOrderId: (internalOrderId != null
        ? internalOrderId.value
        : this.internalOrderId),
    internalOrderItemId: (internalOrderItemId != null
        ? internalOrderItemId.value
        : this.internalOrderItemId),
    poIsInternal: (poIsInternal != null
        ? poIsInternal.value
        : this.poIsInternal),
    primaryOrderItemId: (primaryOrderItemId != null
        ? primaryOrderItemId.value
        : this.primaryOrderItemId),
    nonDiscountable: (nonDiscountable != null
        ? nonDiscountable.value
        : this.nonDiscountable),
    accessoryRatio: (accessoryRatio != null
        ? accessoryRatio.value
        : this.accessoryRatio),
    originalAccessoryRatio: (originalAccessoryRatio != null
        ? originalAccessoryRatio.value
        : this.originalAccessoryRatio),
    isOption: (isOption != null ? isOption.value : this.isOption),
    optionColor: (optionColor != null ? optionColor.value : this.optionColor),
    currencySymbol: (currencySymbol != null
        ? currencySymbol.value
        : this.currencySymbol),
    transferAvailabilityDays: (transferAvailabilityDays != null
        ? transferAvailabilityDays.value
        : this.transferAvailabilityDays),
    costOrderId: (costOrderId != null ? costOrderId.value : this.costOrderId),
    costOrderNumber: (costOrderNumber != null
        ? costOrderNumber.value
        : this.costOrderNumber),
    includeInCost: (includeInCost != null
        ? includeInCost.value
        : this.includeInCost),
    loadedUnitCost: (loadedUnitCost != null
        ? loadedUnitCost.value
        : this.loadedUnitCost),
    replacementCost: (replacementCost != null
        ? replacementCost.value
        : this.replacementCost),
    replacementCostExtended: (replacementCostExtended != null
        ? replacementCostExtended.value
        : this.replacementCostExtended),
    crewActualCost: (crewActualCost != null
        ? crewActualCost.value
        : this.crewActualCost),
    hasAvailabilityByAsset: (hasAvailabilityByAsset != null
        ? hasAvailabilityByAsset.value
        : this.hasAvailabilityByAsset),
    markupExtended: (markupExtended != null
        ? markupExtended.value
        : this.markupExtended),
    marginExtended: (marginExtended != null
        ? marginExtended.value
        : this.marginExtended),
    crewVariance: (crewVariance != null
        ? crewVariance.value
        : this.crewVariance),
    subCrewPeriodExtended: (subCrewPeriodExtended != null
        ? subCrewPeriodExtended.value
        : this.subCrewPeriodExtended),
    crewGrossProfit: (crewGrossProfit != null
        ? crewGrossProfit.value
        : this.crewGrossProfit),
    isRecurringRateType: (isRecurringRateType != null
        ? isRecurringRateType.value
        : this.isRecurringRateType),
    disableMiscDescriptionChange: (disableMiscDescriptionChange != null
        ? disableMiscDescriptionChange.value
        : this.disableMiscDescriptionChange),
    lockMarkup: (lockMarkup != null ? lockMarkup.value : this.lockMarkup),
    isFixedContainer: (isFixedContainer != null
        ? isFixedContainer.value
        : this.isFixedContainer),
    isFixedContainerComponent: (isFixedContainerComponent != null
        ? isFixedContainerComponent.value
        : this.isFixedContainerComponent),
    rank: (rank != null ? rank.value : this.rank),
    unitValue: (unitValue != null ? unitValue.value : this.unitValue),
    inactive: (inactive != null ? inactive.value : this.inactive),
    importToQuoteId: (importToQuoteId != null
        ? importToQuoteId.value
        : this.importToQuoteId),
    importToQuoteNumber: (importToQuoteNumber != null
        ? importToQuoteNumber.value
        : this.importToQuoteNumber),
    importToOrderId: (importToOrderId != null
        ? importToOrderId.value
        : this.importToOrderId),
    importToPurchaseOrderId: (importToPurchaseOrderId != null
        ? importToPurchaseOrderId.value
        : this.importToPurchaseOrderId),
    importToPurchaseOrderNumber: (importToPurchaseOrderNumber != null
        ? importToPurchaseOrderNumber.value
        : this.importToPurchaseOrderNumber),
    importToOrderNumber: (importToOrderNumber != null
        ? importToOrderNumber.value
        : this.importToOrderNumber),
    importRentalInventoryId: (importRentalInventoryId != null
        ? importRentalInventoryId.value
        : this.importRentalInventoryId),
    importRentalICode: (importRentalICode != null
        ? importRentalICode.value
        : this.importRentalICode),
    dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
    auditNote: (auditNote != null ? auditNote.value : this.auditNote),
    recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    summarySave: (summarySave != null ? summarySave.value : this.summarySave),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}