Package odata.msgraph.client.beta.entity
Class OutlookItem
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.OutlookItem
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class OutlookItem extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>categoriesprotected StringcategoriesNextLinkprotected StringchangeKeyprotected OffsetDateTimecreatedDateTimeprotected OffsetDateTimelastModifiedDateTime-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOutlookItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.CollectionPage<String>getCategories()com.github.davidmoten.odata.client.CollectionPage<String>getCategories(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getChangeKey()Optional<OffsetDateTime>getCreatedDateTime()Optional<OffsetDateTime>getLastModifiedDateTime()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()OutlookItempatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)OutlookItemput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()OutlookItemwithCategories(List<String> categories)OutlookItemwithChangeKey(String changeKey)OutlookItemwithCreatedDateTime(OffsetDateTime createdDateTime)OutlookItemwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)OutlookItemwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
categoriesNextLink
protected String categoriesNextLink
-
changeKey
protected String changeKey
-
createdDateTime
protected OffsetDateTime createdDateTime
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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
-
getCategories
public com.github.davidmoten.odata.client.CollectionPage<String> getCategories()
-
withCategories
public OutlookItem withCategories(List<String> categories)
-
getCategories
public com.github.davidmoten.odata.client.CollectionPage<String> getCategories(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withChangeKey
public OutlookItem withChangeKey(String changeKey)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public OutlookItem withCreatedDateTime(OffsetDateTime createdDateTime)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public OutlookItem withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
withUnmappedField
public OutlookItem 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 OutlookItem patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public OutlookItem put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-