Class MicrosoftGraphContentTypeOrder


  • public final class MicrosoftGraphContentTypeOrder
    extends Object
    contentTypeOrder.
    • Constructor Detail

      • MicrosoftGraphContentTypeOrder

        public MicrosoftGraphContentTypeOrder()
    • Method Detail

      • defaultProperty

        public Boolean defaultProperty()
        Get the defaultProperty property: Whether this is the default Content Type.
        Returns:
        the defaultProperty value.
      • withDefaultProperty

        public MicrosoftGraphContentTypeOrder withDefaultProperty​(Boolean defaultProperty)
        Set the defaultProperty property: Whether this is the default Content Type.
        Parameters:
        defaultProperty - the defaultProperty value to set.
        Returns:
        the MicrosoftGraphContentTypeOrder object itself.
      • position

        public Integer position()
        Get the position property: Specifies the position in which the Content Type appears in the selection UI.
        Returns:
        the position value.
      • withPosition

        public MicrosoftGraphContentTypeOrder withPosition​(Integer position)
        Set the position property: Specifies the position in which the Content Type appears in the selection UI.
        Parameters:
        position - the position value to set.
        Returns:
        the MicrosoftGraphContentTypeOrder object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: contentTypeOrder.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphContentTypeOrder withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: contentTypeOrder.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphContentTypeOrder object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.