VersionControlDetails

@JsonClass(generateAdapter = true)
data class VersionControlDetails(    @Json(name = "asOfTimeUtc") val asOfTimeUTC: String? = null,     @Json(name = "branch") val branch: String? = null,     @Json(name = "mappedTo") val mappedTo: ArtifactLocation? = null,     @Json(name = "properties") val properties: PropertyBag? = null,     @Json(name = "repositoryUri") val repositoryURI: String,     @Json(name = "revisionId") val revisionID: String? = null,     @Json(name = "revisionTag") val revisionTag: String? = null)

Specifies the information necessary to retrieve a desired revision from a version control system.

Constructors

Link copied to clipboard
fun VersionControlDetails(    @Json(name = "asOfTimeUtc") asOfTimeUTC: String? = null,     @Json(name = "branch") branch: String? = null,     @Json(name = "mappedTo") mappedTo: ArtifactLocation? = null,     @Json(name = "properties") properties: PropertyBag? = null,     @Json(name = "repositoryUri") repositoryURI: String,     @Json(name = "revisionId") revisionID: String? = null,     @Json(name = "revisionTag") revisionTag: String? = null)

Properties

Link copied to clipboard
val asOfTimeUTC: String? = null

A Coordinated Universal Time (UTC) date and time that can be used to synchronize an enlistment to the state of the repository at that time.

Link copied to clipboard
val branch: String? = null

The name of a branch containing the revision.

Link copied to clipboard
val mappedTo: ArtifactLocation? = null

The location in the local file system to which the root of the repository was mapped at the time of the analysis.

Link copied to clipboard
val properties: PropertyBag? = null

Key/value pairs that provide additional information about the version control details.

Link copied to clipboard
val repositoryURI: String

The absolute URI of the repository.

Link copied to clipboard
val revisionID: String? = null

A string that uniquely and permanently identifies the revision within the repository.

Link copied to clipboard
val revisionTag: String? = null

A tag that has been applied to the revision.

Sources

Link copied to clipboard