public class Mention extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
Mention.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
application |
protected String |
clientReference |
protected EmailAddress |
createdBy |
protected OffsetDateTime |
createdDateTime |
protected String |
deepLink |
protected EmailAddress |
mentioned |
protected String |
mentionText |
protected OffsetDateTime |
serverCreatedDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Mention() |
| Modifier and Type | Method and Description |
|---|---|
static Mention.Builder |
builderMention()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getApplication() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getClientReference() |
Optional<EmailAddress> |
getCreatedBy() |
Optional<OffsetDateTime> |
getCreatedDateTime() |
Optional<String> |
getDeepLink() |
Optional<EmailAddress> |
getMentioned() |
Optional<String> |
getMentionText() |
Optional<OffsetDateTime> |
getServerCreatedDateTime() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Mention |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Mention |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Mention |
withApplication(String application) |
Mention |
withClientReference(String clientReference) |
Mention |
withCreatedBy(EmailAddress createdBy) |
Mention |
withCreatedDateTime(OffsetDateTime createdDateTime) |
Mention |
withDeepLink(String deepLink) |
Mention |
withMentioned(EmailAddress mentioned) |
Mention |
withMentionText(String mentionText) |
Mention |
withServerCreatedDateTime(OffsetDateTime serverCreatedDateTime) |
protected EmailAddress mentioned
protected String mentionText
protected String clientReference
protected EmailAddress createdBy
protected OffsetDateTime createdDateTime
protected OffsetDateTime serverCreatedDateTime
protected String deepLink
protected String application
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Mention.Builder builderMention()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<EmailAddress> getMentioned()
public Mention withMentioned(EmailAddress mentioned)
public Optional<EmailAddress> getCreatedBy()
public Mention withCreatedBy(EmailAddress createdBy)
public Optional<OffsetDateTime> getCreatedDateTime()
public Mention withCreatedDateTime(OffsetDateTime createdDateTime)
public Optional<OffsetDateTime> getServerCreatedDateTime()
public Mention withServerCreatedDateTime(OffsetDateTime serverCreatedDateTime)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Mention patch()
this with changed fields reset.public Mention put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.