Class ContentType

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ContentType
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class ContentType extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Content Type.
  • Field Details

    • associatedHubsUrls

      @SerializedName(value="associatedHubsUrls", alternate="AssociatedHubsUrls") @Expose @Nullable public List<String> associatedHubsUrls
      The Associated Hubs Urls. List of canonical URLs for hub sites with which this content type is associated to. This will contain all hub sites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites.
    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The Description. The descriptive text for the item.
    • documentSet

      @SerializedName(value="documentSet", alternate="DocumentSet") @Expose @Nullable public DocumentSet documentSet
      The Document Set. Document Set metadata.
    • documentTemplate

      @SerializedName(value="documentTemplate", alternate="DocumentTemplate") @Expose @Nullable public DocumentSetContent documentTemplate
      The Document Template. Document template metadata. To make sure that documents have consistent content across a site and its subsites, you can associate a Word, Excel, or PowerPoint template with a site content type.
    • group

      @SerializedName(value="group", alternate="Group") @Expose @Nullable public String group
      The Group. The name of the group this content type belongs to. Helps organize related content types.
    • hidden

      @SerializedName(value="hidden", alternate="Hidden") @Expose @Nullable public Boolean hidden
      The Hidden. Indicates whether the content type is hidden in the list's 'New' menu.
    • inheritedFrom

      @SerializedName(value="inheritedFrom", alternate="InheritedFrom") @Expose @Nullable public ItemReference inheritedFrom
      The Inherited From. If this content type is inherited from another scope (like a site), provides a reference to the item where the content type is defined.
    • isBuiltIn

      @SerializedName(value="isBuiltIn", alternate="IsBuiltIn") @Expose @Nullable public Boolean isBuiltIn
      The Is Built In. Specifies if a content type is a built-in content type.
    • name

      @SerializedName(value="name", alternate="Name") @Expose @Nullable public String name
      The Name. The name of the content type.
    • order

      @SerializedName(value="order", alternate="Order") @Expose @Nullable public ContentTypeOrder order
      The Order. Specifies the order in which the content type appears in the selection UI.
    • parentId

      @SerializedName(value="parentId", alternate="ParentId") @Expose @Nullable public String parentId
      The Parent Id. The unique identifier of the content type.
    • propagateChanges

      @SerializedName(value="propagateChanges", alternate="PropagateChanges") @Expose @Nullable public Boolean propagateChanges
      The Propagate Changes. If true, any changes made to the content type will be pushed to inherited content types and lists that implement the content type.
    • readOnly

      @SerializedName(value="readOnly", alternate="ReadOnly") @Expose @Nullable public Boolean readOnly
      The Read Only. If true, the content type can't be modified unless this value is first set to false.
    • sealed

      @SerializedName(value="sealed", alternate="Sealed") @Expose @Nullable public Boolean sealed
      The Sealed. If true, the content type can't be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types.
    • base

      @SerializedName(value="base", alternate="Base") @Expose @Nullable public ContentType base
      The Base. Parent contentType from which this content type is derived.
    • baseTypes

      @Nullable public ContentTypeCollectionPage baseTypes
      The Base Types. The collection of content types that are ancestors of this content type.
    • columnPositions

      @Nullable public ColumnDefinitionCollectionPage columnPositions
      The Column Positions. Column order information in a content type.
    • columns

      @SerializedName(value="columns", alternate="Columns") @Expose @Nullable public ColumnDefinitionCollectionPage columns
      The Columns. The collection of column definitions for this contentType.
  • Constructor Details

    • ContentType

      public ContentType()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to