Class ListInfo.ListInfoBuilder

java.lang.Object
com.amilesend.onedrive.resource.site.type.ListInfo.ListInfoBuilder
Enclosing class:
ListInfo

public static class ListInfo.ListInfoBuilder extends Object
  • Method Details

    • contentTypesEnabled

      public ListInfo.ListInfoBuilder contentTypesEnabled(boolean contentTypesEnabled)
      Indicates that content types are enabled for the list.
      Returns:
      this.
    • hidden

      public ListInfo.ListInfoBuilder hidden(boolean hidden)
      Indicates if the list is hidden from view.
      Returns:
      this.
    • template

      public ListInfo.ListInfoBuilder template(String template)
      Represents the base list template used for the list. Example values (but not limited to):
      • documentLibrary
      • genericList
      • task
      • survey
      • announcements
      • contacts
      Returns:
      this.
    • build

      public ListInfo build()
    • toString

      public String toString()
      Overrides:
      toString in class Object