jetbrains.buildServer.configs.kotlin.v2019_2.projectFeatures / SlackConnection

SlackConnection

open class SlackConnection : ProjectFeature

Project feature defining an OAuth connection settings for Slack

See Also

slackConnection

Constructors

<init>

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

Project feature defining an OAuth connection settings for Slack

Properties

botToken

var botToken: String?

Bot token, xoxb-***

clientId

var clientId: String?

Client ID

clientSecret

var clientSecret: String?

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