MicrosoftGraphItemBody Class

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

public final class MicrosoftGraphItemBody

itemBody.

Constructor Summary

Constructor Description
MicrosoftGraphItemBody()

Creates an instance of MicrosoftGraphItemBody class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: itemBody.

String content()

Get the content property: The content of the item.

MicrosoftGraphBodyType contentType()

Get the contentType property: bodyType.

void validate()

Validates the instance.

MicrosoftGraphItemBody withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: itemBody.

MicrosoftGraphItemBody withContent(String content)

Set the content property: The content of the item.

MicrosoftGraphItemBody withContentType(MicrosoftGraphBodyType contentType)

Set the contentType property: bodyType.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphItemBody

public MicrosoftGraphItemBody()

Creates an instance of MicrosoftGraphItemBody class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: itemBody.

Returns:

the additionalProperties value.

content

public String content()

Get the content property: The content of the item.

Returns:

the content value.

contentType

public MicrosoftGraphBodyType contentType()

Get the contentType property: bodyType.

Returns:

the contentType value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphItemBody withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: itemBody.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphItemBody object itself.

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.

withContentType

public MicrosoftGraphItemBody withContentType(MicrosoftGraphBodyType contentType)

Set the contentType property: bodyType.

Parameters:

contentType - the contentType value to set.

Returns:

the MicrosoftGraphItemBody object itself.

Applies to