Class MicrosoftGraphItemBody


  • public final class MicrosoftGraphItemBody
    extends Object
    itemBody.
    • Constructor Detail

      • MicrosoftGraphItemBody

        public MicrosoftGraphItemBody()
    • Method Detail

      • content

        public String content()
        Get the content property: The content of the item.
        Returns:
        the content value.
      • withContent

        public MicrosoftGraphItemBody withContent​(String content)
        Set the content property: The content of the item.
        Parameters:
        content - the content value to set.
        Returns:
        the MicrosoftGraphItemBody object itself.
      • contentType

        public MicrosoftGraphBodyType contentType()
        Get the contentType property: The contentType property.
        Returns:
        the contentType value.
      • withContentType

        public MicrosoftGraphItemBody withContentType​(MicrosoftGraphBodyType contentType)
        Set the contentType property: The contentType property.
        Parameters:
        contentType - the contentType value to set.
        Returns:
        the MicrosoftGraphItemBody object itself.
      • additionalProperties

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

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

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