Class SiteCollection

java.lang.Object
com.amilesend.onedrive.resource.site.SiteCollection

public class SiteCollection extends Object
Defines a collection of sites. Note: When defined in a Site, indicates that the site is the root for the site collection.

API Documentation.

  • Method Details

    • isRoot

      public boolean isRoot()
      Indicates if this site collection is the root collection.
      Returns:
      true if this is the root collection; else, false
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • builder

      public static SiteCollection.SiteCollectionBuilder builder()
    • getDataLocationCode

      public String getDataLocationCode()
      The location code (e.g., "JPN").
    • getHostname

      public String getHostname()
      The hostname for the sharepoint site.
    • getRoot

      public Object getRoot()
      If defined, indicates that the collection is the top-most collection among other collections.
    • toString

      public String toString()
      Overrides:
      toString in class Object