Class MicrosoftGraphItemBody
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphItemBody
-
public final class MicrosoftGraphItemBody extends Object
itemBody.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphItemBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: itemBody.Stringcontent()Get the content property: The content of the item.MicrosoftGraphBodyTypecontentType()Get the contentType property: The contentType property.voidvalidate()Validates the instance.MicrosoftGraphItemBodywithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: itemBody.MicrosoftGraphItemBodywithContent(String content)Set the content property: The content of the item.MicrosoftGraphItemBodywithContentType(MicrosoftGraphBodyType contentType)Set the contentType property: The contentType property.
-
-
-
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.
-
-