Class BaseItem
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem
Defines common attributes for drive items.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
BaseItem.BaseItemBuilder<C extends BaseItem,
B extends BaseItem.BaseItemBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionstatic BaseItem.BaseItemBuilder
<?, ?> builder()
boolean
The 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.int
hashCode()
void
setDescription
(String description) Description of the item.void
The name of the item.void
setParentReference
(ItemReference parentReference) Describes the parent information.toString()
-
Method Details
-
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. -
setDescription
Description of the item. -
setName
The name of the item. -
setParentReference
Describes the parent information. -
equals
-
hashCode
public int hashCode() -
toString
-