Package odata.msgraph.client.entity
Class EventMessageResponse
- 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.EventMessageResponse
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class EventMessageResponse extends EventMessage implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventMessageResponse.Builder
-
Field Summary
Fields Modifier and Type Field Description protected TimeSlotproposedNewTimeprotected ResponseTyperesponseType-
Fields inherited from class odata.msgraph.client.entity.EventMessage
endDateTime, event, isAllDay, isDelegated, isOutOfDate, location, meetingMessageType, recurrence, startDateTime, type
-
Fields inherited from class odata.msgraph.client.entity.Message
attachments, bccRecipients, bccRecipientsNextLink, body, bodyPreview, ccRecipients, ccRecipientsNextLink, conversationId, conversationIndex, extensions, flag, from, hasAttachments, importance, inferenceClassification, internetMessageHeaders, internetMessageHeadersNextLink, internetMessageId, isDeliveryReceiptRequested, isDraft, isRead, isReadReceiptRequested, multiValueExtendedProperties, parentFolderId, receivedDateTime, replyTo, replyToNextLink, sender, sentDateTime, singleValueExtendedProperties, 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 protectedEventMessageResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventMessageResponse.BuilderbuilderEventMessageResponse()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<TimeSlot>getProposedNewTime()Optional<ResponseType>getResponseType()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()EventMessageResponsepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)EventMessageResponseput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()EventMessageResponsewithProposedNewTime(TimeSlot proposedNewTime)EventMessageResponsewithResponseType(ResponseType responseType)EventMessageResponsewithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.EventMessage
builderEventMessage, getEndDateTime, getEvent, getIsAllDay, getIsDelegated, getIsOutOfDate, getLocation, getMeetingMessageType, getRecurrence, getStartDateTime, getType, withEndDateTime, withEvent, 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, withAttachments, withBccRecipients, withBody, withBodyPreview, withCcRecipients, withConversationId, withConversationIndex, withExtensions, withFlag, withFrom, withHasAttachments, withImportance, withInferenceClassification, withInternetMessageHeaders, withInternetMessageId, withIsDeliveryReceiptRequested, withIsDraft, withIsRead, withIsReadReceiptRequested, withMultiValueExtendedProperties, withParentFolderId, withReceivedDateTime, withReplyTo, withSender, withSentDateTime, withSingleValueExtendedProperties, withSubject, withToRecipients, withUniqueBody, withWebLink
-
Methods inherited from class odata.msgraph.client.entity.OutlookItem
getCategories, getCategories, getChangeKey, getCreatedDateTime, getLastModifiedDateTime, withCategories, withChangeKey, withCreatedDateTime, withLastModifiedDateTime
-
-
-
-
Field Detail
-
proposedNewTime
protected TimeSlot proposedNewTime
-
responseType
protected ResponseType responseType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEventMessage
-
builderEventMessageResponse
public static EventMessageResponse.Builder builderEventMessageResponse()
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
-
withProposedNewTime
public EventMessageResponse withProposedNewTime(TimeSlot proposedNewTime)
-
getResponseType
public Optional<ResponseType> getResponseType()
-
withResponseType
public EventMessageResponse withResponseType(ResponseType responseType)
-
withUnmappedField
public EventMessageResponse withUnmappedField(String name, Object 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 EventMessageResponse 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 EventMessageResponse 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
-
-