MicrosoftGraphItemBody Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphItemBody
- com.
Implements
public final class MicrosoftGraphItemBody
implements JsonSerializable<MicrosoftGraphItemBody>
itemBody.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphItemBody() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
content()
Get the content property: The content of the item. |
Microsoft |
contentType()
Get the content |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withContent(String content)
Set the content property: The content of the item. |
Microsoft |
withContentType(MicrosoftGraphBodyType contentType)
Set the content |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphItemBody
public MicrosoftGraphItemBody()
Creates an instance of MicrosoftGraphItemBody class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: itemBody.
Returns:
content
public String content()
Get the content property: The content of the item.
Returns:
contentType
public MicrosoftGraphBodyType contentType()
Get the contentType property: bodyType.
Returns:
fromJson
public static MicrosoftGraphItemBody fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphItemBody from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphItemBody withAdditionalProperties(Map
Set the additionalProperties property: itemBody.
Parameters:
Returns:
withContent
public MicrosoftGraphItemBody withContent(String content)
Set the content property: The content of the item.
Parameters:
Returns:
withContentType
public MicrosoftGraphItemBody withContentType(MicrosoftGraphBodyType contentType)
Set the contentType property: bodyType.
Parameters:
Returns:
Applies to
Azure SDK for Java