Class MicrosoftGraphOnenotePatchContentCommand


  • public final class MicrosoftGraphOnenotePatchContentCommand
    extends Object
    onenotePatchContentCommand.
    • Constructor Detail

      • MicrosoftGraphOnenotePatchContentCommand

        public MicrosoftGraphOnenotePatchContentCommand()
    • Method Detail

      • content

        public String content()
        Get the content property: A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Commands' part.
        Returns:
        the content value.
      • withContent

        public MicrosoftGraphOnenotePatchContentCommand withContent​(String content)
        Set the content property: A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a 'Commands' part.
        Parameters:
        content - the content value to set.
        Returns:
        the MicrosoftGraphOnenotePatchContentCommand object itself.
      • target

        public String target()
        Get the target property: The element to update. Must be the #<data-id> or the generated <id> of the element, or the body or title keyword.
        Returns:
        the target value.
      • withTarget

        public MicrosoftGraphOnenotePatchContentCommand withTarget​(String target)
        Set the target property: The element to update. Must be the #<data-id> or the generated <id> of the element, or the body or title keyword.
        Parameters:
        target - the target value to set.
        Returns:
        the MicrosoftGraphOnenotePatchContentCommand object itself.
      • additionalProperties

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

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

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