Class ListItemVersion
java.lang.Object
com.amilesend.onedrive.resource.site.ListItemVersion
Describes a previous version of a list item.
Required permissions (one of):
- Sites.ReadWrite.All
- Sites.Manage.All
- Sites.FullControl.All
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
The OneDrive API connection.The key is the name of the column, the value is the associated value of the columns set on this list item.getId()
The version identifier.The user who last modified the version.The timestamp of when the version was last modifed.The associated list identifier.The associated list item identifier.Describes the publication status of a version.The associated site identifier.int
hashCode()
boolean
restore()
Restores this version.toString()
-
Field Details
-
LIST_ITEM_VERSION_BASE_URL_PATH
- See Also:
-
LIST_ITEM_VERSIONS_URL_SUFFIX
- See Also:
-
-
Method Details
-
restore
public boolean restore()Restores this version.- Returns:
true
if successful; else,false
-
builder
-
getFields
The key is the name of the column, the value is the associated value of the columns set on this list item. -
getId
The version identifier. -
getLastModifiedBy
The user who last modified the version. -
getLastModifiedDateTime
The timestamp of when the version was last modifed. -
getPublished
Describes the publication status of a version. -
getSiteId
The associated site identifier. -
getListId
The associated list identifier. -
getListItemId
The associated list item identifier. -
getConnection
The OneDrive API connection. -
equals
-
hashCode
public int hashCode() -
toString
-