Class ContentType.ContentTypeBuilder
java.lang.Object
com.amilesend.onedrive.resource.site.type.ContentType.ContentTypeBuilder
- Enclosing class:
ContentType
-
Method Summary
Modifier and TypeMethodDescriptionbuild()columnLinks(List<ColumnLink> columnLinks) The list of columns that are required by this content type.description(String description) The item description.The group name that this type belongs to.hidden(boolean hidden) Indicates if the content type is hidden.The content type identifier.inheritedFrom(ItemReference inheritedFrom) Describes if this type is inherited from another type (like a site that contains the type).The content type name.order(ContentTypeOrder order) Describes the order that the content type appears in the UI.The parent content type identifier.readOnly(boolean readOnly) Indicates if this content type is mutable.sealed(boolean sealed) Indicates if the content type is only mutable by administrators.toString()
-
Method Details
-
description
The item description.- Returns:
this.
-
group
The group name that this type belongs to.- Returns:
this.
-
id
The content type identifier.- Returns:
this.
-
inheritedFrom
Describes if this type is inherited from another type (like a site that contains the type).- Returns:
this.
-
name
The content type name.- Returns:
this.
-
order
Describes the order that the content type appears in the UI.- Returns:
this.
-
parentId
The parent content type identifier.- Returns:
this.
-
readOnly
Indicates if this content type is mutable.- Returns:
this.
-
sealed
Indicates if the content type is only mutable by administrators.- Returns:
this.
-
columnLinks
The list of columns that are required by this content type.- Returns:
this.
-
build
-
toString
-