tencentcloud-sdk-nodejs-intl-en
Version:
1,793 lines (1,518 loc) • 1.28 MB
JavaScript
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
const AbstractModel = require("../../common/abstract_model");
/**
* DescribeEventConsumeTasks response structure.
* @class
*/
class DescribeEventConsumeTasksResponse extends AbstractModel {
constructor(){
super();
/**
* Event Consumption Task Record List
Note: This field may return null, indicating that no valid value can be obtained.
* @type {EventCaseConsumeLogOptDtoCollection || null}
*/
this.Data = null;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @type {string || null}
*/
this.RequestId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
if (params.Data) {
let obj = new EventCaseConsumeLogOptDtoCollection();
obj.deserialize(params.Data)
this.Data = obj;
}
this.RequestId = 'RequestId' in params ? params.RequestId : null;
}
}
/**
* CreateRuleTemplate response structure.
* @class
*/
class CreateRuleTemplateResponse extends AbstractModel {
constructor(){
super();
/**
* Template ID
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.Data = null;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @type {string || null}
*/
this.RequestId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.Data = 'Data' in params ? params.Data : null;
this.RequestId = 'RequestId' in params ? params.RequestId : null;
}
}
/**
* Task Alert Information
* @class
*/
class AlarmInfo extends AbstractModel {
constructor(){
super();
/**
* Associated Task ID
* @type {string || null}
*/
this.TaskIds = null;
/**
* Alert Categories; 'failure' indicates failure alert; 'overtime' indicates timeout alert
* @type {string || null}
*/
this.AlarmType = null;
/**
* Alert Method; 'SMS' indicates SMS; 'Email' indicates email; 'HTTP' indicates an interface method; 'Wechat' indicates WeChat method
* @type {string || null}
*/
this.AlarmWay = null;
/**
* Alert Recipient, multiple recipients separated by ;
* @type {string || null}
*/
this.AlarmRecipient = null;
/**
* Alert Recipient ID, multiple recipient IDs separated by ;
* @type {string || null}
*/
this.AlarmRecipientId = null;
/**
* Estimated Running Hours, value range 0-23
* @type {number || null}
*/
this.Hours = null;
/**
* Estimated Running Minutes, value range 0-59
* @type {number || null}
*/
this.Minutes = null;
/**
* Alert Trigger Moment; '1' means first run failure; '2' means failure after all retries;
* @type {number || null}
*/
this.TriggerType = null;
/**
* Alert Information ID
* @type {string || null}
*/
this.AlarmId = null;
/**
* Alert Status Setting; '1' indicates available; '0' indicates unavailable, default is available
* @type {number || null}
*/
this.Status = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.TaskIds = 'TaskIds' in params ? params.TaskIds : null;
this.AlarmType = 'AlarmType' in params ? params.AlarmType : null;
this.AlarmWay = 'AlarmWay' in params ? params.AlarmWay : null;
this.AlarmRecipient = 'AlarmRecipient' in params ? params.AlarmRecipient : null;
this.AlarmRecipientId = 'AlarmRecipientId' in params ? params.AlarmRecipientId : null;
this.Hours = 'Hours' in params ? params.Hours : null;
this.Minutes = 'Minutes' in params ? params.Minutes : null;
this.TriggerType = 'TriggerType' in params ? params.TriggerType : null;
this.AlarmId = 'AlarmId' in params ? params.AlarmId : null;
this.Status = 'Status' in params ? params.Status : null;
}
}
/**
* Batch Operation Task List Pagination
* @class
*/
class DescribeBatchOperateTaskPage extends AbstractModel {
constructor(){
super();
/**
* Total Number of Pages
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.PageCount = null;
/**
* ContentNote: This field may return null, indicating that no valid value can be obtained.
* @type {Array.<DescribeBatchOperateTaskDTO> || null}
*/
this.Items = null;
/**
* Total count
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.TotalCount = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.PageCount = 'PageCount' in params ? params.PageCount : null;
if (params.Items) {
this.Items = new Array();
for (let z in params.Items) {
let obj = new DescribeBatchOperateTaskDTO();
obj.deserialize(params.Items[z]);
this.Items.push(obj);
}
}
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
}
}
/**
* DescribeIntegrationStatistics response structure.
* @class
*/
class DescribeIntegrationStatisticsResponse extends AbstractModel {
constructor(){
super();
/**
* Total Tasks
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.TotalTask = null;
/**
* Number of Production Tasks
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.ProdTask = null;
/**
* Number of Development Tasks
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.DevTask = null;
/**
* Total Number of Reads
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.TotalReadRecords = null;
/**
* Total Number of Writes
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.TotalWriteRecords = null;
/**
* Total Number of Dirty Data Entries
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.TotalErrorRecords = null;
/**
* Total Number of Alarm Events
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.TotalAlarmEvent = null;
/**
* Daily Increase in Reads
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.IncreaseReadRecords = null;
/**
* Daily Increase in Writes
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.IncreaseWriteRecords = null;
/**
* Daily Increase in Dirty Data Entries
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.IncreaseErrorRecords = null;
/**
* Daily Increase in Alarm Events
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.IncreaseAlarmEvent = null;
/**
* Alarm Event Statistics
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.AlarmEvent = null;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @type {string || null}
*/
this.RequestId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.TotalTask = 'TotalTask' in params ? params.TotalTask : null;
this.ProdTask = 'ProdTask' in params ? params.ProdTask : null;
this.DevTask = 'DevTask' in params ? params.DevTask : null;
this.TotalReadRecords = 'TotalReadRecords' in params ? params.TotalReadRecords : null;
this.TotalWriteRecords = 'TotalWriteRecords' in params ? params.TotalWriteRecords : null;
this.TotalErrorRecords = 'TotalErrorRecords' in params ? params.TotalErrorRecords : null;
this.TotalAlarmEvent = 'TotalAlarmEvent' in params ? params.TotalAlarmEvent : null;
this.IncreaseReadRecords = 'IncreaseReadRecords' in params ? params.IncreaseReadRecords : null;
this.IncreaseWriteRecords = 'IncreaseWriteRecords' in params ? params.IncreaseWriteRecords : null;
this.IncreaseErrorRecords = 'IncreaseErrorRecords' in params ? params.IncreaseErrorRecords : null;
this.IncreaseAlarmEvent = 'IncreaseAlarmEvent' in params ? params.IncreaseAlarmEvent : null;
this.AlarmEvent = 'AlarmEvent' in params ? params.AlarmEvent : null;
this.RequestId = 'RequestId' in params ? params.RequestId : null;
}
}
/**
* UnlockIntegrationTask response structure.
* @class
*/
class UnlockIntegrationTaskResponse extends AbstractModel {
constructor(){
super();
/**
* Operation Success or Failure Indicator
* @type {boolean || null}
*/
this.Data = null;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @type {string || null}
*/
this.RequestId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.Data = 'Data' in params ? params.Data : null;
this.RequestId = 'RequestId' in params ? params.RequestId : null;
}
}
/**
* DescribeReportTaskList request structure.
* @class
*/
class DescribeReportTaskListRequest extends AbstractModel {
constructor(){
super();
/**
* Page number
* @type {number || null}
*/
this.PageNum = null;
/**
* Entries per page.
* @type {number || null}
*/
this.PageSize = null;
/**
* Tenant id.
* @type {string || null}
*/
this.TenantId = null;
/**
* Project ID.
* @type {string || null}
*/
this.ProjectId = null;
/**
* Task ID
* @type {string || null}
*/
this.TaskId = null;
/**
* Instance ID
* @type {string || null}
*/
this.InstanceId = null;
/**
* Job id.
* @type {string || null}
*/
this.JobId = null;
/**
* Engine task id.
* @type {string || null}
*/
this.EngineTaskId = null;
/**
* DATA source, such as DATA_INTEGRATION, DATA_EXPLORATION, DATA_QUALITY, OM_CENTER.
* @type {string || null}
*/
this.ProductSource = null;
/**
* Root account.
* @type {string || null}
*/
this.OnwerUid = null;
/**
* Start time
* @type {string || null}
*/
this.StartTime = null;
/**
* End time
* @type {string || null}
*/
this.EndTime = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.PageNum = 'PageNum' in params ? params.PageNum : null;
this.PageSize = 'PageSize' in params ? params.PageSize : null;
this.TenantId = 'TenantId' in params ? params.TenantId : null;
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
this.TaskId = 'TaskId' in params ? params.TaskId : null;
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
this.JobId = 'JobId' in params ? params.JobId : null;
this.EngineTaskId = 'EngineTaskId' in params ? params.EngineTaskId : null;
this.ProductSource = 'ProductSource' in params ? params.ProductSource : null;
this.OnwerUid = 'OnwerUid' in params ? params.OnwerUid : null;
this.StartTime = 'StartTime' in params ? params.StartTime : null;
this.EndTime = 'EndTime' in params ? params.EndTime : null;
}
}
/**
* DescribeStreamTaskLogList request structure.
* @class
*/
class DescribeStreamTaskLogListRequest extends AbstractModel {
constructor(){
super();
/**
* Project ID
* @type {string || null}
*/
this.ProjectId = null;
/**
* Task ID
* @type {string || null}
*/
this.TaskId = null;
/**
* Job ID
* @type {string || null}
*/
this.JobId = null;
/**
* End time
* @type {number || null}
*/
this.EndTime = null;
/**
* Start Time
* @type {number || null}
*/
this.StartTime = null;
/**
* container Name
* @type {string || null}
*/
this.Container = null;
/**
* Number of entries
* @type {number || null}
*/
this.Limit = null;
/**
* Sort Type desc asc
* @type {string || null}
*/
this.OrderType = null;
/**
* Instance ID of Job Execution
* @type {number || null}
*/
this.RunningOrderId = null;
/**
* Keyword
* @type {string || null}
*/
this.Keyword = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
this.TaskId = 'TaskId' in params ? params.TaskId : null;
this.JobId = 'JobId' in params ? params.JobId : null;
this.EndTime = 'EndTime' in params ? params.EndTime : null;
this.StartTime = 'StartTime' in params ? params.StartTime : null;
this.Container = 'Container' in params ? params.Container : null;
this.Limit = 'Limit' in params ? params.Limit : null;
this.OrderType = 'OrderType' in params ? params.OrderType : null;
this.RunningOrderId = 'RunningOrderId' in params ? params.RunningOrderId : null;
this.Keyword = 'Keyword' in params ? params.Keyword : null;
}
}
/**
* DescribeIntegrationNode response structure.
* @class
*/
class DescribeIntegrationNodeResponse extends AbstractModel {
constructor(){
super();
/**
* Node information\nNote: This field may return null, indicating that no valid value can be obtained.
* @type {IntegrationNodeInfo || null}
*/
this.NodeInfo = null;
/**
* Has the upstream node been modified? true Modified, needs to be prompted; false Not modified\nNote: This field may return null, indicating that no valid value can be obtained.
* @type {boolean || null}
*/
this.SourceCheckFlag = null;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @type {string || null}
*/
this.RequestId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
if (params.NodeInfo) {
let obj = new IntegrationNodeInfo();
obj.deserialize(params.NodeInfo)
this.NodeInfo = obj;
}
this.SourceCheckFlag = 'SourceCheckFlag' in params ? params.SourceCheckFlag : null;
this.RequestId = 'RequestId' in params ? params.RequestId : null;
}
}
/**
* Log Content Entity
* @class
*/
class LogContentInfo extends AbstractModel {
constructor(){
super();
/**
* Log contentNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.Log = null;
/**
* Log group Id\nNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.PkgId = null;
/**
* Log ID
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.PkgLogId = null;
/**
* TimeNote: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.Time = null;
/**
* Container Name the Log Belongs To
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.ContainerName = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.Log = 'Log' in params ? params.Log : null;
this.PkgId = 'PkgId' in params ? params.PkgId : null;
this.PkgLogId = 'PkgLogId' in params ? params.PkgLogId : null;
this.Time = 'Time' in params ? params.Time : null;
this.ContainerName = 'ContainerName' in params ? params.ContainerName : null;
}
}
/**
* ModifyIntegrationTask request structure.
* @class
*/
class ModifyIntegrationTaskRequest extends AbstractModel {
constructor(){
super();
/**
* Task Information
* @type {IntegrationTaskInfo || null}
*/
this.TaskInfo = null;
/**
* Project ID
* @type {string || null}
*/
this.ProjectId = null;
/**
* Default is false. When true, it indicates rolling back to the node logic
* @type {boolean || null}
*/
this.RollbackFlag = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
if (params.TaskInfo) {
let obj = new IntegrationTaskInfo();
obj.deserialize(params.TaskInfo)
this.TaskInfo = obj;
}
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
this.RollbackFlag = 'RollbackFlag' in params ? params.RollbackFlag : null;
}
}
/**
* DescribeRuleDimStat response structure.
* @class
*/
class DescribeRuleDimStatResponse extends AbstractModel {
constructor(){
super();
/**
* Result
* @type {RuleDimStat || null}
*/
this.Data = null;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @type {string || null}
*/
this.RequestId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
if (params.Data) {
let obj = new RuleDimStat();
obj.deserialize(params.Data)
this.Data = obj;
}
this.RequestId = 'RequestId' in params ? params.RequestId : null;
}
}
/**
* RegisterEventListener response structure.
* @class
*/
class RegisterEventListenerResponse extends AbstractModel {
constructor(){
super();
/**
* Success or Failure
Note: This field may return null, indicating that no valid value can be obtained.
* @type {BatchReturn || null}
*/
this.Data = null;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @type {string || null}
*/
this.RequestId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
if (params.Data) {
let obj = new BatchReturn();
obj.deserialize(params.Data)
this.Data = obj;
}
this.RequestId = 'RequestId' in params ? params.RequestId : null;
}
}
/**
* DescribeTaskAlarmRegulations response structure.
* @class
*/
class DescribeTaskAlarmRegulationsResponse extends AbstractModel {
constructor(){
super();
/**
* Alert Rule Information
Note: This field may return null, indicating that no valid value can be obtained.
* @type {Array.<TaskAlarmInfo> || null}
*/
this.TaskAlarmInfos = null;
/**
* Number of recordsNote: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.TotalCount = null;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @type {string || null}
*/
this.RequestId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
if (params.TaskAlarmInfos) {
this.TaskAlarmInfos = new Array();
for (let z in params.TaskAlarmInfos) {
let obj = new TaskAlarmInfo();
obj.deserialize(params.TaskAlarmInfos[z]);
this.TaskAlarmInfos.push(obj);
}
}
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
this.RequestId = 'RequestId' in params ? params.RequestId : null;
}
}
/**
* Table Metadata Information
* @class
*/
class ColumnBasicInfo extends AbstractModel {
constructor(){
super();
/**
* Table's Globally Unique ID
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.TableId = null;
/**
* Data Source Globally Unique ID
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.DatasourceId = null;
/**
* Data Source Name
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.DatasourceName = null;
/**
* Database ID
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.DatabaseId = null;
/**
* Database nameNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.DatabaseName = null;
/**
* Table Name
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.TableName = null;
/**
* Field NameNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.ColumnName = null;
/**
* Data Type, such as string/int etc.
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.DataType = null;
/**
* Field Type, such as varchar(32)/int(10) etc.
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.ColumnType = null;
/**
* Field Default Value
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.ColumnDefault = null;
/**
* Index Type, such as PRI/MUL/PARTITION etc., For normal fields, this value is an empty string
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.ColumnKey = null;
/**
* Field Order Identifier
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.ColumnPosition = null;
/**
* Field Comment
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.ColumnComment = null;
/**
* Data TypeNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.StoreType = null;
/**
* Project ID
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.ProjectId = null;
/**
* Project Name in English
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.ProjectName = null;
/**
* Project Name in Chinese
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.ProjectDisplayName = null;
/**
* Creation TimeNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.CreateTime = null;
/**
* Update timeNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.UpdateTime = null;
/**
* Precision
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.Scale = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.TableId = 'TableId' in params ? params.TableId : null;
this.DatasourceId = 'DatasourceId' in params ? params.DatasourceId : null;
this.DatasourceName = 'DatasourceName' in params ? params.DatasourceName : null;
this.DatabaseId = 'DatabaseId' in params ? params.DatabaseId : null;
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
this.TableName = 'TableName' in params ? params.TableName : null;
this.ColumnName = 'ColumnName' in params ? params.ColumnName : null;
this.DataType = 'DataType' in params ? params.DataType : null;
this.ColumnType = 'ColumnType' in params ? params.ColumnType : null;
this.ColumnDefault = 'ColumnDefault' in params ? params.ColumnDefault : null;
this.ColumnKey = 'ColumnKey' in params ? params.ColumnKey : null;
this.ColumnPosition = 'ColumnPosition' in params ? params.ColumnPosition : null;
this.ColumnComment = 'ColumnComment' in params ? params.ColumnComment : null;
this.StoreType = 'StoreType' in params ? params.StoreType : null;
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
this.ProjectName = 'ProjectName' in params ? params.ProjectName : null;
this.ProjectDisplayName = 'ProjectDisplayName' in params ? params.ProjectDisplayName : null;
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
this.Scale = 'Scale' in params ? params.Scale : null;
}
}
/**
* DescribeWorkflowInfoById request structure.
* @class
*/
class DescribeWorkflowInfoByIdRequest extends AbstractModel {
constructor(){
super();
/**
* Workflow ID
* @type {string || null}
*/
this.WorkflowId = null;
/**
* Project ID
* @type {string || null}
*/
this.ProjectId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.WorkflowId = 'WorkflowId' in params ? params.WorkflowId : null;
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
}
}
/**
* CreateDataSource request structure.
* @class
*/
class CreateDataSourceRequest extends AbstractModel {
constructor(){
super();
/**
* Data Source Name, cannot be empty under the same SpaceName
* @type {string || null}
*/
this.Name = null;
/**
* Data Source Category: Binding Engine, Binding Database
* @type {string || null}
*/
this.Category = null;
/**
* Data Source Type: enumerated values
* @type {string || null}
*/
this.Type = null;
/**
* Project ID
* @type {string || null}
*/
this.OwnerProjectId = null;
/**
* Project Name
* @type {string || null}
*/
this.OwnerProjectName = null;
/**
* Project Name (Chinese)
* @type {string || null}
*/
this.OwnerProjectIdent = null;
/**
* Configuration Information Extension of Business Data Source
* @type {string || null}
*/
this.BizParams = null;
/**
* Data source configuration information, stored as JSON KV. The KV storage information varies according to the data source type
* @type {string || null}
*/
this.Params = null;
/**
* Data source description information
* @type {string || null}
*/
this.Description = null;
/**
* Data Source Display Name, for visual inspection
* @type {string || null}
*/
this.Display = null;
/**
* If the data source list is bound to a database, then it is the database name
* @type {string || null}
*/
this.DatabaseName = null;
/**
* Instance ID of the data source engine, e.g., CDB Instance ID
* @type {string || null}
*/
this.Instance = null;
/**
* Visibility of the data source, where 1 is visible and 0 is not visible. Default is 1
* @type {number || null}
*/
this.Status = null;
/**
* Name of the business space to which the data source belongs
* @type {string || null}
*/
this.ClusterId = null;
/**
* Collection Status
* @type {string || null}
*/
this.Collect = null;
/**
* COS Bucket Information
* @type {string || null}
*/
this.COSBucket = null;
/**
* cos region
* @type {string || null}
*/
this.COSRegion = null;
/**
* Connection Test Result
* @type {string || null}
*/
this.ConnectResult = null;
/**
* Development Environment Data Source Configuration
* @type {string || null}
*/
this.DevelopmentParams = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.Name = 'Name' in params ? params.Name : null;
this.Category = 'Category' in params ? params.Category : null;
this.Type = 'Type' in params ? params.Type : null;
this.OwnerProjectId = 'OwnerProjectId' in params ? params.OwnerProjectId : null;
this.OwnerProjectName = 'OwnerProjectName' in params ? params.OwnerProjectName : null;
this.OwnerProjectIdent = 'OwnerProjectIdent' in params ? params.OwnerProjectIdent : null;
this.BizParams = 'BizParams' in params ? params.BizParams : null;
this.Params = 'Params' in params ? params.Params : null;
this.Description = 'Description' in params ? params.Description : null;
this.Display = 'Display' in params ? params.Display : null;
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
this.Instance = 'Instance' in params ? params.Instance : null;
this.Status = 'Status' in params ? params.Status : null;
this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
this.Collect = 'Collect' in params ? params.Collect : null;
this.COSBucket = 'COSBucket' in params ? params.COSBucket : null;
this.COSRegion = 'COSRegion' in params ? params.COSRegion : null;
this.ConnectResult = 'ConnectResult' in params ? params.ConnectResult : null;
this.DevelopmentParams = 'DevelopmentParams' in params ? params.DevelopmentParams : null;
}
}
/**
* Integrated Node Schema Mapping
* @class
*/
class IntegrationNodeSchemaMapping extends AbstractModel {
constructor(){
super();
/**
* Task Node Source Schema ID
* @type {string || null}
*/
this.SourceSchemaId = null;
/**
* Task Node Target Schema ID
* @type {string || null}
*/
this.SinkSchemaId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.SourceSchemaId = 'SourceSchemaId' in params ? params.SourceSchemaId : null;
this.SinkSchemaId = 'SinkSchemaId' in params ? params.SinkSchemaId : null;
}
}
/**
* DescribeTrendStat response structure.
* @class
*/
class DescribeTrendStatResponse extends AbstractModel {
constructor(){
super();
/**
* Result
* @type {Array.<RuleExecDateStat> || null}
*/
this.Data = null;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @type {string || null}
*/
this.RequestId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
if (params.Data) {
this.Data = new Array();
for (let z in params.Data) {
let obj = new RuleExecDateStat();
obj.deserialize(params.Data[z]);
this.Data.push(obj);
}
}
this.RequestId = 'RequestId' in params ? params.RequestId : null;
}
}
/**
* DescribeRealTimeTaskSpeed request structure.
* @class
*/
class DescribeRealTimeTaskSpeedRequest extends AbstractModel {
constructor(){
super();
/**
* Task ID
* @type {string || null}
*/
this.TaskId = null;
/**
* Timestamp with Milliseconds
* @type {number || null}
*/
this.StartTime = null;
/**
* Timestamp with Milliseconds
* @type {number || null}
*/
this.EndTime = null;
/**
* Granularity, 1 or 5
* @type {number || null}
*/
this.Granularity = null;
/**
* Project ID
* @type {string || null}
*/
this.ProjectId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.TaskId = 'TaskId' in params ? params.TaskId : null;
this.StartTime = 'StartTime' in params ? params.StartTime : null;
this.EndTime = 'EndTime' in params ? params.EndTime : null;
this.Granularity = 'Granularity' in params ? params.Granularity : null;
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
}
}
/**
* DescribeRuleDimStat request structure.
* @class
*/
class DescribeRuleDimStatRequest extends AbstractModel {
constructor(){
super();
/**
* Project ID
* @type {string || null}
*/
this.ProjectId = null;
/**
* Start time, timestamp to the second
* @type {string || null}
*/
this.BeginDate = null;
/**
* End time, timestamp to the second
* @type {string || null}
*/
this.EndDate = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
this.BeginDate = 'BeginDate' in params ? params.BeginDate : null;
this.EndDate = 'EndDate' in params ? params.EndDate : null;
}
}
/**
* DescribeRuleTemplates response structure.
* @class
*/
class DescribeRuleTemplatesResponse extends AbstractModel {
constructor(){
super();
/**
* Rule Template List
Note: This field may return null, indicating that no valid value can be obtained.
* @type {Array.<RuleTemplate> || null}
*/
this.Data = null;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @type {string || null}
*/
this.RequestId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
if (params.Data) {
this.Data = new Array();
for (let z in params.Data) {
let obj = new RuleTemplate();
obj.deserialize(params.Data[z]);
this.Data.push(obj);
}
}
this.RequestId = 'RequestId' in params ? params.RequestId : null;
}
}
/**
* CreateIntegrationNode response structure.
* @class
*/
class CreateIntegrationNodeResponse extends AbstractModel {
constructor(){
super();
/**
* Node
* @type {string || null}
*/
this.Id = null;
/**
* Current Task ID
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.TaskId = null;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @type {string || null}
*/
this.RequestId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.Id = 'Id' in params ? params.Id : null;
this.TaskId = 'TaskId' in params ? params.TaskId : null;
this.RequestId = 'RequestId' in params ? params.RequestId : null;
}
}
/**
* Task Attributes
* @class
*/
class TaskInnerInfo extends AbstractModel {
constructor(){
super();
/**
* Task ID
* @type {string || null}
*/
this.TaskId = null;
/**
* Task Name
* @type {string || null}
*/
this.TaskName = null;
/**
* Workflow ID
* @type {string || null}
*/
this.WorkflowId = null;
/**
* Cycle Type 0: Crontab Type, 1: minutes, 2: Hour, 3: Days, 4: Weekly, 5: Month, 6: One-time, 7: User-driven, 10: Elastic Cycle (Week), 11: Elastic Cycle (Month), 12: Year, 13: Instant Trigger (Instant Type), isolated from normal cyclic scheduling tasks
* @type {number || null}
*/
this.CycleType = null;
/**
* Virtual Task ID
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.VirtualTaskId = null;
/**
* Virtual Task Marker
Note: This field may return null, indicating that no valid value can be obtained.
* @type {boolean || null}
*/
this.VirtualFlag = null;
/**
* Real Task Workflow ID
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.RealWorkflowId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.TaskId = 'TaskId' in params ? params.TaskId : null;
this.TaskName = 'TaskName' in params ? params.TaskName : null;
this.WorkflowId = 'WorkflowId' in params ? params.WorkflowId : null;
this.CycleType = 'CycleType' in params ? params.CycleType : null;
this.VirtualTaskId = 'VirtualTaskId' in params ? params.VirtualTaskId : null;
this.VirtualFlag = 'VirtualFlag' in params ? params.VirtualFlag : null;
this.RealWorkflowId = 'RealWorkflowId' in params ? params.RealWorkflowId : null;
}
}
/**
* CreateDsFolder response structure.
* @class
*/
class CreateDsFolderResponse extends AbstractModel {
constructor(){
super();
/**
* Folder ID, null if creation fails
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.Data = null;
/**
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
* @type {string || null}
*/
this.RequestId = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.Data = 'Data' in params ? params.Data : null;
this.RequestId = 'RequestId' in params ? params.RequestId : null;
}
}
/**
* Development Space - Data Development Script Information Response Body
* @class
*/
class UserFileInfo extends AbstractModel {
constructor(){
super();
/**
* Resource ID
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.ResourceId = null;
/**
* File NameNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.FileName = null;
/**
* File Type, such as jar, zip, etc.
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.FileExtensionType = null;
/**
* File Upload Type, Resource Management as resource
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.Type = null;
/**
* File MD5 Value
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.Md5Value = null;
/**
* Creation TimeNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.CreateTime = null;
/**
* Update timeNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.UpdateTime = null;
/**
* File Size, in bytes
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.Size = null;
/**
* Local Path
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.LocalPath = null;
/**
* Local Temporary Path
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.LocalTempPath = null;
/**
* Remote Path
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.RemotePath = null;
/**
* File Owner's Name
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.OwnerName = null;
/**
* File owner's uin
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.Owner = null;
/**
* File depth
Note: This field may return null, indicating that no valid value can be obtained.
* @type {number || null}
*/
this.PathDepth = null;
/**
* Project IDNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.ProjectId = null;
/**
* Additional information
Note: This field may return null, indicating that no valid value can be obtained.
* @type {Array.<ParamInfo> || null}
*/
this.ExtraInfo = null;
/**
* Absolute path of local temporary compressed file
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.ZipPath = null;
/**
* File's belonging bucket
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.Bucket = null;
/**
* Region of the file's belonging bucket
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.Region = null;
/**
* NoNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.DeleteName = null;
/**
* NoNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.DeleteOwner = null;
/**
* NoNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.Operator = null;
/**
* NoNote: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.OperatorName = null;
/**
* Additional information base64 encoded
Note: This field may return null, indicating that no valid value can be obtained.
* @type {string || null}
*/
this.EncodeExtraInfo = null;
}
/**
* @private
*/
deserialize(params) {
if (!params) {
return;
}
this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
this.FileName = 'FileName' in para