Class ListItem.ListItemBuilder<C extends ListItem,B extends ListItem.ListItemBuilder<C,B>>
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem.BaseItemBuilder<C,B>
com.amilesend.onedrive.resource.site.ListItem.ListItemBuilder<C,B>
- Enclosing class:
ListItem
public abstract static class ListItem.ListItemBuilder<C extends ListItem,B extends ListItem.ListItemBuilder<C,B>>
extends BaseItem.BaseItemBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
connection
(OneDriveConnection connection) The OneDrive API connection.contentType
(ContentType contentType) The content type of this list item.deleted
(boolean deleted) Indicates if this item is deleted or not (read-only).For document libraries, the list item as a drive item.The key is the name of the column, the value is the associated value of the columns set on this list item.The associated list identifier.sharepointIds
(SharePointIds sharepointIds) The Sharepoint identifiers.The associated site identifier.toString()
Methods inherited from class com.amilesend.onedrive.resource.item.BaseItem.BaseItemBuilder
createdBy, createdDateTime, description, eTag, id, lastModifiedBy, lastModifiedDateTime, name, parentReference, webUrl
-
Constructor Details
-
ListItemBuilder
public ListItemBuilder()
-
-
Method Details
-
fields
The key is the name of the column, the value is the associated value of the columns set on this list item.- Returns:
this
.
-
driveItem
For document libraries, the list item as a drive item.- Returns:
this
.
-
siteId
The associated site identifier.- Returns:
this
.
-
listId
The associated list identifier.- Returns:
this
.
-
connection
The OneDrive API connection.- Returns:
this
.
-
contentType
The content type of this list item.- Returns:
this
.
-
deleted
Indicates if this item is deleted or not (read-only).- Returns:
this
.
-
build
- Specified by:
build
in classBaseItem.BaseItemBuilder<C extends ListItem,
B extends ListItem.ListItemBuilder<C, B>>
-
toString
- Overrides:
toString
in classBaseItem.BaseItemBuilder<C extends ListItem,
B extends ListItem.ListItemBuilder<C, B>>
-