Skip to content

[MOD2-702] Add ModerationV2Response to Message model#237

Merged
vishalnarkhede merged 3 commits intomainfrom
feature/mod2-702-add-moderation-v2-response-to-message
Feb 16, 2026
Merged

[MOD2-702] Add ModerationV2Response to Message model#237
vishalnarkhede merged 3 commits intomainfrom
feature/mod2-702-add-moderation-v2-response-to-message

Conversation

@vishalnarkhede
Copy link
Contributor

@vishalnarkhede vishalnarkhede commented Feb 16, 2026

Ticket

Summary

  • Add ModerationV2Response inner class to Message.java with fields: action, original_text, text_harms, image_harms, blocklist_matched, semantic_filter_matched
  • Add moderation field to Message class so the SDK can deserialize moderation details from the SendMessage response

Context

eBay uses the Java SDK for server-side integration. The backend is being updated (companion PR) to include moderation labels in the SendMessage response for server-side requests. This SDK change allows eBay to read those fields.

Related PRs

Checklist

  • The changed code has been covered with unit tests
  • API endpoints are covered with client tests

🤖 Generated with Claude Code

Loading
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