Class MicrosoftGraphContentType
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphContentType
contentType.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphContentType class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: contentType.Get the columnLinks property: The collection of columns that are required by this content type.Get the description property: The descriptive text for the item.group()Get the group property: The name of the group this content type belongs to.hidden()Get the hidden property: Indicates whether the content type is hidden in the list's 'New' menu.Get the inheritedFrom property: itemReference.name()Get the name property: The name of the content type.order()Get the order property: contentTypeOrder.parentId()Get the parentId property: The unique identifier of the content type.readOnly()Get the readOnly property: If true, the content type cannot be modified unless this value is first set to false.sealed()Get the sealed property: If true, the content type cannot be modified by users or through push-down operations.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: contentType.withColumnLinks(List<MicrosoftGraphColumnLink> columnLinks) Set the columnLinks property: The collection of columns that are required by this content type.withDescription(String description) Set the description property: The descriptive text for the item.Set the group property: The name of the group this content type belongs to.withHidden(Boolean hidden) Set the hidden property: Indicates whether the content type is hidden in the list's 'New' menu.Set the id property: Read-only.withInheritedFrom(MicrosoftGraphItemReference inheritedFrom) Set the inheritedFrom property: itemReference.Set the name property: The name of the content type.Set the order property: contentTypeOrder.withParentId(String parentId) Set the parentId property: The unique identifier of the content type.withReadOnly(Boolean readOnly) Set the readOnly property: If true, the content type cannot be modified unless this value is first set to false.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 class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphContentType
public MicrosoftGraphContentType()Creates an instance of MicrosoftGraphContentType class.
-
-
Method Details
-
description
Get the description property: The descriptive text for the item.- Returns:
- the description value.
-
withDescription
Set the description property: The descriptive text for the item.- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
group
Get the group property: The name of the group this content type belongs to. Helps organize related content types.- Returns:
- the group value.
-
withGroup
Set the group property: The name of the group this content type belongs to. Helps organize related content types.- Parameters:
group- the group value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
withHidden
Set the hidden property: Indicates whether the content type is hidden in the list's 'New' menu.- Parameters:
hidden- the hidden value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
inheritedFrom
Get the inheritedFrom property: itemReference.- Returns:
- the inheritedFrom value.
-
withInheritedFrom
Set the inheritedFrom property: itemReference.- Parameters:
inheritedFrom- the inheritedFrom value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
name
Get the name property: The name of the content type.- Returns:
- the name value.
-
withName
Set the name property: The name of the content type.- Parameters:
name- the name value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
order
Get the order property: contentTypeOrder.- Returns:
- the order value.
-
withOrder
Set the order property: contentTypeOrder.- Parameters:
order- the order value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
parentId
Get the parentId property: The unique identifier of the content type.- Returns:
- the parentId value.
-
withParentId
Set the parentId property: The unique identifier of the content type.- Parameters:
parentId- the parentId value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
readOnly
Get the readOnly property: If true, the content type cannot be modified unless this value is first set to false.- Returns:
- the readOnly value.
-
withReadOnly
Set the readOnly property: If true, the content type cannot be modified unless this value is first set to false.- Parameters:
readOnly- the readOnly value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
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:
- the sealed value.
-
withSealed
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:
sealed- the sealed value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
columnLinks
Get the columnLinks property: The collection of columns that are required by this content type.- Returns:
- the columnLinks value.
-
withColumnLinks
Set the columnLinks property: The collection of columns that are required by this content type.- Parameters:
columnLinks- the columnLinks value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
additionalProperties
Get the additionalProperties property: contentType.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: contentType.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-