Package odata.msgraph.client.entity
Class EventMessageRequest
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.OutlookItem
-
- odata.msgraph.client.entity.Message
-
- odata.msgraph.client.entity.EventMessage
-
- odata.msgraph.client.entity.EventMessageRequest
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class EventMessageRequest extends EventMessage implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventMessageRequest.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanallowNewTimeProposalsprotected MeetingRequestTypemeetingRequestTypeprotected DateTimeTimeZonepreviousEndDateTimeprotected LocationpreviousLocationprotected DateTimeTimeZonepreviousStartDateTimeprotected BooleanresponseRequested-
Fields inherited from class odata.msgraph.client.entity.EventMessage
endDateTime, isAllDay, isDelegated, isOutOfDate, location, meetingMessageType, recurrence, startDateTime, type
-
Fields inherited from class odata.msgraph.client.entity.Message
bccRecipients, bccRecipientsNextLink, body, bodyPreview, ccRecipients, ccRecipientsNextLink, conversationId, conversationIndex, flag, from, hasAttachments, importance, inferenceClassification, internetMessageHeaders, internetMessageHeadersNextLink, internetMessageId, isDeliveryReceiptRequested, isDraft, isRead, isReadReceiptRequested, parentFolderId, receivedDateTime, replyTo, replyToNextLink, sender, sentDateTime, subject, toRecipients, toRecipientsNextLink, uniqueBody, webLink
-
Fields inherited from class odata.msgraph.client.entity.OutlookItem
categories, categoriesNextLink, changeKey, createdDateTime, lastModifiedDateTime
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEventMessageRequest()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.entity.EventMessage
builderEventMessage, getEndDateTime, getEvent, getIsAllDay, getIsDelegated, getIsOutOfDate, getLocation, getMeetingMessageType, getRecurrence, getStartDateTime, getType, withEndDateTime, withIsAllDay, withIsDelegated, withIsOutOfDate, withLocation, withMeetingMessageType, withRecurrence, withStartDateTime, withType
-
Methods inherited from class odata.msgraph.client.entity.Message
builderMessage, copy, createForward, createReply, createReplyAll, forward, getAttachments, getBccRecipients, getBccRecipients, getBody, getBodyPreview, getCcRecipients, getCcRecipients, getConversationId, getConversationIndex, getExtensions, getFlag, getFrom, getHasAttachments, getImportance, getInferenceClassification, getInternetMessageHeaders, getInternetMessageHeaders, getInternetMessageId, getIsDeliveryReceiptRequested, getIsDraft, getIsRead, getIsReadReceiptRequested, getMultiValueExtendedProperties, getParentFolderId, getReceivedDateTime, getReplyTo, getReplyTo, getSender, getSentDateTime, getSingleValueExtendedProperties, getStream, getSubject, getToRecipients, getToRecipients, getUniqueBody, getWebLink, move, reply, replyAll, send, withBccRecipients, withBody, withBodyPreview, withCcRecipients, withConversationId, withConversationIndex, withFlag, withFrom, withHasAttachments, withImportance, withInferenceClassification, withInternetMessageHeaders, withInternetMessageId, withIsDeliveryReceiptRequested, withIsDraft, withIsRead, withIsReadReceiptRequested, withParentFolderId, withReceivedDateTime, withReplyTo, withSender, withSentDateTime, withSubject, withToRecipients, withUniqueBody, withWebLink
-
Methods inherited from class odata.msgraph.client.entity.OutlookItem
getCategories, getCategories, getChangeKey, getCreatedDateTime, getLastModifiedDateTime, withCategories, withChangeKey, withCreatedDateTime, withLastModifiedDateTime
-
-
-
-
Field Detail
-
allowNewTimeProposals
protected Boolean allowNewTimeProposals
-
meetingRequestType
protected MeetingRequestType meetingRequestType
-
previousEndDateTime
protected DateTimeTimeZone previousEndDateTime
-
previousLocation
protected Location previousLocation
-
previousStartDateTime
protected DateTimeTimeZone previousStartDateTime
-
responseRequested
protected Boolean responseRequested
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEventMessage
-
builderEventMessageRequest
public static EventMessageRequest.Builder builderEventMessageRequest()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEventMessage
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEventMessage
-
withAllowNewTimeProposals
public EventMessageRequest withAllowNewTimeProposals(Boolean allowNewTimeProposals)
-
getMeetingRequestType
public Optional<MeetingRequestType> getMeetingRequestType()
-
withMeetingRequestType
public EventMessageRequest withMeetingRequestType(MeetingRequestType meetingRequestType)
-
getPreviousEndDateTime
public Optional<DateTimeTimeZone> getPreviousEndDateTime()
-
withPreviousEndDateTime
public EventMessageRequest withPreviousEndDateTime(DateTimeTimeZone previousEndDateTime)
-
withPreviousLocation
public EventMessageRequest withPreviousLocation(Location previousLocation)
-
getPreviousStartDateTime
public Optional<DateTimeTimeZone> getPreviousStartDateTime()
-
withPreviousStartDateTime
public EventMessageRequest withPreviousStartDateTime(DateTimeTimeZone previousStartDateTime)
-
withResponseRequested
public EventMessageRequest withResponseRequested(Boolean responseRequested)
-
withUnmappedField
public EventMessageRequest withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEventMessage
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEventMessage
-
patch
public EventMessageRequest patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classEventMessage- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public EventMessageRequest put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classEventMessage- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classEventMessage
-
-