model

package
v0.1.124 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionBaseInfo

type ActionBaseInfo struct {

	// 执行动作的类型
	ActionType *interface{} `json:"action_type,omitempty"`

	// 分类
	Category *string `json:"category,omitempty"`

	ConnectorActionHtml *string `json:"connector_action_html,omitempty"`

	ConnectorCreatedType *string `json:"connector_created_type,omitempty"`

	// 自定义连接器ID
	ConnectorId *string `json:"connector_id,omitempty"`

	// 连接器版本
	ConnectorVersion *string `json:"connector_version,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 操作or触发器的详细定义
	Definition *interface{} `json:"definition,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 执行动作ID
	Id *string `json:"id,omitempty"`

	// 执行动作名称
	Name *string `json:"name,omitempty"`

	// 执行动作ID
	OperationId *string `json:"operation_id,omitempty"`

	// swagger文档
	Swagger *interface{} `json:"swagger,omitempty"`

	// 最近一次测试结果
	TestResult *string `json:"test_result,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	// 标记动作在流编排是否可见
	Visibility *string `json:"visibility,omitempty"`
}

ActionBaseInfo Connector执行动作基本数据

func (ActionBaseInfo) String

func (o ActionBaseInfo) String() string

type ApiConfig

type ApiConfig struct {

	// 资产名称
	Name *string `json:"name,omitempty"`
}

func (ApiConfig) String

func (o ApiConfig) String() string

type AuthConfigA

type AuthConfigA struct {
	AuthConfig *interface{} `json:"auth_config,omitempty"`

	AuthDynamic *interface{} `json:"auth_dynamic,omitempty"`

	AuthInfo map[string]string `json:"auth_info,omitempty"`

	AuthProp *interface{} `json:"auth_prop,omitempty"`

	AuthType *string `json:"auth_type,omitempty"`

	CdmParamsConfig *interface{} `json:"cdm_params_config,omitempty"`

	HostConfig *interface{} `json:"host_config,omitempty"`
}

func (AuthConfigA) String

func (o AuthConfigA) String() string

type BaseConnectionInfo

type BaseConnectionInfo struct {
	AuthConfig *interface{} `json:"auth_config,omitempty"`

	AuthConfigId *string `json:"auth_config_id,omitempty"`

	AuthDynamic *interface{} `json:"auth_dynamic,omitempty"`

	AuthInfo *interface{} `json:"auth_info,omitempty"`

	AuthProp *interface{} `json:"auth_prop,omitempty"`

	AuthType *string `json:"auth_type,omitempty"`

	CdmParamsConfig *interface{} `json:"cdm_params_config,omitempty"`

	ConnectionName *string `json:"connection_name,omitempty"`

	ConnectorId *string `json:"connector_id,omitempty"`

	Description *string `json:"description,omitempty"`

	HostConfig *interface{} `json:"host_config,omitempty"`
}

BaseConnectionInfo 连接配置内容

func (BaseConnectionInfo) String

func (o BaseConnectionInfo) String() string

type ConnectionInfo

type ConnectionInfo struct {
	AuthConfig *interface{} `json:"auth_config,omitempty"`

	AuthConfigId *string `json:"auth_config_id,omitempty"`

	AuthDynamic *interface{} `json:"auth_dynamic,omitempty"`

	AuthId *string `json:"auth_id,omitempty"`

	AuthInfo *interface{} `json:"auth_info,omitempty"`

	AuthKey *string `json:"auth_key,omitempty"`

	AuthName *string `json:"auth_name,omitempty"`

	AuthProp *interface{} `json:"auth_prop,omitempty"`

	AuthType *string `json:"auth_type,omitempty"`

	CdmParamsConfig *interface{} `json:"cdm_params_config,omitempty"`

	ConnectionName *string `json:"connection_name,omitempty"`

	ConnectorId *string `json:"connector_id,omitempty"`

	ConnectorName *string `json:"connector_name,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	CreatedBy *string `json:"created_by,omitempty"`

	Description *string `json:"description,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	HostConfig *interface{} `json:"host_config,omitempty"`

	Id *string `json:"id,omitempty"`

	IsOpen *int32 `json:"is_open,omitempty"`


	ProjectId *string `json:"project_id,omitempty"`

	Status *string `json:"status,omitempty"`

	Type *string `json:"type,omitempty"`

	UpdatedBy *string `json:"updated_by,omitempty"`

	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	UserId *string `json:"user_id,omitempty"`
}

ConnectionInfo 连接配置内容

func (ConnectionInfo) String

func (o ConnectionInfo) String() string

type ConnectorInfo

type ConnectorInfo struct {

	// 执行动作数量
	ActionCount *int32 `json:"action_count,omitempty"`

	// 触发事件数量
	Actions *[]ActionBaseInfo `json:"actions,omitempty"`

	// 安全认证配置内容
	AuthContent *interface{} `json:"auth_content,omitempty"`

	// 认证配置ID
	AuthId *string `json:"auth_id,omitempty"`

	// 自定义连接器种类(连接器市场的tab分类)
	Category *string `json:"category,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 自定义连接器描述
	Description *string `json:"description,omitempty"`

	// 是否收藏
	Favorite *bool `json:"favorite,omitempty"`

	// logo base64编码
	Icon *string `json:"icon,omitempty"`

	// 自定义连接器ID
	Id *string `json:"id,omitempty"`

	// 自定义连接器名称
	Name *string `json:"name,omitempty"`

	// 是否需要验证
	NeedAuth *bool `json:"need_auth,omitempty"`

	// 服务提供商
	ProviderName *string `json:"provider_name,omitempty"`

	// 发布版本
	ReleaseVersion *string `json:"release_version,omitempty"`

	// 权限
	RuntimePermissions *[]RuntimePermission `json:"runtime_permissions,omitempty"`

	// 状态(dev:草稿、released:已发布、onboard:已上架)
	Status *string `json:"status,omitempty"`

	// swagger文档(只包含基本信息+认证信息)
	Swagger *interface{} `json:"swagger,omitempty"`

	// 版本id
	SwaggerVersionId *string `json:"swagger_version_id,omitempty"`

	// 触发事件数量
	TriggerCount *int32 `json:"trigger_count,omitempty"`

	// 触发事件数量
	Triggers *[]TriggerBaseInfo `json:"triggers,omitempty"`

	// 自定义连接器类型
	Type *string `json:"type,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	// 版本号
	Version *interface{} `json:"version,omitempty"`
}

ConnectorInfo Connector元数据

func (ConnectorInfo) String

func (o ConnectorInfo) String() string

type ConnectorInfo0

type ConnectorInfo0 struct {
	AuthContent *AuthConfigA `json:"authContent,omitempty"`

	// 认证id
	AuthId *string `json:"authId,omitempty"`

	// 判断方式
	AuthType *string `json:"auth_type,omitempty"`

	// 内置连接器查询
	Category *string `json:"category,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 连接器
	DefinitionRef *string `json:"definitionRef,omitempty"`

	// 连接器描述
	Description *string `json:"description,omitempty"`

	// logo base64编码
	Icon *string `json:"icon,omitempty"`

	// 连接器ID
	Id *string `json:"id,omitempty"`

	// 连接器名称
	Name *string `json:"name,omitempty"`

	// 是否需要验证
	NeedAuth *bool `json:"needAuth,omitempty"`

	// 视图数据
	Operations *[]interface{} `json:"operations,omitempty"`

	// 供应商
	Provider *string `json:"provider,omitempty"`

	// swagger文档,大文本
	Swagger *string `json:"swagger,omitempty"`

	// 操作json
	Triggers *[]interface{} `json:"triggers,omitempty"`

	// 连接器类型
	Type *string `json:"type,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`
}

ConnectorInfo0 Connector元数据

func (ConnectorInfo0) String

func (o ConnectorInfo0) String() string

type CreateConnectionInfoRequest

type CreateConnectionInfoRequest struct {
	Body *BaseConnectionInfo `json:"body,omitempty"`
}

CreateConnectionInfoRequest Request Object

func (CreateConnectionInfoRequest) String

type CreateConnectionInfoResponse

type CreateConnectionInfoResponse struct {

	// 状态码
	ResCode *int32 `json:"res_code,omitempty"`

	// 成功信息
	ResLog *string `json:"res_log,omitempty"`

	// 成功信息
	ResMsg         *string `json:"res_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateConnectionInfoResponse Response Object

func (CreateConnectionInfoResponse) String

type CreateCustomConnectorFromOpenapiRequest

type CreateCustomConnectorFromOpenapiRequest struct {
	Body *CustomConnectorInfoV2 `json:"body,omitempty"`
}

CreateCustomConnectorFromOpenapiRequest Request Object

func (CreateCustomConnectorFromOpenapiRequest) String

type CreateCustomConnectorFromOpenapiResponse

type CreateCustomConnectorFromOpenapiResponse struct {

	// 自定义连接器版本ID
	ConnectorVersionId *string `json:"connector_version_id,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	Description *string `json:"description,omitempty"`

	// 自定义连接器ID
	Id *string `json:"id,omitempty"`

	// 自定义连接器名称
	Name *string `json:"name,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	Version        *string `json:"version,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateCustomConnectorFromOpenapiResponse Response Object

func (CreateCustomConnectorFromOpenapiResponse) String

type CreateFlowRequest

type CreateFlowRequest struct {
	Body *FlowMeta `json:"body,omitempty"`
}

CreateFlowRequest Request Object

func (CreateFlowRequest) String

func (o CreateFlowRequest) String() string

type CreateFlowResponse

type CreateFlowResponse struct {

	// api流注册到apig的url
	ApigUrl *string `json:"apig_url,omitempty"`

	// ID
	FlowId *string `json:"flow_id,omitempty"`

	// 函数连接器对应functionId
	Steps *[]interface{} `json:"steps,omitempty"`

	// webhook触发url的ID
	Webhook        *string `json:"webhook,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateFlowResponse Response Object

func (CreateFlowResponse) String

func (o CreateFlowResponse) String() string

type CreateFlowTemplateFromFlowRequest

type CreateFlowTemplateFromFlowRequest struct {

	// ID of flow
	FlowId string `json:"flow_id"`

	Body *TemplateMessage `json:"body,omitempty"`
}

CreateFlowTemplateFromFlowRequest Request Object

func (CreateFlowTemplateFromFlowRequest) String

type CreateFlowTemplateFromFlowResponse

type CreateFlowTemplateFromFlowResponse struct {

	// api流注册到apig的url
	ApigUrl *string `json:"apig_url,omitempty"`

	// ID
	FlowId *string `json:"flow_id,omitempty"`

	// 函数连接器对应functionId
	Steps *[]interface{} `json:"steps,omitempty"`

	// webhook触发url的ID
	Webhook        *string `json:"webhook,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateFlowTemplateFromFlowResponse Response Object

func (CreateFlowTemplateFromFlowResponse) String

type CustomConnectorInfoV2

type CustomConnectorInfoV2 struct {
	ApiConfig *ApiConfig `json:"api_config,omitempty"`

	AuthContent *AuthConfigA `json:"auth_content,omitempty"`

	ConnectorCreatedType *string `json:"connector_created_type,omitempty"`

	ConnectorType *string `json:"connector_type,omitempty"`

	// logo base64编码
	Icon *string `json:"icon,omitempty"`

	// swagger文档,大文本
	Swagger *interface{} `json:"swagger,omitempty"`
}

CustomConnectorInfoV2 CustomConnector元数据

func (CustomConnectorInfoV2) String

func (o CustomConnectorInfoV2) String() string

type DeleteConnectionInfoRequest

type DeleteConnectionInfoRequest struct {

	// ID of Connection
	ConnectId string `json:"connect_id"`
}

DeleteConnectionInfoRequest Request Object

func (DeleteConnectionInfoRequest) String

type DeleteConnectionInfoResponse

type DeleteConnectionInfoResponse struct {

	// 状态码
	ResCode *int32 `json:"res_code,omitempty"`

	// 成功信息
	ResLog *string `json:"res_log,omitempty"`

	// 成功信息
	ResMsg         *string `json:"res_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteConnectionInfoResponse Response Object

func (DeleteConnectionInfoResponse) String

type DeleteCustomConnectorRequest

type DeleteCustomConnectorRequest struct {

	// ID of CustomConnector
	ConnectorId string `json:"connector_id"`
}

DeleteCustomConnectorRequest Request Object

func (DeleteCustomConnectorRequest) String

type DeleteCustomConnectorResponse

type DeleteCustomConnectorResponse struct {

	// 状态码
	ResCode *int32 `json:"res_code,omitempty"`

	// 成功信息
	ResLog *string `json:"res_log,omitempty"`

	// 成功信息
	ResMsg         *string `json:"res_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteCustomConnectorResponse Response Object

func (DeleteCustomConnectorResponse) String

type DeleteFlowRequest

type DeleteFlowRequest struct {

	// 删除flow的id
	FlowId string `json:"flow_id"`
}

DeleteFlowRequest Request Object

func (DeleteFlowRequest) String

func (o DeleteFlowRequest) String() string

type DeleteFlowResponse

type DeleteFlowResponse struct {

	// 状态码
	ResCode *int32 `json:"res_code,omitempty"`

	// 成功信息
	ResLog *string `json:"res_log,omitempty"`

	// 成功信息
	ResMsg         *string `json:"res_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteFlowResponse Response Object

func (DeleteFlowResponse) String

func (o DeleteFlowResponse) String() string

type FlowMeta

type FlowMeta struct {

	// 发布到apic的api id
	ApicId *string `json:"apic_id,omitempty"`

	// 发布到apic的状态
	ApicReleaseStatus *string `json:"apic_release_status,omitempty"`

	// api流注册到apig的url
	ApigUrl *string `json:"apig_url,omitempty"`

	// 连接器
	Connectors *[]interface{} `json:"connectors,omitempty"`

	// 连接器最新版本
	ConnectorsLatest *[]interface{} `json:"connectors_latest,omitempty"`

	// 创建时间
	CreatdTime *sdktime.SdkTime `json:"creatd_time,omitempty"`

	// 流的描述信息
	Description *string `json:"description,omitempty"`

	// 开发状态
	DevStatus *string `json:"dev_status,omitempty"`

	// 租户ID
	DomainId *string `json:"domain_id,omitempty"`

	// 企业项目id
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 企业项目名称
	EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"`

	// 流/流模板扩展配置列表
	ExtendConfigs *interface{} `json:"extend_configs,omitempty"`

	// 流来源: inner: 公共流模板; custom: 我的流模板
	FlowSourceType *string `json:"flow_source_type,omitempty"`

	// 流/流模板函数列表
	Functions *interface{} `json:"functions,omitempty"`

	// 流的编排数据(大josn)
	Graph *interface{} `json:"graph,omitempty"`

	HisTransferStatus *string `json:"his_transfer_status,omitempty"`

	// logo base64编码
	Icon *string `json:"icon,omitempty"`

	// ID
	Id *string `json:"id,omitempty"`

	// 已部署的connector id
	InstalledConnector *string `json:"installed_connector,omitempty"`

	IsValid *bool `json:"is_valid,omitempty"`

	Label *string `json:"label,omitempty"`

	// 流的名称
	Name *string `json:"name,omitempty"`

	NoticeStatus *string `json:"notice_status,omitempty"`

	// 用户项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// schema版本
	SchemaVersion *string `json:"schemaVersion,omitempty"`

	// 流的状态
	Status *string `json:"status,omitempty"`

	// 流的编排数据(大josn)
	Steps *[]map[string]interface{} `json:"steps,omitempty"`

	// 标签列表
	Tags *[]Tag `json:"tags,omitempty"`

	// 模板ID
	TemplateId *string `json:"template_id,omitempty"`

	// 模板名称
	TemplateName *string `json:"template_name,omitempty"`

	// 测试结果
	TestResult *string `json:"test_result,omitempty"`

	// 类型
	Type *string `json:"type,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	// 账号(所有者)
	UserId *string `json:"user_id,omitempty"`

	// 流的版本号
	Version *string `json:"version,omitempty"`

	// webhook触发url的ID
	Webhook *string `json:"webhook,omitempty"`
}

FlowMeta 编排的Flow元数据

func (FlowMeta) String

func (o FlowMeta) String() string

type RuntimePermission

type RuntimePermission struct {

	// 动作列表
	Action *string `json:"action,omitempty"`

	// 动作列表
	ActionList *[]string `json:"action_list,omitempty"`

	// 权限名称
	Name *string `json:"name,omitempty"`

	// 权限名称
	PermissionName *string `json:"permission_name,omitempty"`

	// 权限类型
	PermissionType *string `json:"permission_type,omitempty"`
}

func (RuntimePermission) String

func (o RuntimePermission) String() string

type SearchFlowByIdRequest

type SearchFlowByIdRequest struct {

	// flow_id
	FlowId string `json:"flow_id"`

	// 流版本
	Version *string `json:"version,omitempty"`
}

SearchFlowByIdRequest Request Object

func (SearchFlowByIdRequest) String

func (o SearchFlowByIdRequest) String() string

type SearchFlowByIdResponse

type SearchFlowByIdResponse struct {

	// 发布到apic的api id
	ApicId *string `json:"apic_id,omitempty"`

	// 发布到apic的状态
	ApicReleaseStatus *string `json:"apic_release_status,omitempty"`

	// api流注册到apig的url
	ApigUrl *string `json:"apig_url,omitempty"`

	// 连接器
	Connectors *[]interface{} `json:"connectors,omitempty"`

	// 连接器最新版本
	ConnectorsLatest *[]interface{} `json:"connectors_latest,omitempty"`

	// 创建时间
	CreatdTime *sdktime.SdkTime `json:"creatd_time,omitempty"`

	// 流的描述信息
	Description *string `json:"description,omitempty"`

	// 开发状态
	DevStatus *string `json:"dev_status,omitempty"`

	// 租户ID
	DomainId *string `json:"domain_id,omitempty"`

	// 企业项目id
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 企业项目名称
	EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"`

	// 流/流模板扩展配置列表
	ExtendConfigs *interface{} `json:"extend_configs,omitempty"`

	// 流来源: inner: 公共流模板; custom: 我的流模板
	FlowSourceType *string `json:"flow_source_type,omitempty"`

	// 流/流模板函数列表
	Functions *interface{} `json:"functions,omitempty"`

	// 流的编排数据(大josn)
	Graph *interface{} `json:"graph,omitempty"`

	HisTransferStatus *string `json:"his_transfer_status,omitempty"`

	// logo base64编码
	Icon *string `json:"icon,omitempty"`

	// ID
	Id *string `json:"id,omitempty"`

	// 已部署的connector id
	InstalledConnector *string `json:"installed_connector,omitempty"`

	IsValid *bool `json:"is_valid,omitempty"`

	Label *string `json:"label,omitempty"`

	// 流的名称
	Name *string `json:"name,omitempty"`

	NoticeStatus *string `json:"notice_status,omitempty"`

	// 用户项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// schema版本
	SchemaVersion *string `json:"schemaVersion,omitempty"`

	// 流的状态
	Status *string `json:"status,omitempty"`

	// 流的编排数据(大josn)
	Steps *[]map[string]interface{} `json:"steps,omitempty"`

	// 标签列表
	Tags *[]Tag `json:"tags,omitempty"`

	// 模板ID
	TemplateId *string `json:"template_id,omitempty"`

	// 模板名称
	TemplateName *string `json:"template_name,omitempty"`

	// 测试结果
	TestResult *string `json:"test_result,omitempty"`

	// 类型
	Type *string `json:"type,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	// 账号(所有者)
	UserId *string `json:"user_id,omitempty"`

	// 流的版本号
	Version *string `json:"version,omitempty"`

	// webhook触发url的ID
	Webhook        *string `json:"webhook,omitempty"`
	HttpStatusCode int     `json:"-"`
}

SearchFlowByIdResponse Response Object

func (SearchFlowByIdResponse) String

func (o SearchFlowByIdResponse) String() string

type ShowAllConnectionsRequest

type ShowAllConnectionsRequest struct {

	// 偏移量,表示从此偏移量开始查询, offset大于等于1
	Offset int32 `json:"offset"`

	// 每页显示的条目数量
	Limit int32 `json:"limit"`

	// 模糊查询参数
	Name *string `json:"name,omitempty"`
}

ShowAllConnectionsRequest Request Object

func (ShowAllConnectionsRequest) String

func (o ShowAllConnectionsRequest) String() string

type ShowAllConnectionsResponse

type ShowAllConnectionsResponse struct {
	HttpStatusCode int `json:"-"`
}

ShowAllConnectionsResponse Response Object

func (ShowAllConnectionsResponse) String

type ShowAllFlowsRequest

type ShowAllFlowsRequest struct {

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset int32 `json:"offset"`

	// 每页显示的条目数量,limit大于等于1
	Limit int32 `json:"limit"`

	// 类型
	Type *string `json:"type,omitempty"`

	// 流名称,支持模糊查询
	Name *string `json:"name,omitempty"`

	// 是否包含子流程
	HaveChildFlow *bool `json:"have_child_flow,omitempty"`

	// ids
	Ids *string `json:"ids,omitempty"`
}

ShowAllFlowsRequest Request Object

func (ShowAllFlowsRequest) String

func (o ShowAllFlowsRequest) String() string

type ShowAllFlowsResponse

type ShowAllFlowsResponse struct {

	// 流的数量
	Count *string `json:"count,omitempty"`

	// 流列表
	FlowMetas      *[]FlowMeta `json:"flow_metas,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ShowAllFlowsResponse Response Object

func (ShowAllFlowsResponse) String

func (o ShowAllFlowsResponse) String() string

type ShowConnectorsRequest

type ShowConnectorsRequest struct {

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset int32 `json:"offset"`

	// 每页显示的条目数量
	Limit int32 `json:"limit"`

	// 连接器分类:onboard:查询所有的上架的、custom:自己创建的连接器
	Scope *string `json:"scope,omitempty"`

	// 连接器种类(连接器市场的tab分类)
	Category *string `json:"category,omitempty"`

	// CustomConnectors的名字
	Name *string `json:"name,omitempty"`

	// operation条件过滤
	OperationType *string `json:"operation_type,omitempty"`
}

ShowConnectorsRequest Request Object

func (ShowConnectorsRequest) String

func (o ShowConnectorsRequest) String() string

type ShowConnectorsResponse

type ShowConnectorsResponse struct {

	// 连接器列表
	Connectors *[]ConnectorInfo `json:"connectors,omitempty"`

	// 连接器数量
	Count          *int64 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowConnectorsResponse Response Object

func (ShowConnectorsResponse) String

func (o ShowConnectorsResponse) String() string

type ShowCustomConnectorRequest

type ShowCustomConnectorRequest struct {

	// 连接器ID
	ConnectorId string `json:"connector_id"`
}

ShowCustomConnectorRequest Request Object

func (ShowCustomConnectorRequest) String

type ShowCustomConnectorResponse

type ShowCustomConnectorResponse struct {

	// 状态码
	ResCode *int32 `json:"res_code,omitempty"`

	// 成功信息
	ResLog *string `json:"res_log,omitempty"`

	// 成功信息
	ResMsg         *string `json:"res_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowCustomConnectorResponse Response Object

func (ShowCustomConnectorResponse) String

type ShowCustomConnectorsRequest

type ShowCustomConnectorsRequest struct {

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset int32 `json:"offset"`

	// 每页显示的条目数量
	Limit int32 `json:"limit"`

	// CustomConnectors的名字
	Name *string `json:"name,omitempty"`
}

ShowCustomConnectorsRequest Request Object

func (ShowCustomConnectorsRequest) String

type ShowCustomConnectorsResponse

type ShowCustomConnectorsResponse struct {

	// 连接器列表
	ConnectorInfos *[]ConnectorInfo0 `json:"connector_infos,omitempty"`

	// 连接器数量
	Count          *int64 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowCustomConnectorsResponse Response Object

func (ShowCustomConnectorsResponse) String

type ShowSingleConnectionRequest

type ShowSingleConnectionRequest struct {

	// ID of Connection
	ConnectId string `json:"connect_id"`
}

ShowSingleConnectionRequest Request Object

func (ShowSingleConnectionRequest) String

type ShowSingleConnectionResponse

type ShowSingleConnectionResponse struct {
	AuthConfig *interface{} `json:"auth_config,omitempty"`

	AuthConfigId *string `json:"auth_config_id,omitempty"`

	AuthDynamic *interface{} `json:"auth_dynamic,omitempty"`

	AuthId *string `json:"auth_id,omitempty"`

	AuthInfo *interface{} `json:"auth_info,omitempty"`

	AuthKey *string `json:"auth_key,omitempty"`

	AuthName *string `json:"auth_name,omitempty"`

	AuthProp *interface{} `json:"auth_prop,omitempty"`

	AuthType *string `json:"auth_type,omitempty"`

	CdmParamsConfig *interface{} `json:"cdm_params_config,omitempty"`

	ConnectionName *string `json:"connection_name,omitempty"`

	ConnectorId *string `json:"connector_id,omitempty"`

	ConnectorName *string `json:"connector_name,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	CreatedBy *string `json:"created_by,omitempty"`

	Description *string `json:"description,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	HostConfig *interface{} `json:"host_config,omitempty"`

	Id *string `json:"id,omitempty"`

	IsOpen *int32 `json:"is_open,omitempty"`


	ProjectId *string `json:"project_id,omitempty"`

	Status *string `json:"status,omitempty"`

	Type *string `json:"type,omitempty"`

	UpdatedBy *string `json:"updated_by,omitempty"`

	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`

	UserId         *string `json:"user_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowSingleConnectionResponse Response Object

func (ShowSingleConnectionResponse) String

type Tag

type Tag struct {

	// 标签key
	TagKey *string `json:"tagKey,omitempty"`

	// 标签value
	TagValue *string `json:"tagValue,omitempty"`
}

Tag 标签信息

func (Tag) String

func (o Tag) String() string

type TemplateMessage

type TemplateMessage struct {

	// 模板描述
	TemplateDescription *string `json:"template_description,omitempty"`

	// 模板标签
	TemplateLabel string `json:"template_label"`

	// 模板名称
	TemplateName string `json:"template_name"`
}

func (TemplateMessage) String

func (o TemplateMessage) String() string

type TriggerBaseInfo

type TriggerBaseInfo struct {

	// 分类
	Category *string `json:"category,omitempty"`

	ConnectorActionHtml *string `json:"connector_action_html,omitempty"`

	ConnectorCreatedType *string `json:"connector_created_type,omitempty"`

	// 自定义连接器ID
	ConnectorId *string `json:"connector_id,omitempty"`

	// 连接器版本
	ConnectorVersion *string `json:"connector_version,omitempty"`

	// 创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 操作or触发器的详细定义
	Definition *interface{} `json:"definition,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 触发事件ID
	Id *string `json:"id,omitempty"`

	// 执行动作名称
	Name *string `json:"name,omitempty"`

	// 执行动作ID
	OperationId *string `json:"operation_id,omitempty"`

	// swagger文档
	Swagger *interface{} `json:"swagger,omitempty"`

	// 最近一次测试结果
	TestResult *string `json:"test_result,omitempty"`

	// 触发事件的类型
	TriggerType *interface{} `json:"trigger_type,omitempty"`

	// 类型
	Type *string `json:"type,omitempty"`

	// 修改时间
	UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"`
}

TriggerBaseInfo Connector触发事件基本数据

func (TriggerBaseInfo) String

func (o TriggerBaseInfo) String() string

type UpdateConnectionInfoRequest

type UpdateConnectionInfoRequest struct {

	// ID of Connection
	ConnectId string `json:"connect_id"`

	Body *ConnectionInfo `json:"body,omitempty"`
}

UpdateConnectionInfoRequest Request Object

func (UpdateConnectionInfoRequest) String

type UpdateConnectionInfoResponse

type UpdateConnectionInfoResponse struct {

	// 状态码
	ResCode *int32 `json:"res_code,omitempty"`

	// 成功信息
	ResLog *string `json:"res_log,omitempty"`

	// 成功信息
	ResMsg         *string `json:"res_msg,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateConnectionInfoResponse Response Object

func (UpdateConnectionInfoResponse) String

type UpdateFlowRequest

type UpdateFlowRequest struct {

	// flow_id
	FlowId string `json:"flow_id"`

	Body *FlowMeta `json:"body,omitempty"`
}

UpdateFlowRequest Request Object

func (UpdateFlowRequest) String

func (o UpdateFlowRequest) String() string

type UpdateFlowResponse

type UpdateFlowResponse struct {

	// api流注册到apig的url
	ApigUrl *string `json:"apig_url,omitempty"`

	// ID
	FlowId *string `json:"flow_id,omitempty"`

	// 函数连接器对应functionId
	Steps *[]interface{} `json:"steps,omitempty"`

	// webhook触发url的ID
	Webhook        *string `json:"webhook,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateFlowResponse Response Object

func (UpdateFlowResponse) String

func (o UpdateFlowResponse) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL