Class MicrosoftGraphContentType

    • Constructor Detail

      • MicrosoftGraphContentType

        public MicrosoftGraphContentType()
    • 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.
      • 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.