-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating Java SDK to include inline attachments #41591
Updating Java SDK to include inline attachments #41591
Conversation
API change check APIView has identified API level changes in this PR and created following API reviews. |
…ttps://github.com/natekimball-msft/azure-sdk-for-java into natekimball/update-java-sdk-for-inline-attachments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awaiting feature implementation of partner team prior to merge to main.
...mmunication-email/src/main/java/com/azure/communication/email/implementation/EmailsImpl.java
Outdated
Show resolved
Hide resolved
.../azure-communication-email/src/samples/java/com/azure/communication/email/ReadmeSamples.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm with small suggestion
### Packages impacted by this PR azure/communication-email ### Issues associated with this PR N/A ### Describe the problem that is addressed by this PR N/A ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? N/A - update to include contentId property for EmailAttachment to support inline attachments. ### Are there test cases added in this PR? _(If not, why?)_ Yes ### Provide a list of related PRs _(if any)_ [Java SDK PR](Azure/azure-sdk-for-java#41591) [.NET SDK PR](Azure/azure-sdk-for-net#45360) [REST API PR (complete)](Azure/azure-rest-api-specs#29699) ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ Git command? git push --set-upstream origin natekimball/update-js-sdk-for-inline-attachments ### Checklists - [X] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [X] Added a changelog (if necessary)
* updating Java SDK to include inline attachments * minor updates * updating classes with correct API version * updating tests * assets.json * reverting version number * content should be string * actually it should be BinaryData, my bad * merge miss * fixing linting errors and sample * linting error * another linting error * adding older methods to bypass linting errors * reordering enum for linting error in pipeline * cleaning up trailing whitespace * appending setContentId to end of constructor call
Description
This update introduces the new EmailAttachment property
contentId
, the presence of which will be used to mark an attachment for inline rendering. ThecontentId
property should be referenced in the HTML body of the email attachment.Link to swagger spec API: Azure/azure-rest-api-specs#29699
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines