Class FormattedContent

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

public class FormattedContent extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Formatted Content.
  • 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 this formattedContent.
    • format

      @SerializedName(value="format", alternate="Format") @Expose @Nullable public ContentFormat format
      The Format. The format of the content. The possible values are: text, html, markdown, unknownFutureValue.
  • Constructor Details

    • FormattedContent

      public FormattedContent()
  • 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