Package odata.msgraph.client.complex
Class ChatMessageHistoryItem
- java.lang.Object
-
- odata.msgraph.client.complex.ChatMessageHistoryItem
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ChatMessageHistoryItem extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChatMessageHistoryItem.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ChatMessageActionsactionsprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected OffsetDateTimemodifiedDateTimeprotected StringodataTypeprotected ChatMessageReactionreactionprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedChatMessageHistoryItem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChatMessageHistoryItem.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<ChatMessageActions>getActions()Optional<OffsetDateTime>getModifiedDateTime()Optional<ChatMessageReaction>getReaction()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ChatMessageHistoryItemwithActions(ChatMessageActions actions)ChatMessageHistoryItemwithModifiedDateTime(OffsetDateTime modifiedDateTime)ChatMessageHistoryItemwithReaction(ChatMessageReaction reaction)ChatMessageHistoryItemwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
actions
protected ChatMessageActions actions
-
modifiedDateTime
protected OffsetDateTime modifiedDateTime
-
reaction
protected ChatMessageReaction reaction
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getActions
public Optional<ChatMessageActions> getActions()
-
withActions
public ChatMessageHistoryItem withActions(ChatMessageActions actions)
-
getModifiedDateTime
public Optional<OffsetDateTime> getModifiedDateTime()
-
withModifiedDateTime
public ChatMessageHistoryItem withModifiedDateTime(OffsetDateTime modifiedDateTime)
-
getReaction
public Optional<ChatMessageReaction> getReaction()
-
withReaction
public ChatMessageHistoryItem withReaction(ChatMessageReaction reaction)
-
withUnmappedField
public ChatMessageHistoryItem withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static ChatMessageHistoryItem.Builder builder()
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
-
-