Class ResultTemplateOption

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

public class ResultTemplateOption extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Result Template Option.
  • Field Details

    • oDataType

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

      @SerializedName(value="enableResultTemplate", alternate="EnableResultTemplate") @Expose @Nullable public Boolean enableResultTemplate
      The Enable Result Template. Indicates whether search display layouts are enabled. If enabled, the user will get the result template to render the search results content in the resultTemplates property of the response. The result template is based on Adaptive Cards. Optional.
  • Constructor Details

    • ResultTemplateOption

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