copyWith method

WebApiModulesAdministratorUserUser copyWith({
  1. String? userId,
  2. String? contactId,
  3. String? name,
  4. String? loginName,
  5. String? fullName,
  6. String? firstName,
  7. String? middleInitial,
  8. String? lastName,
  9. String? password,
  10. bool? passwordChanged,
  11. String? barCode,
  12. String? groupId,
  13. String? groupName,
  14. String? scheduleColor,
  15. String? userTitleId,
  16. String? userTitle,
  17. String? email,
  18. String? emailApp,
  19. bool? addRentalWorksUserSignature,
  20. String? officeLocationId,
  21. String? officeLocation,
  22. String? warehouseId,
  23. String? warehouse,
  24. String? address1,
  25. String? address2,
  26. String? city,
  27. String? stateId,
  28. String? stateCode,
  29. String? state,
  30. String? zipCode,
  31. String? countryId,
  32. String? country,
  33. String? countryCodeIsoAlpha2,
  34. int? countryCodePhone,
  35. String? officePhone,
  36. String? officeExtension,
  37. String? fax,
  38. String? directPhone,
  39. String? pager,
  40. String? pagerPin,
  41. String? cellular,
  42. String? homePhone,
  43. String? defaultDepartmentType,
  44. String? primaryDepartmentId,
  45. String? primaryDepartment,
  46. String? languageId,
  47. String? language,
  48. String? rentalDepartmentId,
  49. String? rentalDepartment,
  50. String? salesDepartmentId,
  51. String? salesDepartment,
  52. String? partsDepartmentId,
  53. String? partsDepartment,
  54. String? miscDepartmentId,
  55. String? miscDepartment,
  56. String? laborDepartmentId,
  57. String? laborDepartment,
  58. String? facilityDepartmentId,
  59. String? facilityDepartment,
  60. String? transportationDepartmentId,
  61. String? transportationDepartment,
  62. String? rentalInventoryTypeId,
  63. String? rentalInventoryType,
  64. String? salesInventoryTypeId,
  65. String? salesInventoryType,
  66. String? partsInventoryTypeId,
  67. String? partsInventoryType,
  68. String? miscTypeId,
  69. String? miscType,
  70. String? laborTypeId,
  71. String? laborType,
  72. String? facilityTypeId,
  73. String? facilityType,
  74. String? transportationTypeId,
  75. String? transportationType,
  76. bool? noMiscellaneousOnQuotes,
  77. bool? noMiscellaneousOnOrders,
  78. bool? noMiscellaneousOnPurchaseOrders,
  79. bool? limitDaysPerWeek,
  80. double? minimumDaysPerWeek,
  81. bool? allowCreditLimitOverride,
  82. bool? limitDiscount,
  83. double? maximumDiscount,
  84. bool? limitSubDiscount,
  85. double? maximumSubDiscount,
  86. String? discountRule,
  87. bool? stagingAllowIncreaseDecreaseOrderQuantity,
  88. bool? stagingAllowIncreaseDecreaseOrderQuantityWithoutPrompt,
  89. bool? allowStagingOfItemsWhenReservedOnOtherOrdersQuotes,
  90. bool? allowContractIfDealRequiresPOAndOrderHasPendingPO,
  91. bool? allowContractIfPendingItemsExist,
  92. bool? allowContractIfCustomerDealDoesNotHaveApprovedCredit,
  93. bool? allowContractIfCustomerDealIsOverTheirCreditLimit,
  94. bool? allowContractIfCustomerDealInsuranceCoverageIsLess,
  95. bool? allowContractIfCustomerDealDoesNotHaveValidInsuranceCertificate,
  96. bool? allowContractIfCustomerDealDoesNotHaveValidNonTaxCertificate,
  97. bool? allowReceiveSubsWhenPositiveConflictExists,
  98. bool? allowStagingOfUnreservedConsignedItems,
  99. bool? allowStagingOfUnapprovedItems,
  100. bool? allowSubstitutesAtStaging,
  101. bool? deleteOriginalOnSubstitution,
  102. bool? quikActivityAllowPrintDollarAmounts,
  103. bool? quikScanAllowCreateContract,
  104. bool? quikScanAllowApplyAll,
  105. bool? allowCrossICodeExchange,
  106. bool? allowCrossICodePendingExchange,
  107. bool? allowChangeAvailabilityPriority,
  108. bool? userMustChangePassword,
  109. bool? passwordExpires,
  110. int? passwordExpireDays,
  111. String? passwordUpdatedDateTime,
  112. bool? lockAccount,
  113. String? memo,
  114. bool? allowCrossLocationEditAndDelete,
  115. String? lastLoggedOn,
  116. bool? disableInsertIntoActiveOrder,
  117. bool? inactive,
  118. String? dateStamp,
  119. String? webUserId,
  120. bool? webAccess,
  121. bool? webAdministrator,
  122. int? browseDefaultRows,
  123. int? gridDefaultRows,
  124. String? applicationTheme,
  125. String? homeMenuGuid,
  126. String? homeMenuPath,
  127. String? successSoundId,
  128. String? successSound,
  129. String? successBase64Sound,
  130. String? errorSoundId,
  131. String? errorSound,
  132. String? errorBase64Sound,
  133. String? notificationSoundId,
  134. String? notificationSound,
  135. String? notificationBase64Sound,
  136. int? firstDayOfWeek,
  137. bool? settingsNavigationMenuVisible,
  138. bool? reportsNavigationMenuVisible,
  139. bool? webQuoteRequest,
  140. String? emailSignature,
  141. String? locale,
  142. String? availabilityPreference,
  143. bool? availabilityAllWarehouses,
  144. String? sourceId,
  145. int? creditCardPinPadId,
  146. String? auditNote,
  147. String? recordTitle,
  148. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  149. List<FwStandardDataFwCustomValue>? custom,
  150. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  151. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesAdministratorUserUser copyWith(
    {String? userId,
    String? contactId,
    String? name,
    String? loginName,
    String? fullName,
    String? firstName,
    String? middleInitial,
    String? lastName,
    String? password,
    bool? passwordChanged,
    String? barCode,
    String? groupId,
    String? groupName,
    String? scheduleColor,
    String? userTitleId,
    String? userTitle,
    String? email,
    String? emailApp,
    bool? addRentalWorksUserSignature,
    String? officeLocationId,
    String? officeLocation,
    String? warehouseId,
    String? warehouse,
    String? address1,
    String? address2,
    String? city,
    String? stateId,
    String? stateCode,
    String? state,
    String? zipCode,
    String? countryId,
    String? country,
    String? countryCodeIsoAlpha2,
    int? countryCodePhone,
    String? officePhone,
    String? officeExtension,
    String? fax,
    String? directPhone,
    String? pager,
    String? pagerPin,
    String? cellular,
    String? homePhone,
    String? defaultDepartmentType,
    String? primaryDepartmentId,
    String? primaryDepartment,
    String? languageId,
    String? language,
    String? rentalDepartmentId,
    String? rentalDepartment,
    String? salesDepartmentId,
    String? salesDepartment,
    String? partsDepartmentId,
    String? partsDepartment,
    String? miscDepartmentId,
    String? miscDepartment,
    String? laborDepartmentId,
    String? laborDepartment,
    String? facilityDepartmentId,
    String? facilityDepartment,
    String? transportationDepartmentId,
    String? transportationDepartment,
    String? rentalInventoryTypeId,
    String? rentalInventoryType,
    String? salesInventoryTypeId,
    String? salesInventoryType,
    String? partsInventoryTypeId,
    String? partsInventoryType,
    String? miscTypeId,
    String? miscType,
    String? laborTypeId,
    String? laborType,
    String? facilityTypeId,
    String? facilityType,
    String? transportationTypeId,
    String? transportationType,
    bool? noMiscellaneousOnQuotes,
    bool? noMiscellaneousOnOrders,
    bool? noMiscellaneousOnPurchaseOrders,
    bool? limitDaysPerWeek,
    double? minimumDaysPerWeek,
    bool? allowCreditLimitOverride,
    bool? limitDiscount,
    double? maximumDiscount,
    bool? limitSubDiscount,
    double? maximumSubDiscount,
    String? discountRule,
    bool? stagingAllowIncreaseDecreaseOrderQuantity,
    bool? stagingAllowIncreaseDecreaseOrderQuantityWithoutPrompt,
    bool? allowStagingOfItemsWhenReservedOnOtherOrdersQuotes,
    bool? allowContractIfDealRequiresPOAndOrderHasPendingPO,
    bool? allowContractIfPendingItemsExist,
    bool? allowContractIfCustomerDealDoesNotHaveApprovedCredit,
    bool? allowContractIfCustomerDealIsOverTheirCreditLimit,
    bool? allowContractIfCustomerDealInsuranceCoverageIsLess,
    bool? allowContractIfCustomerDealDoesNotHaveValidInsuranceCertificate,
    bool? allowContractIfCustomerDealDoesNotHaveValidNonTaxCertificate,
    bool? allowReceiveSubsWhenPositiveConflictExists,
    bool? allowStagingOfUnreservedConsignedItems,
    bool? allowStagingOfUnapprovedItems,
    bool? allowSubstitutesAtStaging,
    bool? deleteOriginalOnSubstitution,
    bool? quikActivityAllowPrintDollarAmounts,
    bool? quikScanAllowCreateContract,
    bool? quikScanAllowApplyAll,
    bool? allowCrossICodeExchange,
    bool? allowCrossICodePendingExchange,
    bool? allowChangeAvailabilityPriority,
    bool? userMustChangePassword,
    bool? passwordExpires,
    int? passwordExpireDays,
    String? passwordUpdatedDateTime,
    bool? lockAccount,
    String? memo,
    bool? allowCrossLocationEditAndDelete,
    String? lastLoggedOn,
    bool? disableInsertIntoActiveOrder,
    bool? inactive,
    String? dateStamp,
    String? webUserId,
    bool? webAccess,
    bool? webAdministrator,
    int? browseDefaultRows,
    int? gridDefaultRows,
    String? applicationTheme,
    String? homeMenuGuid,
    String? homeMenuPath,
    String? successSoundId,
    String? successSound,
    String? successBase64Sound,
    String? errorSoundId,
    String? errorSound,
    String? errorBase64Sound,
    String? notificationSoundId,
    String? notificationSound,
    String? notificationBase64Sound,
    int? firstDayOfWeek,
    bool? settingsNavigationMenuVisible,
    bool? reportsNavigationMenuVisible,
    bool? webQuoteRequest,
    String? emailSignature,
    String? locale,
    String? availabilityPreference,
    bool? availabilityAllWarehouses,
    String? sourceId,
    int? creditCardPinPadId,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesAdministratorUserUser(
      userId: userId ?? this.userId,
      contactId: contactId ?? this.contactId,
      name: name ?? this.name,
      loginName: loginName ?? this.loginName,
      fullName: fullName ?? this.fullName,
      firstName: firstName ?? this.firstName,
      middleInitial: middleInitial ?? this.middleInitial,
      lastName: lastName ?? this.lastName,
      password: password ?? this.password,
      passwordChanged: passwordChanged ?? this.passwordChanged,
      barCode: barCode ?? this.barCode,
      groupId: groupId ?? this.groupId,
      groupName: groupName ?? this.groupName,
      scheduleColor: scheduleColor ?? this.scheduleColor,
      userTitleId: userTitleId ?? this.userTitleId,
      userTitle: userTitle ?? this.userTitle,
      email: email ?? this.email,
      emailApp: emailApp ?? this.emailApp,
      addRentalWorksUserSignature:
          addRentalWorksUserSignature ?? this.addRentalWorksUserSignature,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      officeLocation: officeLocation ?? this.officeLocation,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouse: warehouse ?? this.warehouse,
      address1: address1 ?? this.address1,
      address2: address2 ?? this.address2,
      city: city ?? this.city,
      stateId: stateId ?? this.stateId,
      stateCode: stateCode ?? this.stateCode,
      state: state ?? this.state,
      zipCode: zipCode ?? this.zipCode,
      countryId: countryId ?? this.countryId,
      country: country ?? this.country,
      countryCodeIsoAlpha2: countryCodeIsoAlpha2 ?? this.countryCodeIsoAlpha2,
      countryCodePhone: countryCodePhone ?? this.countryCodePhone,
      officePhone: officePhone ?? this.officePhone,
      officeExtension: officeExtension ?? this.officeExtension,
      fax: fax ?? this.fax,
      directPhone: directPhone ?? this.directPhone,
      pager: pager ?? this.pager,
      pagerPin: pagerPin ?? this.pagerPin,
      cellular: cellular ?? this.cellular,
      homePhone: homePhone ?? this.homePhone,
      defaultDepartmentType:
          defaultDepartmentType ?? this.defaultDepartmentType,
      primaryDepartmentId: primaryDepartmentId ?? this.primaryDepartmentId,
      primaryDepartment: primaryDepartment ?? this.primaryDepartment,
      languageId: languageId ?? this.languageId,
      language: language ?? this.language,
      rentalDepartmentId: rentalDepartmentId ?? this.rentalDepartmentId,
      rentalDepartment: rentalDepartment ?? this.rentalDepartment,
      salesDepartmentId: salesDepartmentId ?? this.salesDepartmentId,
      salesDepartment: salesDepartment ?? this.salesDepartment,
      partsDepartmentId: partsDepartmentId ?? this.partsDepartmentId,
      partsDepartment: partsDepartment ?? this.partsDepartment,
      miscDepartmentId: miscDepartmentId ?? this.miscDepartmentId,
      miscDepartment: miscDepartment ?? this.miscDepartment,
      laborDepartmentId: laborDepartmentId ?? this.laborDepartmentId,
      laborDepartment: laborDepartment ?? this.laborDepartment,
      facilityDepartmentId: facilityDepartmentId ?? this.facilityDepartmentId,
      facilityDepartment: facilityDepartment ?? this.facilityDepartment,
      transportationDepartmentId:
          transportationDepartmentId ?? this.transportationDepartmentId,
      transportationDepartment:
          transportationDepartment ?? this.transportationDepartment,
      rentalInventoryTypeId:
          rentalInventoryTypeId ?? this.rentalInventoryTypeId,
      rentalInventoryType: rentalInventoryType ?? this.rentalInventoryType,
      salesInventoryTypeId: salesInventoryTypeId ?? this.salesInventoryTypeId,
      salesInventoryType: salesInventoryType ?? this.salesInventoryType,
      partsInventoryTypeId: partsInventoryTypeId ?? this.partsInventoryTypeId,
      partsInventoryType: partsInventoryType ?? this.partsInventoryType,
      miscTypeId: miscTypeId ?? this.miscTypeId,
      miscType: miscType ?? this.miscType,
      laborTypeId: laborTypeId ?? this.laborTypeId,
      laborType: laborType ?? this.laborType,
      facilityTypeId: facilityTypeId ?? this.facilityTypeId,
      facilityType: facilityType ?? this.facilityType,
      transportationTypeId: transportationTypeId ?? this.transportationTypeId,
      transportationType: transportationType ?? this.transportationType,
      noMiscellaneousOnQuotes:
          noMiscellaneousOnQuotes ?? this.noMiscellaneousOnQuotes,
      noMiscellaneousOnOrders:
          noMiscellaneousOnOrders ?? this.noMiscellaneousOnOrders,
      noMiscellaneousOnPurchaseOrders: noMiscellaneousOnPurchaseOrders ??
          this.noMiscellaneousOnPurchaseOrders,
      limitDaysPerWeek: limitDaysPerWeek ?? this.limitDaysPerWeek,
      minimumDaysPerWeek: minimumDaysPerWeek ?? this.minimumDaysPerWeek,
      allowCreditLimitOverride:
          allowCreditLimitOverride ?? this.allowCreditLimitOverride,
      limitDiscount: limitDiscount ?? this.limitDiscount,
      maximumDiscount: maximumDiscount ?? this.maximumDiscount,
      limitSubDiscount: limitSubDiscount ?? this.limitSubDiscount,
      maximumSubDiscount: maximumSubDiscount ?? this.maximumSubDiscount,
      discountRule: discountRule ?? this.discountRule,
      stagingAllowIncreaseDecreaseOrderQuantity:
          stagingAllowIncreaseDecreaseOrderQuantity ??
              this.stagingAllowIncreaseDecreaseOrderQuantity,
      stagingAllowIncreaseDecreaseOrderQuantityWithoutPrompt:
          stagingAllowIncreaseDecreaseOrderQuantityWithoutPrompt ??
              this.stagingAllowIncreaseDecreaseOrderQuantityWithoutPrompt,
      allowStagingOfItemsWhenReservedOnOtherOrdersQuotes:
          allowStagingOfItemsWhenReservedOnOtherOrdersQuotes ??
              this.allowStagingOfItemsWhenReservedOnOtherOrdersQuotes,
      allowContractIfDealRequiresPOAndOrderHasPendingPO:
          allowContractIfDealRequiresPOAndOrderHasPendingPO ??
              this.allowContractIfDealRequiresPOAndOrderHasPendingPO,
      allowContractIfPendingItemsExist: allowContractIfPendingItemsExist ??
          this.allowContractIfPendingItemsExist,
      allowContractIfCustomerDealDoesNotHaveApprovedCredit:
          allowContractIfCustomerDealDoesNotHaveApprovedCredit ??
              this.allowContractIfCustomerDealDoesNotHaveApprovedCredit,
      allowContractIfCustomerDealIsOverTheirCreditLimit:
          allowContractIfCustomerDealIsOverTheirCreditLimit ??
              this.allowContractIfCustomerDealIsOverTheirCreditLimit,
      allowContractIfCustomerDealInsuranceCoverageIsLess:
          allowContractIfCustomerDealInsuranceCoverageIsLess ??
              this.allowContractIfCustomerDealInsuranceCoverageIsLess,
      allowContractIfCustomerDealDoesNotHaveValidInsuranceCertificate:
          allowContractIfCustomerDealDoesNotHaveValidInsuranceCertificate ??
              this.allowContractIfCustomerDealDoesNotHaveValidInsuranceCertificate,
      allowContractIfCustomerDealDoesNotHaveValidNonTaxCertificate: allowContractIfCustomerDealDoesNotHaveValidNonTaxCertificate ?? this.allowContractIfCustomerDealDoesNotHaveValidNonTaxCertificate,
      allowReceiveSubsWhenPositiveConflictExists: allowReceiveSubsWhenPositiveConflictExists ?? this.allowReceiveSubsWhenPositiveConflictExists,
      allowStagingOfUnreservedConsignedItems: allowStagingOfUnreservedConsignedItems ?? this.allowStagingOfUnreservedConsignedItems,
      allowStagingOfUnapprovedItems: allowStagingOfUnapprovedItems ?? this.allowStagingOfUnapprovedItems,
      allowSubstitutesAtStaging: allowSubstitutesAtStaging ?? this.allowSubstitutesAtStaging,
      deleteOriginalOnSubstitution: deleteOriginalOnSubstitution ?? this.deleteOriginalOnSubstitution,
      quikActivityAllowPrintDollarAmounts: quikActivityAllowPrintDollarAmounts ?? this.quikActivityAllowPrintDollarAmounts,
      quikScanAllowCreateContract: quikScanAllowCreateContract ?? this.quikScanAllowCreateContract,
      quikScanAllowApplyAll: quikScanAllowApplyAll ?? this.quikScanAllowApplyAll,
      allowCrossICodeExchange: allowCrossICodeExchange ?? this.allowCrossICodeExchange,
      allowCrossICodePendingExchange: allowCrossICodePendingExchange ?? this.allowCrossICodePendingExchange,
      allowChangeAvailabilityPriority: allowChangeAvailabilityPriority ?? this.allowChangeAvailabilityPriority,
      userMustChangePassword: userMustChangePassword ?? this.userMustChangePassword,
      passwordExpires: passwordExpires ?? this.passwordExpires,
      passwordExpireDays: passwordExpireDays ?? this.passwordExpireDays,
      passwordUpdatedDateTime: passwordUpdatedDateTime ?? this.passwordUpdatedDateTime,
      lockAccount: lockAccount ?? this.lockAccount,
      memo: memo ?? this.memo,
      allowCrossLocationEditAndDelete: allowCrossLocationEditAndDelete ?? this.allowCrossLocationEditAndDelete,
      lastLoggedOn: lastLoggedOn ?? this.lastLoggedOn,
      disableInsertIntoActiveOrder: disableInsertIntoActiveOrder ?? this.disableInsertIntoActiveOrder,
      inactive: inactive ?? this.inactive,
      dateStamp: dateStamp ?? this.dateStamp,
      webUserId: webUserId ?? this.webUserId,
      webAccess: webAccess ?? this.webAccess,
      webAdministrator: webAdministrator ?? this.webAdministrator,
      browseDefaultRows: browseDefaultRows ?? this.browseDefaultRows,
      gridDefaultRows: gridDefaultRows ?? this.gridDefaultRows,
      applicationTheme: applicationTheme ?? this.applicationTheme,
      homeMenuGuid: homeMenuGuid ?? this.homeMenuGuid,
      homeMenuPath: homeMenuPath ?? this.homeMenuPath,
      successSoundId: successSoundId ?? this.successSoundId,
      successSound: successSound ?? this.successSound,
      successBase64Sound: successBase64Sound ?? this.successBase64Sound,
      errorSoundId: errorSoundId ?? this.errorSoundId,
      errorSound: errorSound ?? this.errorSound,
      errorBase64Sound: errorBase64Sound ?? this.errorBase64Sound,
      notificationSoundId: notificationSoundId ?? this.notificationSoundId,
      notificationSound: notificationSound ?? this.notificationSound,
      notificationBase64Sound: notificationBase64Sound ?? this.notificationBase64Sound,
      firstDayOfWeek: firstDayOfWeek ?? this.firstDayOfWeek,
      settingsNavigationMenuVisible: settingsNavigationMenuVisible ?? this.settingsNavigationMenuVisible,
      reportsNavigationMenuVisible: reportsNavigationMenuVisible ?? this.reportsNavigationMenuVisible,
      webQuoteRequest: webQuoteRequest ?? this.webQuoteRequest,
      emailSignature: emailSignature ?? this.emailSignature,
      locale: locale ?? this.locale,
      availabilityPreference: availabilityPreference ?? this.availabilityPreference,
      availabilityAllWarehouses: availabilityAllWarehouses ?? this.availabilityAllWarehouses,
      sourceId: sourceId ?? this.sourceId,
      creditCardPinPadId: creditCardPinPadId ?? this.creditCardPinPadId,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes: defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}