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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
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 layoutThe Layout. The definition of the content's appearance, represented by an Adaptive Card, which is a JSON-serialized card object model. -
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
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:
additionalDataManagerin interfacecom.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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-