AppHostingBuildSourceCodebase

data class AppHostingBuildSourceCodebase(val authors: List<AppHostingBuildSourceCodebaseAuthor>? = null, val branch: String? = null, val commit: String? = null, val commitMessage: String? = null, val commitTime: String? = null, val displayName: String? = null, val hash: String? = null, val uri: String? = null)

Constructors

Link copied to clipboard
constructor(authors: List<AppHostingBuildSourceCodebaseAuthor>? = null, branch: String? = null, commit: String? = null, commitMessage: String? = null, commitTime: String? = null, displayName: String? = null, hash: String? = null, uri: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

(Output) Version control metadata for a user associated with a resolved codebase. Currently assumes a Git user. Structure is documented below.

Link copied to clipboard
val branch: String? = null

The branch in the codebase to build from, using the latest commit.

Link copied to clipboard
val commit: String? = null

The commit in the codebase to build from. The author block contains:

Link copied to clipboard
val commitMessage: String? = null

(Output) The message of a codebase change.

Link copied to clipboard
val commitTime: String? = null

(Output) The time the change was made.

Link copied to clipboard
val displayName: String? = null

Human-readable name. 63 character limit.

Link copied to clipboard
val hash: String? = null

(Output) The full SHA-1 hash of a Git commit, if available.

Link copied to clipboard
val uri: String? = null

(Output) A URI linking to the codebase on an hosting provider's website. May not be valid if the commit has been rebased or force-pushed out of existence in the linked repository.