Class ItemBody

java.lang.Object
com.microsoft.graph.models.ItemBody
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class ItemBody extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Item Body.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • content

      @SerializedName(value="content", alternate="Content") @Expose @Nullable public String content
      The Content. The content of the item.
    • contentType

      @SerializedName(value="contentType", alternate="ContentType") @Expose @Nullable public BodyType contentType
      The Content Type. The type of the content. Possible values are text and html.
  • Constructor Details

    • ItemBody

      public ItemBody()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to