Class MicrosoftGraphItemBody

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphItemBody

public final class MicrosoftGraphItemBody extends Object
itemBody.
  • Constructor Details

    • MicrosoftGraphItemBody

      public MicrosoftGraphItemBody()
      Creates an instance of MicrosoftGraphItemBody class.
  • Method Details

    • 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: bodyType.
      Returns:
      the contentType value.
    • withContentType

      public MicrosoftGraphItemBody withContentType(MicrosoftGraphBodyType contentType)
      Set the contentType property: bodyType.
      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.