public class ChatMessageMention extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatMessageMention.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Integer |
id |
protected IdentitySet |
mentioned |
protected String |
mentionText |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
ChatMessageMention() |
| Modifier and Type | Method and Description |
|---|---|
static ChatMessageMention.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getId() |
Optional<IdentitySet> |
getMentioned() |
Optional<String> |
getMentionText() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
ChatMessageMention |
withId(Integer id) |
ChatMessageMention |
withMentioned(IdentitySet mentioned) |
ChatMessageMention |
withMentionText(String mentionText) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Integer id
protected String mentionText
protected IdentitySet mentioned
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic ChatMessageMention withId(Integer id)
public ChatMessageMention withMentionText(String mentionText)
public Optional<IdentitySet> getMentioned()
public ChatMessageMention withMentioned(IdentitySet mentioned)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static ChatMessageMention.Builder builder()
Copyright © 2018–2020. All rights reserved.