Class MessageRequest
- java.lang.Object
-
- com.github.davidmoten.odata.client.EntityRequest<Message>
-
- odata.msgraph.client.entity.request.MessageRequest
-
public class MessageRequest extends com.github.davidmoten.odata.client.EntityRequest<Message>
-
-
Constructor Summary
Constructors Constructor Description MessageRequest(com.github.davidmoten.odata.client.ContextPath contextPath, Optional<Object> value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentCollectionRequestattachments()AttachmentRequestattachments(String id)com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Message>copy(String destinationId)com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Message>createForward(List<Recipient> toRecipients, Message message, String comment)com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Message>createReply(Message message, String comment)com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Message>createReplyAll(Message message, String comment)ExtensionCollectionRequestextensions()ExtensionRequestextensions(String id)com.github.davidmoten.odata.client.ActionRequestNoReturnforward(List<Recipient> toRecipients, Message message, String comment)Optional<com.github.davidmoten.odata.client.StreamProvider>getStreamCurrentPath()If returning a stream without using object metadata is not supported then * returnsOptional.empty().com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Message>move(String destinationId)MultiValueLegacyExtendedPropertyCollectionRequestmultiValueExtendedProperties()MultiValueLegacyExtendedPropertyRequestmultiValueExtendedProperties(String id)com.github.davidmoten.odata.client.ActionRequestNoReturnreply(Message message, String comment)com.github.davidmoten.odata.client.ActionRequestNoReturnreplyAll(Message message, String comment)com.github.davidmoten.odata.client.ActionRequestNoReturnsend()SingleValueLegacyExtendedPropertyCollectionRequestsingleValueExtendedProperties()SingleValueLegacyExtendedPropertyRequestsingleValueExtendedProperties(String id)
-
-
-
Method Detail
-
getStreamCurrentPath
public Optional<com.github.davidmoten.odata.client.StreamProvider> getStreamCurrentPath()
If returning a stream without using object metadata is not supported then * returnsOptional.empty(). Otherwise, returns a stream provider where the location of the stream is assumed to be the current path +/$value.- Returns:
- StreamProvider if suitable metadata found otherwise returns
Optional.empty()
-
attachments
public AttachmentRequest attachments(String id)
-
attachments
public AttachmentCollectionRequest attachments()
-
extensions
public ExtensionRequest extensions(String id)
-
extensions
public ExtensionCollectionRequest extensions()
-
multiValueExtendedProperties
public MultiValueLegacyExtendedPropertyRequest multiValueExtendedProperties(String id)
-
multiValueExtendedProperties
public MultiValueLegacyExtendedPropertyCollectionRequest multiValueExtendedProperties()
-
singleValueExtendedProperties
public SingleValueLegacyExtendedPropertyRequest singleValueExtendedProperties(String id)
-
singleValueExtendedProperties
public SingleValueLegacyExtendedPropertyCollectionRequest singleValueExtendedProperties()
-
forward
public com.github.davidmoten.odata.client.ActionRequestNoReturn forward(List<Recipient> toRecipients, Message message, String comment)
-
copy
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Message> copy(String destinationId)
-
move
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Message> move(String destinationId)
-
createForward
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Message> createForward(List<Recipient> toRecipients, Message message, String comment)
-
createReply
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Message> createReply(Message message, String comment)
-
createReplyAll
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Message> createReplyAll(Message message, String comment)
-
reply
public com.github.davidmoten.odata.client.ActionRequestNoReturn reply(Message message, String comment)
-
replyAll
public com.github.davidmoten.odata.client.ActionRequestNoReturn replyAll(Message message, String comment)
-
send
public com.github.davidmoten.odata.client.ActionRequestNoReturn send()
-
-