ConnectorTrigger 连接器触发器
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface ConnectorTrigger {
"concept": "ConnectorTrigger", // 产品概念
"name": string, // 连接器触发器名称
"triggerType": string, // triggerType
"triggerEvent": TriggerEvent, // triggerEvent
}
class ConnectorTriggerTreeNode {
ConceptEnum concept; // 产品概念
String name; // 连接器触发器名称
String triggerType; // triggerType
Object triggerEvent; // triggerEvent
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/ConnectorTrigger",
"definitions": {
"ConnectorTrigger": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "ConnectorTrigger"
},
"name": {
"type": "string"
},
"triggerType": {
"type": "string"
},
"triggerEvent": {
"$ref": "#/definitions/TriggerEvent"
}
},
"required": [
"concept",
"name",
"triggerType",
"triggerEvent"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "ConnectorTrigger",
"name": "String",
"triggerType": "String",
"triggerEvent": null
}
concept: ConnectorTrigger
name: String
triggerType: String
triggerEvent: null