Package com.microsoft.graph.models
Class ContentType
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ContentType
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Content Type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Associated Hubs Urls.The Base.The Base Types.The Column Links.The Column Positions.The Columns.The Description.The Document Set.The Document Template.The Group.The Hidden.The Inherited From.The Is Built In.The Name.The Order.The Parent Id.The Propagate Changes.The Read Only.The Sealed. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
associatedHubsUrls
@SerializedName(value="associatedHubsUrls", alternate="AssociatedHubsUrls") @Expose @Nullable public List<String> associatedHubsUrlsThe 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 descriptionThe Description. The descriptive text for the item. -
documentSet
@SerializedName(value="documentSet", alternate="DocumentSet") @Expose @Nullable public DocumentSet documentSetThe Document Set. Document Set metadata. -
documentTemplate
@SerializedName(value="documentTemplate", alternate="DocumentTemplate") @Expose @Nullable public DocumentSetContent documentTemplateThe 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
The Group. The name of the group this content type belongs to. Helps organize related content types. -
inheritedFrom
@SerializedName(value="inheritedFrom", alternate="InheritedFrom") @Expose @Nullable public ItemReference inheritedFromThe 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 isBuiltInThe Is Built In. Specifies if a content type is a built-in content type. -
name
The Name. The name of the content type. -
order
The Order. Specifies the order in which the content type appears in the selection UI. -
parentId
The Parent Id. The unique identifier of the content type. -
propagateChanges
@SerializedName(value="propagateChanges", alternate="PropagateChanges") @Expose @Nullable public Boolean propagateChangesThe 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
The Read Only. If true, the content type can't be modified unless this value is first set to false. -
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
The Base. Parent contentType from which this content type is derived. -
baseTypes
The Base Types. The collection of content types that are ancestors of this content type. -
columnLinks
@SerializedName(value="columnLinks", alternate="ColumnLinks") @Expose @Nullable public ColumnLinkCollectionPage columnLinksThe Column Links. The collection of columns that are required by this content type. -
columnPositions
The Column Positions. Column order information in a content type. -
columns
@SerializedName(value="columns", alternate="Columns") @Expose @Nullable public ColumnDefinitionCollectionPage columnsThe 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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-