Class List
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem
com.amilesend.onedrive.resource.site.List
Represents a list resource in a site that describes the top-level properties of a list.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
List.ListBuilder<C extends List,
B extends List.ListBuilder<C, B>> Nested classes/interfaces inherited from class com.amilesend.onedrive.resource.item.BaseItem
BaseItem.BaseItemBuilder<C extends BaseItem,
B extends BaseItem.BaseItemBuilder<C, B>> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic List.ListBuilder
<?, ?> builder()
createListItem
(Map<String, Object> fields) Creates a newListItem
for the givenCreateListItemRequest
.boolean
Queries and fetches the activities associated with thisList
.The column definitions that apply to this list.The OneDrive API connection.The content types for this list.The list title.getDrive()
When defined, indicates that this list exists within a document library and can be treated as a drive.getList()
Additional list information.The associated site identifier that this list is associated with.Indicates that this is a system-managed list.int
hashCode()
toString()
Methods inherited from class com.amilesend.onedrive.resource.item.BaseItem
getCreatedBy, getCreatedDateTime, getDescription, getETag, getId, getLastModifiedBy, getLastModifiedDateTime, getName, getParentReference, getWebUrl, setDescription, setName, setParentReference
-
Field Details
-
LIST_BASE_URL_PATH
- See Also:
-
LIST_URL_PATH_SUFFIX
- See Also:
-
-
Method Details
-
createListItem
- Parameters:
fields
- The map of fields, with the key being the column name and the Object being its value- Returns:
- the created list item
-
getActivities
Queries and fetches the activities associated with thisList
.- Returns:
- the list of activities
-
equals
-
hashCode
public int hashCode() -
builder
-
getSystem
Indicates that this is a system-managed list. Note: Eithernull
or defined as empty. -
getColumns
The column definitions that apply to this list. -
getContentTypes
The content types for this list. -
getDrive
When defined, indicates that this list exists within a document library and can be treated as a drive. -
getSiteId
The associated site identifier that this list is associated with. -
getConnection
The OneDrive API connection. -
getDisplayName
The list title. -
getList
Additional list information. -
toString
-