copyWith method

WebApiModulesAgentContactContact copyWith({
  1. String? contactId,
  2. String? activeDate,
  3. String? address1,
  4. String? address2,
  5. String? barcode,
  6. String? city,
  7. String? contactRecordType,
  8. String? contactRecordTypeColor,
  9. String? contactTitleId,
  10. String? contactTitle,
  11. String? country,
  12. String? countryId,
  13. String? countryCodeIsoAlpha2,
  14. int? countryCodePhone,
  15. String? dateStamp,
  16. String? directExtension,
  17. String? directPhone,
  18. String? email,
  19. String? fax,
  20. String? faxExtension,
  21. String? firstName,
  22. String? firstNameColor,
  23. String? homePhone,
  24. bool? inactive,
  25. String? inactiveDate,
  26. String? info,
  27. String? inputDate,
  28. String? modifiedDate,
  29. String? lastName,
  30. String? middleInitial,
  31. String? mobilePhone,
  32. String? nameFirstMiddleLast,
  33. String? officeExtension,
  34. String? officePhone,
  35. String? pager,
  36. String? pagerPin,
  37. String? person,
  38. String? salutation,
  39. String? website,
  40. String? webStatus,
  41. String? zipCode,
  42. String? state,
  43. String? sourceId,
  44. String? userId,
  45. String? password,
  46. bool? changePasswordAtNextLogin,
  47. bool? expirePassword,
  48. int? expireDays,
  49. String? passwordLastUpdated,
  50. String? webUserId,
  51. String? webUserContactId,
  52. String? webUserUserId,
  53. bool? webAccess,
  54. bool? lockAccount,
  55. String? defaultDealId,
  56. String? defaultDeal,
  57. String? storefrontCatalogId,
  58. String? storefrontCatalog,
  59. String? locationId,
  60. String? location,
  61. String? warehouseId,
  62. String? warehouse,
  63. bool? webQuoteRequest,
  64. String? departmentId,
  65. String? department,
  66. bool? isAccountsPayable,
  67. bool? isAccountsReceivable,
  68. bool? buyer,
  69. bool? responsiblePerson,
  70. String? auditNote,
  71. String? recordTitle,
  72. dynamic urlIdentifier,
  73. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  74. List<FwStandardDataFwCustomValue>? custom,
  75. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  76. FwStandardBusinessLogicFwBusinessLogic? original,
  77. List<FwStandardDataFwTranslatedValue>? translation,
  78. bool? hasImport,
  79. bool? hasDocuments,
  80. String? createdByUserId,
  81. String? createdByUserName,
  82. String? createdDateTime,
  83. String? modifiedByUserId,
  84. String? modifiedByUserName,
  85. String? modifiedDateTime,
})

Implementation

WebApiModulesAgentContactContact copyWith({
  String? contactId,
  String? activeDate,
  String? address1,
  String? address2,
  String? barcode,
  String? city,
  String? contactRecordType,
  String? contactRecordTypeColor,
  String? contactTitleId,
  String? contactTitle,
  String? country,
  String? countryId,
  String? countryCodeIsoAlpha2,
  int? countryCodePhone,
  String? dateStamp,
  String? directExtension,
  String? directPhone,
  String? email,
  String? fax,
  String? faxExtension,
  String? firstName,
  String? firstNameColor,
  String? homePhone,
  bool? inactive,
  String? inactiveDate,
  String? info,
  String? inputDate,
  String? modifiedDate,
  String? lastName,
  String? middleInitial,
  String? mobilePhone,
  String? nameFirstMiddleLast,
  String? officeExtension,
  String? officePhone,
  String? pager,
  String? pagerPin,
  String? person,
  String? salutation,
  String? website,
  String? webStatus,
  String? zipCode,
  String? state,
  String? sourceId,
  String? userId,
  String? password,
  bool? changePasswordAtNextLogin,
  bool? expirePassword,
  int? expireDays,
  String? passwordLastUpdated,
  String? webUserId,
  String? webUserContactId,
  String? webUserUserId,
  bool? webAccess,
  bool? lockAccount,
  String? defaultDealId,
  String? defaultDeal,
  String? storefrontCatalogId,
  String? storefrontCatalog,
  String? locationId,
  String? location,
  String? warehouseId,
  String? warehouse,
  bool? webQuoteRequest,
  String? departmentId,
  String? department,
  bool? isAccountsPayable,
  bool? isAccountsReceivable,
  bool? buyer,
  bool? responsiblePerson,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesAgentContactContact(
    contactId: contactId ?? this.contactId,
    activeDate: activeDate ?? this.activeDate,
    address1: address1 ?? this.address1,
    address2: address2 ?? this.address2,
    barcode: barcode ?? this.barcode,
    city: city ?? this.city,
    contactRecordType: contactRecordType ?? this.contactRecordType,
    contactRecordTypeColor:
        contactRecordTypeColor ?? this.contactRecordTypeColor,
    contactTitleId: contactTitleId ?? this.contactTitleId,
    contactTitle: contactTitle ?? this.contactTitle,
    country: country ?? this.country,
    countryId: countryId ?? this.countryId,
    countryCodeIsoAlpha2: countryCodeIsoAlpha2 ?? this.countryCodeIsoAlpha2,
    countryCodePhone: countryCodePhone ?? this.countryCodePhone,
    dateStamp: dateStamp ?? this.dateStamp,
    directExtension: directExtension ?? this.directExtension,
    directPhone: directPhone ?? this.directPhone,
    email: email ?? this.email,
    fax: fax ?? this.fax,
    faxExtension: faxExtension ?? this.faxExtension,
    firstName: firstName ?? this.firstName,
    firstNameColor: firstNameColor ?? this.firstNameColor,
    homePhone: homePhone ?? this.homePhone,
    inactive: inactive ?? this.inactive,
    inactiveDate: inactiveDate ?? this.inactiveDate,
    info: info ?? this.info,
    inputDate: inputDate ?? this.inputDate,
    modifiedDate: modifiedDate ?? this.modifiedDate,
    lastName: lastName ?? this.lastName,
    middleInitial: middleInitial ?? this.middleInitial,
    mobilePhone: mobilePhone ?? this.mobilePhone,
    nameFirstMiddleLast: nameFirstMiddleLast ?? this.nameFirstMiddleLast,
    officeExtension: officeExtension ?? this.officeExtension,
    officePhone: officePhone ?? this.officePhone,
    pager: pager ?? this.pager,
    pagerPin: pagerPin ?? this.pagerPin,
    person: person ?? this.person,
    salutation: salutation ?? this.salutation,
    website: website ?? this.website,
    webStatus: webStatus ?? this.webStatus,
    zipCode: zipCode ?? this.zipCode,
    state: state ?? this.state,
    sourceId: sourceId ?? this.sourceId,
    userId: userId ?? this.userId,
    password: password ?? this.password,
    changePasswordAtNextLogin:
        changePasswordAtNextLogin ?? this.changePasswordAtNextLogin,
    expirePassword: expirePassword ?? this.expirePassword,
    expireDays: expireDays ?? this.expireDays,
    passwordLastUpdated: passwordLastUpdated ?? this.passwordLastUpdated,
    webUserId: webUserId ?? this.webUserId,
    webUserContactId: webUserContactId ?? this.webUserContactId,
    webUserUserId: webUserUserId ?? this.webUserUserId,
    webAccess: webAccess ?? this.webAccess,
    lockAccount: lockAccount ?? this.lockAccount,
    defaultDealId: defaultDealId ?? this.defaultDealId,
    defaultDeal: defaultDeal ?? this.defaultDeal,
    storefrontCatalogId: storefrontCatalogId ?? this.storefrontCatalogId,
    storefrontCatalog: storefrontCatalog ?? this.storefrontCatalog,
    locationId: locationId ?? this.locationId,
    location: location ?? this.location,
    warehouseId: warehouseId ?? this.warehouseId,
    warehouse: warehouse ?? this.warehouse,
    webQuoteRequest: webQuoteRequest ?? this.webQuoteRequest,
    departmentId: departmentId ?? this.departmentId,
    department: department ?? this.department,
    isAccountsPayable: isAccountsPayable ?? this.isAccountsPayable,
    isAccountsReceivable: isAccountsReceivable ?? this.isAccountsReceivable,
    buyer: buyer ?? this.buyer,
    responsiblePerson: responsiblePerson ?? this.responsiblePerson,
    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,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}