Class BaseItem
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem
Defines common attributes for drive items.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBaseItem.BaseItemBuilder<C extends BaseItem, B extends BaseItem.BaseItemBuilder<C,B>> -
Method Summary
Modifier and TypeMethodDescriptionstatic BaseItem.BaseItemBuilder<?, ?> builder()booleanThe source identity that created the item.Describes when the item was created.Description of the item.getETag()Associated ETag for the item.getId()The unique identifier for the item.The identity that last modified the item.Describes when the item was last modified.getName()The name of the item.Describes the parent information.URL for the resource shown in a browser.inthashCode()voidsetDescription(String description) Sets the description for updating the drive item.voidSets the updated drive item name.voidsetParentReference(ItemReference parentReference) Sets the updated parentItemReferenceused for moving a file to another folder.toString()
-
Method Details
-
setDescription
Sets the description for updating the drive item.- Parameters:
description- the description
-
setName
-
setParentReference
Sets the updated parentItemReferenceused for moving a file to another folder.- Parameters:
parentReference- the parent item reference
-
builder
-
getId
The unique identifier for the item. -
getCreatedBy
The source identity that created the item. -
getCreatedDateTime
Describes when the item was created. -
getETag
Associated ETag for the item. -
getLastModifiedBy
The identity that last modified the item. -
getLastModifiedDateTime
Describes when the item was last modified. -
getWebUrl
URL for the resource shown in a browser. -
getDescription
Description of the item. -
getName
The name of the item. -
getParentReference
Describes the parent information. -
getUpdatedAttributesMap
-
equals
-
hashCode
-
toString
-