Class FolderView.FolderViewBuilder

java.lang.Object
com.amilesend.onedrive.resource.item.type.FolderView.FolderViewBuilder
Enclosing class:
FolderView

public static class FolderView.FolderViewBuilder extends Object
  • Method Details

    • sortBy

      public FolderView.FolderViewBuilder sortBy(String sortBy)
      How the contents should be sorted. Valid values include:
      • default
      • name
      • type
      • size
      • takenOrCreatedDateTime
      • lastModifiedDateTime
      • sequence
      Returns:
      this.
    • sortOrder

      public FolderView.FolderViewBuilder sortOrder(String sortOrder)
      Describes the associated sort order. If undefined, ascending is assumed. Value values include:
      • ascending
      • descending
      Returns:
      this.
    • viewType

      public FolderView.FolderViewBuilder viewType(String viewType)
      Describes the type of view that should be used for the folder. Valid values include:
      • default
      • icons
      • details
      • thumbnails
      Returns:
      this.
    • build

      public FolderView build()
    • toString

      public String toString()
      Overrides:
      toString in class Object