Class MessageRequest


  • public class MessageRequest
    extends com.github.davidmoten.odata.client.EntityRequest<Message>
    • Constructor Detail

      • MessageRequest

        public MessageRequest​(com.github.davidmoten.odata.client.ContextPath contextPath,
                              Optional<Object> value)
    • Method Detail

      • getStreamCurrentPath

        public Optional<com.github.davidmoten.odata.client.StreamProvider> getStreamCurrentPath()
        If returning a stream without using object metadata is not supported then * returns Optional.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()
      • 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()