MicrosoftGraphContentType Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphContentType
- com.
- com.
public final class MicrosoftGraphContentType
extends MicrosoftGraphEntity
Represents a content type.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphContentType() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
|
List<Microsoft |
columnLinks()
Get the column |
| String |
description()
Get the description property: The descriptive text for the item. |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
| String |
group()
Get the group property: The name of the group this content type belongs to. |
| Boolean |
hidden()
Get the hidden property: Indicates whether the content type is hidden in the list's 'New' menu. |
|
Microsoft |
inheritedFrom()
Get the inherited |
| String |
name()
Get the name property: The name of the content type. |
|
Microsoft |
order()
Get the order property: content |
| String |
parentId()
Get the parent |
| Boolean |
readOnly()
Get the read |
| Boolean |
sealed()
Get the sealed property: If true, the content type cannot be modified by users or through push-down operations. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withColumnLinks(List<MicrosoftGraphColumnLink> columnLinks)
Set the column |
|
Microsoft |
withDescription(String description)
Set the description property: The descriptive text for the item. |
|
Microsoft |
withGroup(String group)
Set the group property: The name of the group this content type belongs to. |
|
Microsoft |
withHidden(Boolean hidden)
Set the hidden property: Indicates whether the content type is hidden in the list's 'New' menu. |
|
Microsoft |
withId(String id)
Set the id property: Read-only. |
|
Microsoft |
withInheritedFrom(MicrosoftGraphItemReference inheritedFrom)
Set the inherited |
|
Microsoft |
withName(String name)
Set the name property: The name of the content type. |
|
Microsoft |
withOrder(MicrosoftGraphContentTypeOrder order)
Set the order property: content |
|
Microsoft |
withParentId(String parentId)
Set the parent |
|
Microsoft |
withReadOnly(Boolean readOnly)
Set the read |
|
Microsoft |
withSealed(Boolean sealed)
Set the sealed property: If true, the content type cannot be modified by users or through push-down operations. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphContentType
public MicrosoftGraphContentType()
Creates an instance of MicrosoftGraphContentType class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: contentType.
Overrides:
MicrosoftGraphContentType.additionalProperties()Returns:
columnLinks
public List<MicrosoftGraphColumnLink> columnLinks()
Get the columnLinks property: The collection of columns that are required by this content type.
Returns:
description
public String description()
Get the description property: The descriptive text for the item.
Returns:
fromJson
public static MicrosoftGraphContentType fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphContentType from the JsonReader.
Parameters:
Returns:
Throws:
group
public String group()
Get the group property: The name of the group this content type belongs to. Helps organize related content types.
Returns:
hidden
public Boolean hidden()
Get the hidden property: Indicates whether the content type is hidden in the list's 'New' menu.
Returns:
inheritedFrom
public MicrosoftGraphItemReference inheritedFrom()
Get the inheritedFrom property: itemReference.
Returns:
name
public String name()
Get the name property: The name of the content type.
Returns:
order
public MicrosoftGraphContentTypeOrder order()
Get the order property: contentTypeOrder.
Returns:
parentId
public String parentId()
Get the parentId property: The unique identifier of the content type.
Returns:
readOnly
public Boolean readOnly()
Get the readOnly property: If true, the content type cannot be modified unless this value is first set to false.
Returns:
sealed
public Boolean sealed()
Get the sealed property: If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphContentType.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphContentType.validate()withAdditionalProperties
public MicrosoftGraphContentType withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: contentType.
Overrides:
MicrosoftGraphContentType.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withColumnLinks
public MicrosoftGraphContentType withColumnLinks(List<MicrosoftGraphColumnLink> columnLinks)
Set the columnLinks property: The collection of columns that are required by this content type.
Parameters:
Returns:
withDescription
public MicrosoftGraphContentType withDescription(String description)
Set the description property: The descriptive text for the item.
Parameters:
Returns:
withGroup
public MicrosoftGraphContentType withGroup(String group)
Set the group property: The name of the group this content type belongs to. Helps organize related content types.
Parameters:
Returns:
withHidden
public MicrosoftGraphContentType withHidden(Boolean hidden)
Set the hidden property: Indicates whether the content type is hidden in the list's 'New' menu.
Parameters:
Returns:
withId
public MicrosoftGraphContentType withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphContentType.withId(String id)Parameters:
withInheritedFrom
public MicrosoftGraphContentType withInheritedFrom(MicrosoftGraphItemReference inheritedFrom)
Set the inheritedFrom property: itemReference.
Parameters:
Returns:
withName
public MicrosoftGraphContentType withName(String name)
Set the name property: The name of the content type.
Parameters:
Returns:
withOrder
public MicrosoftGraphContentType withOrder(MicrosoftGraphContentTypeOrder order)
Set the order property: contentTypeOrder.
Parameters:
Returns:
withParentId
public MicrosoftGraphContentType withParentId(String parentId)
Set the parentId property: The unique identifier of the content type.
Parameters:
Returns:
withReadOnly
public MicrosoftGraphContentType withReadOnly(Boolean readOnly)
Set the readOnly property: If true, the content type cannot be modified unless this value is first set to false.
Parameters:
Returns:
withSealed
public MicrosoftGraphContentType withSealed(Boolean sealed)
Set the sealed property: If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types.
Parameters:
Returns: