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? webCatalogId,
  58. String? webCatalog,
  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. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  73. List<FwStandardDataFwCustomValue>? custom,
  74. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  75. List<FwStandardDataFwTranslatedValue>? translation,
})

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? webCatalogId,
    String? webCatalog,
    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,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  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,
      webCatalogId: webCatalogId ?? this.webCatalogId,
      webCatalog: webCatalog ?? this.webCatalog,
      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,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}