Package odata.msgraph.client.entity
Class BaseItemVersion
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.BaseItemVersion
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
DriveItemVersion,ListItemVersion
public class BaseItemVersion extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Field Summary
Fields Modifier and Type Field Description protected IdentitySetlastModifiedByprotected OffsetDateTimelastModifiedDateTimeprotected PublicationFacetpublication-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseItemVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<IdentitySet>getLastModifiedBy()Optional<OffsetDateTime>getLastModifiedDateTime()Optional<PublicationFacet>getPublication()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()BaseItemVersionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)BaseItemVersionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()BaseItemVersionwithLastModifiedBy(IdentitySet lastModifiedBy)BaseItemVersionwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)BaseItemVersionwithPublication(PublicationFacet publication)BaseItemVersionwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
lastModifiedBy
protected IdentitySet lastModifiedBy
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
publication
protected PublicationFacet publication
-
-
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
-
getLastModifiedBy
public Optional<IdentitySet> getLastModifiedBy()
-
withLastModifiedBy
public BaseItemVersion withLastModifiedBy(IdentitySet lastModifiedBy)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public BaseItemVersion withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
getPublication
public Optional<PublicationFacet> getPublication()
-
withPublication
public BaseItemVersion withPublication(PublicationFacet publication)
-
withUnmappedField
public BaseItemVersion withUnmappedField(String name, Object 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 BaseItemVersion patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public BaseItemVersion put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-