Class FolderView

java.lang.Object
com.amilesend.onedrive.resource.item.type.FolderView

public class FolderView extends Object
Describes the recommended view of a folder.

API Documentation.

See Also:
  • Method Details

    • builder

      public static FolderView.FolderViewBuilder builder()
    • getSortBy

      public String getSortBy()
      How the contents should be sorted. Valid values include:
      • default
      • name
      • type
      • size
      • takenOrCreatedDateTime
      • lastModifiedDateTime
      • sequence
    • getSortOrder

      public String getSortOrder()
      Describes the associated sort order. If undefined, ascending is assumed. Value values include:
      • ascending
      • descending
    • getViewType

      public String getViewType()
      Describes the type of view that should be used for the folder. Valid values include:
      • default
      • icons
      • details
      • thumbnails
    • setSortBy

      public void setSortBy(String sortBy)
      How the contents should be sorted. Valid values include:
      • default
      • name
      • type
      • size
      • takenOrCreatedDateTime
      • lastModifiedDateTime
      • sequence
    • setSortOrder

      public void setSortOrder(String sortOrder)
      Describes the associated sort order. If undefined, ascending is assumed. Value values include:
      • ascending
      • descending
    • setViewType

      public void setViewType(String viewType)
      Describes the type of view that should be used for the folder. Valid values include:
      • default
      • icons
      • details
      • thumbnails
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object