Skip to content

Commit

Permalink
Merge pull request #520 from microsoftgraph/bugfix/message-content-re…
Browse files Browse the repository at this point in the history
…gression

- fixes a regression where the content method would be missing for message
  • Loading branch information
baywet committed Oct 5, 2020
2 parents ff03bd6 + c0418aa commit 3500614
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -58,6 +58,8 @@ public interface IMessageRequestBuilder extends IRequestBuilder {
ISingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties();

ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(final String id);

IMessageStreamRequestBuilder content();
IMessageCopyRequestBuilder copy(final String destinationId);
IMessageMoveRequestBuilder move(final String destinationId);
IMessageCreateForwardRequestBuilder createForward(final java.util.List<Recipient> toRecipients, final Message message, final String comment);
Expand Down
Expand Up @@ -98,6 +98,10 @@ public ISingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedPrope
return new SingleValueLegacyExtendedPropertyRequestBuilder(getRequestUrlWithAdditionalSegment("singleValueExtendedProperties") + "/" + id, getClient(), null);
}

public IMessageStreamRequestBuilder content() {
return new MessageStreamRequestBuilder(getRequestUrlWithAdditionalSegment("$value"), getClient(), null);
}

public IMessageCopyRequestBuilder copy(final String destinationId) {
return new MessageCopyRequestBuilder(getRequestUrlWithAdditionalSegment("microsoft.graph.copy"), getClient(), null, destinationId);
}
Expand Down

0 comments on commit 3500614

Please sign in to comment.