com.jetbrains.plugin.structure.youtrack.bean.YouTrackAppManifest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-youtrack Show documentation
Show all versions of structure-youtrack Show documentation
Library for parsing JetBrains YouTrack Apps. Can be used to verify that plugin complies with JetBrains Marketplace requirements.
package com.jetbrains.plugin.structure.youtrack.bean
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonProperty
@JsonIgnoreProperties(ignoreUnknown = true)
data class YouTrackAppManifest(
@JsonProperty(YouTrackAppFields.Manifest.NAME)
val name: String? = null,
@JsonProperty(YouTrackAppFields.Manifest.TITLE)
val title: String? = null,
@JsonProperty(YouTrackAppFields.Manifest.VERSION)
val version: String? = null,
@JsonProperty(YouTrackAppFields.Manifest.DESCRIPTION)
val description: String? = null,
@JsonProperty(YouTrackAppFields.Manifest.URL)
val url: String? = null,
@JsonProperty(YouTrackAppFields.Manifest.ICON)
val icon: String? = null,
@JsonProperty(YouTrackAppFields.Manifest.ICON_DARK)
val iconDark: String? = null,
@JsonProperty(YouTrackAppFields.Manifest.SINCE)
val minYouTrackVersion: String? = null,
@JsonProperty(YouTrackAppFields.Manifest.UNTIL)
val maxYouTrackVersion: String? = null,
@JsonProperty(YouTrackAppFields.Manifest.NOTES)
val changeNotes: String? = null,
@JsonProperty(YouTrackAppFields.Manifest.VENDOR)
val vendor: YouTrackAppVendor? = null,
@JsonProperty(YouTrackAppFields.Manifest.WIDGETS)
val widgets: List? = null
)
@JsonIgnoreProperties(ignoreUnknown = true)
data class YouTrackAppWidget(
@JsonProperty(YouTrackAppFields.Widget.KEY)
val key: String? = null,
@JsonProperty(YouTrackAppFields.Widget.EXTENSION_POINT)
val extensionPoint: String? = null,
@JsonProperty(YouTrackAppFields.Widget.INDEX_PATH)
val indexPath: String? = null,
)
@JsonIgnoreProperties(ignoreUnknown = true)
data class YouTrackAppVendor(
@JsonProperty(YouTrackAppFields.Vendor.NAME)
val name: String? = null,
@JsonProperty(YouTrackAppFields.Vendor.URL)
val url: String? = null,
@JsonProperty(YouTrackAppFields.Vendor.EMAIL)
val email: String? = null
)