Class ContentType

java.lang.Object
com.amilesend.onedrive.resource.site.type.ContentType

public class ContentType extends Object
Describes the SharePoint content type. This enables the definition of a set of required columns that are present on every item in a list.

API Documentation.

See Also:
  • Method Details

    • builder

      public static ContentType.ContentTypeBuilder builder()
    • getDescription

      public String getDescription()
      The item description.
    • getGroup

      public String getGroup()
      The group name that this type belongs to.
    • isHidden

      public boolean isHidden()
      Indicates if the content type is hidden.
    • getId

      public String getId()
      The content type identifier.
    • getInheritedFrom

      public ItemReference getInheritedFrom()
      Describes if this type is inherited from another type (like a site that contains the type).
    • getName

      public String getName()
      The content type name.
    • getOrder

      public ContentTypeOrder getOrder()
      Describes the order that the content type appears in the UI.
    • getParentId

      public String getParentId()
      The parent content type identifier.
    • isReadOnly

      public boolean isReadOnly()
      Indicates if this content type is mutable.
    • isSealed

      public boolean isSealed()
      Indicates if the content type is only mutable by administrators.
    • getColumnLinks

      public List<ColumnLink> getColumnLinks()
      The list of columns that are required by this content type.
    • 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