Package odata.msgraph.client.beta.entity
Class Mention
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.Mention
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Mention extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMention.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringapplicationprotected StringclientReferenceprotected EmailAddresscreatedByprotected OffsetDateTimecreatedDateTimeprotected StringdeepLinkprotected EmailAddressmentionedprotected StringmentionTextprotected OffsetDateTimeserverCreatedDateTime-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMention()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Mention.BuilderbuilderMention()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.ChangedFieldsgetChangedFields()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Mentionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Mentionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MentionwithApplication(String application)MentionwithClientReference(String clientReference)MentionwithCreatedBy(EmailAddress createdBy)MentionwithCreatedDateTime(OffsetDateTime createdDateTime)MentionwithDeepLink(String deepLink)MentionwithMentioned(EmailAddress mentioned)MentionwithMentionText(String mentionText)MentionwithServerCreatedDateTime(OffsetDateTime serverCreatedDateTime)MentionwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
application
protected String application
-
clientReference
protected String clientReference
-
createdBy
protected EmailAddress createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
deepLink
protected String deepLink
-
mentioned
protected EmailAddress mentioned
-
mentionText
protected String mentionText
-
serverCreatedDateTime
protected OffsetDateTime serverCreatedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderMention
public static Mention.Builder builderMention()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCreatedBy
public Optional<EmailAddress> getCreatedBy()
-
withCreatedBy
public Mention withCreatedBy(EmailAddress createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public Mention withCreatedDateTime(OffsetDateTime createdDateTime)
-
getMentioned
public Optional<EmailAddress> getMentioned()
-
withMentioned
public Mention withMentioned(EmailAddress mentioned)
-
getServerCreatedDateTime
public Optional<OffsetDateTime> getServerCreatedDateTime()
-
withServerCreatedDateTime
public Mention withServerCreatedDateTime(OffsetDateTime serverCreatedDateTime)
-
withUnmappedField
public Mention withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Mention patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Mention put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-