Class DisplayTemplate

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

public class DisplayTemplate extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Display Template.
  • Field Details

    • oDataType

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

      @SerializedName(value="id", alternate="Id") @Expose @Nullable public String id
      The Id. The text identifier for the display template; for example, contosoTickets. Maximum 16 characters. Only alphanumeric characters allowed.
    • layout

      @SerializedName(value="layout", alternate="Layout") @Expose @Nullable public com.google.gson.JsonElement layout
      The Layout. The definition of the content's appearance, represented by an Adaptive Card, which is a JSON-serialized card object model.
    • priority

      @SerializedName(value="priority", alternate="Priority") @Expose @Nullable public Integer priority
      The Priority. Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. Must be positive value.
    • rules

      @SerializedName(value="rules", alternate="Rules") @Expose @Nullable public List<PropertyRule> rules
      The Rules. Specifies additional rules for selecting this display template based on the item schema. Optional.
  • Constructor Details

    • DisplayTemplate

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