Class MicrosoftGraphContentType
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphContentType
-
public final class MicrosoftGraphContentType extends MicrosoftGraphEntity
contentType.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphContentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: contentType.List<MicrosoftGraphColumnLink>columnLinks()Get the columnLinks property: The collection of columns that are required by this content type.Stringdescription()Get the description property: The descriptive text for the item.Stringgroup()Get the group property: The name of the group this content type belongs to.Booleanhidden()Get the hidden property: Indicates whether the content type is hidden in the list's 'New' menu.MicrosoftGraphItemReferenceinheritedFrom()Get the inheritedFrom property: itemReference.Stringname()Get the name property: The name of the content type.MicrosoftGraphContentTypeOrderorder()Get the order property: contentTypeOrder.StringparentId()Get the parentId property: The unique identifier of the content type.BooleanreadOnly()Get the readOnly property: If true, the content type cannot be modified unless this value is first set to false.Booleansealed()Get the sealed property: If true, the content type cannot be modified by users or through push-down operations.voidvalidate()Validates the instance.MicrosoftGraphContentTypewithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: contentType.MicrosoftGraphContentTypewithColumnLinks(List<MicrosoftGraphColumnLink> columnLinks)Set the columnLinks property: The collection of columns that are required by this content type.MicrosoftGraphContentTypewithDescription(String description)Set the description property: The descriptive text for the item.MicrosoftGraphContentTypewithGroup(String group)Set the group property: The name of the group this content type belongs to.MicrosoftGraphContentTypewithHidden(Boolean hidden)Set the hidden property: Indicates whether the content type is hidden in the list's 'New' menu.MicrosoftGraphContentTypewithId(String id)Set the id property: Read-only.MicrosoftGraphContentTypewithInheritedFrom(MicrosoftGraphItemReference inheritedFrom)Set the inheritedFrom property: itemReference.MicrosoftGraphContentTypewithName(String name)Set the name property: The name of the content type.MicrosoftGraphContentTypewithOrder(MicrosoftGraphContentTypeOrder order)Set the order property: contentTypeOrder.MicrosoftGraphContentTypewithParentId(String parentId)Set the parentId property: The unique identifier of the content type.MicrosoftGraphContentTypewithReadOnly(Boolean readOnly)Set the readOnly property: If true, the content type cannot be modified unless this value is first set to false.MicrosoftGraphContentTypewithSealed(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
-
-
-
-
Method Detail
-
description
public String description()
Get the description property: The descriptive text for the item.- Returns:
- the description value.
-
withDescription
public MicrosoftGraphContentType withDescription(String description)
Set the description property: The descriptive text for the item.- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
group
public String 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
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:
group- the group value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
hidden
public Boolean hidden()
Get the hidden property: Indicates whether the content type is hidden in the list's 'New' menu.- Returns:
- the hidden value.
-
withHidden
public MicrosoftGraphContentType withHidden(Boolean hidden)
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
public MicrosoftGraphItemReference inheritedFrom()
Get the inheritedFrom property: itemReference.- Returns:
- the inheritedFrom value.
-
withInheritedFrom
public MicrosoftGraphContentType withInheritedFrom(MicrosoftGraphItemReference inheritedFrom)
Set the inheritedFrom property: itemReference.- Parameters:
inheritedFrom- the inheritedFrom value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
name
public String name()
Get the name property: The name of the content type.- Returns:
- the name value.
-
withName
public MicrosoftGraphContentType withName(String name)
Set the name property: The name of the content type.- Parameters:
name- the name value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
order
public MicrosoftGraphContentTypeOrder order()
Get the order property: contentTypeOrder.- Returns:
- the order value.
-
withOrder
public MicrosoftGraphContentType withOrder(MicrosoftGraphContentTypeOrder order)
Set the order property: contentTypeOrder.- Parameters:
order- the order value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
parentId
public String parentId()
Get the parentId property: The unique identifier of the content type.- Returns:
- the parentId value.
-
withParentId
public MicrosoftGraphContentType withParentId(String parentId)
Set the parentId property: The unique identifier of the content type.- Parameters:
parentId- the parentId value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
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:
- the readOnly value.
-
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:
readOnly- the readOnly value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
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:
- the sealed value.
-
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:
sealed- the sealed value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
columnLinks
public List<MicrosoftGraphColumnLink> columnLinks()
Get the columnLinks property: The collection of columns that are required by this content type.- Returns:
- the columnLinks value.
-
withColumnLinks
public MicrosoftGraphContentType withColumnLinks(List<MicrosoftGraphColumnLink> columnLinks)
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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: contentType.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphContentType withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: contentType.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphContentType object itself.
-
withId
public MicrosoftGraphContentType withId(String id)
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.
-
-