copyWithWrapped method

SalesforceDealerOrgUpsertV3Body copyWithWrapped({
  1. Wrapped<bool?>? activeCallCenterDealers,
  2. Wrapped<bool?>? websiteLocator,
  3. Wrapped<String?>? websiteRemoval,
  4. Wrapped<String?>? website,
  5. Wrapped<String?>? servicesOffered,
  6. Wrapped<String?>? sapAccountId,
  7. Wrapped<String?>? salesforceAccountId,
  8. Wrapped<String?>? productSubCategory,
  9. Wrapped<String?>? productLine,
  10. Wrapped<String?>? phone,
  11. Wrapped<String?>? partnerTierLevel,
  12. Wrapped<String?>? parentAccountName,
  13. Wrapped<String?>? micrositeUrl,
  14. Wrapped<String?>? locationType,
  15. Wrapped<String?>? leadsEmail,
  16. Wrapped<int?>? leadManagementPortalUsers,
  17. Wrapped<bool?>? isActive,
  18. Wrapped<String?>? financingPrograms,
  19. Wrapped<String?>? externalCampaignParticipation,
  20. Wrapped<bool?>? dealerAvailableService,
  21. Wrapped<bool?>? dealerAvailableSales,
  22. Wrapped<String?>? dealerAccepting,
  23. Wrapped<String?>? customerClassification,
  24. Wrapped<String?>? customerSubClassification,
  25. Wrapped<bool?>? boldCertified,
  26. Wrapped<String?>? serviceRank,
  27. Wrapped<String?>? salesZipCodes,
  28. Wrapped<String?>? serviceZipCodes,
  29. Wrapped<String?>? allZipCodes,
  30. Wrapped<String?>? telephoneNumber,
  31. Wrapped<String?>? name,
  32. Wrapped<String?>? street,
  33. Wrapped<String?>? city,
  34. Wrapped<String?>? state,
  35. Wrapped<String?>? latitude,
  36. Wrapped<String?>? longitude,
  37. Wrapped<String?>? zipCode,
  38. Wrapped<String?>? country,
})

Implementation

SalesforceDealerOrgUpsertV3Body copyWithWrapped(
    {Wrapped<bool?>? activeCallCenterDealers,
    Wrapped<bool?>? websiteLocator,
    Wrapped<String?>? websiteRemoval,
    Wrapped<String?>? website,
    Wrapped<String?>? servicesOffered,
    Wrapped<String?>? sapAccountId,
    Wrapped<String?>? salesforceAccountId,
    Wrapped<String?>? productSubCategory,
    Wrapped<String?>? productLine,
    Wrapped<String?>? phone,
    Wrapped<String?>? partnerTierLevel,
    Wrapped<String?>? parentAccountName,
    Wrapped<String?>? micrositeUrl,
    Wrapped<String?>? locationType,
    Wrapped<String?>? leadsEmail,
    Wrapped<int?>? leadManagementPortalUsers,
    Wrapped<bool?>? isActive,
    Wrapped<String?>? financingPrograms,
    Wrapped<String?>? externalCampaignParticipation,
    Wrapped<bool?>? dealerAvailableService,
    Wrapped<bool?>? dealerAvailableSales,
    Wrapped<String?>? dealerAccepting,
    Wrapped<String?>? customerClassification,
    Wrapped<String?>? customerSubClassification,
    Wrapped<bool?>? boldCertified,
    Wrapped<String?>? serviceRank,
    Wrapped<String?>? salesZipCodes,
    Wrapped<String?>? serviceZipCodes,
    Wrapped<String?>? allZipCodes,
    Wrapped<String?>? telephoneNumber,
    Wrapped<String?>? name,
    Wrapped<String?>? street,
    Wrapped<String?>? city,
    Wrapped<String?>? state,
    Wrapped<String?>? latitude,
    Wrapped<String?>? longitude,
    Wrapped<String?>? zipCode,
    Wrapped<String?>? country}) {
  return SalesforceDealerOrgUpsertV3Body(
      activeCallCenterDealers: (activeCallCenterDealers != null
          ? activeCallCenterDealers.value
          : this.activeCallCenterDealers),
      websiteLocator: (websiteLocator != null
          ? websiteLocator.value
          : this.websiteLocator),
      websiteRemoval: (websiteRemoval != null
          ? websiteRemoval.value
          : this.websiteRemoval),
      website: (website != null ? website.value : this.website),
      servicesOffered: (servicesOffered != null
          ? servicesOffered.value
          : this.servicesOffered),
      sapAccountId:
          (sapAccountId != null ? sapAccountId.value : this.sapAccountId),
      salesforceAccountId: (salesforceAccountId != null
          ? salesforceAccountId.value
          : this.salesforceAccountId),
      productSubCategory: (productSubCategory != null
          ? productSubCategory.value
          : this.productSubCategory),
      productLine:
          (productLine != null ? productLine.value : this.productLine),
      phone: (phone != null ? phone.value : this.phone),
      partnerTierLevel: (partnerTierLevel != null
          ? partnerTierLevel.value
          : this.partnerTierLevel),
      parentAccountName: (parentAccountName != null
          ? parentAccountName.value
          : this.parentAccountName),
      micrositeUrl:
          (micrositeUrl != null ? micrositeUrl.value : this.micrositeUrl),
      locationType:
          (locationType != null ? locationType.value : this.locationType),
      leadsEmail: (leadsEmail != null ? leadsEmail.value : this.leadsEmail),
      leadManagementPortalUsers: (leadManagementPortalUsers != null
          ? leadManagementPortalUsers.value
          : this.leadManagementPortalUsers),
      isActive: (isActive != null ? isActive.value : this.isActive),
      financingPrograms: (financingPrograms != null
          ? financingPrograms.value
          : this.financingPrograms),
      externalCampaignParticipation: (externalCampaignParticipation != null
          ? externalCampaignParticipation.value
          : this.externalCampaignParticipation),
      dealerAvailableService: (dealerAvailableService != null
          ? dealerAvailableService.value
          : this.dealerAvailableService),
      dealerAvailableSales: (dealerAvailableSales != null
          ? dealerAvailableSales.value
          : this.dealerAvailableSales),
      dealerAccepting: (dealerAccepting != null
          ? dealerAccepting.value
          : this.dealerAccepting),
      customerClassification: (customerClassification != null
          ? customerClassification.value
          : this.customerClassification),
      customerSubClassification: (customerSubClassification != null
          ? customerSubClassification.value
          : this.customerSubClassification),
      boldCertified:
          (boldCertified != null ? boldCertified.value : this.boldCertified),
      serviceRank:
          (serviceRank != null ? serviceRank.value : this.serviceRank),
      salesZipCodes:
          (salesZipCodes != null ? salesZipCodes.value : this.salesZipCodes),
      serviceZipCodes: (serviceZipCodes != null
          ? serviceZipCodes.value
          : this.serviceZipCodes),
      allZipCodes:
          (allZipCodes != null ? allZipCodes.value : this.allZipCodes),
      telephoneNumber: (telephoneNumber != null
          ? telephoneNumber.value
          : this.telephoneNumber),
      name: (name != null ? name.value : this.name),
      street: (street != null ? street.value : this.street),
      city: (city != null ? city.value : this.city),
      state: (state != null ? state.value : this.state),
      latitude: (latitude != null ? latitude.value : this.latitude),
      longitude: (longitude != null ? longitude.value : this.longitude),
      zipCode: (zipCode != null ? zipCode.value : this.zipCode),
      country: (country != null ? country.value : this.country));
}