GetRepositoryFilePlainArgs

data class GetRepositoryFilePlainArgs(val branch: String? = null, val file: String, val repository: String) : ConvertibleToJava<GetRepositoryFilePlainArgs>

A collection of arguments for invoking getRepositoryFile.

Constructors

Link copied to clipboard
constructor(branch: String? = null, file: String, repository: String)

Properties

Link copied to clipboard
val branch: String? = null

Git branch. Defaults to the repository's default branch.

Link copied to clipboard

The path of the file to read.

Link copied to clipboard

The repository to read the file from. If an unqualified repo name (without an owner) is passed, the owner will be inferred from the owner of the token used to execute the plan. If a name of the type "owner/repo" (with a slash in the middle) is passed, the owner will be as specified and not the owner of the token.

Functions

Link copied to clipboard
open override fun toJava(): GetRepositoryFilePlainArgs