Package odata.msgraph.client.entity
Class DocumentSetVersion
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.BaseItemVersion
-
- odata.msgraph.client.entity.ListItemVersion
-
- odata.msgraph.client.entity.DocumentSetVersion
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DocumentSetVersion extends ListItemVersion implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentSetVersion.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringcommentprotected IdentitySetcreatedByprotected OffsetDateTimecreatedDateTimeprotected List<DocumentSetVersionItem>itemsprotected StringitemsNextLinkprotected BooleanshouldCaptureMinorVersion-
Fields inherited from class odata.msgraph.client.entity.ListItemVersion
fields
-
Fields inherited from class odata.msgraph.client.entity.BaseItemVersion
lastModifiedBy, lastModifiedDateTime, publication
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDocumentSetVersion()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentSetVersion.BuilderbuilderDocumentSetVersion()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getComment()Optional<IdentitySet>getCreatedBy()Optional<OffsetDateTime>getCreatedDateTime()com.github.davidmoten.odata.client.CollectionPage<DocumentSetVersionItem>getItems()com.github.davidmoten.odata.client.CollectionPage<DocumentSetVersionItem>getItems(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<Boolean>getShouldCaptureMinorVersion()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DocumentSetVersionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DocumentSetVersionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnrestore()StringtoString()DocumentSetVersionwithComment(String comment)DocumentSetVersionwithCreatedBy(IdentitySet createdBy)DocumentSetVersionwithCreatedDateTime(OffsetDateTime createdDateTime)DocumentSetVersionwithItems(List<DocumentSetVersionItem> items)DocumentSetVersionwithShouldCaptureMinorVersion(Boolean shouldCaptureMinorVersion)DocumentSetVersionwithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.ListItemVersion
builderListItemVersion, getFields, restoreVersion, withFields
-
Methods inherited from class odata.msgraph.client.entity.BaseItemVersion
getLastModifiedBy, getLastModifiedDateTime, getPublication, withLastModifiedBy, withLastModifiedDateTime, withPublication
-
-
-
-
Field Detail
-
comment
protected String comment
-
createdBy
protected IdentitySet createdBy
-
createdDateTime
protected OffsetDateTime createdDateTime
-
items
protected List<DocumentSetVersionItem> items
-
itemsNextLink
protected String itemsNextLink
-
shouldCaptureMinorVersion
protected Boolean shouldCaptureMinorVersion
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classListItemVersion
-
builderDocumentSetVersion
public static DocumentSetVersion.Builder builderDocumentSetVersion()
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 classListItemVersion
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classListItemVersion
-
withComment
public DocumentSetVersion withComment(String comment)
-
getCreatedBy
public Optional<IdentitySet> getCreatedBy()
-
withCreatedBy
public DocumentSetVersion withCreatedBy(IdentitySet createdBy)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public DocumentSetVersion withCreatedDateTime(OffsetDateTime createdDateTime)
-
getItems
public com.github.davidmoten.odata.client.CollectionPage<DocumentSetVersionItem> getItems()
-
withItems
public DocumentSetVersion withItems(List<DocumentSetVersionItem> items)
-
getItems
public com.github.davidmoten.odata.client.CollectionPage<DocumentSetVersionItem> getItems(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withShouldCaptureMinorVersion
public DocumentSetVersion withShouldCaptureMinorVersion(Boolean shouldCaptureMinorVersion)
-
withUnmappedField
public DocumentSetVersion withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classListItemVersion
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classListItemVersion
-
patch
public DocumentSetVersion patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classListItemVersion- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public DocumentSetVersion put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classListItemVersion- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
restore
public com.github.davidmoten.odata.client.ActionRequestNoReturn restore()
-
toString
public String toString()
- Overrides:
toStringin classListItemVersion
-
-