TemplatePropertiesResponse

data class TemplatePropertiesResponse(val author: MetadataAuthorResponse? = null, val categories: MetadataCategoriesResponse? = null, val contentId: String, val contentKind: String, val contentProductId: String, val contentSchemaVersion: String? = null, val customVersion: String? = null, val dependantTemplates: List<TemplatePropertiesResponse>, val dependencies: MetadataDependenciesResponse? = null, val displayName: String, val firstPublishDate: String? = null, val icon: String? = null, val isDeprecated: String, val lastPublishDate: String? = null, val mainTemplate: Any? = null, val packageId: String, val packageKind: String? = null, val packageName: String? = null, val packageVersion: String, val previewImages: List<String>? = null, val previewImagesDark: List<String>? = null, val providers: List<String>? = null, val source: MetadataSourceResponse, val support: MetadataSupportResponse? = null, val threatAnalysisTactics: List<String>? = null, val threatAnalysisTechniques: List<String>? = null, val version: String)

Template property bag.

Constructors

Link copied to clipboard
constructor(author: MetadataAuthorResponse? = null, categories: MetadataCategoriesResponse? = null, contentId: String, contentKind: String, contentProductId: String, contentSchemaVersion: String? = null, customVersion: String? = null, dependantTemplates: List<TemplatePropertiesResponse>, dependencies: MetadataDependenciesResponse? = null, displayName: String, firstPublishDate: String? = null, icon: String? = null, isDeprecated: String, lastPublishDate: String? = null, mainTemplate: Any? = null, packageId: String, packageKind: String? = null, packageName: String? = null, packageVersion: String, previewImages: List<String>? = null, previewImagesDark: List<String>? = null, providers: List<String>? = null, source: MetadataSourceResponse, support: MetadataSupportResponse? = null, threatAnalysisTactics: List<String>? = null, threatAnalysisTechniques: List<String>? = null, version: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The creator of the content item.

Link copied to clipboard

Categories for the item

Link copied to clipboard

Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name

Link copied to clipboard

The kind of content the template is for.

Link copied to clipboard

Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template

Link copied to clipboard

Schema version of the content. Can be used to distinguish between different flow based on the schema version

Link copied to clipboard
val customVersion: String? = null

The custom version of the content. A optional free text

Link copied to clipboard

Dependant templates. Expandable.

Link copied to clipboard

Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats.

Link copied to clipboard

The display name of the template

Link copied to clipboard

first publish date content item

Link copied to clipboard
val icon: String? = null

the icon identifier. this id can later be fetched from the content metadata

Link copied to clipboard

Flag indicates if this template is deprecated

Link copied to clipboard
val lastPublishDate: String? = null

last publish date for the content item

Link copied to clipboard
val mainTemplate: Any? = null

The JSON of the ARM template to deploy active content. Expandable.

Link copied to clipboard

the package Id contains this template

Link copied to clipboard
val packageKind: String? = null

the packageKind of the package contains this template

Link copied to clipboard
val packageName: String? = null

the name of the package contains this template

Link copied to clipboard

Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks

Link copied to clipboard
val previewImages: List<String>? = null

preview image file names. These will be taken from the solution artifacts

Link copied to clipboard

preview image file names. These will be taken from the solution artifacts. used for dark theme support

Link copied to clipboard
val providers: List<String>? = null

Providers for the content item

Link copied to clipboard

Source of the content. This is where/how it was created.

Link copied to clipboard

Support information for the template - type, name, contact information

Link copied to clipboard

the tactics the resource covers

Link copied to clipboard

the techniques the resource covers, these have to be aligned with the tactics being used

Link copied to clipboard

Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks