Skip to content

PP-1215: Add utmTerm and utmContent fields to email campaign models#26

Merged
ArunSIB merged 2 commits into
mainfrom
PP-1215
Jul 20, 2026
Merged

PP-1215: Add utmTerm and utmContent fields to email campaign models#26
ArunSIB merged 2 commits into
mainfrom
PP-1215

Conversation

@ArunSIB

@ArunSIB ArunSIB commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

Regenerates the Java SDK to expose two new UTM fields — utmTerm and utmContent — from the updated swagger_definition_client.yml (public-api#5882), as tracked in PP-1215.

Field names follow the Go DTO json tags — no Value suffix (intentional asymmetry vs. the existing utmCampaignValue).

Changes

Added utmContent and utmTerm (field, fluent builder, getter, setter, equals, hashCode, toString) to:

Model Type Location
CreateEmailCampaign request Create email campaign body
UpdateEmailCampaign request Update email campaign body
GetExtendedCampaignOverview response getExtendedCampaignOverview schema

Descriptions/examples copied verbatim from the merged source swagger. Also updated the matching docs/*.md tables and bumped pom.xml version 1.1.8 → 1.1.9.

Acceptance criteria

  • SDK regenerated from the merged swagger_definition_client.yml
  • getUtmTerm/setUtmTerm and getUtmContent/setUtmContent present on all three models
  • New version bumped (1.1.9); publish to be done via release pipeline

Verification

mvn -o compile → BUILD SUCCESS.

🤖 Generated with Claude Code

ArunSIB and others added 2 commits July 17, 2026 17:25
Adds utmTerm and utmContent UTM fields to CreateEmailCampaign and
UpdateEmailCampaign request models and to GetExtendedCampaignOverview
response model, regenerated from the updated swagger_definition_client.yml
(public-api#5882). Field names follow the Go DTO json tags with no Value
suffix.

Bumps version to 1.1.9 and updates generated docs.

PP-1215

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The getEmailCampaign response composes getExtendedCampaignOverview via
allOf, and swagger-codegen flattens that into a standalone
GetEmailCampaign class. The previous commit added utmContent/utmTerm to
GetExtendedCampaignOverview but missed the flattened composite, so the
GET /emailCampaigns/{campaignId} response would silently drop the two
new fields. This adds them (field, builder, getter, setter, equals,
hashCode, toString) plus the docs table, matching the source swagger.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ArunSIB
ArunSIB merged commit c8beb5c into main Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant