open class SlackConnection : ProjectFeature
Project feature defining an OAuth connection settings for Slack
See Also
SlackConnection(init: SlackConnection.() -> Unit) SlackConnection()
Project feature defining an OAuth connection settings for Slack |
var botToken: String?
Bot token, xoxb-*** |
|
var clientId: String?
Client ID |
|
var clientSecret: String?
Client secret |
|
var displayName: String?
Human friendly connection name |
var id: String?
Project feature id, if not specified will be generated |
|
var type: String
Project feature type |
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
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. |
|
open fun toString(): String |