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? allowSwapItems,
  109. bool? userMustChangePassword,
  110. bool? passwordExpires,
  111. int? passwordExpireDays,
  112. String? passwordUpdatedDateTime,
  113. bool? lockAccount,
  114. String? memo,
  115. bool? allowCrossLocationEditAndDelete,
  116. String? lastLoggedOn,
  117. bool? disableInsertIntoActiveOrder,
  118. bool? autoPrintContract,
  119. bool? inactive,
  120. String? dateStamp,
  121. String? webUserId,
  122. bool? webAdministrator,
  123. int? browseDefaultRows,
  124. int? gridDefaultRows,
  125. String? applicationTheme,
  126. String? homeMenuGuid,
  127. String? homeMenuPath,
  128. int? soundProfileId,
  129. String? soundProfileName,
  130. int? firstDayOfWeek,
  131. bool? settingsNavigationMenuVisible,
  132. bool? reportsNavigationMenuVisible,
  133. String? emailSignature,
  134. String? locale,
  135. String? availabilityPreference,
  136. bool? availabilityAllWarehouses,
  137. String? sourceId,
  138. String? quikSearchMode,
  139. bool? showRentalItemsOutOnly,
  140. int? creditCardPinPadId,
  141. String? exportCode,
  142. String? auditNote,
  143. String? recordTitle,
  144. dynamic urlIdentifier,
  145. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  146. List<FwStandardDataFwCustomValue>? custom,
  147. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  148. FwStandardBusinessLogicFwBusinessLogic? original,
  149. List<FwStandardDataFwTranslatedValue>? translation,
  150. bool? hasImport,
  151. String? createdByUserId,
  152. String? createdByUserName,
  153. String? createdDateTime,
  154. String? modifiedByUserId,
  155. String? modifiedByUserName,
  156. String? modifiedDateTime,
})

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? allowSwapItems,
  bool? userMustChangePassword,
  bool? passwordExpires,
  int? passwordExpireDays,
  String? passwordUpdatedDateTime,
  bool? lockAccount,
  String? memo,
  bool? allowCrossLocationEditAndDelete,
  String? lastLoggedOn,
  bool? disableInsertIntoActiveOrder,
  bool? autoPrintContract,
  bool? inactive,
  String? dateStamp,
  String? webUserId,
  bool? webAdministrator,
  int? browseDefaultRows,
  int? gridDefaultRows,
  String? applicationTheme,
  String? homeMenuGuid,
  String? homeMenuPath,
  int? soundProfileId,
  String? soundProfileName,
  int? firstDayOfWeek,
  bool? settingsNavigationMenuVisible,
  bool? reportsNavigationMenuVisible,
  String? emailSignature,
  String? locale,
  String? availabilityPreference,
  bool? availabilityAllWarehouses,
  String? sourceId,
  String? quikSearchMode,
  bool? showRentalItemsOutOnly,
  int? creditCardPinPadId,
  String? exportCode,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    allowSwapItems: allowSwapItems ?? this.allowSwapItems,
    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,
    autoPrintContract: autoPrintContract ?? this.autoPrintContract,
    inactive: inactive ?? this.inactive,
    dateStamp: dateStamp ?? this.dateStamp,
    webUserId: webUserId ?? this.webUserId,
    webAdministrator: webAdministrator ?? this.webAdministrator,
    browseDefaultRows: browseDefaultRows ?? this.browseDefaultRows,
    gridDefaultRows: gridDefaultRows ?? this.gridDefaultRows,
    applicationTheme: applicationTheme ?? this.applicationTheme,
    homeMenuGuid: homeMenuGuid ?? this.homeMenuGuid,
    homeMenuPath: homeMenuPath ?? this.homeMenuPath,
    soundProfileId: soundProfileId ?? this.soundProfileId,
    soundProfileName: soundProfileName ?? this.soundProfileName,
    firstDayOfWeek: firstDayOfWeek ?? this.firstDayOfWeek,
    settingsNavigationMenuVisible:
        settingsNavigationMenuVisible ?? this.settingsNavigationMenuVisible,
    reportsNavigationMenuVisible:
        reportsNavigationMenuVisible ?? this.reportsNavigationMenuVisible,
    emailSignature: emailSignature ?? this.emailSignature,
    locale: locale ?? this.locale,
    availabilityPreference:
        availabilityPreference ?? this.availabilityPreference,
    availabilityAllWarehouses:
        availabilityAllWarehouses ?? this.availabilityAllWarehouses,
    sourceId: sourceId ?? this.sourceId,
    quikSearchMode: quikSearchMode ?? this.quikSearchMode,
    showRentalItemsOutOnly:
        showRentalItemsOutOnly ?? this.showRentalItemsOutOnly,
    creditCardPinPadId: creditCardPinPadId ?? this.creditCardPinPadId,
    exportCode: exportCode ?? this.exportCode,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}