jetbrains.buildServer.configs.kotlin.v2017_2.projectFeatures / GitHubConnection

GitHubConnection

open class GitHubConnection : ProjectFeature

Project feature defining an OAuth connection settings for GitHub.com

See Also

githubConnection

Constructors

<init>

GitHubConnection(init: GitHubConnection.() -> Unit)GitHubConnection()

Project feature defining an OAuth connection settings for GitHub.com

Properties

clientId

var clientId: String?

OAuth connection client id

clientSecret

var clientSecret: String?

OAuth connection client secret

displayName

var displayName: String?

Human friendly connection name

Inherited Properties

id

var id: String?

Project feature id, if not specified will be generated

type

var type: String

Project feature type

Functions

validate

open fun validate(consumer: ErrorConsumer): Unit

Validates this object and reports found errors to the provided consumer

Inherited Functions

create

open fun create(): ProjectFeature

Creates an instance of this project feature via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.

toString

open fun toString(): String