RepositoryPages

data class RepositoryPages(val buildType: String? = null, val cname: String? = null, val custom404: Boolean? = null, val htmlUrl: String? = null, val source: RepositoryPagesSource? = null, val status: String? = null, val url: String? = null)

Constructors

Link copied to clipboard
constructor(buildType: String? = null, cname: String? = null, custom404: Boolean? = null, htmlUrl: String? = null, source: RepositoryPagesSource? = null, status: String? = null, url: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val buildType: String? = null

The type of GitHub Pages site to build. Can be legacy or workflow. If you use legacy as build type you need to set the option source.

Link copied to clipboard
val cname: String? = null

The custom domain for the repository. This can only be set after the repository has been created.

Link copied to clipboard
val custom404: Boolean? = null

Whether the rendered GitHub Pages site has a custom 404 page.

Link copied to clipboard
val htmlUrl: String? = null

The absolute URL (including scheme) of the rendered GitHub Pages site e.g. https://username.github.io.

Link copied to clipboard

The source branch and directory for the rendered Pages site. See GitHub Pages Source below for details.

Link copied to clipboard
val status: String? = null

Set to enabled to enable advanced security features on the repository. Can be enabled or disabled.

Link copied to clipboard
val url: String? = null