WorkbookTemplateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. applicationinsights. fluent. models. WorkbookTemplateProperties
- com.
Implements
public final class WorkbookTemplateProperties
implements JsonSerializable<WorkbookTemplateProperties>
Properties that contain a workbook template.
Constructor Summary
| Constructor | Description |
|---|---|
| WorkbookTemplateProperties() |
Creates an instance of Workbook |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
author()
Get the author property: Information about the author of the workbook template. |
|
static
Workbook |
fromJson(JsonReader jsonReader)
Reads an instance of Workbook |
|
List<Workbook |
galleries()
Get the galleries property: Workbook galleries supported by the template. |
|
Map<String,List<Workbook |
localized()
Get the localized property: Key value pair of localized gallery. |
| Integer |
priority()
Get the priority property: Priority of the template. |
| Object |
templateData()
Get the template |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Workbook |
withAuthor(String author)
Set the author property: Information about the author of the workbook template. |
|
Workbook |
withGalleries(List<WorkbookTemplateGallery> galleries)
Set the galleries property: Workbook galleries supported by the template. |
|
Workbook |
withLocalized(Map<String,List<WorkbookTemplateLocalizedGallery>> localized)
Set the localized property: Key value pair of localized gallery. |
|
Workbook |
withPriority(Integer priority)
Set the priority property: Priority of the template. |
|
Workbook |
withTemplateData(Object templateData)
Set the template |
Methods inherited from java.lang.Object
Constructor Details
WorkbookTemplateProperties
public WorkbookTemplateProperties()
Creates an instance of WorkbookTemplateProperties class.
Method Details
author
public String author()
Get the author property: Information about the author of the workbook template.
Returns:
fromJson
public static WorkbookTemplateProperties fromJson(JsonReader jsonReader)
Reads an instance of WorkbookTemplateProperties from the JsonReader.
Parameters:
Returns:
Throws:
galleries
public List<WorkbookTemplateGallery> galleries()
Get the galleries property: Workbook galleries supported by the template.
Returns:
localized
public Map<String,List<WorkbookTemplateLocalizedGallery>> localized()
Get the localized property: Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.
Returns:
priority
public Integer priority()
Get the priority property: Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.
Returns:
templateData
public Object templateData()
Get the templateData property: Valid JSON object containing workbook template payload.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAuthor
public WorkbookTemplateProperties withAuthor(String author)
Set the author property: Information about the author of the workbook template.
Parameters:
Returns:
withGalleries
public WorkbookTemplateProperties withGalleries(List<WorkbookTemplateGallery> galleries)
Set the galleries property: Workbook galleries supported by the template.
Parameters:
Returns:
withLocalized
public WorkbookTemplateProperties withLocalized(Map<String,List<WorkbookTemplateLocalizedGallery>> localized)
Set the localized property: Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.
Parameters:
Returns:
withPriority
public WorkbookTemplateProperties withPriority(Integer priority)
Set the priority property: Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.
Parameters:
Returns:
withTemplateData
public WorkbookTemplateProperties withTemplateData(Object templateData)
Set the templateData property: Valid JSON object containing workbook template payload.
Parameters:
Returns: