Class MicrosoftGraphItemBody
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphItemBody
itemBody.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphItemBody class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: itemBody.content()Get the content property: The content of the item.Get the contentType property: bodyType.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: itemBody.withContent(String content) Set the content property: The content of the item.withContentType(MicrosoftGraphBodyType contentType) Set the contentType property: bodyType.
-
Constructor Details
-
MicrosoftGraphItemBody
public MicrosoftGraphItemBody()Creates an instance of MicrosoftGraphItemBody class.
-
-
Method Details
-
content
Get the content property: The content of the item.- Returns:
- the content value.
-
withContent
Set the content property: The content of the item.- Parameters:
content- the content value to set.- Returns:
- the MicrosoftGraphItemBody object itself.
-
contentType
Get the contentType property: bodyType.- Returns:
- the contentType value.
-
withContentType
Set the contentType property: bodyType.- Parameters:
contentType- the contentType value to set.- Returns:
- the MicrosoftGraphItemBody object itself.
-
additionalProperties
Get the additionalProperties property: itemBody.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
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.
-