Class Site
java.lang.Object
com.amilesend.onedrive.resource.Site
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the column definitions that are reusable across lists under this site.Gets the content types for the site.Gets the identity set that indicates who created this drive.Gets the timestamp (formatted as a string) that indicates when this drive was created.Gets the default document library for this site.Gets the description associated with this drive.Gets the full title for the site.Gets all available document libraries for this site.getETag()
Gets the eTag associated with this drive.getId()
Gets the drive identifier.getItems()
Gets the items contained within this site.Gets the identity set that indicates who made the last modification to this drive.Gets the timestamp (formatted as a string) that indicate when this drive was last modified.getLists()
Gets all lists under the site.getName()
Gets the name of this drive.Gets the parent reference of this drive.Gets the SharePoint resource identifiers for SharePoint and Business account itemsGets the details about the site's collection (only applicable to root sites).Gets the web URL formatted as a string for this drive.int
hashCode()
boolean
isRoot()
Indicates if this site is the root site.toString()
-
Constructor Details
-
Site
-
-
Method Details
-
getId
-
getCreatedBy
Gets the identity set that indicates who created this drive.- Returns:
- the identity set
- See Also:
-
getCreatedDateTime
Gets the timestamp (formatted as a string) that indicates when this drive was created.- Returns:
- the timestamp
-
getDescription
Gets the description associated with this drive.- Returns:
- the description
-
getETag
-
getLastModifiedBy
Gets the identity set that indicates who made the last modification to this drive.- Returns:
- the identity set
- See Also:
-
getLastModifiedDateTime
Gets the timestamp (formatted as a string) that indicate when this drive was last modified.- Returns:
- the timestamp
-
getName
-
getParentReference
Gets the parent reference of this drive.- Returns:
- the parent reference
- See Also:
-
getWebUrl
Gets the web URL formatted as a string for this drive.- Returns:
- the web URL
-
getDisplayName
-
isRoot
public boolean isRoot()Indicates if this site is the root site.- Returns:
true
if this site is the root; else,false
-
getSiteCollection
Gets the details about the site's collection (only applicable to root sites).- Returns:
- the site collection
- See Also:
-
getContentTypes
Gets the content types for the site.- Returns:
- the list of content types
-
getColumns
Gets the column definitions that are reusable across lists under this site.- Returns:
- the list of column definitions
- See Also:
-
getItems
-
toString
-
getDefaultDocumentLibrary
Gets the default document library for this site.- Returns:
- the drive that represents the document library
- See Also:
-
getDocumentLibraries
-
getLists
-
equals
-
hashCode
-